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

Function replaceRef2Ptr

src/ast/ast_generate.cpp:1002–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000 };
1001
1002 void replaceRef2Ptr ( ExpressionPtr expr, const string & name ) {
1003 Ref2PtrVisitor r2ptr(name);
1004 expr->visit(r2ptr);
1005 }
1006
1007 // replace break and continue with 'goto label' for the specific loop
1008

Callers 3

generateLambdaFunctionFunction · 0.85
replaceGeneratorLetFunction · 0.85
replaceGeneratorForFunction · 0.85

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected