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

Function verifyGenerated

src/ast/ast_generate.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 };
79
80 void verifyGenerated ( ExpressionPtr expr ) {
81 (void)expr;
82#if LOG_GENERATED
83 LOG(LogLevel::trace) << "VERIFY:\n" << *expr << "\n";
84#endif
85#if VERIFY_GENERATED
86 CheckLineInfoVisitor vis;
87 expr->visit(vis);
88#endif
89 }
90
91 ExpressionPtr genComment ( const string & comment ) {
92 auto call = new ExprCall(LineInfo(), "print");

Callers 15

makeConstructorFunction · 0.85
makeCloneFunction · 0.85
generatePointerFinalizerFunction · 0.85
generateLambdaFinalizerFunction · 0.85
generateLocalFunctionFunction · 0.85
generateLambdaFunctionFunction · 0.85
generateLambdaMakeStructFunction · 0.85
generateYieldFunction · 0.85
replaceGeneratorLetFunction · 0.85
replaceGeneratorWhileFunction · 0.85

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected