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

Method walk

src/ast/ast_handle.cpp:225–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 void BasicStructureAnnotation::walk ( DataWalker & walker, void * data ) {
226 updateTypeInfo();
227 if ( walker.collecting ) {
228 if ( sti_gc->count ) {
229 walker.walk_struct((char *)data, sti_gc);
230 }
231 } else {
232 walker.walk_struct((char *)data, sti);
233 }
234 }
235
236 void BasicStructureAnnotation::from ( BasicStructureAnnotation * ann ) {
237 parents.reserve(ann->parents.size() + 1);

Callers 1

runInitScriptMethod · 0.45

Calls 1

walk_structMethod · 0.45

Tested by

no test coverage detected