16 #include <unordered_set>
39 std::pair<std::string, std::unordered_set<std::string>>
dependencies;
Concrete visitor for all AST classes.
Represents differential equation in DERIVATIVE block.
Represents specific element of an array variable.
Represents top level AST node for whole NMODL input.
Concrete visitor for all AST classes.
Get node name with indexed for the IndexedName node and the dependencies of DiffEqExpression node.
IndexedNameVisitor()=default
Default constructor.
void visit_program(ast::Program &node) override
visit node of type ast::Program
void visit_indexed_name(ast::IndexedName &node) override
Get node name with index for the IndexedName node.
std::pair< std::string, std::unordered_set< std::string > > get_dependencies()
get the attribute dependencies
std::string get_indexed_name()
get the attribute indexed_name
void visit_diff_eq_expression(ast::DiffEqExpression &node) override
Get dependencies for the DiffEqExpression node.
std::pair< std::string, std::unordered_set< std::string > > dependencies
Auto generated AST classes declaration.
Auto generated AST classes declaration.
encapsulates code generation backend implementations
static Node * node(Object *)
Auto generated AST classes declaration.