diff --git a/grammar.js b/grammar.js index c8312d9..ed9f7a7 100644 --- a/grammar.js +++ b/grammar.js @@ -72,7 +72,7 @@ module.exports = grammar({ field("name", $.identifier), field("parameters", $.function_arguments), ":", - field("return_type", $._type), + field("return_type", $.type), ";", ), function_arguments: ($) => @@ -87,7 +87,7 @@ module.exports = grammar({ seq( field("argument_identifier", $.identifier), ":", - field("argument_type", $._type), + field("argument_type", $.type), ), pair: ($) => @@ -95,14 +95,14 @@ module.exports = grammar({ field("key", $.identifier), optional("?"), ":", - field("value", $._type), + field("value", $.type), ), - _type: ($) => + type: ($) => choice($.map_type, $.array_type, $.primitive_type, $.identifier), primitive_type: ($) => choice("int", "string", "float", "boolean", "void"), array_type: ($) => seq(choice($.primitive_type, $.identifier), "[]"), - map_type: ($) => seq("{", $.map_key_type, ",", $._type, "}"), + map_type: ($) => seq("{", $.map_key_type, ",", $.type, "}"), map_key_type: ($) => choice("int", "string"), identifier: ($) => /[a-zA-Z_][a-zA-Z_0-9]*/, diff --git a/src/grammar.json b/src/grammar.json index ca59bb6..0a52897 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -451,7 +451,7 @@ "name": "return_type", "content": { "type": "SYMBOL", - "name": "_type" + "name": "type" } }, { @@ -526,7 +526,7 @@ "name": "argument_type", "content": { "type": "SYMBOL", - "name": "_type" + "name": "type" } } ] @@ -563,12 +563,12 @@ "name": "value", "content": { "type": "SYMBOL", - "name": "_type" + "name": "type" } } ] }, - "_type": { + "type": { "type": "CHOICE", "members": [ { @@ -653,7 +653,7 @@ }, { "type": "SYMBOL", - "name": "_type" + "name": "type" }, { "type": "STRING", diff --git a/src/node-types.json b/src/node-types.json index db0e13f..c6698f4 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -204,19 +204,7 @@ "required": true, "types": [ { - "type": "array_type", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "map_type", - "named": true - }, - { - "type": "primitive_type", + "type": "type", "named": true } ] @@ -285,24 +273,12 @@ "multiple": true, "required": true, "types": [ - { - "type": "array_type", - "named": true - }, - { - "type": "identifier", - "named": true - }, { "type": "map_key_type", "named": true }, { - "type": "map_type", - "named": true - }, - { - "type": "primitive_type", + "type": "type", "named": true } ] @@ -327,19 +303,7 @@ "required": true, "types": [ { - "type": "array_type", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "map_type", - "named": true - }, - { - "type": "primitive_type", + "type": "type", "named": true } ] @@ -399,19 +363,7 @@ "required": true, "types": [ { - "type": "array_type", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "map_type", - "named": true - }, - { - "type": "primitive_type", + "type": "type", "named": true } ] @@ -486,6 +438,33 @@ ] } }, + { + "type": "type", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "array_type", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "map_type", + "named": true + }, + { + "type": "primitive_type", + "named": true + } + ] + } + }, { "type": "type_declaration", "named": true, diff --git a/src/parser.c b/src/parser.c index c40b00d..e4fdc74 100644 --- a/src/parser.c +++ b/src/parser.c @@ -5,7 +5,7 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 103 +#define STATE_COUNT 104 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 63 #define ALIAS_COUNT 0 @@ -64,7 +64,7 @@ enum ts_symbol_identifiers { sym_function_arguments = 46, sym_function_argument = 47, sym_pair = 48, - sym__type = 49, + sym_type = 49, sym_primitive_type = 50, sym_array_type = 51, sym_map_type = 52, @@ -130,7 +130,7 @@ static const char * const ts_symbol_names[] = { [sym_function_arguments] = "function_arguments", [sym_function_argument] = "function_argument", [sym_pair] = "pair", - [sym__type] = "_type", + [sym_type] = "type", [sym_primitive_type] = "primitive_type", [sym_array_type] = "array_type", [sym_map_type] = "map_type", @@ -196,7 +196,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_function_arguments] = sym_function_arguments, [sym_function_argument] = sym_function_argument, [sym_pair] = sym_pair, - [sym__type] = sym__type, + [sym_type] = sym_type, [sym_primitive_type] = sym_primitive_type, [sym_array_type] = sym_array_type, [sym_map_type] = sym_map_type, @@ -409,8 +409,8 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym__type] = { - .visible = false, + [sym_type] = { + .visible = true, .named = true, }, [sym_primitive_type] = { @@ -627,6 +627,7 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [100] = 100, [101] = 101, [102] = 102, + [103] = 103, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1336,42 +1337,42 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [25] = {.lex_state = 0}, [26] = {.lex_state = 0}, [27] = {.lex_state = 2}, - [28] = {.lex_state = 0}, + [28] = {.lex_state = 2}, [29] = {.lex_state = 2}, [30] = {.lex_state = 0}, - [31] = {.lex_state = 2}, + [31] = {.lex_state = 0}, [32] = {.lex_state = 2}, [33] = {.lex_state = 4}, - [34] = {.lex_state = 1}, + [34] = {.lex_state = 2}, [35] = {.lex_state = 1}, [36] = {.lex_state = 4}, - [37] = {.lex_state = 2}, - [38] = {.lex_state = 2}, - [39] = {.lex_state = 1}, - [40] = {.lex_state = 0}, + [37] = {.lex_state = 0}, + [38] = {.lex_state = 0}, + [39] = {.lex_state = 0}, + [40] = {.lex_state = 1}, [41] = {.lex_state = 4}, - [42] = {.lex_state = 4}, - [43] = {.lex_state = 0}, - [44] = {.lex_state = 0}, + [42] = {.lex_state = 1}, + [43] = {.lex_state = 2}, + [44] = {.lex_state = 4}, [45] = {.lex_state = 0}, - [46] = {.lex_state = 0}, - [47] = {.lex_state = 4}, + [46] = {.lex_state = 4}, + [47] = {.lex_state = 0}, [48] = {.lex_state = 0}, [49] = {.lex_state = 0}, - [50] = {.lex_state = 4}, + [50] = {.lex_state = 0}, [51] = {.lex_state = 0}, [52] = {.lex_state = 0}, [53] = {.lex_state = 2}, - [54] = {.lex_state = 4}, - [55] = {.lex_state = 2}, - [56] = {.lex_state = 0}, - [57] = {.lex_state = 0}, + [54] = {.lex_state = 0}, + [55] = {.lex_state = 0}, + [56] = {.lex_state = 2}, + [57] = {.lex_state = 4}, [58] = {.lex_state = 0}, [59] = {.lex_state = 0}, [60] = {.lex_state = 0}, - [61] = {.lex_state = 4}, - [62] = {.lex_state = 0}, - [63] = {.lex_state = 0}, + [61] = {.lex_state = 0}, + [62] = {.lex_state = 4}, + [63] = {.lex_state = 4}, [64] = {.lex_state = 0}, [65] = {.lex_state = 0}, [66] = {.lex_state = 0}, @@ -1379,20 +1380,20 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [68] = {.lex_state = 0}, [69] = {.lex_state = 0}, [70] = {.lex_state = 0}, - [71] = {.lex_state = 2}, + [71] = {.lex_state = 0}, [72] = {.lex_state = 0}, [73] = {.lex_state = 0}, [74] = {.lex_state = 0}, [75] = {.lex_state = 0}, - [76] = {.lex_state = 0}, + [76] = {.lex_state = 2}, [77] = {.lex_state = 0}, [78] = {.lex_state = 0}, [79] = {.lex_state = 0}, [80] = {.lex_state = 0}, - [81] = {.lex_state = 2}, - [82] = {.lex_state = 0}, + [81] = {.lex_state = 0}, + [82] = {.lex_state = 2}, [83] = {.lex_state = 0}, - [84] = {.lex_state = 2}, + [84] = {.lex_state = 0}, [85] = {.lex_state = 0}, [86] = {.lex_state = 2}, [87] = {.lex_state = 2}, @@ -1402,15 +1403,16 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [91] = {.lex_state = 0}, [92] = {.lex_state = 0}, [93] = {.lex_state = 0}, - [94] = {.lex_state = 2}, + [94] = {.lex_state = 0}, [95] = {.lex_state = 0}, [96] = {.lex_state = 0}, - [97] = {.lex_state = 2}, - [98] = {.lex_state = 0}, + [97] = {.lex_state = 0}, + [98] = {.lex_state = 2}, [99] = {.lex_state = 0}, [100] = {.lex_state = 0}, - [101] = {.lex_state = 0}, + [101] = {.lex_state = 2}, [102] = {.lex_state = 2}, + [103] = {.lex_state = 2}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -1443,14 +1445,14 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_number] = ACTIONS(1), }, [1] = { - [sym_document] = STATE(82), - [sym__statement] = STATE(2), - [sym_type_declaration] = STATE(2), - [sym_enum_declaration] = STATE(2), - [sym_define_declaration] = STATE(2), - [sym_import_declaration] = STATE(2), - [sym_service_declaration] = STATE(2), - [aux_sym_document_repeat1] = STATE(2), + [sym_document] = STATE(97), + [sym__statement] = STATE(3), + [sym_type_declaration] = STATE(3), + [sym_enum_declaration] = STATE(3), + [sym_define_declaration] = STATE(3), + [sym_import_declaration] = STATE(3), + [sym_service_declaration] = STATE(3), + [aux_sym_document_repeat1] = STATE(3), [ts_builtin_sym_end] = ACTIONS(3), [anon_sym_type] = ACTIONS(5), [anon_sym_enum] = ACTIONS(7), @@ -1462,6 +1464,27 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { static const uint16_t ts_small_parse_table[] = { [0] = 7, + ACTIONS(15), 1, + ts_builtin_sym_end, + ACTIONS(17), 1, + anon_sym_type, + ACTIONS(20), 1, + anon_sym_enum, + ACTIONS(23), 1, + anon_sym_define, + ACTIONS(26), 1, + anon_sym_import, + ACTIONS(29), 1, + anon_sym_service, + STATE(2), 7, + sym__statement, + sym_type_declaration, + sym_enum_declaration, + sym_define_declaration, + sym_import_declaration, + sym_service_declaration, + aux_sym_document_repeat1, + [28] = 7, ACTIONS(5), 1, anon_sym_type, ACTIONS(7), 1, @@ -1472,9 +1495,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_import, ACTIONS(13), 1, anon_sym_service, - ACTIONS(15), 1, + ACTIONS(32), 1, ts_builtin_sym_end, - STATE(3), 7, + STATE(2), 7, sym__statement, sym_type_declaration, sym_enum_declaration, @@ -1482,36 +1505,16 @@ static const uint16_t ts_small_parse_table[] = { sym_import_declaration, sym_service_declaration, aux_sym_document_repeat1, - [28] = 7, - ACTIONS(17), 1, - ts_builtin_sym_end, - ACTIONS(19), 1, - anon_sym_type, - ACTIONS(22), 1, - anon_sym_enum, - ACTIONS(25), 1, - anon_sym_define, - ACTIONS(28), 1, - anon_sym_import, - ACTIONS(31), 1, - anon_sym_service, - STATE(3), 7, - sym__statement, - sym_type_declaration, - sym_enum_declaration, - sym_define_declaration, - sym_import_declaration, - sym_service_declaration, - aux_sym_document_repeat1, - [56] = 5, + [56] = 6, ACTIONS(34), 1, anon_sym_LBRACE, ACTIONS(38), 1, sym_identifier, - STATE(28), 1, + STATE(31), 1, sym_primitive_type, - STATE(89), 3, - sym__type, + STATE(89), 1, + sym_type, + STATE(37), 2, sym_array_type, sym_map_type, ACTIONS(36), 5, @@ -1520,15 +1523,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_float, anon_sym_boolean, anon_sym_void, - [78] = 5, + [80] = 6, ACTIONS(34), 1, anon_sym_LBRACE, ACTIONS(38), 1, sym_identifier, - STATE(28), 1, + STATE(31), 1, sym_primitive_type, - STATE(85), 3, - sym__type, + STATE(95), 1, + sym_type, + STATE(37), 2, sym_array_type, sym_map_type, ACTIONS(36), 5, @@ -1537,15 +1541,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_float, anon_sym_boolean, anon_sym_void, - [100] = 5, + [104] = 6, ACTIONS(34), 1, anon_sym_LBRACE, ACTIONS(38), 1, sym_identifier, - STATE(28), 1, + STATE(31), 1, sym_primitive_type, - STATE(98), 3, - sym__type, + STATE(90), 1, + sym_type, + STATE(37), 2, sym_array_type, sym_map_type, ACTIONS(36), 5, @@ -1554,15 +1559,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_float, anon_sym_boolean, anon_sym_void, - [122] = 5, + [128] = 6, ACTIONS(34), 1, anon_sym_LBRACE, ACTIONS(38), 1, sym_identifier, - STATE(28), 1, + STATE(31), 1, sym_primitive_type, - STATE(75), 3, - sym__type, + STATE(75), 1, + sym_type, + STATE(37), 2, sym_array_type, sym_map_type, ACTIONS(36), 5, @@ -1571,15 +1577,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_float, anon_sym_boolean, anon_sym_void, - [144] = 5, + [152] = 6, ACTIONS(34), 1, anon_sym_LBRACE, ACTIONS(38), 1, sym_identifier, - STATE(28), 1, + STATE(31), 1, sym_primitive_type, - STATE(88), 3, - sym__type, + STATE(99), 1, + sym_type, + STATE(37), 2, sym_array_type, sym_map_type, ACTIONS(36), 5, @@ -1588,7 +1595,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_float, anon_sym_boolean, anon_sym_void, - [166] = 6, + [176] = 6, ACTIONS(40), 1, anon_sym_RBRACE, ACTIONS(42), 1, @@ -1604,42 +1611,42 @@ static const uint16_t ts_small_parse_table[] = { sym_service_notification, sym_service_function, aux_sym_service_functions_repeat2, - [188] = 6, - ACTIONS(48), 1, - anon_sym_RBRACE, - ACTIONS(50), 1, - anon_sym_AT, - ACTIONS(53), 1, - anon_sym_notification, - ACTIONS(56), 1, - sym_identifier, - STATE(13), 2, - sym_function_decorator, - aux_sym_service_functions_repeat1, - STATE(10), 3, - sym_service_notification, - sym_service_function, - aux_sym_service_functions_repeat2, - [210] = 6, + [198] = 6, ACTIONS(42), 1, anon_sym_AT, ACTIONS(44), 1, anon_sym_notification, ACTIONS(46), 1, sym_identifier, - ACTIONS(59), 1, + ACTIONS(48), 1, anon_sym_RBRACE, STATE(13), 2, sym_function_decorator, aux_sym_service_functions_repeat1, - STATE(9), 3, + STATE(11), 3, sym_service_notification, sym_service_function, aux_sym_service_functions_repeat2, - [232] = 3, + [220] = 6, + ACTIONS(50), 1, + anon_sym_RBRACE, + ACTIONS(52), 1, + anon_sym_AT, + ACTIONS(55), 1, + anon_sym_notification, + ACTIONS(58), 1, + sym_identifier, + STATE(13), 2, + sym_function_decorator, + aux_sym_service_functions_repeat1, + STATE(11), 3, + sym_service_notification, + sym_service_function, + aux_sym_service_functions_repeat2, + [242] = 3, ACTIONS(63), 1, anon_sym_LBRACE, - STATE(18), 1, + STATE(17), 1, sym_attributes, ACTIONS(61), 6, ts_builtin_sym_end, @@ -1648,7 +1655,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [247] = 5, + [257] = 5, ACTIONS(42), 1, anon_sym_AT, ACTIONS(44), 1, @@ -1658,10 +1665,10 @@ static const uint16_t ts_small_parse_table[] = { STATE(33), 2, sym_function_decorator, aux_sym_service_functions_repeat1, - STATE(36), 2, + STATE(41), 2, sym_service_notification, sym_service_function, - [265] = 1, + [275] = 1, ACTIONS(65), 6, ts_builtin_sym_end, anon_sym_type, @@ -1669,7 +1676,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [274] = 1, + [284] = 1, ACTIONS(67), 6, ts_builtin_sym_end, anon_sym_type, @@ -1677,7 +1684,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [283] = 1, + [293] = 1, ACTIONS(69), 6, ts_builtin_sym_end, anon_sym_type, @@ -1685,7 +1692,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [292] = 1, + [302] = 1, ACTIONS(71), 6, ts_builtin_sym_end, anon_sym_type, @@ -1693,7 +1700,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [301] = 1, + [311] = 1, ACTIONS(73), 6, ts_builtin_sym_end, anon_sym_type, @@ -1701,7 +1708,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [310] = 1, + [320] = 1, ACTIONS(75), 6, ts_builtin_sym_end, anon_sym_type, @@ -1709,7 +1716,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [319] = 1, + [329] = 1, ACTIONS(77), 6, ts_builtin_sym_end, anon_sym_type, @@ -1717,7 +1724,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [328] = 1, + [338] = 1, ACTIONS(79), 6, ts_builtin_sym_end, anon_sym_type, @@ -1725,7 +1732,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [337] = 1, + [347] = 1, ACTIONS(81), 6, ts_builtin_sym_end, anon_sym_type, @@ -1733,7 +1740,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [346] = 1, + [356] = 1, ACTIONS(83), 6, ts_builtin_sym_end, anon_sym_type, @@ -1741,7 +1748,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [355] = 1, + [365] = 1, ACTIONS(85), 6, ts_builtin_sym_end, anon_sym_type, @@ -1749,7 +1756,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [364] = 1, + [374] = 1, ACTIONS(87), 6, ts_builtin_sym_end, anon_sym_type, @@ -1757,7 +1764,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [373] = 1, + [383] = 1, ACTIONS(89), 6, ts_builtin_sym_end, anon_sym_type, @@ -1765,61 +1772,61 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_define, anon_sym_import, anon_sym_service, - [382] = 3, + [392] = 3, ACTIONS(91), 1, anon_sym_RBRACE, ACTIONS(93), 1, sym_identifier, - STATE(57), 3, + STATE(61), 3, sym__enum_value, sym_enum_value_assignment, sym_enum_value_declaration, - [394] = 2, - ACTIONS(97), 1, - anon_sym_LBRACK_RBRACK, - ACTIONS(95), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RPAREN, [404] = 4, - ACTIONS(99), 1, + ACTIONS(95), 1, anon_sym_RBRACE, - ACTIONS(101), 1, + ACTIONS(97), 1, sym_identifier, - STATE(93), 1, + STATE(84), 1, sym_pair, - STATE(29), 2, + STATE(28), 2, sym_attribute, aux_sym_attributes_repeat1, - [418] = 1, + [418] = 4, + ACTIONS(100), 1, + anon_sym_RBRACE, + ACTIONS(102), 1, + sym_identifier, + STATE(84), 1, + sym_pair, + STATE(28), 2, + sym_attribute, + aux_sym_attributes_repeat1, + [432] = 1, ACTIONS(104), 5, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_LBRACK_RBRACK, - [426] = 4, - ACTIONS(106), 1, + [440] = 2, + ACTIONS(108), 1, + anon_sym_LBRACK_RBRACK, + ACTIONS(106), 4, anon_sym_RBRACE, - ACTIONS(108), 1, - sym_identifier, - STATE(93), 1, - sym_pair, - STATE(32), 2, - sym_attribute, - aux_sym_attributes_repeat1, - [440] = 4, - ACTIONS(108), 1, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [450] = 4, + ACTIONS(102), 1, sym_identifier, ACTIONS(110), 1, anon_sym_RBRACE, - STATE(93), 1, + STATE(84), 1, sym_pair, STATE(29), 2, sym_attribute, aux_sym_attributes_repeat1, - [454] = 3, + [464] = 3, ACTIONS(112), 1, anon_sym_AT, ACTIONS(115), 2, @@ -1828,351 +1835,357 @@ static const uint16_t ts_small_parse_table[] = { STATE(33), 2, sym_function_decorator, aux_sym_service_functions_repeat1, - [466] = 3, + [476] = 2, + ACTIONS(93), 1, + sym_identifier, + STATE(68), 3, + sym__enum_value, + sym_enum_value_assignment, + sym_enum_value_declaration, + [485] = 3, ACTIONS(117), 1, anon_sym_DQUOTE, - STATE(35), 1, + STATE(42), 1, aux_sym__string_content, ACTIONS(119), 2, sym_string_content, sym_escape_sequence, - [477] = 3, - ACTIONS(121), 1, + [496] = 2, + ACTIONS(121), 2, + anon_sym_RBRACE, + anon_sym_AT, + ACTIONS(123), 2, + anon_sym_notification, + sym_identifier, + [505] = 1, + ACTIONS(106), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [512] = 1, + ACTIONS(125), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [519] = 1, + ACTIONS(127), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RPAREN, + [526] = 3, + ACTIONS(129), 1, anon_sym_DQUOTE, STATE(35), 1, aux_sym__string_content, - ACTIONS(123), 2, + ACTIONS(131), 2, sym_string_content, sym_escape_sequence, - [488] = 2, - ACTIONS(48), 2, - anon_sym_RBRACE, - anon_sym_AT, - ACTIONS(126), 2, - anon_sym_notification, - sym_identifier, - [497] = 4, - ACTIONS(108), 1, - sym_identifier, - ACTIONS(128), 1, - anon_sym_RBRACE, - STATE(31), 1, - sym_attribute, - STATE(93), 1, - sym_pair, - [510] = 2, - ACTIONS(93), 1, - sym_identifier, - STATE(70), 3, - sym__enum_value, - sym_enum_value_assignment, - sym_enum_value_declaration, - [519] = 3, - ACTIONS(130), 1, - anon_sym_DQUOTE, - STATE(34), 1, - aux_sym__string_content, - ACTIONS(132), 2, - sym_string_content, - sym_escape_sequence, - [530] = 1, - ACTIONS(134), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RPAREN, [537] = 2, - ACTIONS(136), 2, + ACTIONS(50), 2, anon_sym_RBRACE, anon_sym_AT, - ACTIONS(138), 2, + ACTIONS(133), 2, anon_sym_notification, sym_identifier, - [546] = 2, - ACTIONS(140), 2, + [546] = 3, + ACTIONS(135), 1, + anon_sym_DQUOTE, + STATE(42), 1, + aux_sym__string_content, + ACTIONS(137), 2, + sym_string_content, + sym_escape_sequence, + [557] = 4, + ACTIONS(102), 1, + sym_identifier, + ACTIONS(140), 1, anon_sym_RBRACE, - anon_sym_AT, + STATE(32), 1, + sym_attribute, + STATE(84), 1, + sym_pair, + [570] = 2, ACTIONS(142), 2, + anon_sym_RBRACE, + anon_sym_AT, + ACTIONS(144), 2, anon_sym_notification, sym_identifier, - [555] = 1, - ACTIONS(144), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RPAREN, - [562] = 3, + [579] = 3, ACTIONS(146), 1, - anon_sym_RBRACE, + anon_sym_COMMA, ACTIONS(148), 1, - anon_sym_COMMA, - STATE(62), 1, - aux_sym_enum_values_repeat1, - [572] = 3, + anon_sym_RPAREN, + STATE(59), 1, + aux_sym_decorator_arguments_repeat1, + [589] = 2, ACTIONS(150), 1, - anon_sym_RPAREN, - ACTIONS(152), 1, - anon_sym_DQUOTE, - STATE(52), 1, - sym_string, - [582] = 3, + anon_sym_AT, + ACTIONS(152), 2, + anon_sym_notification, + sym_identifier, + [597] = 3, ACTIONS(154), 1, - anon_sym_COMMA, - ACTIONS(157), 1, anon_sym_RPAREN, - STATE(46), 1, - aux_sym_decorator_arguments_repeat1, - [592] = 2, - ACTIONS(159), 1, - anon_sym_AT, - ACTIONS(161), 2, - anon_sym_notification, - sym_identifier, - [600] = 3, - ACTIONS(163), 1, - anon_sym_COMMA, - ACTIONS(166), 1, - anon_sym_RPAREN, - STATE(48), 1, - aux_sym_function_arguments_repeat1, - [610] = 3, - ACTIONS(168), 1, - anon_sym_COMMA, - ACTIONS(170), 1, - anon_sym_RPAREN, - STATE(46), 1, - aux_sym_decorator_arguments_repeat1, - [620] = 2, - ACTIONS(172), 1, - anon_sym_AT, - ACTIONS(174), 2, - anon_sym_notification, - sym_identifier, - [628] = 3, - ACTIONS(176), 1, - anon_sym_COMMA, - ACTIONS(178), 1, - anon_sym_RPAREN, - STATE(48), 1, - aux_sym_function_arguments_repeat1, - [638] = 3, - ACTIONS(168), 1, - anon_sym_COMMA, - ACTIONS(180), 1, - anon_sym_RPAREN, - STATE(49), 1, - aux_sym_decorator_arguments_repeat1, - [648] = 3, - ACTIONS(182), 1, - anon_sym_RPAREN, - ACTIONS(184), 1, - sym_identifier, - STATE(60), 1, - sym_function_argument, - [658] = 2, - ACTIONS(186), 1, - anon_sym_AT, - ACTIONS(188), 2, - anon_sym_notification, - sym_identifier, - [666] = 3, - ACTIONS(152), 1, + ACTIONS(156), 1, anon_sym_DQUOTE, - ACTIONS(190), 1, - sym_identifier, - STATE(101), 1, + STATE(45), 1, sym_string, - [676] = 1, - ACTIONS(192), 3, + [607] = 1, + ACTIONS(158), 3, anon_sym_SEMI, anon_sym_COMMA, anon_sym_RPAREN, - [682] = 3, - ACTIONS(148), 1, + [613] = 1, + ACTIONS(160), 3, + anon_sym_SEMI, anon_sym_COMMA, - ACTIONS(194), 1, + anon_sym_RPAREN, + [619] = 3, + ACTIONS(162), 1, anon_sym_RBRACE, - STATE(44), 1, + ACTIONS(164), 1, + anon_sym_COMMA, + STATE(52), 1, aux_sym_enum_values_repeat1, - [692] = 2, - ACTIONS(198), 1, - anon_sym_EQ, - ACTIONS(196), 2, + [629] = 3, + ACTIONS(166), 1, + anon_sym_COMMA, + ACTIONS(168), 1, + anon_sym_RPAREN, + STATE(60), 1, + aux_sym_function_arguments_repeat1, + [639] = 3, + ACTIONS(170), 1, anon_sym_RBRACE, + ACTIONS(172), 1, anon_sym_COMMA, - [700] = 2, - STATE(90), 1, - sym_map_key_type, - ACTIONS(200), 2, - anon_sym_int, - anon_sym_string, - [708] = 3, - ACTIONS(176), 1, + STATE(52), 1, + aux_sym_enum_values_repeat1, + [649] = 3, + ACTIONS(175), 1, + anon_sym_RPAREN, + ACTIONS(177), 1, + sym_identifier, + STATE(54), 1, + sym_function_argument, + [659] = 3, + ACTIONS(166), 1, anon_sym_COMMA, - ACTIONS(202), 1, + ACTIONS(179), 1, anon_sym_RPAREN, STATE(51), 1, aux_sym_function_arguments_repeat1, - [718] = 2, - ACTIONS(204), 1, + [669] = 2, + ACTIONS(183), 1, + anon_sym_EQ, + ACTIONS(181), 2, + anon_sym_RBRACE, + anon_sym_COMMA, + [677] = 3, + ACTIONS(156), 1, + anon_sym_DQUOTE, + ACTIONS(185), 1, + sym_identifier, + STATE(88), 1, + sym_string, + [687] = 2, + ACTIONS(187), 1, anon_sym_AT, - ACTIONS(206), 2, + ACTIONS(189), 2, anon_sym_notification, sym_identifier, - [726] = 3, - ACTIONS(208), 1, + [695] = 2, + STATE(91), 1, + sym_map_key_type, + ACTIONS(191), 2, + anon_sym_int, + anon_sym_string, + [703] = 3, + ACTIONS(146), 1, + anon_sym_COMMA, + ACTIONS(193), 1, + anon_sym_RPAREN, + STATE(64), 1, + aux_sym_decorator_arguments_repeat1, + [713] = 3, + ACTIONS(195), 1, + anon_sym_COMMA, + ACTIONS(198), 1, + anon_sym_RPAREN, + STATE(60), 1, + aux_sym_function_arguments_repeat1, + [723] = 3, + ACTIONS(164), 1, + anon_sym_COMMA, + ACTIONS(200), 1, anon_sym_RBRACE, + STATE(50), 1, + aux_sym_enum_values_repeat1, + [733] = 2, + ACTIONS(202), 1, + anon_sym_AT, + ACTIONS(204), 2, + anon_sym_notification, + sym_identifier, + [741] = 2, + ACTIONS(206), 1, + anon_sym_AT, + ACTIONS(208), 2, + anon_sym_notification, + sym_identifier, + [749] = 3, ACTIONS(210), 1, anon_sym_COMMA, - STATE(62), 1, - aux_sym_enum_values_repeat1, - [736] = 1, - ACTIONS(213), 3, - anon_sym_SEMI, - anon_sym_COMMA, + ACTIONS(213), 1, anon_sym_RPAREN, - [742] = 1, - ACTIONS(215), 2, - anon_sym_SEMI, - anon_sym_COLON, - [747] = 2, + STATE(64), 1, + aux_sym_decorator_arguments_repeat1, + [759] = 2, + ACTIONS(215), 1, + anon_sym_LPAREN, + STATE(46), 1, + sym_decorator_arguments, + [766] = 2, ACTIONS(217), 1, anon_sym_COLON, ACTIONS(219), 1, anon_sym_QMARK, - [754] = 2, - ACTIONS(221), 1, - anon_sym_LPAREN, - STATE(83), 1, - sym_function_arguments, - [761] = 1, - ACTIONS(157), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [766] = 2, - ACTIONS(223), 1, - anon_sym_LBRACE, - STATE(22), 1, - sym_service_functions, [773] = 1, - ACTIONS(225), 2, + ACTIONS(221), 2, anon_sym_RBRACE, anon_sym_COMMA, [778] = 1, - ACTIONS(208), 2, + ACTIONS(170), 2, anon_sym_RBRACE, anon_sym_COMMA, - [783] = 1, - ACTIONS(227), 2, - anon_sym_RBRACE, - sym_identifier, - [788] = 1, - ACTIONS(229), 2, - anon_sym_SEMI, - anon_sym_COLON, - [793] = 1, - ACTIONS(231), 2, - anon_sym_SEMI, - anon_sym_COLON, - [798] = 1, - ACTIONS(166), 2, + [783] = 2, + ACTIONS(156), 1, + anon_sym_DQUOTE, + STATE(92), 1, + sym_string, + [790] = 1, + ACTIONS(213), 2, anon_sym_COMMA, anon_sym_RPAREN, - [803] = 1, - ACTIONS(233), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [808] = 2, - ACTIONS(235), 1, - anon_sym_LPAREN, - STATE(61), 1, - sym_decorator_arguments, - [815] = 2, - ACTIONS(152), 1, - anon_sym_DQUOTE, - STATE(67), 1, - sym_string, - [822] = 2, - ACTIONS(152), 1, - anon_sym_DQUOTE, - STATE(99), 1, - sym_string, - [829] = 2, - ACTIONS(237), 1, - anon_sym_LBRACE, - STATE(19), 1, - sym_enum_values, - [836] = 2, - ACTIONS(221), 1, + [795] = 2, + ACTIONS(223), 1, anon_sym_LPAREN, STATE(96), 1, sym_function_arguments, - [843] = 2, - ACTIONS(184), 1, - sym_identifier, - STATE(74), 1, - sym_function_argument, - [850] = 1, - ACTIONS(239), 1, - ts_builtin_sym_end, - [854] = 1, - ACTIONS(241), 1, - anon_sym_COLON, - [858] = 1, - ACTIONS(243), 1, - sym_identifier, - [862] = 1, - ACTIONS(245), 1, + [802] = 1, + ACTIONS(225), 2, anon_sym_SEMI, - [866] = 1, + anon_sym_COLON, + [807] = 1, + ACTIONS(198), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [812] = 1, + ACTIONS(227), 2, + anon_sym_SEMI, + anon_sym_COLON, + [817] = 1, + ACTIONS(229), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [822] = 1, + ACTIONS(231), 2, + anon_sym_RBRACE, + sym_identifier, + [827] = 2, + ACTIONS(233), 1, + anon_sym_LBRACE, + STATE(18), 1, + sym_enum_values, + [834] = 2, + ACTIONS(156), 1, + anon_sym_DQUOTE, + STATE(70), 1, + sym_string, + [841] = 2, + ACTIONS(235), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_service_functions, + [848] = 2, + ACTIONS(223), 1, + anon_sym_LPAREN, + STATE(85), 1, + sym_function_arguments, + [855] = 1, + ACTIONS(237), 2, + anon_sym_SEMI, + anon_sym_COLON, + [860] = 2, + ACTIONS(177), 1, + sym_identifier, + STATE(73), 1, + sym_function_argument, + [867] = 1, + ACTIONS(239), 1, + anon_sym_COLON, + [871] = 1, + ACTIONS(241), 1, + anon_sym_SEMI, + [875] = 1, + ACTIONS(243), 1, + anon_sym_COLON, + [879] = 1, + ACTIONS(245), 1, + sym_identifier, + [883] = 1, ACTIONS(247), 1, sym_identifier, - [870] = 1, + [887] = 1, ACTIONS(249), 1, - sym_identifier, - [874] = 1, + anon_sym_SEMI, + [891] = 1, ACTIONS(251), 1, anon_sym_SEMI, - [878] = 1, + [895] = 1, ACTIONS(253), 1, anon_sym_SEMI, - [882] = 1, + [899] = 1, ACTIONS(255), 1, anon_sym_COMMA, - [886] = 1, + [903] = 1, ACTIONS(257), 1, - anon_sym_COMMA, - [890] = 1, + anon_sym_SEMI, + [907] = 1, ACTIONS(259), 1, - sym_number, - [894] = 1, + anon_sym_COMMA, + [911] = 1, ACTIONS(261), 1, - anon_sym_SEMI, - [898] = 1, - ACTIONS(263), 1, - sym_identifier, - [902] = 1, - ACTIONS(265), 1, anon_sym_COLON, - [906] = 1, - ACTIONS(267), 1, + [915] = 1, + ACTIONS(263), 1, anon_sym_SEMI, - [910] = 1, + [919] = 1, + ACTIONS(265), 1, + anon_sym_SEMI, + [923] = 1, + ACTIONS(267), 1, + ts_builtin_sym_end, + [927] = 1, ACTIONS(269), 1, sym_identifier, - [914] = 1, + [931] = 1, ACTIONS(271), 1, anon_sym_RBRACE, - [918] = 1, + [935] = 1, ACTIONS(273), 1, - anon_sym_SEMI, - [922] = 1, + sym_number, + [939] = 1, ACTIONS(275), 1, - anon_sym_COLON, - [926] = 1, + sym_identifier, + [943] = 1, ACTIONS(277), 1, - anon_sym_SEMI, - [930] = 1, + sym_identifier, + [947] = 1, ACTIONS(279), 1, sym_identifier, }; @@ -2181,241 +2194,242 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, [SMALL_STATE(3)] = 28, [SMALL_STATE(4)] = 56, - [SMALL_STATE(5)] = 78, - [SMALL_STATE(6)] = 100, - [SMALL_STATE(7)] = 122, - [SMALL_STATE(8)] = 144, - [SMALL_STATE(9)] = 166, - [SMALL_STATE(10)] = 188, - [SMALL_STATE(11)] = 210, - [SMALL_STATE(12)] = 232, - [SMALL_STATE(13)] = 247, - [SMALL_STATE(14)] = 265, - [SMALL_STATE(15)] = 274, - [SMALL_STATE(16)] = 283, - [SMALL_STATE(17)] = 292, - [SMALL_STATE(18)] = 301, - [SMALL_STATE(19)] = 310, - [SMALL_STATE(20)] = 319, - [SMALL_STATE(21)] = 328, - [SMALL_STATE(22)] = 337, - [SMALL_STATE(23)] = 346, - [SMALL_STATE(24)] = 355, - [SMALL_STATE(25)] = 364, - [SMALL_STATE(26)] = 373, - [SMALL_STATE(27)] = 382, - [SMALL_STATE(28)] = 394, - [SMALL_STATE(29)] = 404, - [SMALL_STATE(30)] = 418, - [SMALL_STATE(31)] = 426, - [SMALL_STATE(32)] = 440, - [SMALL_STATE(33)] = 454, - [SMALL_STATE(34)] = 466, - [SMALL_STATE(35)] = 477, - [SMALL_STATE(36)] = 488, - [SMALL_STATE(37)] = 497, - [SMALL_STATE(38)] = 510, + [SMALL_STATE(5)] = 80, + [SMALL_STATE(6)] = 104, + [SMALL_STATE(7)] = 128, + [SMALL_STATE(8)] = 152, + [SMALL_STATE(9)] = 176, + [SMALL_STATE(10)] = 198, + [SMALL_STATE(11)] = 220, + [SMALL_STATE(12)] = 242, + [SMALL_STATE(13)] = 257, + [SMALL_STATE(14)] = 275, + [SMALL_STATE(15)] = 284, + [SMALL_STATE(16)] = 293, + [SMALL_STATE(17)] = 302, + [SMALL_STATE(18)] = 311, + [SMALL_STATE(19)] = 320, + [SMALL_STATE(20)] = 329, + [SMALL_STATE(21)] = 338, + [SMALL_STATE(22)] = 347, + [SMALL_STATE(23)] = 356, + [SMALL_STATE(24)] = 365, + [SMALL_STATE(25)] = 374, + [SMALL_STATE(26)] = 383, + [SMALL_STATE(27)] = 392, + [SMALL_STATE(28)] = 404, + [SMALL_STATE(29)] = 418, + [SMALL_STATE(30)] = 432, + [SMALL_STATE(31)] = 440, + [SMALL_STATE(32)] = 450, + [SMALL_STATE(33)] = 464, + [SMALL_STATE(34)] = 476, + [SMALL_STATE(35)] = 485, + [SMALL_STATE(36)] = 496, + [SMALL_STATE(37)] = 505, + [SMALL_STATE(38)] = 512, [SMALL_STATE(39)] = 519, - [SMALL_STATE(40)] = 530, + [SMALL_STATE(40)] = 526, [SMALL_STATE(41)] = 537, [SMALL_STATE(42)] = 546, - [SMALL_STATE(43)] = 555, - [SMALL_STATE(44)] = 562, - [SMALL_STATE(45)] = 572, - [SMALL_STATE(46)] = 582, - [SMALL_STATE(47)] = 592, - [SMALL_STATE(48)] = 600, - [SMALL_STATE(49)] = 610, - [SMALL_STATE(50)] = 620, - [SMALL_STATE(51)] = 628, - [SMALL_STATE(52)] = 638, - [SMALL_STATE(53)] = 648, - [SMALL_STATE(54)] = 658, - [SMALL_STATE(55)] = 666, - [SMALL_STATE(56)] = 676, - [SMALL_STATE(57)] = 682, - [SMALL_STATE(58)] = 692, - [SMALL_STATE(59)] = 700, - [SMALL_STATE(60)] = 708, - [SMALL_STATE(61)] = 718, - [SMALL_STATE(62)] = 726, - [SMALL_STATE(63)] = 736, - [SMALL_STATE(64)] = 742, - [SMALL_STATE(65)] = 747, - [SMALL_STATE(66)] = 754, - [SMALL_STATE(67)] = 761, - [SMALL_STATE(68)] = 766, - [SMALL_STATE(69)] = 773, - [SMALL_STATE(70)] = 778, - [SMALL_STATE(71)] = 783, - [SMALL_STATE(72)] = 788, - [SMALL_STATE(73)] = 793, - [SMALL_STATE(74)] = 798, - [SMALL_STATE(75)] = 803, - [SMALL_STATE(76)] = 808, - [SMALL_STATE(77)] = 815, - [SMALL_STATE(78)] = 822, - [SMALL_STATE(79)] = 829, - [SMALL_STATE(80)] = 836, - [SMALL_STATE(81)] = 843, - [SMALL_STATE(82)] = 850, - [SMALL_STATE(83)] = 854, - [SMALL_STATE(84)] = 858, - [SMALL_STATE(85)] = 862, - [SMALL_STATE(86)] = 866, - [SMALL_STATE(87)] = 870, - [SMALL_STATE(88)] = 874, - [SMALL_STATE(89)] = 878, - [SMALL_STATE(90)] = 882, - [SMALL_STATE(91)] = 886, - [SMALL_STATE(92)] = 890, - [SMALL_STATE(93)] = 894, - [SMALL_STATE(94)] = 898, - [SMALL_STATE(95)] = 902, - [SMALL_STATE(96)] = 906, - [SMALL_STATE(97)] = 910, - [SMALL_STATE(98)] = 914, - [SMALL_STATE(99)] = 918, - [SMALL_STATE(100)] = 922, - [SMALL_STATE(101)] = 926, - [SMALL_STATE(102)] = 930, + [SMALL_STATE(43)] = 557, + [SMALL_STATE(44)] = 570, + [SMALL_STATE(45)] = 579, + [SMALL_STATE(46)] = 589, + [SMALL_STATE(47)] = 597, + [SMALL_STATE(48)] = 607, + [SMALL_STATE(49)] = 613, + [SMALL_STATE(50)] = 619, + [SMALL_STATE(51)] = 629, + [SMALL_STATE(52)] = 639, + [SMALL_STATE(53)] = 649, + [SMALL_STATE(54)] = 659, + [SMALL_STATE(55)] = 669, + [SMALL_STATE(56)] = 677, + [SMALL_STATE(57)] = 687, + [SMALL_STATE(58)] = 695, + [SMALL_STATE(59)] = 703, + [SMALL_STATE(60)] = 713, + [SMALL_STATE(61)] = 723, + [SMALL_STATE(62)] = 733, + [SMALL_STATE(63)] = 741, + [SMALL_STATE(64)] = 749, + [SMALL_STATE(65)] = 759, + [SMALL_STATE(66)] = 766, + [SMALL_STATE(67)] = 773, + [SMALL_STATE(68)] = 778, + [SMALL_STATE(69)] = 783, + [SMALL_STATE(70)] = 790, + [SMALL_STATE(71)] = 795, + [SMALL_STATE(72)] = 802, + [SMALL_STATE(73)] = 807, + [SMALL_STATE(74)] = 812, + [SMALL_STATE(75)] = 817, + [SMALL_STATE(76)] = 822, + [SMALL_STATE(77)] = 827, + [SMALL_STATE(78)] = 834, + [SMALL_STATE(79)] = 841, + [SMALL_STATE(80)] = 848, + [SMALL_STATE(81)] = 855, + [SMALL_STATE(82)] = 860, + [SMALL_STATE(83)] = 867, + [SMALL_STATE(84)] = 871, + [SMALL_STATE(85)] = 875, + [SMALL_STATE(86)] = 879, + [SMALL_STATE(87)] = 883, + [SMALL_STATE(88)] = 887, + [SMALL_STATE(89)] = 891, + [SMALL_STATE(90)] = 895, + [SMALL_STATE(91)] = 899, + [SMALL_STATE(92)] = 903, + [SMALL_STATE(93)] = 907, + [SMALL_STATE(94)] = 911, + [SMALL_STATE(95)] = 915, + [SMALL_STATE(96)] = 919, + [SMALL_STATE(97)] = 923, + [SMALL_STATE(98)] = 927, + [SMALL_STATE(99)] = 931, + [SMALL_STATE(100)] = 935, + [SMALL_STATE(101)] = 939, + [SMALL_STATE(102)] = 943, + [SMALL_STATE(103)] = 947, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 0, 0, 0), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [15] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), - [17] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), - [19] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(87), - [22] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(102), - [25] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(97), - [28] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(78), - [31] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(84), - [34] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [15] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), + [17] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(101), + [20] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(103), + [23] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(102), + [26] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(69), + [29] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(98), + [32] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), + [34] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), [36] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), - [38] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), - [40] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [38] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), + [40] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), [42] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [44] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94), - [46] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), - [48] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), - [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), SHIFT_REPEAT(86), - [53] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), SHIFT_REPEAT(94), - [56] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), SHIFT_REPEAT(66), - [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [44] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [46] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [48] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [50] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), + [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), SHIFT_REPEAT(86), + [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), SHIFT_REPEAT(87), + [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), SHIFT_REPEAT(80), [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_declaration, 2, 0, 0), - [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_define_declaration, 4, 0, 0), - [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_functions, 2, 0, 0), - [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attributes, 4, 0, 0), - [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_values, 3, 0, 0), - [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_declaration, 3, 0, 0), - [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 3, 0, 0), - [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 3, 0, 0), - [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_values, 4, 0, 0), - [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_declaration, 3, 0, 0), - [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attributes, 2, 0, 0), + [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attributes, 3, 0, 0), + [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_values, 4, 0, 0), + [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_values, 3, 0, 0), + [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_declaration, 3, 0, 0), + [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 3, 0, 0), + [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 3, 0, 0), + [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_functions, 2, 0, 0), + [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_declaration, 3, 0, 0), + [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attributes, 2, 0, 0), + [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_functions, 3, 0, 0), [85] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_values, 2, 0, 0), - [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_functions, 3, 0, 0), - [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attributes, 3, 0, 0), + [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attributes, 4, 0, 0), + [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_define_declaration, 4, 0, 0), [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type, 1, 0, 0), - [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [99] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_attributes_repeat1, 2, 0, 0), - [101] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_attributes_repeat1, 2, 0, 0), SHIFT_REPEAT(65), + [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_attributes_repeat1, 2, 0, 0), + [97] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_attributes_repeat1, 2, 0, 0), SHIFT_REPEAT(66), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_type, 1, 0, 0), - [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1, 0, 0), + [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), [112] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_service_functions_repeat1, 2, 0, 0), SHIFT_REPEAT(86), [115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_service_functions_repeat1, 2, 0, 0), - [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), - [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [121] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__string_content, 2, 0, 0), - [123] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__string_content, 2, 0, 0), SHIFT_REPEAT(35), - [126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), - [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [130] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), - [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_type, 2, 0, 0), - [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_notification, 4, 0, 3), - [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_service_notification, 4, 0, 3), - [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_function, 5, 0, 5), - [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_service_function, 5, 0, 5), - [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_type, 5, 0, 0), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [154] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_decorator_arguments_repeat1, 2, 0, 0), SHIFT_REPEAT(77), - [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_decorator_arguments_repeat1, 2, 0, 0), - [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_arguments, 4, 0, 0), - [161] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_arguments, 4, 0, 0), - [163] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_arguments_repeat1, 2, 0, 0), SHIFT_REPEAT(81), - [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_arguments_repeat1, 2, 0, 0), - [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_arguments, 3, 0, 0), - [174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_arguments, 3, 0, 0), - [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), - [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_arguments, 2, 0, 0), - [188] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_arguments, 2, 0, 0), - [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, 0, 0), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_value_declaration, 1, 0, 0), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_decorator, 3, 0, 0), - [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_decorator, 3, 0, 0), - [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_enum_values_repeat1, 2, 0, 0), - [210] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_enum_values_repeat1, 2, 0, 0), SHIFT_REPEAT(38), - [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2, 0, 0), - [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arguments, 3, 0, 0), + [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), + [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_function, 5, 0, 5), + [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_service_function, 5, 0, 5), + [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_type, 2, 0, 0), + [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_type, 5, 0, 0), + [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [133] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_service_functions_repeat2, 2, 0, 0), + [135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__string_content, 2, 0, 0), + [137] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__string_content, 2, 0, 0), SHIFT_REPEAT(42), + [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_service_notification, 4, 0, 3), + [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_service_notification, 4, 0, 3), + [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_decorator, 3, 0, 0), + [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_decorator, 3, 0, 0), + [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2, 0, 0), + [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, 0, 0), + [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_enum_values_repeat1, 2, 0, 0), + [172] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_enum_values_repeat1, 2, 0, 0), SHIFT_REPEAT(34), + [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_value_declaration, 1, 0, 0), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_arguments, 3, 0, 0), + [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_arguments, 3, 0, 0), + [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [195] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_arguments_repeat1, 2, 0, 0), SHIFT_REPEAT(82), + [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_arguments_repeat1, 2, 0, 0), + [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_arguments, 2, 0, 0), + [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_arguments, 2, 0, 0), + [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_arguments, 4, 0, 0), + [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_arguments, 4, 0, 0), + [210] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_decorator_arguments_repeat1, 2, 0, 0), SHIFT_REPEAT(78), + [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_decorator_arguments_repeat1, 2, 0, 0), + [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_value_assignment, 3, 0, 0), - [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 2, 0, 0), - [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arguments, 4, 0, 0), - [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arguments, 2, 0, 0), - [233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_argument, 3, 0, 4), - [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [239] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pair, 3, 0, 1), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_value_assignment, 3, 0, 0), + [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arguments, 4, 0, 0), + [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arguments, 2, 0, 0), + [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_argument, 3, 0, 4), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 2, 0, 0), + [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arguments, 3, 0, 0), + [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pair, 4, 0, 2), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_key_type, 1, 0, 0), - [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_key_type, 1, 0, 0), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pair, 3, 0, 1), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [267] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), }; #ifdef __cplusplus