lang: ast: add ast node size to ast_node_type

This commit is contained in:
2024-11-24 11:46:42 +00:00
parent d43e387158
commit 70aab9998b
5 changed files with 11 additions and 13 deletions

View File

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