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

Method AddVar

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

Source from the content-addressed store, hash-verified

683 ~cASTUnpackTarget() { delete m_expr; }
684
685 inline void AddVar(const cString& name) { m_nodes.Push(sUnpackNode(name)); }
686 inline int GetSize() const { return m_nodes.GetSize(); }
687 inline const cString& GetVarName(int idx) const { return m_nodes[idx].name; }
688 inline int GetVarID(int idx) const { return m_nodes[idx].var_id; }

Callers 1

parseArrayUnpackMethod · 0.80

Calls 2

sUnpackNodeClass · 0.85
PushMethod · 0.45

Tested by

no test coverage detected