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

Method EndCollection

library/cpp/yson/writer.cpp:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 void TYsonWriter::EndCollection(ETokenType endToken) {
196 --Depth;
197 if (Format == EYsonFormat::Pretty && !BeforeFirstItem) {
198 Stream->Write('\n');
199 WriteIndent();
200 }
201 Stream->Write(TokenTypeToChar(endToken));
202 BeforeFirstItem = false;
203 }
204
205 void TYsonWriter::WriteStringScalar(const TStringBuf& value) {
206 if (Format == EYsonFormat::Binary) {

Callers

nothing calls this directly

Calls 2

TokenTypeToCharFunction · 0.85
WriteMethod · 0.45

Tested by

no test coverage detected