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

Method preVisit

src/ast/ast_unused.cpp:399–404  ·  view source on GitHub ↗

addr of expression

Source from the content-addressed store, hash-verified

397 }
398 // addr of expression
399 virtual void preVisit ( ExprRef2Ptr * expr ) override {
400 Visitor::preVisit(expr);
401 // TODO:
402 // at some point we should do better data trackng for this type of aliasing
403 propagateWrite(expr);
404 }
405 // source in the For loop
406 virtual void preVisitForSource ( ExprFor * expr, Expression * subexpr, bool last ) override {
407 Visitor::preVisitForSource(expr, subexpr, last);

Callers

nothing calls this directly

Calls 8

preVisitFunction · 0.85
canWriteMethod · 0.80
isHandleMethod · 0.80
findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45
canCopyMethod · 0.45

Tested by

no test coverage detected