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

Method FillPosition

Source/SpireCore/Parser.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 bool isRecovering = false;
29
30 void FillPosition(SyntaxNode * node)
31 {
32 node->Position = tokenReader.PeekLoc();
33 node->Scope = currentScope;
34 }
35 void PushScope(ContainerDecl* containerDecl)
36 {
37 currentScope = new Scope(currentScope, containerDecl);

Callers 2

ParseFuncDeclHeaderFunction · 0.80
ParseVarDeclFunction · 0.80

Calls 1

PeekLocMethod · 0.80

Tested by

no test coverage detected