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

Method OnEnterScope

tools/enum_parser/parse_enum/parse_enum.cpp:296–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294 }
295
296 void OnEnterScope(size_t /* offset */) {
297 if (ScopeDeclaration) {
298 // unnamed declaration or typedef
299 ScopeDeclaration = false;
300 }
301 InCompositeNamespace = false;
302 Scope.push_back(LastScope);
303 LastScope.clear();
304 //PrintScope();
305 }
306
307 /// @param offset: terminating curly brace position
308 void OnLeaveScope(size_t offset) {

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected