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

Method GetFunctionDefinition

avida-core/source/script/cSymbolTable.h:95–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 inline cSymbolTable* GetFunctionSymbolTable(int fun_id) { return m_fun_tbl[fun_id]->symtbl; }
94 inline cASTVariableDefinitionList* GetFunctionSignature(int fun_id) { return m_fun_tbl[fun_id]->signature; }
95 inline cASTNode* GetFunctionDefinition(int fun_id) { return m_fun_tbl[fun_id]->code; }
96 inline int GetFunctionScope(int fun_id) const { return m_fun_tbl[fun_id]->scope; }
97 inline bool IsFunctionActive(int fun_id) const { return !m_fun_tbl[fun_id]->deactivate; }
98

Callers 4

VisitFunctionCallMethod · 0.80
PostCheckMethod · 0.80
HasCodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected