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

Function encloseAt

src/ast/ast_generate.cpp:2090–2094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2088 };
2089
2090 LineInfo encloseAt ( ExpressionPtr expr ) {
2091 EncloseVisitor enc;
2092 expr->visit(enc);
2093 return enc.enclosure;
2094 }
2095
2096 void modifyToClassMember ( Function * func, Structure * baseClass, bool isExplicit, bool isConstant ) {
2097 // first argument is this

Callers 2

evalAndFoldMethod · 0.85
evalAndFoldStringMethod · 0.85

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected