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

Method GetCode

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

Source from the content-addressed store, hash-verified

288
289 inline cASTNode* GetCondition() { return m_expr; }
290 inline cASTNode* GetCode() { return m_code; }
291 inline void AddElseIf(cASTNode* expr, cASTNode* code) { m_elifs.PushRear(new cElseIf(expr, code)); }
292 inline tListIterator<cElseIf> ElseIfIterator() { return tListIterator<cElseIf>(m_elifs); }
293 inline void SetElseCode(cASTNode* code) { m_else = code; }

Callers 11

VisitForeachBlockMethod · 0.45
VisitIfBlockMethod · 0.45
VisitWhileBlockMethod · 0.45
VisitForeachBlockMethod · 0.45
VisitIfBlockMethod · 0.45
VisitWhileBlockMethod · 0.45
VisitForeachBlockMethod · 0.45
VisitIfBlockMethod · 0.45
VisitWhileBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected