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

Method GetNumVariables

avida-core/source/script/cSymbolTable.h:70–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 bool LookupFunction(const cString& name, int& fun_id) { return m_fun_dict.Find(name, fun_id); }
69
70 inline int GetNumVariables() const { return m_sym_tbl.GetSize(); }
71 inline int GetNumFunctions() const { return m_fun_tbl.GetSize(); }
72
73 inline cString VariableNearMatch(const cString& name) const { return m_sym_dict.NearMatch(name); }

Callers 3

VisitFunctionCallMethod · 0.80

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected