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

Method from

src/ast/ast_handle.cpp:236–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 }
235
236 void BasicStructureAnnotation::from ( BasicStructureAnnotation * ann ) {
237 parents.reserve(ann->parents.size() + 1);
238 parents.push_back(ann);
239 for (auto pp : ann->parents) {
240 parents.push_back(pp);
241 }
242 }
243
244 void BasicStructureAnnotation::from ( const char * parentName ) {
245 from((BasicStructureAnnotation*)(this->module->findAnnotation(parentName)));

Callers 10

setFunction · 0.45
setFunction · 0.45
CrFunction · 0.45
codemirror.min.jsFile · 0.45
viFunction · 0.45
alFunction · 0.45
sFunction · 0.45
SlFunction · 0.45
pickMacroSampleFunction · 0.45
splitter.spec.jsFile · 0.45

Calls 4

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45
findAnnotationMethod · 0.45

Tested by 1

pickMacroSampleFunction · 0.36