Files
ivy/lang/ast/iterate.h
Max Wash 1e7e73db21 lang: ast: implement ast iteration
iteration is implementing without recursion, instead using type-specific callbacks to construct a queue of nodes to iterate through. ast priting is implemented using this functionality.
2024-11-24 20:50:12 +00:00

9 lines
194 B
C

#ifndef _AST_ITERATE_H_
#define _AST_ITERATE_H_
extern void ast_node_iterator_enqueue_node(
struct ivy_ast_node_iterator *it,
struct ivy_ast_node *parent,
struct ivy_ast_node *node);
#endif