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

Function forceAtFunction

src/ast/ast_generate.cpp:2028–2031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2026 }
2027
2028 FunctionPtr forceAtFunction ( const FunctionPtr & func, const LineInfo & at ) {
2029 LocationSwapVisitor swapAt(at);
2030 return func->visit(swapAt);
2031 }
2032
2033 ExpressionPtr forceGenerated ( ExpressionPtr expr, bool setGenerated ) {
2034 SetGeneratedVisitor setGen(setGenerated);

Callers 1

forceAtFunctionRawFunction · 0.85

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected