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

Method preVisit

src/ast/ast_allocate_stack.cpp:195–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 return !st->isTemplate; // not a thing with templates
194 }
195 virtual void preVisit ( Structure * var ) override {
196 Visitor::preVisit(var);
197 inStruct = true;
198 }
199 virtual StructurePtr visit ( Structure * var ) override {
200 inStruct = false;
201 return Visitor::visit(var);

Callers

nothing calls this directly

Calls 10

preVisitFunction · 0.85
setRefSpMethod · 0.80
getCountOfMethod · 0.80
getBaseSizeOfMethod · 0.80
describeMethod · 0.45
sizeMethod · 0.45
clearMethod · 0.45
push_backMethod · 0.45
getSizeOfMethod · 0.45
isRefTypeMethod · 0.45

Tested by

no test coverage detected