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

Method SetVar

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

Source from the content-addressed store, hash-verified

689 inline bool IsVarGlobal(int idx) const { return m_nodes[idx].global; }
690 inline const sASTypeInfo& GetVarType(int idx) const { return m_nodes[idx].type; }
691 inline void SetVar(int idx, int var_id, bool global, const sASTypeInfo& type)
692 { m_nodes[idx].SetVar(var_id, global, type); }
693
694 inline bool IsLastNamed() const { return m_last_named; }
695 inline bool IsLastWild() const { return m_last_wild; }

Callers

nothing calls this directly

Calls 1

SetVarMethod · 0.45

Tested by

no test coverage detected