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

Method Parse

library/cpp/yson/parser.cpp:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 bool Parse() {
150 if (!Impl_) {
151 Impl_.Reset(
152 EnableLinePositionInfo_
153 ? static_cast<TYsonListParserImplBase*>(new TYsonListParserImpl<NYT::NYson::IYsonConsumer, TStreamReader, true>(Reader_, Consumer_, MemoryLimit_))
154 : static_cast<TYsonListParserImplBase*>(new TYsonListParserImpl<NYT::NYson::IYsonConsumer, TStreamReader, false>(Reader_, Consumer_, MemoryLimit_)));
155 }
156 return Impl_->Parse();
157 }
158
159 private:
160 NYT::NYson::IYsonConsumer* Consumer_;

Callers

nothing calls this directly

Calls 2

ResetMethod · 0.45
ParseMethod · 0.45

Tested by

no test coverage detected