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

Method preVisit

src/ast/ast_derive_alias.cpp:99–102  ·  view source on GitHub ↗

we found source

Source from the content-addressed store, hash-verified

97 virtual bool canVisitMakeBlockBody ( ExprMakeBlock * ) override { return false; }
98 // we found source
99 virtual void preVisit ( ExprVar * expr ) override {
100 Visitor::preVisit(expr);
101 if ( !disabled ) sources.insert(expr->variable);
102 }
103 // in [] only value can alias
104 virtual void preVisit ( ExprAt * expr ) override {
105 Visitor::preVisit(expr);

Callers

nothing calls this directly

Calls 8

preVisitFunction · 0.85
isRefMethod · 0.80
isGoodBlockTypeMethod · 0.80
isGoodFunctionTypeMethod · 0.80
isGoodLambdaTypeMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected