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

Method findArgument

src/ast/ast.cpp:880–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878 }
879
880 VariablePtr Function::findArgument(const string & na) {
881 for ( auto & arg : arguments ) {
882 if ( arg->name==na ) {
883 return arg;
884 }
885 }
886 return nullptr;
887 }
888
889 FunctionPtr Function::visit(Visitor & vis) {
890 vis.preVisit(this);

Callers 4

ast_makeBlockFunction · 0.80
visitMethod · 0.80
applyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected