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

Function forceGenerated

src/ast/ast_generate.cpp:2033–2036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2031 }
2032
2033 ExpressionPtr forceGenerated ( ExpressionPtr expr, bool setGenerated ) {
2034 SetGeneratedVisitor setGen(setGenerated);
2035 return expr->visit(setGen);
2036 }
2037
2038 FunctionPtr forceGeneratedFunction ( const FunctionPtr & expr, bool setGenerated ) {
2039 SetGeneratedVisitor setGen(setGenerated);

Callers 1

forceGeneratedRawFunction · 0.85

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected