-
Notifications
You must be signed in to change notification settings - Fork 5
/
ast_node_type.h
40 lines (40 loc) · 1.02 KB
/
ast_node_type.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ENUM_BEGIN(ast_node_type_t)
ENUM(AST_NONE),
ENUM(AST_IDENTIFIER),
ENUM(AST_LITERAL),
ENUM(AST_UNARY_EXPR),
ENUM(AST_BIN_EXPR),
ENUM(AST_TERNARY_EXPR),
ENUM(AST_EXPR_STMT),
ENUM(AST_ASSIGNMENT_EXPR),
ENUM(AST_FUNCTION_CALL_EXPR),
ENUM(AST_IF_STMT),
ENUM(AST_FOR_STMT),
ENUM(AST_WHILE_STMT),
ENUM(AST_DO_WHILE_STMT),
ENUM(AST_BLOCK_STMT),
ENUM(AST_FUNCTION_DECL),
ENUM(AST_PROGRAM),
ENUM(AST_RETURN_STMT),
ENUM(AST_MEMBER_EXPR),
ENUM(AST_STRUCT_MEMBER_EXPR),
ENUM(AST_VARIABLE_DECL),
ENUM(AST_PRIMITIVE),
ENUM(AST_ARRAY_DATA_TYPE),
ENUM(AST_POINTER_DATA_TYPE),
ENUM(AST_STRUCT_DATA_TYPE),
ENUM(AST_STRUCT_DECL),
ENUM(AST_UNION_DECL),
ENUM(AST_SIZEOF),
ENUM(AST_EMIT),
ENUM(AST_BREAK_STMT),
ENUM(AST_SEQ_EXPR),
ENUM(AST_CAST),
ENUM(AST_EMPTY),
ENUM(AST_TYPEDEF),
ENUM(AST_DATA_TYPE),
ENUM(AST_EXIT),
ENUM(AST_ENUM),
ENUM(AST_ENUM_VALUE),
ENUM_VALUE(AST_INVALID, -1)
ENUM_END(ast_node_type_t)