MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / visit

Method visit

src/ast/ast_generate.cpp:904–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902 scopes.push_back(block);
903 }
904 virtual ExpressionPtr visit ( ExprBlock * block ) override {
905 scopes.pop_back();
906 return Visitor::visit(block);
907 }
908 virtual void preVisit ( ExprFor * expr ) override {
909 Visitor::preVisit(expr);
910 if ( scopes.size()==0 ) { // only top level for loop

Callers 14

verifyGeneratedFunction · 0.45
isFullyInferredBlockFunction · 0.45
renameBlockArgumentFunction · 0.45
replaceRef2PtrFunction · 0.45
replaceBreakAndContinueFunction · 0.45
bodyHasTopLevelReturnFunction · 0.45
forceAtFunction · 0.45
forceAtFunctionFunction · 0.45
forceGeneratedFunction · 0.45

Calls 1

visitFunction · 0.50

Tested by

no test coverage detected