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

Method GetVarID

avida-core/source/script/ASTree.h:149–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 inline cASTNode* GetExpression() { return m_expr; }
148
149 inline int GetVarID() const { return m_id; }
150 inline bool IsVarGlobal() const { return m_global; }
151 inline void SetVar(int in_id, bool global) { m_id = in_id; m_global = global; }
152

Callers 7

VisitAssignmentMethod · 0.45
VisitForeachBlockMethod · 0.45
VisitFunctionCallMethod · 0.45
VisitUnpackTargetMethod · 0.45
VisitUnpackTargetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected