diff options
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -98,7 +98,7 @@ typedef enum { Min, Max, Array, Table, TableEntry, FunctionDef, Lambda, - FunctionCall, + FunctionCall, MethodCall, Block, For, While, If, When, Reduction, @@ -191,6 +191,11 @@ struct ast_s { type_ast_t *extern_return_type; } FunctionCall; struct { + const char *name; + ast_t *self; + arg_ast_t *args; + } MethodCall; + struct { ast_list_t *statements; } Block; struct { |
