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

Method visit

src/ast/ast_program.cpp:435–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433 }
434
435 void Program::visit(Visitor & vis, bool visitGenerics, bool sortStructures ) {
436 vis.preVisitProgram(this);
437 visitModule(vis, thisModule.get(), visitGenerics, sortStructures);
438 vis.visitProgram(this);
439 }
440
441 static void collectStructDeps ( const TypeDeclPtr & type, Structure * owner, das_hash_set<Structure *> & deps ) {
442 if ( !type ) return;

Callers 3

visitStructureMethod · 0.45
visitEnumerationMethod · 0.45
visitModuleMethod · 0.45

Calls 3

preVisitProgramMethod · 0.45
getMethod · 0.45
visitProgramMethod · 0.45

Tested by

no test coverage detected