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

Method preVisit

src/ast/ast_escape_analysis.cpp:273–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271 return !fun->stub && !fun->isTemplate;
272 }
273 virtual void preVisit ( Function * fun ) override {
274 Visitor::preVisit(fun);
275 func = fun;
276 pending.clear();
277 }
278 virtual FunctionPtr visit ( Function * fun ) override {
279 func = nullptr;
280 return Visitor::visit(fun);

Callers

nothing calls this directly

Calls 3

preVisitFunction · 0.85
clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected