MCPcopy Create free account
hub / github.com/devosoft/avida / GetArity

Method GetArity

avida-core/source/script/cASNativeObject.h:85–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 bool LookupMethod(const cString& meth_name, int& mid) { return s_method_dict->Find(meth_name, mid); }
84
85 int GetArity(int mid) const { return (*s_methods)[mid]->GetArity(); }
86 const sASTypeInfo& GetArgumentType(int mid, int arg) const { return (*s_methods)[mid]->GetArgumentType(arg); }
87 const sASTypeInfo& GetReturnType(int mid) const { return (*s_methods)[mid]->GetReturnType(); }
88

Callers 3

VisitFunctionCallMethod · 0.45
VisitObjectCallMethod · 0.45
VisitFunctionCallMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected