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

Method SetExpression

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

Source from the content-addressed store, hash-verified

144 inline const cString& GetVariable() { return m_var; }
145
146 inline void SetExpression(cASTNode* expr) { delete m_expr; m_expr = expr; }
147 inline cASTNode* GetExpression() { return m_expr; }
148
149 inline int GetVarID() const { return m_id; }

Callers 3

parseArrayUnpackMethod · 0.45
parseAssignmentMethod · 0.45
parseCallExpressionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected