lang: ast: add state size to ast_node_type

This commit is contained in:
2024-11-24 11:42:43 +00:00
parent f1ea916155
commit d43e387158
5 changed files with 18 additions and 13 deletions

View File

@@ -17,6 +17,7 @@ struct ast_node_type {
struct ivy_ast_node *, struct ivy_ast_node *);
void (*n_print)(struct ivy_ast_node *);
void (*n_init_state)(struct parser_state *);
size_t n_state_size;
token_parse_function n_token_parsers[IVY_TOK_TYPE_COUNT];
token_parse_function n_keyword_parsers[IVY_KW_TYPE_COUNT];