diff options
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -129,7 +129,7 @@ typedef enum { Not, Negative, HeapAllocate, StackReference, Mutexed, Holding, Min, Max, Array, Set, Table, TableEntry, Comprehension, - FunctionDef, Lambda, + FunctionDef, Lambda, ConvertDef, FunctionCall, MethodCall, Block, For, While, If, When, Repeat, @@ -232,6 +232,13 @@ struct ast_s { arg_ast_t *args; type_ast_t *ret_type; ast_t *body; + ast_t *cache; + bool is_inline; + } ConvertDef; + struct { + arg_ast_t *args; + type_ast_t *ret_type; + ast_t *body; int64_t id; } Lambda; struct { |
