Match statements work with ADTs! (still no object stuff or anything though)
This commit is contained in:
@@ -16,9 +16,9 @@ class Type;
|
||||
|
||||
enum ASTType {undef, translation_unit, interpreter_directive, import, identifier, type_def, adt_def,
|
||||
function, code_block, typed_parameter, expression, boolean_expression, statement,
|
||||
if_statement, while_loop, for_loop, return_statement, break_statement, continue_statement, defer_statement,
|
||||
assignment_statement, declaration_statement, if_comp, simple_passthrough, passthrough_params,
|
||||
in_passthrough_params, out_passthrough_params, opt_string, param_assign, function_call, value};
|
||||
if_statement, match_statement, case_statement, while_loop, for_loop, return_statement, break_statement,
|
||||
continue_statement, defer_statement, assignment_statement, declaration_statement, if_comp, simple_passthrough,
|
||||
passthrough_params, in_passthrough_params, out_passthrough_params, opt_string, param_assign, function_call, value};
|
||||
|
||||
class ASTData {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user