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

Method AppendValue

tools/enum_parser/parse_enum/parse_enum.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82 template<class T>
83 void AppendValue(const T& text) {
84 // by pg@ advice, do not parse enum value
85 // leave it to C++ compiler to parse/interpret
86
87 if (!CurrentItem.Value)
88 CurrentItem.Value = TString();
89
90 *CurrentItem.Value += text;
91 }
92
93 void DoEnd() override {
94 AddEnumItem();

Callers 15

DoToJsonMethod · 0.80
SetContainerOptionFunction · 0.80
ToJsonMethod · 0.80
OpenComplexValueMethod · 0.80
SetMethod · 0.80
StartObjectMethod · 0.80
StartArrayMethod · 0.80
SetValueMethod · 0.80
OpenComplexValueMethod · 0.80
SetMethod · 0.80
StartObjectMethod · 0.80
StartArrayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected