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

Method OnOpenMap

library/cpp/yson/json/yson2json_adapter.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 bool TYson2JsonCallbacksAdapter::OnOpenMap() {
67 WrapIfListItem();
68 State_.ContextStack.push(false);
69 if (State_.ContextStack.size() > MaxDepth_) {
70 return false;
71 }
72 Impl_->OnBeginMap();
73 return true;
74 }
75
76 bool TYson2JsonCallbacksAdapter::OnCloseMap() {
77 State_.ContextStack.pop();

Callers

nothing calls this directly

Calls 3

pushMethod · 0.45
sizeMethod · 0.45
OnBeginMapMethod · 0.45

Tested by

no test coverage detected