MCPcopy Create free account
hub / github.com/csyonghe/Spire / PushScope

Method PushScope

Source/SpireCore/Parser.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 node->Scope = currentScope;
34 }
35 void PushScope(ContainerDecl* containerDecl)
36 {
37 currentScope = new Scope(currentScope, containerDecl);
38 }
39 void PopScope()
40 {
41 currentScope = currentScope->Parent;

Callers 9

ProcessShaderMethod · 0.45
VisitFunctionMethod · 0.45
VisitBlockStatementMethod · 0.45
VisitWhileStatementMethod · 0.45
VisitDoWhileStatementMethod · 0.45
VisitForStatementMethod · 0.45
VisitIfStatementMethod · 0.45
VisitImportExpressionMethod · 0.45
ParseFuncDeclHeaderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected