diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:49:24 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:49:24 -0500 |
| commit | 4dc70c84d4226174d44f1b53599d08de7a4e83aa (patch) | |
| tree | b0a612f4a3b61331caa59874fac417142c208d89 /ast.h | |
| parent | 8171a38b7130849e3049a4ea15a4fd06c154d9b0 (diff) | |
First working method calls
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 { |
