diff --git a/corpus/expressions.txt b/corpus/expressions.txt index 984d804..5def173 100644 --- a/corpus/expressions.txt +++ b/corpus/expressions.txt @@ -70,6 +70,23 @@ mult_args = my_fn(2, "test"); (assignment_item (identifier) (call (identifier) (integer_literal))) (assignment_item (identifier) (call (identifier) (integer_literal) (string_literal)))) +================ +If-Then-Else +================ + +if_only = if b then i < j endif; +value_select = if b then i else j endif; +elseif = if b then i elseif c then j else k endif; +elseif_no_else = if b then i < j elseif c then j > i endif; + +--- + +(source_file + (assignment_item (identifier) (if_then_else (identifier) (binary_operation (identifier) (identifier)))) + (assignment_item (identifier) (if_then_else (identifier) (identifier) (identifier))) + (assignment_item (identifier) (if_then_else (identifier) (identifier) (identifier) (identifier) (identifier))) + (assignment_item (identifier) (if_then_else (identifier) (binary_operation (identifier) (identifier)) (identifier) (binary_operation (identifier) (identifier))))) + ================ Index Expression ================ diff --git a/grammar.js b/grammar.js index 297d724..e53b2b0 100644 --- a/grammar.js +++ b/grammar.js @@ -45,6 +45,7 @@ module.exports = grammar({ $.binary_operation, $.call, + $.if_then_else, $.index_expression, $.unary_operation, // TODO: Other expression types @@ -85,6 +86,14 @@ module.exports = grammar({ ')', )), + if_then_else: $ => seq( + "if", $._expression, + "then", $._expression, + repeat(seq("elseif", $._expression, "then", $._expression)), + optional(seq("else", $._expression)), + "endif", + ), + index_expression: $ => prec(PREC.call, seq( field('collection', $._expression), '[', diff --git a/src/grammar.json b/src/grammar.json index 3563da5..c74e2b3 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -93,6 +93,10 @@ "type": "SYMBOL", "name": "call" }, + { + "type": "SYMBOL", + "name": "if_then_else" + }, { "type": "SYMBOL", "name": "index_expression" @@ -745,6 +749,76 @@ ] } }, + "if_then_else": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "if" + }, + { + "type": "SYMBOL", + "name": "_expression" + }, + { + "type": "STRING", + "value": "then" + }, + { + "type": "SYMBOL", + "name": "_expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "elseif" + }, + { + "type": "SYMBOL", + "name": "_expression" + }, + { + "type": "STRING", + "value": "then" + }, + { + "type": "SYMBOL", + "name": "_expression" + } + ] + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "else" + }, + { + "type": "SYMBOL", + "name": "_expression" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "endif" + } + ] + }, "index_expression": { "type": "PREC", "value": 15, diff --git a/src/node-types.json b/src/node-types.json index b958f7e..3f90c2f 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -35,6 +35,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -94,6 +98,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -164,6 +172,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -344,6 +356,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -413,6 +429,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -447,6 +467,69 @@ } } }, + { + "type": "if_then_else", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "absent", + "named": true + }, + { + "type": "array_literal", + "named": true + }, + { + "type": "binary_operation", + "named": true + }, + { + "type": "boolean_literal", + "named": true + }, + { + "type": "call", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if_then_else", + "named": true + }, + { + "type": "index_expression", + "named": true + }, + { + "type": "integer_literal", + "named": true + }, + { + "type": "set_literal", + "named": true + }, + { + "type": "string_literal", + "named": true + }, + { + "type": "unary_operation", + "named": true + } + ] + } + }, { "type": "index_expression", "named": true, @@ -483,6 +566,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -541,6 +628,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -601,6 +692,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -709,6 +804,10 @@ "type": "identifier", "named": true }, + { + "type": "if_then_else", + "named": true + }, { "type": "index_expression", "named": true @@ -852,6 +951,18 @@ "type": "div", "named": false }, + { + "type": "else", + "named": false + }, + { + "type": "elseif", + "named": false + }, + { + "type": "endif", + "named": false + }, { "type": "escape_sequence", "named": true @@ -868,6 +979,10 @@ "type": "identifier", "named": true }, + { + "type": "if", + "named": false + }, { "type": "in", "named": false @@ -900,6 +1015,10 @@ "type": "symdiff", "named": false }, + { + "type": "then", + "named": false + }, { "type": "true", "named": false diff --git a/src/parser.c b/src/parser.c index d34c247..8d8ba6c 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,14 +6,14 @@ #endif #define LANGUAGE_VERSION 11 -#define STATE_COUNT 79 -#define LARGE_STATE_COUNT 40 -#define SYMBOL_COUNT 69 +#define STATE_COUNT 97 +#define LARGE_STATE_COUNT 35 +#define SYMBOL_COUNT 76 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 52 +#define TOKEN_COUNT 57 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 8 -#define MAX_ALIAS_SEQUENCE_LENGTH 5 +#define MAX_ALIAS_SEQUENCE_LENGTH 8 enum { sym_identifier = 1, @@ -51,39 +51,46 @@ enum { anon_sym_LPAREN = 33, anon_sym_COMMA = 34, anon_sym_RPAREN = 35, - anon_sym_LBRACK = 36, - anon_sym_RBRACK = 37, - anon_sym_not = 38, - anon_sym_ = 39, - sym_absent = 40, - anon_sym_true = 41, - anon_sym_false = 42, - sym_float_literal = 43, - sym_integer_literal = 44, - anon_sym_LBRACE = 45, - anon_sym_RBRACE = 46, - anon_sym_DQUOTE = 47, - aux_sym_string_literal_token1 = 48, - sym_escape_sequence = 49, - sym_line_comment = 50, - sym_block_comment = 51, - sym_source_file = 52, - sym__items = 53, - sym_assignment_item = 54, - sym__expression = 55, - sym_binary_operation = 56, - sym_call = 57, - sym_index_expression = 58, - sym_unary_operation = 59, - sym__literal = 60, - sym_array_literal = 61, - sym_boolean_literal = 62, - sym_set_literal = 63, - sym_string_literal = 64, - aux_sym_source_file_repeat1 = 65, - aux_sym_call_repeat1 = 66, - aux_sym_index_expression_repeat1 = 67, - aux_sym_string_literal_repeat1 = 68, + anon_sym_if = 36, + anon_sym_then = 37, + anon_sym_elseif = 38, + anon_sym_else = 39, + anon_sym_endif = 40, + anon_sym_LBRACK = 41, + anon_sym_RBRACK = 42, + anon_sym_not = 43, + anon_sym_ = 44, + sym_absent = 45, + anon_sym_true = 46, + anon_sym_false = 47, + sym_float_literal = 48, + sym_integer_literal = 49, + anon_sym_LBRACE = 50, + anon_sym_RBRACE = 51, + anon_sym_DQUOTE = 52, + aux_sym_string_literal_token1 = 53, + sym_escape_sequence = 54, + sym_line_comment = 55, + sym_block_comment = 56, + sym_source_file = 57, + sym__items = 58, + sym_assignment_item = 59, + sym__expression = 60, + sym_binary_operation = 61, + sym_call = 62, + sym_if_then_else = 63, + sym_index_expression = 64, + sym_unary_operation = 65, + sym__literal = 66, + sym_array_literal = 67, + sym_boolean_literal = 68, + sym_set_literal = 69, + sym_string_literal = 70, + aux_sym_source_file_repeat1 = 71, + aux_sym_call_repeat1 = 72, + aux_sym_if_then_else_repeat1 = 73, + aux_sym_index_expression_repeat1 = 74, + aux_sym_string_literal_repeat1 = 75, }; static const char *ts_symbol_names[] = { @@ -123,6 +130,11 @@ static const char *ts_symbol_names[] = { [anon_sym_LPAREN] = "(", [anon_sym_COMMA] = ",", [anon_sym_RPAREN] = ")", + [anon_sym_if] = "if", + [anon_sym_then] = "then", + [anon_sym_elseif] = "elseif", + [anon_sym_else] = "else", + [anon_sym_endif] = "endif", [anon_sym_LBRACK] = "[", [anon_sym_RBRACK] = "]", [anon_sym_not] = "not", @@ -145,6 +157,7 @@ static const char *ts_symbol_names[] = { [sym__expression] = "_expression", [sym_binary_operation] = "binary_operation", [sym_call] = "call", + [sym_if_then_else] = "if_then_else", [sym_index_expression] = "index_expression", [sym_unary_operation] = "unary_operation", [sym__literal] = "_literal", @@ -154,6 +167,7 @@ static const char *ts_symbol_names[] = { [sym_string_literal] = "string_literal", [aux_sym_source_file_repeat1] = "source_file_repeat1", [aux_sym_call_repeat1] = "call_repeat1", + [aux_sym_if_then_else_repeat1] = "if_then_else_repeat1", [aux_sym_index_expression_repeat1] = "index_expression_repeat1", [aux_sym_string_literal_repeat1] = "string_literal_repeat1", }; @@ -195,6 +209,11 @@ static TSSymbol ts_symbol_map[] = { [anon_sym_LPAREN] = anon_sym_LPAREN, [anon_sym_COMMA] = anon_sym_COMMA, [anon_sym_RPAREN] = anon_sym_RPAREN, + [anon_sym_if] = anon_sym_if, + [anon_sym_then] = anon_sym_then, + [anon_sym_elseif] = anon_sym_elseif, + [anon_sym_else] = anon_sym_else, + [anon_sym_endif] = anon_sym_endif, [anon_sym_LBRACK] = anon_sym_LBRACK, [anon_sym_RBRACK] = anon_sym_RBRACK, [anon_sym_not] = anon_sym_not, @@ -217,6 +236,7 @@ static TSSymbol ts_symbol_map[] = { [sym__expression] = sym__expression, [sym_binary_operation] = sym_binary_operation, [sym_call] = sym_call, + [sym_if_then_else] = sym_if_then_else, [sym_index_expression] = sym_index_expression, [sym_unary_operation] = sym_unary_operation, [sym__literal] = sym__literal, @@ -226,6 +246,7 @@ static TSSymbol ts_symbol_map[] = { [sym_string_literal] = sym_string_literal, [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, [aux_sym_call_repeat1] = aux_sym_call_repeat1, + [aux_sym_if_then_else_repeat1] = aux_sym_if_then_else_repeat1, [aux_sym_index_expression_repeat1] = aux_sym_index_expression_repeat1, [aux_sym_string_literal_repeat1] = aux_sym_string_literal_repeat1, }; @@ -375,6 +396,26 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_if] = { + .visible = true, + .named = false, + }, + [anon_sym_then] = { + .visible = true, + .named = false, + }, + [anon_sym_elseif] = { + .visible = true, + .named = false, + }, + [anon_sym_else] = { + .visible = true, + .named = false, + }, + [anon_sym_endif] = { + .visible = true, + .named = false, + }, [anon_sym_LBRACK] = { .visible = true, .named = false, @@ -463,6 +504,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_if_then_else] = { + .visible = true, + .named = true, + }, [sym_index_expression] = { .visible = true, .named = true, @@ -499,6 +544,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [aux_sym_if_then_else_repeat1] = { + .visible = false, + .named = false, + }, [aux_sym_index_expression_repeat1] = { .visible = false, .named = false, @@ -1082,186 +1131,233 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { switch (state) { case 0: if (lookahead == 'd') ADVANCE(1); - if (lookahead == 'f') ADVANCE(2); - if (lookahead == 'i') ADVANCE(3); - if (lookahead == 'm') ADVANCE(4); - if (lookahead == 'n') ADVANCE(5); - if (lookahead == 's') ADVANCE(6); - if (lookahead == 't') ADVANCE(7); - if (lookahead == 'u') ADVANCE(8); - if (lookahead == 'x') ADVANCE(9); + if (lookahead == 'e') ADVANCE(2); + if (lookahead == 'f') ADVANCE(3); + if (lookahead == 'i') ADVANCE(4); + if (lookahead == 'm') ADVANCE(5); + if (lookahead == 'n') ADVANCE(6); + if (lookahead == 's') ADVANCE(7); + if (lookahead == 't') ADVANCE(8); + if (lookahead == 'u') ADVANCE(9); + if (lookahead == 'x') ADVANCE(10); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 'i') ADVANCE(10); + if (lookahead == 'i') ADVANCE(11); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(11); + if (lookahead == 'l') ADVANCE(12); + if (lookahead == 'n') ADVANCE(13); END_STATE(); case 3: - if (lookahead == 'n') ADVANCE(12); + if (lookahead == 'a') ADVANCE(14); END_STATE(); case 4: - if (lookahead == 'o') ADVANCE(13); + if (lookahead == 'f') ADVANCE(15); + if (lookahead == 'n') ADVANCE(16); END_STATE(); case 5: - if (lookahead == 'o') ADVANCE(14); + if (lookahead == 'o') ADVANCE(17); END_STATE(); case 6: - if (lookahead == 'u') ADVANCE(15); - if (lookahead == 'y') ADVANCE(16); + if (lookahead == 'o') ADVANCE(18); END_STATE(); case 7: - if (lookahead == 'r') ADVANCE(17); + if (lookahead == 'u') ADVANCE(19); + if (lookahead == 'y') ADVANCE(20); END_STATE(); case 8: - if (lookahead == 'n') ADVANCE(18); + if (lookahead == 'h') ADVANCE(21); + if (lookahead == 'r') ADVANCE(22); END_STATE(); case 9: - if (lookahead == 'o') ADVANCE(19); + if (lookahead == 'n') ADVANCE(23); END_STATE(); case 10: - if (lookahead == 'f') ADVANCE(20); - if (lookahead == 'v') ADVANCE(21); + if (lookahead == 'o') ADVANCE(24); END_STATE(); case 11: - if (lookahead == 'l') ADVANCE(22); + if (lookahead == 'f') ADVANCE(25); + if (lookahead == 'v') ADVANCE(26); END_STATE(); case 12: - ACCEPT_TOKEN(anon_sym_in); - if (lookahead == 't') ADVANCE(23); + if (lookahead == 's') ADVANCE(27); END_STATE(); case 13: - if (lookahead == 'd') ADVANCE(24); + if (lookahead == 'd') ADVANCE(28); END_STATE(); case 14: - if (lookahead == 't') ADVANCE(25); + if (lookahead == 'l') ADVANCE(29); END_STATE(); case 15: - if (lookahead == 'b') ADVANCE(26); - if (lookahead == 'p') ADVANCE(27); + ACCEPT_TOKEN(anon_sym_if); END_STATE(); case 16: - if (lookahead == 'm') ADVANCE(28); + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == 't') ADVANCE(30); END_STATE(); case 17: - if (lookahead == 'u') ADVANCE(29); + if (lookahead == 'd') ADVANCE(31); END_STATE(); case 18: - if (lookahead == 'i') ADVANCE(30); + if (lookahead == 't') ADVANCE(32); END_STATE(); case 19: - if (lookahead == 'r') ADVANCE(31); + if (lookahead == 'b') ADVANCE(33); + if (lookahead == 'p') ADVANCE(34); END_STATE(); case 20: - if (lookahead == 'f') ADVANCE(32); + if (lookahead == 'm') ADVANCE(35); END_STATE(); case 21: - ACCEPT_TOKEN(anon_sym_div); - END_STATE(); - case 22: - if (lookahead == 's') ADVANCE(33); - END_STATE(); - case 23: - if (lookahead == 'e') ADVANCE(34); - END_STATE(); - case 24: - ACCEPT_TOKEN(anon_sym_mod); - END_STATE(); - case 25: - ACCEPT_TOKEN(anon_sym_not); - END_STATE(); - case 26: - if (lookahead == 's') ADVANCE(35); - END_STATE(); - case 27: if (lookahead == 'e') ADVANCE(36); END_STATE(); + case 22: + if (lookahead == 'u') ADVANCE(37); + END_STATE(); + case 23: + if (lookahead == 'i') ADVANCE(38); + END_STATE(); + case 24: + if (lookahead == 'r') ADVANCE(39); + END_STATE(); + case 25: + if (lookahead == 'f') ADVANCE(40); + END_STATE(); + case 26: + ACCEPT_TOKEN(anon_sym_div); + END_STATE(); + case 27: + if (lookahead == 'e') ADVANCE(41); + END_STATE(); case 28: - if (lookahead == 'd') ADVANCE(37); + if (lookahead == 'i') ADVANCE(42); END_STATE(); case 29: - if (lookahead == 'e') ADVANCE(38); + if (lookahead == 's') ADVANCE(43); END_STATE(); case 30: - if (lookahead == 'o') ADVANCE(39); + if (lookahead == 'e') ADVANCE(44); END_STATE(); case 31: - ACCEPT_TOKEN(anon_sym_xor); + ACCEPT_TOKEN(anon_sym_mod); END_STATE(); case 32: - ACCEPT_TOKEN(anon_sym_diff); + ACCEPT_TOKEN(anon_sym_not); END_STATE(); case 33: - if (lookahead == 'e') ADVANCE(40); + if (lookahead == 's') ADVANCE(45); END_STATE(); case 34: - if (lookahead == 'r') ADVANCE(41); + if (lookahead == 'e') ADVANCE(46); END_STATE(); case 35: - if (lookahead == 'e') ADVANCE(42); + if (lookahead == 'd') ADVANCE(47); END_STATE(); case 36: - if (lookahead == 'r') ADVANCE(43); + if (lookahead == 'n') ADVANCE(48); END_STATE(); case 37: - if (lookahead == 'i') ADVANCE(44); + if (lookahead == 'e') ADVANCE(49); END_STATE(); case 38: - ACCEPT_TOKEN(anon_sym_true); + if (lookahead == 'o') ADVANCE(50); END_STATE(); case 39: - if (lookahead == 'n') ADVANCE(45); + ACCEPT_TOKEN(anon_sym_xor); END_STATE(); case 40: - ACCEPT_TOKEN(anon_sym_false); + ACCEPT_TOKEN(anon_sym_diff); END_STATE(); case 41: - if (lookahead == 's') ADVANCE(46); + ACCEPT_TOKEN(anon_sym_else); + if (lookahead == 'i') ADVANCE(51); END_STATE(); case 42: - if (lookahead == 't') ADVANCE(47); - END_STATE(); - case 43: - if (lookahead == 's') ADVANCE(48); - END_STATE(); - case 44: - if (lookahead == 'f') ADVANCE(49); - END_STATE(); - case 45: - ACCEPT_TOKEN(anon_sym_union); - END_STATE(); - case 46: - if (lookahead == 'e') ADVANCE(50); - END_STATE(); - case 47: - ACCEPT_TOKEN(anon_sym_subset); - END_STATE(); - case 48: - if (lookahead == 'e') ADVANCE(51); - END_STATE(); - case 49: if (lookahead == 'f') ADVANCE(52); END_STATE(); + case 43: + if (lookahead == 'e') ADVANCE(53); + END_STATE(); + case 44: + if (lookahead == 'r') ADVANCE(54); + END_STATE(); + case 45: + if (lookahead == 'e') ADVANCE(55); + END_STATE(); + case 46: + if (lookahead == 'r') ADVANCE(56); + END_STATE(); + case 47: + if (lookahead == 'i') ADVANCE(57); + END_STATE(); + case 48: + ACCEPT_TOKEN(anon_sym_then); + END_STATE(); + case 49: + ACCEPT_TOKEN(anon_sym_true); + END_STATE(); case 50: - if (lookahead == 'c') ADVANCE(53); + if (lookahead == 'n') ADVANCE(58); END_STATE(); case 51: - if (lookahead == 't') ADVANCE(54); + if (lookahead == 'f') ADVANCE(59); END_STATE(); case 52: - ACCEPT_TOKEN(anon_sym_symdiff); + ACCEPT_TOKEN(anon_sym_endif); END_STATE(); case 53: - if (lookahead == 't') ADVANCE(55); + ACCEPT_TOKEN(anon_sym_false); END_STATE(); case 54: - ACCEPT_TOKEN(anon_sym_superset); + if (lookahead == 's') ADVANCE(60); END_STATE(); case 55: + if (lookahead == 't') ADVANCE(61); + END_STATE(); + case 56: + if (lookahead == 's') ADVANCE(62); + END_STATE(); + case 57: + if (lookahead == 'f') ADVANCE(63); + END_STATE(); + case 58: + ACCEPT_TOKEN(anon_sym_union); + END_STATE(); + case 59: + ACCEPT_TOKEN(anon_sym_elseif); + END_STATE(); + case 60: + if (lookahead == 'e') ADVANCE(64); + END_STATE(); + case 61: + ACCEPT_TOKEN(anon_sym_subset); + END_STATE(); + case 62: + if (lookahead == 'e') ADVANCE(65); + END_STATE(); + case 63: + if (lookahead == 'f') ADVANCE(66); + END_STATE(); + case 64: + if (lookahead == 'c') ADVANCE(67); + END_STATE(); + case 65: + if (lookahead == 't') ADVANCE(68); + END_STATE(); + case 66: + ACCEPT_TOKEN(anon_sym_symdiff); + END_STATE(); + case 67: + if (lookahead == 't') ADVANCE(69); + END_STATE(); + case 68: + ACCEPT_TOKEN(anon_sym_superset); + END_STATE(); + case 69: ACCEPT_TOKEN(anon_sym_intersect); END_STATE(); default: @@ -1311,16 +1407,16 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [38] = {.lex_state = 30}, [39] = {.lex_state = 30}, [40] = {.lex_state = 30}, - [41] = {.lex_state = 2}, - [42] = {.lex_state = 2}, - [43] = {.lex_state = 2}, - [44] = {.lex_state = 2}, - [45] = {.lex_state = 2}, - [46] = {.lex_state = 2}, - [47] = {.lex_state = 2}, - [48] = {.lex_state = 2}, - [49] = {.lex_state = 2}, - [50] = {.lex_state = 2}, + [41] = {.lex_state = 30}, + [42] = {.lex_state = 30}, + [43] = {.lex_state = 30}, + [44] = {.lex_state = 30}, + [45] = {.lex_state = 30}, + [46] = {.lex_state = 30}, + [47] = {.lex_state = 30}, + [48] = {.lex_state = 30}, + [49] = {.lex_state = 30}, + [50] = {.lex_state = 30}, [51] = {.lex_state = 2}, [52] = {.lex_state = 2}, [53] = {.lex_state = 2}, @@ -1336,19 +1432,37 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [63] = {.lex_state = 2}, [64] = {.lex_state = 2}, [65] = {.lex_state = 2}, - [66] = {.lex_state = 0}, - [67] = {.lex_state = 0}, - [68] = {.lex_state = 1}, - [69] = {.lex_state = 1}, - [70] = {.lex_state = 1}, - [71] = {.lex_state = 0}, - [72] = {.lex_state = 0}, - [73] = {.lex_state = 0}, - [74] = {.lex_state = 0}, - [75] = {.lex_state = 0}, - [76] = {.lex_state = 0}, - [77] = {.lex_state = 0}, - [78] = {.lex_state = 0}, + [66] = {.lex_state = 2}, + [67] = {.lex_state = 2}, + [68] = {.lex_state = 2}, + [69] = {.lex_state = 2}, + [70] = {.lex_state = 2}, + [71] = {.lex_state = 2}, + [72] = {.lex_state = 2}, + [73] = {.lex_state = 2}, + [74] = {.lex_state = 2}, + [75] = {.lex_state = 2}, + [76] = {.lex_state = 2}, + [77] = {.lex_state = 2}, + [78] = {.lex_state = 2}, + [79] = {.lex_state = 2}, + [80] = {.lex_state = 2}, + [81] = {.lex_state = 2}, + [82] = {.lex_state = 0}, + [83] = {.lex_state = 0}, + [84] = {.lex_state = 0}, + [85] = {.lex_state = 1}, + [86] = {.lex_state = 0}, + [87] = {.lex_state = 1}, + [88] = {.lex_state = 1}, + [89] = {.lex_state = 0}, + [90] = {.lex_state = 0}, + [91] = {.lex_state = 0}, + [92] = {.lex_state = 0}, + [93] = {.lex_state = 0}, + [94] = {.lex_state = 0}, + [95] = {.lex_state = 0}, + [96] = {.lex_state = 0}, }; static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -1389,6 +1503,11 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LPAREN] = ACTIONS(1), [anon_sym_COMMA] = ACTIONS(1), [anon_sym_RPAREN] = ACTIONS(1), + [anon_sym_if] = ACTIONS(1), + [anon_sym_then] = ACTIONS(1), + [anon_sym_elseif] = ACTIONS(1), + [anon_sym_else] = ACTIONS(1), + [anon_sym_endif] = ACTIONS(1), [anon_sym_LBRACK] = ACTIONS(1), [anon_sym_RBRACK] = ACTIONS(1), [anon_sym_not] = ACTIONS(1), @@ -1406,10 +1525,10 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_block_comment] = ACTIONS(3), }, [1] = { - [sym_source_file] = STATE(78), - [sym__items] = STATE(75), - [sym_assignment_item] = STATE(75), - [aux_sym_source_file_repeat1] = STATE(67), + [sym_source_file] = STATE(96), + [sym__items] = STATE(93), + [sym_assignment_item] = STATE(93), + [aux_sym_source_file_repeat1] = STATE(83), [ts_builtin_sym_end] = ACTIONS(5), [sym_identifier] = ACTIONS(7), [sym_line_comment] = ACTIONS(3), @@ -1451,6 +1570,10 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LPAREN] = ACTIONS(13), [anon_sym_COMMA] = ACTIONS(9), [anon_sym_RPAREN] = ACTIONS(9), + [anon_sym_then] = ACTIONS(9), + [anon_sym_elseif] = ACTIONS(9), + [anon_sym_else] = ACTIONS(11), + [anon_sym_endif] = ACTIONS(9), [anon_sym_LBRACK] = ACTIONS(9), [anon_sym_RBRACK] = ACTIONS(9), [anon_sym_RBRACE] = ACTIONS(9), @@ -1477,22 +1600,26 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_subset] = ACTIONS(15), [anon_sym_superset] = ACTIONS(15), [anon_sym_union] = ACTIONS(15), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), + [anon_sym_diff] = ACTIONS(15), + [anon_sym_symdiff] = ACTIONS(15), + [anon_sym_intersect] = ACTIONS(15), + [anon_sym_DOT_DOT] = ACTIONS(15), + [anon_sym_PLUS] = ACTIONS(17), + [anon_sym_DASH] = ACTIONS(17), + [anon_sym_PLUS_PLUS] = ACTIONS(15), + [anon_sym_STAR] = ACTIONS(15), + [anon_sym_SLASH] = ACTIONS(17), + [anon_sym_div] = ACTIONS(15), + [anon_sym_mod] = ACTIONS(15), + [anon_sym_CARET] = ACTIONS(15), + [anon_sym_COLON_COLON] = ACTIONS(19), [anon_sym_COMMA] = ACTIONS(15), [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), [anon_sym_RBRACK] = ACTIONS(15), [anon_sym_RBRACE] = ACTIONS(15), [sym_line_comment] = ACTIONS(3), @@ -1530,16 +1657,65 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_div] = ACTIONS(31), [anon_sym_mod] = ACTIONS(31), [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), + [anon_sym_COLON_COLON] = ACTIONS(19), [anon_sym_COMMA] = ACTIONS(15), [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), [anon_sym_RBRACK] = ACTIONS(15), [anon_sym_RBRACE] = ACTIONS(15), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, [5] = { + [ts_builtin_sym_end] = ACTIONS(37), + [anon_sym_SEMI] = ACTIONS(37), + [anon_sym_EQ] = ACTIONS(39), + [anon_sym_LT_DASH_GT] = ACTIONS(37), + [anon_sym_DASH_GT] = ACTIONS(37), + [anon_sym_LT_DASH] = ACTIONS(39), + [anon_sym_BSLASH_SLASH] = ACTIONS(37), + [anon_sym_xor] = ACTIONS(37), + [anon_sym_SLASH_BSLASH] = ACTIONS(37), + [anon_sym_EQ_EQ] = ACTIONS(37), + [anon_sym_BANG_EQ] = ACTIONS(37), + [anon_sym_LT] = ACTIONS(39), + [anon_sym_LT_EQ] = ACTIONS(37), + [anon_sym_GT] = ACTIONS(39), + [anon_sym_GT_EQ] = ACTIONS(37), + [anon_sym_in] = ACTIONS(39), + [anon_sym_subset] = ACTIONS(37), + [anon_sym_superset] = ACTIONS(37), + [anon_sym_union] = ACTIONS(37), + [anon_sym_diff] = ACTIONS(37), + [anon_sym_symdiff] = ACTIONS(37), + [anon_sym_intersect] = ACTIONS(37), + [anon_sym_DOT_DOT] = ACTIONS(37), + [anon_sym_PLUS] = ACTIONS(39), + [anon_sym_DASH] = ACTIONS(39), + [anon_sym_PLUS_PLUS] = ACTIONS(37), + [anon_sym_STAR] = ACTIONS(37), + [anon_sym_SLASH] = ACTIONS(39), + [anon_sym_div] = ACTIONS(37), + [anon_sym_mod] = ACTIONS(37), + [anon_sym_CARET] = ACTIONS(37), + [anon_sym_COLON_COLON] = ACTIONS(37), + [anon_sym_COMMA] = ACTIONS(37), + [anon_sym_RPAREN] = ACTIONS(37), + [anon_sym_then] = ACTIONS(37), + [anon_sym_elseif] = ACTIONS(37), + [anon_sym_else] = ACTIONS(39), + [anon_sym_endif] = ACTIONS(37), + [anon_sym_LBRACK] = ACTIONS(37), + [anon_sym_RBRACK] = ACTIONS(37), + [anon_sym_RBRACE] = ACTIONS(37), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [6] = { [ts_builtin_sym_end] = ACTIONS(41), [anon_sym_SEMI] = ACTIONS(41), [anon_sym_EQ] = ACTIONS(43), @@ -1571,16 +1747,20 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_div] = ACTIONS(41), [anon_sym_mod] = ACTIONS(41), [anon_sym_CARET] = ACTIONS(41), - [anon_sym_COLON_COLON] = ACTIONS(41), + [anon_sym_COLON_COLON] = ACTIONS(19), [anon_sym_COMMA] = ACTIONS(41), [anon_sym_RPAREN] = ACTIONS(41), - [anon_sym_LBRACK] = ACTIONS(41), + [anon_sym_then] = ACTIONS(41), + [anon_sym_elseif] = ACTIONS(41), + [anon_sym_else] = ACTIONS(43), + [anon_sym_endif] = ACTIONS(41), + [anon_sym_LBRACK] = ACTIONS(21), [anon_sym_RBRACK] = ACTIONS(41), [anon_sym_RBRACE] = ACTIONS(41), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [6] = { + [7] = { [ts_builtin_sym_end] = ACTIONS(45), [anon_sym_SEMI] = ACTIONS(45), [anon_sym_EQ] = ACTIONS(47), @@ -1615,13 +1795,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(45), [anon_sym_COMMA] = ACTIONS(45), [anon_sym_RPAREN] = ACTIONS(45), + [anon_sym_then] = ACTIONS(45), + [anon_sym_elseif] = ACTIONS(45), + [anon_sym_else] = ACTIONS(47), + [anon_sym_endif] = ACTIONS(45), [anon_sym_LBRACK] = ACTIONS(45), [anon_sym_RBRACK] = ACTIONS(45), [anon_sym_RBRACE] = ACTIONS(45), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [7] = { + [8] = { [ts_builtin_sym_end] = ACTIONS(49), [anon_sym_SEMI] = ACTIONS(49), [anon_sym_EQ] = ACTIONS(51), @@ -1656,13 +1840,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(49), [anon_sym_COMMA] = ACTIONS(49), [anon_sym_RPAREN] = ACTIONS(49), + [anon_sym_then] = ACTIONS(49), + [anon_sym_elseif] = ACTIONS(49), + [anon_sym_else] = ACTIONS(51), + [anon_sym_endif] = ACTIONS(49), [anon_sym_LBRACK] = ACTIONS(49), [anon_sym_RBRACK] = ACTIONS(49), [anon_sym_RBRACE] = ACTIONS(49), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [8] = { + [9] = { [ts_builtin_sym_end] = ACTIONS(53), [anon_sym_SEMI] = ACTIONS(53), [anon_sym_EQ] = ACTIONS(55), @@ -1697,13 +1885,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(53), [anon_sym_COMMA] = ACTIONS(53), [anon_sym_RPAREN] = ACTIONS(53), + [anon_sym_then] = ACTIONS(53), + [anon_sym_elseif] = ACTIONS(53), + [anon_sym_else] = ACTIONS(55), + [anon_sym_endif] = ACTIONS(53), [anon_sym_LBRACK] = ACTIONS(53), [anon_sym_RBRACK] = ACTIONS(53), [anon_sym_RBRACE] = ACTIONS(53), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [9] = { + [10] = { [ts_builtin_sym_end] = ACTIONS(57), [anon_sym_SEMI] = ACTIONS(57), [anon_sym_EQ] = ACTIONS(59), @@ -1738,136 +1930,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(57), [anon_sym_COMMA] = ACTIONS(57), [anon_sym_RPAREN] = ACTIONS(57), + [anon_sym_then] = ACTIONS(57), + [anon_sym_elseif] = ACTIONS(57), + [anon_sym_else] = ACTIONS(59), + [anon_sym_endif] = ACTIONS(57), [anon_sym_LBRACK] = ACTIONS(57), [anon_sym_RBRACK] = ACTIONS(57), [anon_sym_RBRACE] = ACTIONS(57), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [10] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(17), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(15), - [anon_sym_BANG_EQ] = ACTIONS(15), - [anon_sym_LT] = ACTIONS(17), - [anon_sym_LT_EQ] = ACTIONS(15), - [anon_sym_GT] = ACTIONS(17), - [anon_sym_GT_EQ] = ACTIONS(15), - [anon_sym_in] = ACTIONS(17), - [anon_sym_subset] = ACTIONS(15), - [anon_sym_superset] = ACTIONS(15), - [anon_sym_union] = ACTIONS(15), - [anon_sym_diff] = ACTIONS(15), - [anon_sym_symdiff] = ACTIONS(15), - [anon_sym_intersect] = ACTIONS(15), - [anon_sym_DOT_DOT] = ACTIONS(15), - [anon_sym_PLUS] = ACTIONS(17), - [anon_sym_DASH] = ACTIONS(17), - [anon_sym_PLUS_PLUS] = ACTIONS(15), - [anon_sym_STAR] = ACTIONS(15), - [anon_sym_SLASH] = ACTIONS(17), - [anon_sym_div] = ACTIONS(15), - [anon_sym_mod] = ACTIONS(15), - [anon_sym_CARET] = ACTIONS(15), - [anon_sym_COLON_COLON] = ACTIONS(15), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, [11] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(17), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(15), - [anon_sym_BANG_EQ] = ACTIONS(15), - [anon_sym_LT] = ACTIONS(17), - [anon_sym_LT_EQ] = ACTIONS(15), - [anon_sym_GT] = ACTIONS(17), - [anon_sym_GT_EQ] = ACTIONS(15), - [anon_sym_in] = ACTIONS(17), - [anon_sym_subset] = ACTIONS(15), - [anon_sym_superset] = ACTIONS(15), - [anon_sym_union] = ACTIONS(15), - [anon_sym_diff] = ACTIONS(15), - [anon_sym_symdiff] = ACTIONS(15), - [anon_sym_intersect] = ACTIONS(15), - [anon_sym_DOT_DOT] = ACTIONS(15), - [anon_sym_PLUS] = ACTIONS(17), - [anon_sym_DASH] = ACTIONS(17), - [anon_sym_PLUS_PLUS] = ACTIONS(15), - [anon_sym_STAR] = ACTIONS(15), - [anon_sym_SLASH] = ACTIONS(17), - [anon_sym_div] = ACTIONS(15), - [anon_sym_mod] = ACTIONS(15), - [anon_sym_CARET] = ACTIONS(15), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [12] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(17), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(15), - [anon_sym_BANG_EQ] = ACTIONS(15), - [anon_sym_LT] = ACTIONS(17), - [anon_sym_LT_EQ] = ACTIONS(15), - [anon_sym_GT] = ACTIONS(17), - [anon_sym_GT_EQ] = ACTIONS(15), - [anon_sym_in] = ACTIONS(17), - [anon_sym_subset] = ACTIONS(15), - [anon_sym_superset] = ACTIONS(15), - [anon_sym_union] = ACTIONS(15), - [anon_sym_diff] = ACTIONS(15), - [anon_sym_symdiff] = ACTIONS(15), - [anon_sym_intersect] = ACTIONS(15), - [anon_sym_DOT_DOT] = ACTIONS(15), - [anon_sym_PLUS] = ACTIONS(17), - [anon_sym_DASH] = ACTIONS(17), - [anon_sym_PLUS_PLUS] = ACTIONS(15), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [13] = { [ts_builtin_sym_end] = ACTIONS(61), [anon_sym_SEMI] = ACTIONS(61), [anon_sym_EQ] = ACTIONS(63), @@ -1902,54 +1975,242 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(61), [anon_sym_COMMA] = ACTIONS(61), [anon_sym_RPAREN] = ACTIONS(61), + [anon_sym_then] = ACTIONS(61), + [anon_sym_elseif] = ACTIONS(61), + [anon_sym_else] = ACTIONS(63), + [anon_sym_endif] = ACTIONS(61), [anon_sym_LBRACK] = ACTIONS(61), [anon_sym_RBRACK] = ACTIONS(61), [anon_sym_RBRACE] = ACTIONS(61), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, + [12] = { + [ts_builtin_sym_end] = ACTIONS(65), + [anon_sym_SEMI] = ACTIONS(65), + [anon_sym_EQ] = ACTIONS(67), + [anon_sym_LT_DASH_GT] = ACTIONS(65), + [anon_sym_DASH_GT] = ACTIONS(65), + [anon_sym_LT_DASH] = ACTIONS(67), + [anon_sym_BSLASH_SLASH] = ACTIONS(65), + [anon_sym_xor] = ACTIONS(65), + [anon_sym_SLASH_BSLASH] = ACTIONS(65), + [anon_sym_EQ_EQ] = ACTIONS(65), + [anon_sym_BANG_EQ] = ACTIONS(65), + [anon_sym_LT] = ACTIONS(67), + [anon_sym_LT_EQ] = ACTIONS(65), + [anon_sym_GT] = ACTIONS(67), + [anon_sym_GT_EQ] = ACTIONS(65), + [anon_sym_in] = ACTIONS(67), + [anon_sym_subset] = ACTIONS(65), + [anon_sym_superset] = ACTIONS(65), + [anon_sym_union] = ACTIONS(65), + [anon_sym_diff] = ACTIONS(65), + [anon_sym_symdiff] = ACTIONS(65), + [anon_sym_intersect] = ACTIONS(65), + [anon_sym_DOT_DOT] = ACTIONS(65), + [anon_sym_PLUS] = ACTIONS(67), + [anon_sym_DASH] = ACTIONS(67), + [anon_sym_PLUS_PLUS] = ACTIONS(65), + [anon_sym_STAR] = ACTIONS(65), + [anon_sym_SLASH] = ACTIONS(67), + [anon_sym_div] = ACTIONS(65), + [anon_sym_mod] = ACTIONS(65), + [anon_sym_CARET] = ACTIONS(65), + [anon_sym_COLON_COLON] = ACTIONS(65), + [anon_sym_COMMA] = ACTIONS(65), + [anon_sym_RPAREN] = ACTIONS(65), + [anon_sym_then] = ACTIONS(65), + [anon_sym_elseif] = ACTIONS(65), + [anon_sym_else] = ACTIONS(67), + [anon_sym_endif] = ACTIONS(65), + [anon_sym_LBRACK] = ACTIONS(65), + [anon_sym_RBRACK] = ACTIONS(65), + [anon_sym_RBRACE] = ACTIONS(65), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [13] = { + [ts_builtin_sym_end] = ACTIONS(69), + [anon_sym_SEMI] = ACTIONS(69), + [anon_sym_EQ] = ACTIONS(71), + [anon_sym_LT_DASH_GT] = ACTIONS(69), + [anon_sym_DASH_GT] = ACTIONS(69), + [anon_sym_LT_DASH] = ACTIONS(71), + [anon_sym_BSLASH_SLASH] = ACTIONS(69), + [anon_sym_xor] = ACTIONS(69), + [anon_sym_SLASH_BSLASH] = ACTIONS(69), + [anon_sym_EQ_EQ] = ACTIONS(69), + [anon_sym_BANG_EQ] = ACTIONS(69), + [anon_sym_LT] = ACTIONS(71), + [anon_sym_LT_EQ] = ACTIONS(69), + [anon_sym_GT] = ACTIONS(71), + [anon_sym_GT_EQ] = ACTIONS(69), + [anon_sym_in] = ACTIONS(71), + [anon_sym_subset] = ACTIONS(69), + [anon_sym_superset] = ACTIONS(69), + [anon_sym_union] = ACTIONS(69), + [anon_sym_diff] = ACTIONS(69), + [anon_sym_symdiff] = ACTIONS(69), + [anon_sym_intersect] = ACTIONS(69), + [anon_sym_DOT_DOT] = ACTIONS(69), + [anon_sym_PLUS] = ACTIONS(71), + [anon_sym_DASH] = ACTIONS(71), + [anon_sym_PLUS_PLUS] = ACTIONS(69), + [anon_sym_STAR] = ACTIONS(69), + [anon_sym_SLASH] = ACTIONS(71), + [anon_sym_div] = ACTIONS(69), + [anon_sym_mod] = ACTIONS(69), + [anon_sym_CARET] = ACTIONS(69), + [anon_sym_COLON_COLON] = ACTIONS(69), + [anon_sym_COMMA] = ACTIONS(69), + [anon_sym_RPAREN] = ACTIONS(69), + [anon_sym_then] = ACTIONS(69), + [anon_sym_elseif] = ACTIONS(69), + [anon_sym_else] = ACTIONS(71), + [anon_sym_endif] = ACTIONS(69), + [anon_sym_LBRACK] = ACTIONS(69), + [anon_sym_RBRACK] = ACTIONS(69), + [anon_sym_RBRACE] = ACTIONS(69), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, [14] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(17), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(15), - [anon_sym_BANG_EQ] = ACTIONS(15), - [anon_sym_LT] = ACTIONS(17), - [anon_sym_LT_EQ] = ACTIONS(15), - [anon_sym_GT] = ACTIONS(17), - [anon_sym_GT_EQ] = ACTIONS(15), - [anon_sym_in] = ACTIONS(17), - [anon_sym_subset] = ACTIONS(15), - [anon_sym_superset] = ACTIONS(15), - [anon_sym_union] = ACTIONS(15), - [anon_sym_diff] = ACTIONS(15), - [anon_sym_symdiff] = ACTIONS(15), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(15), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), + [ts_builtin_sym_end] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(73), + [anon_sym_EQ] = ACTIONS(75), + [anon_sym_LT_DASH_GT] = ACTIONS(73), + [anon_sym_DASH_GT] = ACTIONS(73), + [anon_sym_LT_DASH] = ACTIONS(75), + [anon_sym_BSLASH_SLASH] = ACTIONS(73), + [anon_sym_xor] = ACTIONS(73), + [anon_sym_SLASH_BSLASH] = ACTIONS(73), + [anon_sym_EQ_EQ] = ACTIONS(73), + [anon_sym_BANG_EQ] = ACTIONS(73), + [anon_sym_LT] = ACTIONS(75), + [anon_sym_LT_EQ] = ACTIONS(73), + [anon_sym_GT] = ACTIONS(75), + [anon_sym_GT_EQ] = ACTIONS(73), + [anon_sym_in] = ACTIONS(75), + [anon_sym_subset] = ACTIONS(73), + [anon_sym_superset] = ACTIONS(73), + [anon_sym_union] = ACTIONS(73), + [anon_sym_diff] = ACTIONS(73), + [anon_sym_symdiff] = ACTIONS(73), + [anon_sym_intersect] = ACTIONS(73), + [anon_sym_DOT_DOT] = ACTIONS(73), + [anon_sym_PLUS] = ACTIONS(75), + [anon_sym_DASH] = ACTIONS(75), + [anon_sym_PLUS_PLUS] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(73), + [anon_sym_SLASH] = ACTIONS(75), + [anon_sym_div] = ACTIONS(73), + [anon_sym_mod] = ACTIONS(73), + [anon_sym_CARET] = ACTIONS(73), + [anon_sym_COLON_COLON] = ACTIONS(73), + [anon_sym_COMMA] = ACTIONS(73), + [anon_sym_RPAREN] = ACTIONS(73), + [anon_sym_then] = ACTIONS(73), + [anon_sym_elseif] = ACTIONS(73), + [anon_sym_else] = ACTIONS(75), + [anon_sym_endif] = ACTIONS(73), + [anon_sym_LBRACK] = ACTIONS(73), + [anon_sym_RBRACK] = ACTIONS(73), + [anon_sym_RBRACE] = ACTIONS(73), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, [15] = { + [ts_builtin_sym_end] = ACTIONS(77), + [anon_sym_SEMI] = ACTIONS(77), + [anon_sym_EQ] = ACTIONS(79), + [anon_sym_LT_DASH_GT] = ACTIONS(77), + [anon_sym_DASH_GT] = ACTIONS(77), + [anon_sym_LT_DASH] = ACTIONS(79), + [anon_sym_BSLASH_SLASH] = ACTIONS(77), + [anon_sym_xor] = ACTIONS(77), + [anon_sym_SLASH_BSLASH] = ACTIONS(77), + [anon_sym_EQ_EQ] = ACTIONS(77), + [anon_sym_BANG_EQ] = ACTIONS(77), + [anon_sym_LT] = ACTIONS(79), + [anon_sym_LT_EQ] = ACTIONS(77), + [anon_sym_GT] = ACTIONS(79), + [anon_sym_GT_EQ] = ACTIONS(77), + [anon_sym_in] = ACTIONS(79), + [anon_sym_subset] = ACTIONS(77), + [anon_sym_superset] = ACTIONS(77), + [anon_sym_union] = ACTIONS(77), + [anon_sym_diff] = ACTIONS(77), + [anon_sym_symdiff] = ACTIONS(77), + [anon_sym_intersect] = ACTIONS(77), + [anon_sym_DOT_DOT] = ACTIONS(77), + [anon_sym_PLUS] = ACTIONS(79), + [anon_sym_DASH] = ACTIONS(79), + [anon_sym_PLUS_PLUS] = ACTIONS(77), + [anon_sym_STAR] = ACTIONS(77), + [anon_sym_SLASH] = ACTIONS(79), + [anon_sym_div] = ACTIONS(77), + [anon_sym_mod] = ACTIONS(77), + [anon_sym_CARET] = ACTIONS(77), + [anon_sym_COLON_COLON] = ACTIONS(77), + [anon_sym_COMMA] = ACTIONS(77), + [anon_sym_RPAREN] = ACTIONS(77), + [anon_sym_then] = ACTIONS(77), + [anon_sym_elseif] = ACTIONS(77), + [anon_sym_else] = ACTIONS(79), + [anon_sym_endif] = ACTIONS(77), + [anon_sym_LBRACK] = ACTIONS(77), + [anon_sym_RBRACK] = ACTIONS(77), + [anon_sym_RBRACE] = ACTIONS(77), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [16] = { + [ts_builtin_sym_end] = ACTIONS(81), + [anon_sym_SEMI] = ACTIONS(81), + [anon_sym_EQ] = ACTIONS(83), + [anon_sym_LT_DASH_GT] = ACTIONS(81), + [anon_sym_DASH_GT] = ACTIONS(81), + [anon_sym_LT_DASH] = ACTIONS(83), + [anon_sym_BSLASH_SLASH] = ACTIONS(81), + [anon_sym_xor] = ACTIONS(81), + [anon_sym_SLASH_BSLASH] = ACTIONS(81), + [anon_sym_EQ_EQ] = ACTIONS(81), + [anon_sym_BANG_EQ] = ACTIONS(81), + [anon_sym_LT] = ACTIONS(83), + [anon_sym_LT_EQ] = ACTIONS(81), + [anon_sym_GT] = ACTIONS(83), + [anon_sym_GT_EQ] = ACTIONS(81), + [anon_sym_in] = ACTIONS(83), + [anon_sym_subset] = ACTIONS(81), + [anon_sym_superset] = ACTIONS(81), + [anon_sym_union] = ACTIONS(81), + [anon_sym_diff] = ACTIONS(81), + [anon_sym_symdiff] = ACTIONS(81), + [anon_sym_intersect] = ACTIONS(81), + [anon_sym_DOT_DOT] = ACTIONS(81), + [anon_sym_PLUS] = ACTIONS(83), + [anon_sym_DASH] = ACTIONS(83), + [anon_sym_PLUS_PLUS] = ACTIONS(81), + [anon_sym_STAR] = ACTIONS(81), + [anon_sym_SLASH] = ACTIONS(83), + [anon_sym_div] = ACTIONS(81), + [anon_sym_mod] = ACTIONS(81), + [anon_sym_CARET] = ACTIONS(81), + [anon_sym_COLON_COLON] = ACTIONS(81), + [anon_sym_COMMA] = ACTIONS(81), + [anon_sym_RPAREN] = ACTIONS(81), + [anon_sym_then] = ACTIONS(81), + [anon_sym_elseif] = ACTIONS(81), + [anon_sym_else] = ACTIONS(83), + [anon_sym_endif] = ACTIONS(81), + [anon_sym_LBRACK] = ACTIONS(81), + [anon_sym_RBRACK] = ACTIONS(81), + [anon_sym_RBRACE] = ACTIONS(81), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [17] = { [ts_builtin_sym_end] = ACTIONS(15), [anon_sym_SEMI] = ACTIONS(15), [anon_sym_EQ] = ACTIONS(17), @@ -1973,270 +2234,28 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_symdiff] = ACTIONS(15), [anon_sym_intersect] = ACTIONS(15), [anon_sym_DOT_DOT] = ACTIONS(15), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), + [anon_sym_PLUS] = ACTIONS(17), + [anon_sym_DASH] = ACTIONS(17), + [anon_sym_PLUS_PLUS] = ACTIONS(15), + [anon_sym_STAR] = ACTIONS(15), + [anon_sym_SLASH] = ACTIONS(17), + [anon_sym_div] = ACTIONS(15), + [anon_sym_mod] = ACTIONS(15), + [anon_sym_CARET] = ACTIONS(15), + [anon_sym_COLON_COLON] = ACTIONS(15), [anon_sym_COMMA] = ACTIONS(15), [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [16] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(17), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(15), - [anon_sym_BANG_EQ] = ACTIONS(15), - [anon_sym_LT] = ACTIONS(17), - [anon_sym_LT_EQ] = ACTIONS(15), - [anon_sym_GT] = ACTIONS(17), - [anon_sym_GT_EQ] = ACTIONS(15), - [anon_sym_in] = ACTIONS(17), - [anon_sym_subset] = ACTIONS(15), - [anon_sym_superset] = ACTIONS(15), - [anon_sym_union] = ACTIONS(15), - [anon_sym_diff] = ACTIONS(15), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [17] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), [anon_sym_RBRACK] = ACTIONS(15), [anon_sym_RBRACE] = ACTIONS(15), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, [18] = { - [ts_builtin_sym_end] = ACTIONS(71), - [anon_sym_SEMI] = ACTIONS(71), - [anon_sym_EQ] = ACTIONS(73), - [anon_sym_LT_DASH_GT] = ACTIONS(71), - [anon_sym_DASH_GT] = ACTIONS(71), - [anon_sym_LT_DASH] = ACTIONS(73), - [anon_sym_BSLASH_SLASH] = ACTIONS(71), - [anon_sym_xor] = ACTIONS(71), - [anon_sym_SLASH_BSLASH] = ACTIONS(71), - [anon_sym_EQ_EQ] = ACTIONS(71), - [anon_sym_BANG_EQ] = ACTIONS(71), - [anon_sym_LT] = ACTIONS(73), - [anon_sym_LT_EQ] = ACTIONS(71), - [anon_sym_GT] = ACTIONS(73), - [anon_sym_GT_EQ] = ACTIONS(71), - [anon_sym_in] = ACTIONS(73), - [anon_sym_subset] = ACTIONS(71), - [anon_sym_superset] = ACTIONS(71), - [anon_sym_union] = ACTIONS(71), - [anon_sym_diff] = ACTIONS(71), - [anon_sym_symdiff] = ACTIONS(71), - [anon_sym_intersect] = ACTIONS(71), - [anon_sym_DOT_DOT] = ACTIONS(71), - [anon_sym_PLUS] = ACTIONS(73), - [anon_sym_DASH] = ACTIONS(73), - [anon_sym_PLUS_PLUS] = ACTIONS(71), - [anon_sym_STAR] = ACTIONS(71), - [anon_sym_SLASH] = ACTIONS(73), - [anon_sym_div] = ACTIONS(71), - [anon_sym_mod] = ACTIONS(71), - [anon_sym_CARET] = ACTIONS(71), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(71), - [anon_sym_RPAREN] = ACTIONS(71), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(71), - [anon_sym_RBRACE] = ACTIONS(71), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [19] = { - [ts_builtin_sym_end] = ACTIONS(75), - [anon_sym_SEMI] = ACTIONS(75), - [anon_sym_EQ] = ACTIONS(77), - [anon_sym_LT_DASH_GT] = ACTIONS(75), - [anon_sym_DASH_GT] = ACTIONS(75), - [anon_sym_LT_DASH] = ACTIONS(77), - [anon_sym_BSLASH_SLASH] = ACTIONS(75), - [anon_sym_xor] = ACTIONS(75), - [anon_sym_SLASH_BSLASH] = ACTIONS(75), - [anon_sym_EQ_EQ] = ACTIONS(75), - [anon_sym_BANG_EQ] = ACTIONS(75), - [anon_sym_LT] = ACTIONS(77), - [anon_sym_LT_EQ] = ACTIONS(75), - [anon_sym_GT] = ACTIONS(77), - [anon_sym_GT_EQ] = ACTIONS(75), - [anon_sym_in] = ACTIONS(77), - [anon_sym_subset] = ACTIONS(75), - [anon_sym_superset] = ACTIONS(75), - [anon_sym_union] = ACTIONS(75), - [anon_sym_diff] = ACTIONS(75), - [anon_sym_symdiff] = ACTIONS(75), - [anon_sym_intersect] = ACTIONS(75), - [anon_sym_DOT_DOT] = ACTIONS(75), - [anon_sym_PLUS] = ACTIONS(77), - [anon_sym_DASH] = ACTIONS(77), - [anon_sym_PLUS_PLUS] = ACTIONS(75), - [anon_sym_STAR] = ACTIONS(75), - [anon_sym_SLASH] = ACTIONS(77), - [anon_sym_div] = ACTIONS(75), - [anon_sym_mod] = ACTIONS(75), - [anon_sym_CARET] = ACTIONS(75), - [anon_sym_COLON_COLON] = ACTIONS(75), - [anon_sym_COMMA] = ACTIONS(75), - [anon_sym_RPAREN] = ACTIONS(75), - [anon_sym_LBRACK] = ACTIONS(75), - [anon_sym_RBRACK] = ACTIONS(75), - [anon_sym_RBRACE] = ACTIONS(75), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [20] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [21] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [22] = { [ts_builtin_sym_end] = ACTIONS(85), [anon_sym_SEMI] = ACTIONS(85), [anon_sym_EQ] = ACTIONS(87), @@ -2271,54 +2290,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(85), [anon_sym_COMMA] = ACTIONS(85), [anon_sym_RPAREN] = ACTIONS(85), + [anon_sym_then] = ACTIONS(85), + [anon_sym_elseif] = ACTIONS(85), + [anon_sym_else] = ACTIONS(87), + [anon_sym_endif] = ACTIONS(85), [anon_sym_LBRACK] = ACTIONS(85), [anon_sym_RBRACK] = ACTIONS(85), [anon_sym_RBRACE] = ACTIONS(85), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [23] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(17), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(15), - [anon_sym_BANG_EQ] = ACTIONS(15), - [anon_sym_LT] = ACTIONS(17), - [anon_sym_LT_EQ] = ACTIONS(15), - [anon_sym_GT] = ACTIONS(17), - [anon_sym_GT_EQ] = ACTIONS(15), - [anon_sym_in] = ACTIONS(17), - [anon_sym_subset] = ACTIONS(15), - [anon_sym_superset] = ACTIONS(15), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [24] = { + [19] = { [ts_builtin_sym_end] = ACTIONS(89), [anon_sym_SEMI] = ACTIONS(89), [anon_sym_EQ] = ACTIONS(91), @@ -2353,13 +2335,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(89), [anon_sym_COMMA] = ACTIONS(89), [anon_sym_RPAREN] = ACTIONS(89), + [anon_sym_then] = ACTIONS(89), + [anon_sym_elseif] = ACTIONS(89), + [anon_sym_else] = ACTIONS(91), + [anon_sym_endif] = ACTIONS(89), [anon_sym_LBRACK] = ACTIONS(89), [anon_sym_RBRACK] = ACTIONS(89), [anon_sym_RBRACE] = ACTIONS(89), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [25] = { + [20] = { [ts_builtin_sym_end] = ACTIONS(93), [anon_sym_SEMI] = ACTIONS(93), [anon_sym_EQ] = ACTIONS(95), @@ -2394,13 +2380,152 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(93), [anon_sym_COMMA] = ACTIONS(93), [anon_sym_RPAREN] = ACTIONS(93), + [anon_sym_then] = ACTIONS(93), + [anon_sym_elseif] = ACTIONS(93), + [anon_sym_else] = ACTIONS(95), + [anon_sym_endif] = ACTIONS(93), [anon_sym_LBRACK] = ACTIONS(93), [anon_sym_RBRACK] = ACTIONS(93), [anon_sym_RBRACE] = ACTIONS(93), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [26] = { + [21] = { + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(17), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(15), + [anon_sym_BANG_EQ] = ACTIONS(15), + [anon_sym_LT] = ACTIONS(17), + [anon_sym_LT_EQ] = ACTIONS(15), + [anon_sym_GT] = ACTIONS(17), + [anon_sym_GT_EQ] = ACTIONS(15), + [anon_sym_in] = ACTIONS(17), + [anon_sym_subset] = ACTIONS(15), + [anon_sym_superset] = ACTIONS(15), + [anon_sym_union] = ACTIONS(15), + [anon_sym_diff] = ACTIONS(15), + [anon_sym_symdiff] = ACTIONS(15), + [anon_sym_intersect] = ACTIONS(15), + [anon_sym_DOT_DOT] = ACTIONS(15), + [anon_sym_PLUS] = ACTIONS(17), + [anon_sym_DASH] = ACTIONS(17), + [anon_sym_PLUS_PLUS] = ACTIONS(15), + [anon_sym_STAR] = ACTIONS(15), + [anon_sym_SLASH] = ACTIONS(17), + [anon_sym_div] = ACTIONS(15), + [anon_sym_mod] = ACTIONS(15), + [anon_sym_CARET] = ACTIONS(35), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [22] = { + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(17), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(15), + [anon_sym_BANG_EQ] = ACTIONS(15), + [anon_sym_LT] = ACTIONS(17), + [anon_sym_LT_EQ] = ACTIONS(15), + [anon_sym_GT] = ACTIONS(17), + [anon_sym_GT_EQ] = ACTIONS(15), + [anon_sym_in] = ACTIONS(17), + [anon_sym_subset] = ACTIONS(15), + [anon_sym_superset] = ACTIONS(15), + [anon_sym_union] = ACTIONS(15), + [anon_sym_diff] = ACTIONS(15), + [anon_sym_symdiff] = ACTIONS(15), + [anon_sym_intersect] = ACTIONS(15), + [anon_sym_DOT_DOT] = ACTIONS(15), + [anon_sym_PLUS] = ACTIONS(17), + [anon_sym_DASH] = ACTIONS(17), + [anon_sym_PLUS_PLUS] = ACTIONS(15), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(33), + [anon_sym_div] = ACTIONS(31), + [anon_sym_mod] = ACTIONS(31), + [anon_sym_CARET] = ACTIONS(35), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [23] = { + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(17), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(15), + [anon_sym_BANG_EQ] = ACTIONS(15), + [anon_sym_LT] = ACTIONS(17), + [anon_sym_LT_EQ] = ACTIONS(15), + [anon_sym_GT] = ACTIONS(17), + [anon_sym_GT_EQ] = ACTIONS(15), + [anon_sym_in] = ACTIONS(17), + [anon_sym_subset] = ACTIONS(15), + [anon_sym_superset] = ACTIONS(15), + [anon_sym_union] = ACTIONS(15), + [anon_sym_diff] = ACTIONS(15), + [anon_sym_symdiff] = ACTIONS(15), + [anon_sym_intersect] = ACTIONS(23), + [anon_sym_DOT_DOT] = ACTIONS(15), + [anon_sym_PLUS] = ACTIONS(27), + [anon_sym_DASH] = ACTIONS(27), + [anon_sym_PLUS_PLUS] = ACTIONS(29), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(33), + [anon_sym_div] = ACTIONS(31), + [anon_sym_mod] = ACTIONS(31), + [anon_sym_CARET] = ACTIONS(35), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [24] = { [ts_builtin_sym_end] = ACTIONS(97), [anon_sym_SEMI] = ACTIONS(97), [anon_sym_EQ] = ACTIONS(99), @@ -2435,13 +2560,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(97), [anon_sym_COMMA] = ACTIONS(97), [anon_sym_RPAREN] = ACTIONS(97), + [anon_sym_then] = ACTIONS(97), + [anon_sym_elseif] = ACTIONS(97), + [anon_sym_else] = ACTIONS(99), + [anon_sym_endif] = ACTIONS(97), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_RBRACK] = ACTIONS(97), [anon_sym_RBRACE] = ACTIONS(97), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [27] = { + [25] = { [ts_builtin_sym_end] = ACTIONS(101), [anon_sym_SEMI] = ACTIONS(101), [anon_sym_EQ] = ACTIONS(103), @@ -2476,13 +2605,62 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(101), [anon_sym_COMMA] = ACTIONS(101), [anon_sym_RPAREN] = ACTIONS(101), + [anon_sym_then] = ACTIONS(101), + [anon_sym_elseif] = ACTIONS(101), + [anon_sym_else] = ACTIONS(103), + [anon_sym_endif] = ACTIONS(101), [anon_sym_LBRACK] = ACTIONS(101), [anon_sym_RBRACK] = ACTIONS(101), [anon_sym_RBRACE] = ACTIONS(101), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [28] = { + [26] = { + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(17), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(15), + [anon_sym_BANG_EQ] = ACTIONS(15), + [anon_sym_LT] = ACTIONS(17), + [anon_sym_LT_EQ] = ACTIONS(15), + [anon_sym_GT] = ACTIONS(17), + [anon_sym_GT_EQ] = ACTIONS(15), + [anon_sym_in] = ACTIONS(17), + [anon_sym_subset] = ACTIONS(15), + [anon_sym_superset] = ACTIONS(15), + [anon_sym_union] = ACTIONS(15), + [anon_sym_diff] = ACTIONS(15), + [anon_sym_symdiff] = ACTIONS(15), + [anon_sym_intersect] = ACTIONS(15), + [anon_sym_DOT_DOT] = ACTIONS(15), + [anon_sym_PLUS] = ACTIONS(27), + [anon_sym_DASH] = ACTIONS(27), + [anon_sym_PLUS_PLUS] = ACTIONS(29), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(33), + [anon_sym_div] = ACTIONS(31), + [anon_sym_mod] = ACTIONS(31), + [anon_sym_CARET] = ACTIONS(35), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [27] = { [ts_builtin_sym_end] = ACTIONS(105), [anon_sym_SEMI] = ACTIONS(105), [anon_sym_EQ] = ACTIONS(107), @@ -2517,54 +2695,17 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(105), [anon_sym_COMMA] = ACTIONS(105), [anon_sym_RPAREN] = ACTIONS(105), + [anon_sym_then] = ACTIONS(105), + [anon_sym_elseif] = ACTIONS(105), + [anon_sym_else] = ACTIONS(107), + [anon_sym_endif] = ACTIONS(105), [anon_sym_LBRACK] = ACTIONS(105), [anon_sym_RBRACK] = ACTIONS(105), [anon_sym_RBRACE] = ACTIONS(105), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [29] = { - [ts_builtin_sym_end] = ACTIONS(15), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_EQ] = ACTIONS(17), - [anon_sym_LT_DASH_GT] = ACTIONS(15), - [anon_sym_DASH_GT] = ACTIONS(15), - [anon_sym_LT_DASH] = ACTIONS(17), - [anon_sym_BSLASH_SLASH] = ACTIONS(15), - [anon_sym_xor] = ACTIONS(15), - [anon_sym_SLASH_BSLASH] = ACTIONS(15), - [anon_sym_EQ_EQ] = ACTIONS(15), - [anon_sym_BANG_EQ] = ACTIONS(15), - [anon_sym_LT] = ACTIONS(17), - [anon_sym_LT_EQ] = ACTIONS(15), - [anon_sym_GT] = ACTIONS(17), - [anon_sym_GT_EQ] = ACTIONS(15), - [anon_sym_in] = ACTIONS(17), - [anon_sym_subset] = ACTIONS(15), - [anon_sym_superset] = ACTIONS(15), - [anon_sym_union] = ACTIONS(15), - [anon_sym_diff] = ACTIONS(15), - [anon_sym_symdiff] = ACTIONS(15), - [anon_sym_intersect] = ACTIONS(15), - [anon_sym_DOT_DOT] = ACTIONS(15), - [anon_sym_PLUS] = ACTIONS(17), - [anon_sym_DASH] = ACTIONS(17), - [anon_sym_PLUS_PLUS] = ACTIONS(15), - [anon_sym_STAR] = ACTIONS(15), - [anon_sym_SLASH] = ACTIONS(17), - [anon_sym_div] = ACTIONS(15), - [anon_sym_mod] = ACTIONS(15), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(15), - [anon_sym_RPAREN] = ACTIONS(15), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(15), - [anon_sym_RBRACE] = ACTIONS(15), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [30] = { + [28] = { [ts_builtin_sym_end] = ACTIONS(109), [anon_sym_SEMI] = ACTIONS(109), [anon_sym_EQ] = ACTIONS(111), @@ -2599,33 +2740,38 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_COLON] = ACTIONS(109), [anon_sym_COMMA] = ACTIONS(109), [anon_sym_RPAREN] = ACTIONS(109), + [anon_sym_then] = ACTIONS(109), + [anon_sym_elseif] = ACTIONS(109), + [anon_sym_else] = ACTIONS(111), + [anon_sym_endif] = ACTIONS(109), [anon_sym_LBRACK] = ACTIONS(109), [anon_sym_RBRACK] = ACTIONS(109), [anon_sym_RBRACE] = ACTIONS(109), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, - [31] = { - [aux_sym_index_expression_repeat1] = STATE(71), - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), + [29] = { + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(17), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(15), + [anon_sym_BANG_EQ] = ACTIONS(15), + [anon_sym_LT] = ACTIONS(17), + [anon_sym_LT_EQ] = ACTIONS(15), + [anon_sym_GT] = ACTIONS(17), + [anon_sym_GT_EQ] = ACTIONS(15), + [anon_sym_in] = ACTIONS(17), + [anon_sym_subset] = ACTIONS(15), + [anon_sym_superset] = ACTIONS(15), + [anon_sym_union] = ACTIONS(15), + [anon_sym_diff] = ACTIONS(15), + [anon_sym_symdiff] = ACTIONS(113), [anon_sym_intersect] = ACTIONS(23), [anon_sym_DOT_DOT] = ACTIONS(25), [anon_sym_PLUS] = ACTIONS(27), @@ -2636,33 +2782,131 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_div] = ACTIONS(31), [anon_sym_mod] = ACTIONS(31), [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(115), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(117), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [30] = { + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(17), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(15), + [anon_sym_BANG_EQ] = ACTIONS(15), + [anon_sym_LT] = ACTIONS(17), + [anon_sym_LT_EQ] = ACTIONS(15), + [anon_sym_GT] = ACTIONS(17), + [anon_sym_GT_EQ] = ACTIONS(15), + [anon_sym_in] = ACTIONS(17), + [anon_sym_subset] = ACTIONS(15), + [anon_sym_superset] = ACTIONS(15), + [anon_sym_union] = ACTIONS(15), + [anon_sym_diff] = ACTIONS(115), + [anon_sym_symdiff] = ACTIONS(113), + [anon_sym_intersect] = ACTIONS(23), + [anon_sym_DOT_DOT] = ACTIONS(25), + [anon_sym_PLUS] = ACTIONS(27), + [anon_sym_DASH] = ACTIONS(27), + [anon_sym_PLUS_PLUS] = ACTIONS(29), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(33), + [anon_sym_div] = ACTIONS(31), + [anon_sym_mod] = ACTIONS(31), + [anon_sym_CARET] = ACTIONS(35), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), + [sym_line_comment] = ACTIONS(3), + [sym_block_comment] = ACTIONS(3), + }, + [31] = { + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(117), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(119), + [anon_sym_BANG_EQ] = ACTIONS(119), + [anon_sym_LT] = ACTIONS(117), + [anon_sym_LT_EQ] = ACTIONS(119), + [anon_sym_GT] = ACTIONS(117), + [anon_sym_GT_EQ] = ACTIONS(119), + [anon_sym_in] = ACTIONS(117), + [anon_sym_subset] = ACTIONS(119), + [anon_sym_superset] = ACTIONS(119), + [anon_sym_union] = ACTIONS(121), + [anon_sym_diff] = ACTIONS(115), + [anon_sym_symdiff] = ACTIONS(113), + [anon_sym_intersect] = ACTIONS(23), + [anon_sym_DOT_DOT] = ACTIONS(25), + [anon_sym_PLUS] = ACTIONS(27), + [anon_sym_DASH] = ACTIONS(27), + [anon_sym_PLUS_PLUS] = ACTIONS(29), + [anon_sym_STAR] = ACTIONS(31), + [anon_sym_SLASH] = ACTIONS(33), + [anon_sym_div] = ACTIONS(31), + [anon_sym_mod] = ACTIONS(31), + [anon_sym_CARET] = ACTIONS(35), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, [32] = { - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(117), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(123), + [anon_sym_EQ_EQ] = ACTIONS(119), + [anon_sym_BANG_EQ] = ACTIONS(119), + [anon_sym_LT] = ACTIONS(117), + [anon_sym_LT_EQ] = ACTIONS(119), + [anon_sym_GT] = ACTIONS(117), + [anon_sym_GT_EQ] = ACTIONS(119), + [anon_sym_in] = ACTIONS(117), + [anon_sym_subset] = ACTIONS(119), + [anon_sym_superset] = ACTIONS(119), + [anon_sym_union] = ACTIONS(121), + [anon_sym_diff] = ACTIONS(115), + [anon_sym_symdiff] = ACTIONS(113), [anon_sym_intersect] = ACTIONS(23), [anon_sym_DOT_DOT] = ACTIONS(25), [anon_sym_PLUS] = ACTIONS(27), @@ -2673,33 +2917,41 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_div] = ACTIONS(31), [anon_sym_mod] = ACTIONS(31), [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(119), - [anon_sym_RPAREN] = ACTIONS(121), - [anon_sym_LBRACK] = ACTIONS(39), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, [33] = { - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(117), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(125), + [anon_sym_LT_DASH] = ACTIONS(127), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(125), + [anon_sym_SLASH_BSLASH] = ACTIONS(123), + [anon_sym_EQ_EQ] = ACTIONS(119), + [anon_sym_BANG_EQ] = ACTIONS(119), + [anon_sym_LT] = ACTIONS(117), + [anon_sym_LT_EQ] = ACTIONS(119), + [anon_sym_GT] = ACTIONS(117), + [anon_sym_GT_EQ] = ACTIONS(119), + [anon_sym_in] = ACTIONS(117), + [anon_sym_subset] = ACTIONS(119), + [anon_sym_superset] = ACTIONS(119), + [anon_sym_union] = ACTIONS(121), + [anon_sym_diff] = ACTIONS(115), + [anon_sym_symdiff] = ACTIONS(113), [anon_sym_intersect] = ACTIONS(23), [anon_sym_DOT_DOT] = ACTIONS(25), [anon_sym_PLUS] = ACTIONS(27), @@ -2710,33 +2962,41 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_div] = ACTIONS(31), [anon_sym_mod] = ACTIONS(31), [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(119), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(123), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, [34] = { - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), + [ts_builtin_sym_end] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(15), + [anon_sym_EQ] = ACTIONS(17), + [anon_sym_LT_DASH_GT] = ACTIONS(15), + [anon_sym_DASH_GT] = ACTIONS(15), + [anon_sym_LT_DASH] = ACTIONS(17), + [anon_sym_BSLASH_SLASH] = ACTIONS(15), + [anon_sym_xor] = ACTIONS(15), + [anon_sym_SLASH_BSLASH] = ACTIONS(15), + [anon_sym_EQ_EQ] = ACTIONS(15), + [anon_sym_BANG_EQ] = ACTIONS(15), + [anon_sym_LT] = ACTIONS(17), + [anon_sym_LT_EQ] = ACTIONS(15), + [anon_sym_GT] = ACTIONS(17), + [anon_sym_GT_EQ] = ACTIONS(15), + [anon_sym_in] = ACTIONS(17), + [anon_sym_subset] = ACTIONS(15), + [anon_sym_superset] = ACTIONS(15), + [anon_sym_union] = ACTIONS(121), + [anon_sym_diff] = ACTIONS(115), + [anon_sym_symdiff] = ACTIONS(113), [anon_sym_intersect] = ACTIONS(23), [anon_sym_DOT_DOT] = ACTIONS(25), [anon_sym_PLUS] = ACTIONS(27), @@ -2747,206 +3007,27 @@ static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_div] = ACTIONS(31), [anon_sym_mod] = ACTIONS(31), [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(125), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(125), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [35] = { - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(119), - [anon_sym_RPAREN] = ACTIONS(127), - [anon_sym_LBRACK] = ACTIONS(39), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [36] = { - [ts_builtin_sym_end] = ACTIONS(129), - [anon_sym_SEMI] = ACTIONS(129), - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_LBRACK] = ACTIONS(39), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [37] = { - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(119), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACE] = ACTIONS(131), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [38] = { - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(119), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACK] = ACTIONS(133), - [sym_line_comment] = ACTIONS(3), - [sym_block_comment] = ACTIONS(3), - }, - [39] = { - [anon_sym_EQ] = ACTIONS(65), - [anon_sym_LT_DASH_GT] = ACTIONS(113), - [anon_sym_DASH_GT] = ACTIONS(81), - [anon_sym_LT_DASH] = ACTIONS(83), - [anon_sym_BSLASH_SLASH] = ACTIONS(113), - [anon_sym_xor] = ACTIONS(81), - [anon_sym_SLASH_BSLASH] = ACTIONS(79), - [anon_sym_EQ_EQ] = ACTIONS(67), - [anon_sym_BANG_EQ] = ACTIONS(67), - [anon_sym_LT] = ACTIONS(65), - [anon_sym_LT_EQ] = ACTIONS(67), - [anon_sym_GT] = ACTIONS(65), - [anon_sym_GT_EQ] = ACTIONS(67), - [anon_sym_in] = ACTIONS(65), - [anon_sym_subset] = ACTIONS(67), - [anon_sym_superset] = ACTIONS(67), - [anon_sym_union] = ACTIONS(69), - [anon_sym_diff] = ACTIONS(19), - [anon_sym_symdiff] = ACTIONS(21), - [anon_sym_intersect] = ACTIONS(23), - [anon_sym_DOT_DOT] = ACTIONS(25), - [anon_sym_PLUS] = ACTIONS(27), - [anon_sym_DASH] = ACTIONS(27), - [anon_sym_PLUS_PLUS] = ACTIONS(29), - [anon_sym_STAR] = ACTIONS(31), - [anon_sym_SLASH] = ACTIONS(33), - [anon_sym_div] = ACTIONS(31), - [anon_sym_mod] = ACTIONS(31), - [anon_sym_CARET] = ACTIONS(35), - [anon_sym_COLON_COLON] = ACTIONS(37), - [anon_sym_COMMA] = ACTIONS(119), - [anon_sym_LBRACK] = ACTIONS(39), - [anon_sym_RBRACE] = ACTIONS(135), + [anon_sym_COLON_COLON] = ACTIONS(19), + [anon_sym_COMMA] = ACTIONS(15), + [anon_sym_RPAREN] = ACTIONS(15), + [anon_sym_then] = ACTIONS(15), + [anon_sym_elseif] = ACTIONS(15), + [anon_sym_else] = ACTIONS(17), + [anon_sym_endif] = ACTIONS(15), + [anon_sym_LBRACK] = ACTIONS(21), + [anon_sym_RBRACK] = ACTIONS(15), + [anon_sym_RBRACE] = ACTIONS(15), [sym_line_comment] = ACTIONS(3), [sym_block_comment] = ACTIONS(3), }, }; static uint16_t ts_small_parse_table[] = { - [0] = 20, + [0] = 23, ACTIONS(19), 1, - anon_sym_diff, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_symdiff, + anon_sym_LBRACK, ACTIONS(23), 1, anon_sym_intersect, ACTIONS(25), 1, @@ -2957,17 +3038,814 @@ static uint16_t ts_small_parse_table[] = { anon_sym_SLASH, ACTIONS(35), 1, anon_sym_CARET, - ACTIONS(37), 1, - anon_sym_COLON_COLON, - ACTIONS(39), 1, - anon_sym_LBRACK, - ACTIONS(69), 1, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, anon_sym_union, - ACTIONS(79), 1, + ACTIONS(123), 1, anon_sym_SLASH_BSLASH, - ACTIONS(83), 1, + ACTIONS(127), 1, anon_sym_LT_DASH, - ACTIONS(119), 1, + ACTIONS(131), 1, + anon_sym_elseif, + ACTIONS(133), 1, + anon_sym_else, + ACTIONS(135), 1, + anon_sym_endif, + STATE(84), 1, + aux_sym_if_then_else_repeat1, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [84] = 21, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(139), 1, + anon_sym_else, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(137), 2, + anon_sym_elseif, + anon_sym_endif, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [163] = 22, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(141), 1, + anon_sym_COMMA, + ACTIONS(143), 1, + anon_sym_RBRACK, + STATE(90), 1, + aux_sym_index_expression_repeat1, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [244] = 21, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(145), 1, + anon_sym_COMMA, + ACTIONS(147), 1, + anon_sym_RBRACE, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [322] = 20, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(149), 2, + anon_sym_COMMA, + anon_sym_RBRACK, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [398] = 21, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(145), 1, + anon_sym_COMMA, + ACTIONS(151), 1, + anon_sym_RPAREN, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [476] = 21, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(145), 1, + anon_sym_COMMA, + ACTIONS(153), 1, + anon_sym_RBRACK, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [554] = 21, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(145), 1, + anon_sym_COMMA, + ACTIONS(155), 1, + anon_sym_RBRACE, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [632] = 20, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(157), 2, + ts_builtin_sym_end, + anon_sym_SEMI, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [708] = 21, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(145), 1, + anon_sym_COMMA, + ACTIONS(159), 1, + anon_sym_RBRACK, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [786] = 21, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(145), 1, + anon_sym_COMMA, + ACTIONS(161), 1, + anon_sym_RPAREN, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [864] = 20, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(163), 1, + anon_sym_endif, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [939] = 20, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(165), 1, + anon_sym_endif, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1014] = 20, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(167), 1, + anon_sym_then, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1089] = 20, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + anon_sym_LBRACK, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, + ACTIONS(123), 1, + anon_sym_SLASH_BSLASH, + ACTIONS(127), 1, + anon_sym_LT_DASH, + ACTIONS(145), 1, anon_sym_COMMA, ACTIONS(3), 2, sym_line_comment, @@ -2975,263 +3853,121 @@ static uint16_t ts_small_parse_table[] = { ACTIONS(27), 2, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(81), 2, + ACTIONS(125), 2, anon_sym_DASH_GT, anon_sym_xor, - ACTIONS(113), 2, + ACTIONS(129), 2, anon_sym_LT_DASH_GT, anon_sym_BSLASH_SLASH, ACTIONS(31), 3, anon_sym_STAR, anon_sym_div, anon_sym_mod, - ACTIONS(65), 4, + ACTIONS(117), 4, anon_sym_EQ, anon_sym_LT, anon_sym_GT, anon_sym_in, - ACTIONS(67), 6, + ACTIONS(119), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, anon_sym_subset, anon_sym_superset, - [75] = 13, - ACTIONS(137), 1, - sym_identifier, - ACTIONS(145), 1, + [1164] = 20, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, anon_sym_LBRACK, - ACTIONS(148), 1, - anon_sym_not, - ACTIONS(157), 1, - sym_integer_literal, - ACTIONS(160), 1, - anon_sym_LBRACE, - ACTIONS(163), 1, - anon_sym_DQUOTE, - STATE(41), 1, - aux_sym_call_repeat1, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(140), 2, - anon_sym_DASH, - anon_sym_, - ACTIONS(151), 2, - sym_absent, - sym_float_literal, - ACTIONS(154), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(143), 3, - anon_sym_RPAREN, - anon_sym_RBRACK, - anon_sym_RBRACE, - STATE(40), 10, - sym__expression, - sym_binary_operation, - sym_call, - sym_index_expression, - sym_unary_operation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [130] = 13, - ACTIONS(131), 1, - anon_sym_RBRACE, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(170), 1, - anon_sym_LBRACK, - ACTIONS(172), 1, - anon_sym_not, - ACTIONS(178), 1, - sym_integer_literal, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_DQUOTE, - STATE(41), 1, - aux_sym_call_repeat1, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(168), 2, - anon_sym_DASH, - anon_sym_, - ACTIONS(174), 2, - sym_absent, - sym_float_literal, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(39), 10, - sym__expression, - sym_binary_operation, - sym_call, - sym_index_expression, - sym_unary_operation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [183] = 13, + ACTIONS(23), 1, + anon_sym_intersect, + ACTIONS(25), 1, + anon_sym_DOT_DOT, + ACTIONS(29), 1, + anon_sym_PLUS_PLUS, + ACTIONS(33), 1, + anon_sym_SLASH, + ACTIONS(35), 1, + anon_sym_CARET, + ACTIONS(113), 1, + anon_sym_symdiff, + ACTIONS(115), 1, + anon_sym_diff, + ACTIONS(121), 1, + anon_sym_union, ACTIONS(123), 1, - anon_sym_RBRACK, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(170), 1, - anon_sym_LBRACK, - ACTIONS(172), 1, - anon_sym_not, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_DQUOTE, - ACTIONS(186), 1, - sym_integer_literal, - STATE(41), 1, - aux_sym_call_repeat1, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(168), 2, - anon_sym_DASH, - anon_sym_, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(184), 2, - sym_absent, - sym_float_literal, - STATE(38), 10, - sym__expression, - sym_binary_operation, - sym_call, - sym_index_expression, - sym_unary_operation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [236] = 13, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(170), 1, - anon_sym_LBRACK, - ACTIONS(172), 1, - anon_sym_not, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_DQUOTE, - ACTIONS(188), 1, - anon_sym_RBRACK, - ACTIONS(192), 1, - sym_integer_literal, - STATE(43), 1, - aux_sym_call_repeat1, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(168), 2, - anon_sym_DASH, - anon_sym_, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(190), 2, - sym_absent, - sym_float_literal, - STATE(33), 10, - sym__expression, - sym_binary_operation, - sym_call, - sym_index_expression, - sym_unary_operation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [289] = 13, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(170), 1, - anon_sym_LBRACK, - ACTIONS(172), 1, - anon_sym_not, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_DQUOTE, - ACTIONS(196), 1, - sym_integer_literal, - ACTIONS(198), 1, - anon_sym_RBRACE, - STATE(42), 1, - aux_sym_call_repeat1, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(168), 2, - anon_sym_DASH, - anon_sym_, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(194), 2, - sym_absent, - sym_float_literal, - STATE(37), 10, - sym__expression, - sym_binary_operation, - sym_call, - sym_index_expression, - sym_unary_operation, - sym__literal, - sym_array_literal, - sym_boolean_literal, - sym_set_literal, - sym_string_literal, - [342] = 13, + anon_sym_SLASH_BSLASH, ACTIONS(127), 1, - anon_sym_RPAREN, - ACTIONS(166), 1, + anon_sym_LT_DASH, + ACTIONS(169), 1, + anon_sym_then, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(27), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(125), 2, + anon_sym_DASH_GT, + anon_sym_xor, + ACTIONS(129), 2, + anon_sym_LT_DASH_GT, + anon_sym_BSLASH_SLASH, + ACTIONS(31), 3, + anon_sym_STAR, + anon_sym_div, + anon_sym_mod, + ACTIONS(117), 4, + anon_sym_EQ, + anon_sym_LT, + anon_sym_GT, + anon_sym_in, + ACTIONS(119), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_subset, + anon_sym_superset, + [1239] = 14, + ACTIONS(171), 1, sym_identifier, - ACTIONS(170), 1, - anon_sym_LBRACK, - ACTIONS(172), 1, - anon_sym_not, - ACTIONS(180), 1, - anon_sym_LBRACE, + ACTIONS(179), 1, + anon_sym_if, ACTIONS(182), 1, - anon_sym_DQUOTE, - ACTIONS(202), 1, + anon_sym_LBRACK, + ACTIONS(185), 1, + anon_sym_not, + ACTIONS(194), 1, sym_integer_literal, - STATE(41), 1, + ACTIONS(197), 1, + anon_sym_LBRACE, + ACTIONS(200), 1, + anon_sym_DQUOTE, + STATE(51), 1, aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(174), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(200), 2, + ACTIONS(188), 2, sym_absent, sym_float_literal, - STATE(32), 10, + ACTIONS(191), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(177), 3, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_RBRACE, + STATE(49), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3239,39 +3975,42 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [395] = 13, - ACTIONS(166), 1, + [1298] = 14, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, - anon_sym_LBRACK, - ACTIONS(172), 1, - anon_sym_not, - ACTIONS(180), 1, - anon_sym_LBRACE, - ACTIONS(182), 1, - anon_sym_DQUOTE, - ACTIONS(204), 1, + ACTIONS(207), 1, anon_sym_RPAREN, - ACTIONS(208), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(219), 1, sym_integer_literal, - STATE(46), 1, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + STATE(55), 1, aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(206), 2, + ACTIONS(215), 2, sym_absent, sym_float_literal, - STATE(35), 10, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + STATE(45), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3279,35 +4018,42 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [448] = 11, - ACTIONS(166), 1, + [1355] = 14, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(212), 1, + ACTIONS(225), 1, + anon_sym_RBRACK, + ACTIONS(229), 1, sym_integer_literal, + STATE(57), 1, + aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(210), 2, + ACTIONS(227), 2, sym_absent, sym_float_literal, - STATE(21), 10, + STATE(44), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3315,35 +4061,42 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [495] = 11, - ACTIONS(166), 1, + [1412] = 14, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(216), 1, + ACTIONS(233), 1, sym_integer_literal, + ACTIONS(235), 1, + anon_sym_RBRACE, + STATE(56), 1, + aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(214), 2, + ACTIONS(231), 2, sym_absent, sym_float_literal, - STATE(20), 10, + STATE(38), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3351,35 +4104,42 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [542] = 11, - ACTIONS(166), 1, + [1469] = 14, + ACTIONS(161), 1, + anon_sym_RPAREN, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(220), 1, + ACTIONS(239), 1, sym_integer_literal, + STATE(51), 1, + aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(218), 2, + ACTIONS(237), 2, sym_absent, sym_float_literal, - STATE(34), 10, + STATE(40), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3387,35 +4147,42 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [589] = 11, - ACTIONS(166), 1, + [1526] = 14, + ACTIONS(147), 1, + anon_sym_RBRACE, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(224), 1, + ACTIONS(243), 1, sym_integer_literal, + STATE(51), 1, + aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(222), 2, + ACTIONS(241), 2, sym_absent, sym_float_literal, - STATE(10), 10, + STATE(42), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3423,35 +4190,42 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [636] = 11, - ACTIONS(166), 1, + [1583] = 14, + ACTIONS(159), 1, + anon_sym_RBRACK, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(228), 1, + ACTIONS(247), 1, sym_integer_literal, + STATE(51), 1, + aux_sym_call_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(226), 2, + ACTIONS(245), 2, sym_absent, sym_float_literal, - STATE(3), 10, + STATE(41), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3459,35 +4233,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [683] = 11, - ACTIONS(166), 1, + [1640] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(232), 1, + ACTIONS(251), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(230), 2, + ACTIONS(249), 2, sym_absent, sym_float_literal, - STATE(23), 10, + STATE(4), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3495,35 +4272,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [730] = 11, - ACTIONS(166), 1, + [1691] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(236), 1, + ACTIONS(255), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(234), 2, + ACTIONS(253), 2, sym_absent, sym_float_literal, - STATE(14), 10, + STATE(46), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3531,35 +4311,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [777] = 11, - ACTIONS(166), 1, + [1742] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(240), 1, + ACTIONS(259), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(238), 2, + ACTIONS(257), 2, sym_absent, sym_float_literal, - STATE(17), 10, + STATE(29), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3567,35 +4350,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [824] = 11, - ACTIONS(166), 1, + [1793] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(244), 1, + ACTIONS(263), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(242), 2, + ACTIONS(261), 2, sym_absent, sym_float_literal, - STATE(16), 10, + STATE(30), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3603,35 +4389,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [871] = 11, - ACTIONS(166), 1, + [1844] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(248), 1, + ACTIONS(267), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(246), 2, + ACTIONS(265), 2, sym_absent, sym_float_literal, - STATE(36), 10, + STATE(31), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3639,35 +4428,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [918] = 11, - ACTIONS(166), 1, + [1895] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(252), 1, + ACTIONS(271), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(250), 2, + ACTIONS(269), 2, sym_absent, sym_float_literal, - STATE(4), 10, + STATE(32), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3675,35 +4467,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [965] = 11, - ACTIONS(166), 1, + [1946] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(275), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(254), 2, + ACTIONS(273), 2, sym_absent, sym_float_literal, - STATE(15), 10, + STATE(33), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3711,35 +4506,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [1012] = 11, - ACTIONS(166), 1, + [1997] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(260), 1, + ACTIONS(279), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(258), 2, + ACTIONS(277), 2, sym_absent, sym_float_literal, - STATE(11), 10, + STATE(34), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3747,35 +4545,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [1059] = 11, - ACTIONS(166), 1, + [2048] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(264), 1, + ACTIONS(283), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(262), 2, + ACTIONS(281), 2, sym_absent, sym_float_literal, - STATE(12), 10, + STATE(43), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3783,35 +4584,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [1106] = 11, - ACTIONS(166), 1, + [2099] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(268), 1, + ACTIONS(287), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(266), 2, + ACTIONS(285), 2, sym_absent, sym_float_literal, - STATE(29), 10, + STATE(22), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3819,35 +4623,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [1153] = 11, - ACTIONS(166), 1, + [2150] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(272), 1, + ACTIONS(291), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(270), 2, + ACTIONS(289), 2, sym_absent, sym_float_literal, - STATE(31), 10, + STATE(21), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3855,35 +4662,38 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [1200] = 11, - ACTIONS(166), 1, + [2201] = 12, + ACTIONS(203), 1, sym_identifier, - ACTIONS(170), 1, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, anon_sym_LBRACK, - ACTIONS(172), 1, + ACTIONS(213), 1, anon_sym_not, - ACTIONS(180), 1, + ACTIONS(221), 1, anon_sym_LBRACE, - ACTIONS(182), 1, + ACTIONS(223), 1, anon_sym_DQUOTE, - ACTIONS(276), 1, + ACTIONS(295), 1, sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(168), 2, + ACTIONS(205), 2, anon_sym_DASH, anon_sym_, - ACTIONS(176), 2, + ACTIONS(217), 2, anon_sym_true, anon_sym_false, - ACTIONS(274), 2, + ACTIONS(293), 2, sym_absent, sym_float_literal, - STATE(18), 10, + STATE(37), 11, sym__expression, sym_binary_operation, sym_call, + sym_if_then_else, sym_index_expression, sym_unary_operation, sym__literal, @@ -3891,17 +4701,447 @@ static uint16_t ts_small_parse_table[] = { sym_boolean_literal, sym_set_literal, sym_string_literal, - [1247] = 3, + [2252] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(299), 1, + sym_integer_literal, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(278), 5, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(297), 2, + sym_absent, + sym_float_literal, + STATE(3), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2303] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(303), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(301), 2, + sym_absent, + sym_float_literal, + STATE(26), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2354] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(307), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(305), 2, + sym_absent, + sym_float_literal, + STATE(17), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2405] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(311), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(309), 2, + sym_absent, + sym_float_literal, + STATE(23), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2456] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(315), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(313), 2, + sym_absent, + sym_float_literal, + STATE(50), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2507] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(319), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(317), 2, + sym_absent, + sym_float_literal, + STATE(35), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2558] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(323), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(321), 2, + sym_absent, + sym_float_literal, + STATE(39), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2609] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(327), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(325), 2, + sym_absent, + sym_float_literal, + STATE(6), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2660] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(331), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(329), 2, + sym_absent, + sym_float_literal, + STATE(36), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2711] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(335), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(333), 2, + sym_absent, + sym_float_literal, + STATE(48), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2762] = 12, + ACTIONS(203), 1, + sym_identifier, + ACTIONS(209), 1, + anon_sym_if, + ACTIONS(211), 1, + anon_sym_LBRACK, + ACTIONS(213), 1, + anon_sym_not, + ACTIONS(221), 1, + anon_sym_LBRACE, + ACTIONS(223), 1, + anon_sym_DQUOTE, + ACTIONS(339), 1, + sym_integer_literal, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(205), 2, + anon_sym_DASH, + anon_sym_, + ACTIONS(217), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(337), 2, + sym_absent, + sym_float_literal, + STATE(47), 11, + sym__expression, + sym_binary_operation, + sym_call, + sym_if_then_else, + sym_index_expression, + sym_unary_operation, + sym__literal, + sym_array_literal, + sym_boolean_literal, + sym_set_literal, + sym_string_literal, + [2813] = 3, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(341), 6, + anon_sym_if, anon_sym_not, anon_sym_true, anon_sym_false, sym_integer_literal, sym_identifier, - ACTIONS(143), 10, + ACTIONS(177), 10, anon_sym_DASH, anon_sym_RPAREN, anon_sym_LBRACK, @@ -3912,122 +5152,146 @@ static uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_DQUOTE, - [1271] = 5, - ACTIONS(280), 1, + [2838] = 5, + ACTIONS(343), 1, ts_builtin_sym_end, - ACTIONS(282), 1, + ACTIONS(345), 1, sym_identifier, - STATE(66), 1, + STATE(82), 1, aux_sym_source_file_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - STATE(77), 2, + STATE(94), 2, sym__items, sym_assignment_item, - [1289] = 5, + [2856] = 5, ACTIONS(7), 1, sym_identifier, - ACTIONS(285), 1, + ACTIONS(348), 1, ts_builtin_sym_end, - STATE(66), 1, + STATE(82), 1, aux_sym_source_file_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - STATE(74), 2, + STATE(91), 2, sym__items, sym_assignment_item, - [1307] = 4, - ACTIONS(287), 1, - anon_sym_DQUOTE, - STATE(70), 1, - aux_sym_string_literal_repeat1, - ACTIONS(289), 2, - aux_sym_string_literal_token1, - sym_escape_sequence, - ACTIONS(291), 2, + [2874] = 5, + ACTIONS(131), 1, + anon_sym_elseif, + ACTIONS(350), 1, + anon_sym_else, + ACTIONS(352), 1, + anon_sym_endif, + STATE(86), 1, + aux_sym_if_then_else_repeat1, + ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [1322] = 4, - ACTIONS(293), 1, + [2891] = 4, + ACTIONS(354), 1, anon_sym_DQUOTE, - STATE(68), 1, + STATE(88), 1, aux_sym_string_literal_repeat1, - ACTIONS(291), 2, - sym_line_comment, - sym_block_comment, - ACTIONS(295), 2, + ACTIONS(356), 2, aux_sym_string_literal_token1, sym_escape_sequence, - [1337] = 4, - ACTIONS(297), 1, - anon_sym_DQUOTE, - STATE(70), 1, - aux_sym_string_literal_repeat1, - ACTIONS(291), 2, + ACTIONS(358), 2, sym_line_comment, sym_block_comment, - ACTIONS(299), 2, + [2906] = 5, + ACTIONS(360), 1, + anon_sym_elseif, + ACTIONS(363), 1, + anon_sym_else, + ACTIONS(365), 1, + anon_sym_endif, + STATE(86), 1, + aux_sym_if_then_else_repeat1, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + [2923] = 4, + ACTIONS(367), 1, + anon_sym_DQUOTE, + STATE(85), 1, + aux_sym_string_literal_repeat1, + ACTIONS(358), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(369), 2, aux_sym_string_literal_token1, sym_escape_sequence, - [1352] = 4, - ACTIONS(115), 1, - anon_sym_COMMA, - ACTIONS(302), 1, + [2938] = 4, + ACTIONS(371), 1, + anon_sym_DQUOTE, + STATE(88), 1, + aux_sym_string_literal_repeat1, + ACTIONS(358), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(373), 2, + aux_sym_string_literal_token1, + sym_escape_sequence, + [2953] = 4, + ACTIONS(149), 1, anon_sym_RBRACK, - STATE(72), 1, + ACTIONS(376), 1, + anon_sym_COMMA, + STATE(89), 1, aux_sym_index_expression_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [1366] = 4, - ACTIONS(125), 1, - anon_sym_RBRACK, - ACTIONS(304), 1, + [2967] = 4, + ACTIONS(141), 1, anon_sym_COMMA, - STATE(72), 1, + ACTIONS(379), 1, + anon_sym_RBRACK, + STATE(89), 1, aux_sym_index_expression_repeat1, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [1380] = 2, + [2981] = 3, + ACTIONS(381), 1, + ts_builtin_sym_end, + ACTIONS(383), 1, + anon_sym_SEMI, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - ACTIONS(280), 2, + [2992] = 2, + ACTIONS(3), 2, + sym_line_comment, + sym_block_comment, + ACTIONS(343), 2, ts_builtin_sym_end, sym_identifier, - [1389] = 3, - ACTIONS(307), 1, + [3001] = 3, + ACTIONS(348), 1, ts_builtin_sym_end, - ACTIONS(309), 1, + ACTIONS(383), 1, anon_sym_SEMI, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [1400] = 3, - ACTIONS(285), 1, - ts_builtin_sym_end, - ACTIONS(309), 1, + [3012] = 2, + ACTIONS(383), 1, anon_sym_SEMI, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [1411] = 2, - ACTIONS(311), 1, + [3020] = 2, + ACTIONS(385), 1, anon_sym_EQ, ACTIONS(3), 2, sym_line_comment, sym_block_comment, - [1419] = 2, - ACTIONS(309), 1, - anon_sym_SEMI, - ACTIONS(3), 2, - sym_line_comment, - sym_block_comment, - [1427] = 2, - ACTIONS(313), 1, + [3028] = 2, + ACTIONS(387), 1, ts_builtin_sym_end, ACTIONS(3), 2, sym_line_comment, @@ -4035,45 +5299,68 @@ static uint16_t ts_small_parse_table[] = { }; static uint32_t ts_small_parse_table_map[] = { - [SMALL_STATE(40)] = 0, - [SMALL_STATE(41)] = 75, - [SMALL_STATE(42)] = 130, - [SMALL_STATE(43)] = 183, - [SMALL_STATE(44)] = 236, - [SMALL_STATE(45)] = 289, - [SMALL_STATE(46)] = 342, - [SMALL_STATE(47)] = 395, - [SMALL_STATE(48)] = 448, - [SMALL_STATE(49)] = 495, - [SMALL_STATE(50)] = 542, - [SMALL_STATE(51)] = 589, - [SMALL_STATE(52)] = 636, - [SMALL_STATE(53)] = 683, - [SMALL_STATE(54)] = 730, - [SMALL_STATE(55)] = 777, - [SMALL_STATE(56)] = 824, - [SMALL_STATE(57)] = 871, - [SMALL_STATE(58)] = 918, - [SMALL_STATE(59)] = 965, - [SMALL_STATE(60)] = 1012, - [SMALL_STATE(61)] = 1059, - [SMALL_STATE(62)] = 1106, - [SMALL_STATE(63)] = 1153, - [SMALL_STATE(64)] = 1200, - [SMALL_STATE(65)] = 1247, - [SMALL_STATE(66)] = 1271, - [SMALL_STATE(67)] = 1289, - [SMALL_STATE(68)] = 1307, - [SMALL_STATE(69)] = 1322, - [SMALL_STATE(70)] = 1337, - [SMALL_STATE(71)] = 1352, - [SMALL_STATE(72)] = 1366, - [SMALL_STATE(73)] = 1380, - [SMALL_STATE(74)] = 1389, - [SMALL_STATE(75)] = 1400, - [SMALL_STATE(76)] = 1411, - [SMALL_STATE(77)] = 1419, - [SMALL_STATE(78)] = 1427, + [SMALL_STATE(35)] = 0, + [SMALL_STATE(36)] = 84, + [SMALL_STATE(37)] = 163, + [SMALL_STATE(38)] = 244, + [SMALL_STATE(39)] = 322, + [SMALL_STATE(40)] = 398, + [SMALL_STATE(41)] = 476, + [SMALL_STATE(42)] = 554, + [SMALL_STATE(43)] = 632, + [SMALL_STATE(44)] = 708, + [SMALL_STATE(45)] = 786, + [SMALL_STATE(46)] = 864, + [SMALL_STATE(47)] = 939, + [SMALL_STATE(48)] = 1014, + [SMALL_STATE(49)] = 1089, + [SMALL_STATE(50)] = 1164, + [SMALL_STATE(51)] = 1239, + [SMALL_STATE(52)] = 1298, + [SMALL_STATE(53)] = 1355, + [SMALL_STATE(54)] = 1412, + [SMALL_STATE(55)] = 1469, + [SMALL_STATE(56)] = 1526, + [SMALL_STATE(57)] = 1583, + [SMALL_STATE(58)] = 1640, + [SMALL_STATE(59)] = 1691, + [SMALL_STATE(60)] = 1742, + [SMALL_STATE(61)] = 1793, + [SMALL_STATE(62)] = 1844, + [SMALL_STATE(63)] = 1895, + [SMALL_STATE(64)] = 1946, + [SMALL_STATE(65)] = 1997, + [SMALL_STATE(66)] = 2048, + [SMALL_STATE(67)] = 2099, + [SMALL_STATE(68)] = 2150, + [SMALL_STATE(69)] = 2201, + [SMALL_STATE(70)] = 2252, + [SMALL_STATE(71)] = 2303, + [SMALL_STATE(72)] = 2354, + [SMALL_STATE(73)] = 2405, + [SMALL_STATE(74)] = 2456, + [SMALL_STATE(75)] = 2507, + [SMALL_STATE(76)] = 2558, + [SMALL_STATE(77)] = 2609, + [SMALL_STATE(78)] = 2660, + [SMALL_STATE(79)] = 2711, + [SMALL_STATE(80)] = 2762, + [SMALL_STATE(81)] = 2813, + [SMALL_STATE(82)] = 2838, + [SMALL_STATE(83)] = 2856, + [SMALL_STATE(84)] = 2874, + [SMALL_STATE(85)] = 2891, + [SMALL_STATE(86)] = 2906, + [SMALL_STATE(87)] = 2923, + [SMALL_STATE(88)] = 2938, + [SMALL_STATE(89)] = 2953, + [SMALL_STATE(90)] = 2967, + [SMALL_STATE(91)] = 2981, + [SMALL_STATE(92)] = 2992, + [SMALL_STATE(93)] = 3001, + [SMALL_STATE(94)] = 3012, + [SMALL_STATE(95)] = 3020, + [SMALL_STATE(96)] = 3028, }; static TSParseActionEntry ts_parse_actions[] = { @@ -4081,154 +5368,190 @@ static TSParseActionEntry ts_parse_actions[] = { [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), [9] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression, 1), [11] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression, 1), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), [15] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_operation, 3, .production_id = 4), [17] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_operation, 3, .production_id = 4), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_expression, 5, .production_id = 8), - [43] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_expression, 5, .production_id = 8), - [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_expression, 4, .production_id = 6), - [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_expression, 4, .production_id = 6), - [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4, .production_id = 5), - [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4, .production_id = 5), - [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 4), - [55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_literal, 4), - [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_literal, 4), - [59] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_literal, 4), - [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_literal, 1), - [63] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean_literal, 1), - [65] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), - [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_operation, 2, .production_id = 2), - [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_operation, 2, .production_id = 2), - [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_literal, 2), - [77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_literal, 2), - [79] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [81] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [83] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), - [85] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 2), - [87] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_literal, 2), - [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3, .production_id = 3), - [91] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3, .production_id = 3), - [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 2), - [95] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2), - [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3), - [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3), - [101] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 3), - [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_literal, 3), - [105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_literal, 3), - [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_literal, 3), - [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 5, .production_id = 7), - [111] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 5, .production_id = 7), - [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_then_else, 6), + [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_then_else, 6), + [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_operation, 2, .production_id = 2), + [43] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_operation, 2, .production_id = 2), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 5, .production_id = 7), + [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 5, .production_id = 7), + [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_then_else, 5), + [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_then_else, 5), + [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_expression, 4, .production_id = 6), + [55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_expression, 4, .production_id = 6), + [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4, .production_id = 5), + [59] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4, .production_id = 5), + [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 4), + [63] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_literal, 4), + [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_literal, 4), + [67] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_literal, 4), + [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_literal, 1), + [71] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean_literal, 1), + [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 3), + [75] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_literal, 3), + [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 3), + [79] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 3), + [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_then_else, 8), + [83] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_then_else, 8), + [85] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_literal, 3), + [87] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_literal, 3), + [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_expression, 5, .production_id = 8), + [91] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_expression, 5, .production_id = 8), + [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_then_else, 7), + [95] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_then_else, 7), + [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_literal, 2), + [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_literal, 2), + [101] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3, .production_id = 3), + [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3, .production_id = 3), + [105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 2), + [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 2), + [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_literal, 2), + [111] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_array_literal, 2), + [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_index_expression_repeat1, 2), - [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_item, 3, .production_id = 1), - [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), + [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [137] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(2), - [140] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(64), - [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), - [145] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(44), - [148] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(64), - [151] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(40), - [154] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(13), - [157] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(40), - [160] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(45), - [163] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(69), - [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), - [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), - [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), - [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), - [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), - [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), - [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [208] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), - [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), - [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), - [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), - [222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), - [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3), - [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), - [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), - [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), - [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16), - [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), - [250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [252] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), - [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [256] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), - [258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), - [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [264] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), - [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [268] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), - [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), - [274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [276] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), - [278] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), - [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), - [282] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(76), - [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), - [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [291] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), - [293] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), - [295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2), - [299] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_literal_repeat1, 2), SHIFT_REPEAT(70), - [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [304] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_index_expression_repeat1, 2), SHIFT_REPEAT(50), - [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 2), - [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [313] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_then_else_repeat1, 4), + [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_then_else_repeat1, 4), + [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_index_expression_repeat1, 2), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_item, 3, .production_id = 1), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [171] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(2), + [174] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(77), + [177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), + [179] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(74), + [182] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(53), + [185] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(77), + [188] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(49), + [191] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(13), + [194] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(49), + [197] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(54), + [200] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_call_repeat1, 2), SHIFT_REPEAT(87), + [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), + [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [209] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [213] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [217] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), + [219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), + [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [229] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), + [231] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [233] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [239] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), + [241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [243] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), + [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [247] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), + [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [251] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [255] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [263] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [267] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [271] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [275] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [279] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22), + [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [291] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), + [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [295] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), + [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [299] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3), + [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [303] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [307] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), + [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [311] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), + [313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [315] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [319] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), + [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [323] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), + [325] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [327] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), + [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [331] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), + [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [335] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [339] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), + [341] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_call_repeat1, 2), + [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), + [345] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(95), + [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), + [350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), + [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [358] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [360] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_then_else_repeat1, 2), SHIFT_REPEAT(79), + [363] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_then_else_repeat1, 2), + [365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_then_else_repeat1, 2), + [367] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_literal_repeat1, 2), + [373] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_literal_repeat1, 2), SHIFT_REPEAT(88), + [376] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_index_expression_repeat1, 2), SHIFT_REPEAT(76), + [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 2), + [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [387] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), }; #ifdef __cplusplus