MCPcopy Create free account
hub / github.com/catboost/catboost / ParseEnum

Method ParseEnum

tools/enum_parser/parse_enum/parse_enum.cpp:338–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336 }
337
338 void ParseEnum(const char* data, size_t length) {
339 TEnumContext enumContext(CurrentEnum);
340 TMemoryInput in(data, length);
341 TCppSaxParser parser(&enumContext);
342 TransferData(&in, &parser);
343 parser.Finish();
344 //PrintEnum(CurrentEnum);
345 Enums.push_back(CurrentEnum);
346 }
347
348 // Some debug stuff goes here
349 static void PrintScope(const TScope& scope) {

Callers

nothing calls this directly

Calls 3

TransferDataFunction · 0.85
FinishMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected