diff --git a/grammar.js b/grammar.js index 0aa6b8e..eabf06f 100644 --- a/grammar.js +++ b/grammar.js @@ -1,6 +1,7 @@ const PREC = { connection: 100, conn_identifier: 90, + identifier: 50, }; const newline = /\n/; @@ -27,17 +28,20 @@ module.exports = grammar({ ), declaration: $ => seq( - optional("("), + choice( + $.connection_refference, + $.expr, + ), + repeat(field("label", $.label)), + terminator, + ), + + expr: $ => seq( field("identifier", $.identifier), rseq( field("connection", $.connection), field("identifier", $.identifier), ), - optional(")"), - optional(field("conn_identifier", $.connection_identifier)), - repeat(field("field", seq(".", $.field))), - repeat(field("label", $.label)), - terminator, ), connection: _ => token(prec(PREC.connection, choice( @@ -46,16 +50,24 @@ module.exports = grammar({ /-+>/, /--+/, ))), - connection_identifier: _ => token(seq( - "[", /\d+/, "]", - )), label: _ => seq(":", /.*/), - identifier: $ => $._ident, - field: $ => $._ident, + connection_refference: $ => seq( + "(", + $.expr, + ")", + field("connection_identifier", $.connection_identifier), + optional($._fields), + ), + connection_identifier: _ => token(seq("[", /\d+/, "]",)), - _ident: $ => seq($._ident_base, rseq(/[\s\-]+/, $._ident_base)), - _ident_base: _ => /[\p{L}\d\'_]+/, + identifier: $ => prec.left(-1, seq( + $._ident, + optional($._fields), + )), + _fields: $ => r1seq(".", field("field", $.identifier)), + _ident: $ => seq($._ident_base, rseq(/[\s\-\'_]+/, $._ident_base)), + _ident_base: _ => /[\p{L}\d]+/, comment: _ => token(seq('#', /.*/)), } diff --git a/src/grammar.json b/src/grammar.json index 3d5dad1..3b33df4 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -24,14 +24,48 @@ "type": "CHOICE", "members": [ { - "type": "STRING", - "value": "(" + "type": "SYMBOL", + "name": "connection_refference" }, { - "type": "BLANK" + "type": "SYMBOL", + "name": "expr" } ] }, + { + "type": "REPEAT", + "content": { + "type": "FIELD", + "name": "label", + "content": { + "type": "SYMBOL", + "name": "label" + } + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "\\n" + }, + { + "type": "STRING", + "value": ";" + }, + { + "type": "STRING", + "value": "\u0000" + } + ] + } + ] + }, + "expr": { + "type": "SEQ", + "members": [ { "type": "FIELD", "name": "identifier", @@ -63,82 +97,6 @@ } ] } - }, - { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": ")" - }, - { - "type": "BLANK" - } - ] - }, - { - "type": "CHOICE", - "members": [ - { - "type": "FIELD", - "name": "conn_identifier", - "content": { - "type": "SYMBOL", - "name": "connection_identifier" - } - }, - { - "type": "BLANK" - } - ] - }, - { - "type": "REPEAT", - "content": { - "type": "FIELD", - "name": "field", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "." - }, - { - "type": "SYMBOL", - "name": "field" - } - ] - } - } - }, - { - "type": "REPEAT", - "content": { - "type": "FIELD", - "name": "label", - "content": { - "type": "SYMBOL", - "name": "label" - } - } - }, - { - "type": "CHOICE", - "members": [ - { - "type": "PATTERN", - "value": "\\n" - }, - { - "type": "STRING", - "value": ";" - }, - { - "type": "STRING", - "value": "\u0000" - } - ] } ] }, @@ -170,6 +128,56 @@ } } }, + "label": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": ":" + }, + { + "type": "PATTERN", + "value": ".*" + } + ] + }, + "connection_refference": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "expr" + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "FIELD", + "name": "connection_identifier", + "content": { + "type": "SYMBOL", + "name": "connection_identifier" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_fields" + }, + { + "type": "BLANK" + } + ] + } + ] + }, "connection_identifier": { "type": "TOKEN", "content": { @@ -190,26 +198,50 @@ ] } }, - "label": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": ":" - }, - { - "type": "PATTERN", - "value": ".*" - } - ] - }, "identifier": { - "type": "SYMBOL", - "name": "_ident" + "type": "PREC_LEFT", + "value": -1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_ident" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_fields" + }, + { + "type": "BLANK" + } + ] + } + ] + } }, - "field": { - "type": "SYMBOL", - "name": "_ident" + "_fields": { + "type": "REPEAT1", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "FIELD", + "name": "field", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + } + ] + } }, "_ident": { "type": "SEQ", @@ -225,7 +257,7 @@ "members": [ { "type": "PATTERN", - "value": "[\\s\\-]+" + "value": "[\\s\\-\\'_]+" }, { "type": "SYMBOL", @@ -238,7 +270,7 @@ }, "_ident_base": { "type": "PATTERN", - "value": "[\\p{L}\\d\\'_]+" + "value": "[\\p{L}\\d]+" }, "comment": { "type": "TOKEN", diff --git a/src/node-types.json b/src/node-types.json index b2736c3..4006f92 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -1,11 +1,11 @@ [ { - "type": "declaration", + "type": "connection_refference", "named": true, "fields": { - "conn_identifier": { + "connection_identifier": { "multiple": false, - "required": false, + "required": true, "types": [ { "type": "connection_identifier", @@ -13,26 +13,68 @@ } ] }, - "connection": { + "field": { "multiple": true, "required": false, "types": [ { - "type": "connection", + "type": "identifier", "named": true } ] - }, - "field": { + } + }, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expr", + "named": true + } + ] + } + }, + { + "type": "declaration", + "named": true, + "fields": { + "label": { "multiple": true, "required": false, "types": [ { - "type": ".", - "named": false - }, + "type": "label", + "named": true + } + ] + } + }, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "connection_refference", + "named": true + }, + { + "type": "expr", + "named": true + } + ] + } + }, + { + "type": "expr", + "named": true, + "fields": { + "connection": { + "multiple": true, + "required": false, + "types": [ { - "type": "field", + "type": "connection", "named": true } ] @@ -46,29 +88,25 @@ "named": true } ] - }, - "label": { + } + } + }, + { + "type": "identifier", + "named": true, + "fields": { + "field": { "multiple": true, "required": false, "types": [ { - "type": "label", + "type": "identifier", "named": true } ] } } }, - { - "type": "field", - "named": true, - "fields": {} - }, - { - "type": "identifier", - "named": true, - "fields": {} - }, { "type": "label", "named": true, diff --git a/src/parser.c b/src/parser.c index db18416..3ed4794 100644 --- a/src/parser.c +++ b/src/parser.c @@ -5,96 +5,99 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 268 -#define LARGE_STATE_COUNT 6 -#define SYMBOL_COUNT 25 +#define STATE_COUNT 61 +#define LARGE_STATE_COUNT 2 +#define SYMBOL_COUNT 26 #define ALIAS_COUNT 0 #define TOKEN_COUNT 14 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 5 -#define MAX_ALIAS_SEQUENCE_LENGTH 8 -#define PRODUCTION_ID_COUNT 67 +#define MAX_ALIAS_SEQUENCE_LENGTH 5 +#define PRODUCTION_ID_COUNT 13 enum ts_symbol_identifiers { - anon_sym_LPAREN = 1, - anon_sym_RPAREN = 2, - anon_sym_DOT = 3, - aux_sym_declaration_token1 = 4, - anon_sym_SEMI = 5, - anon_sym_NULL = 6, - sym_connection = 7, - sym_connection_identifier = 8, - anon_sym_COLON = 9, - aux_sym_label_token1 = 10, + aux_sym_declaration_token1 = 1, + anon_sym_SEMI = 2, + anon_sym_NULL = 3, + sym_connection = 4, + anon_sym_COLON = 5, + aux_sym_label_token1 = 6, + anon_sym_LPAREN = 7, + anon_sym_RPAREN = 8, + sym_connection_identifier = 9, + anon_sym_DOT = 10, aux_sym__ident_token1 = 11, sym__ident_base = 12, sym_comment = 13, sym_source_file = 14, sym_declaration = 15, - sym_label = 16, - sym_identifier = 17, - sym_field = 18, - sym__ident = 19, - aux_sym_source_file_repeat1 = 20, - aux_sym_declaration_repeat1 = 21, - aux_sym_declaration_repeat2 = 22, - aux_sym_declaration_repeat3 = 23, - aux_sym__ident_repeat1 = 24, + sym_expr = 16, + sym_label = 17, + sym_connection_refference = 18, + sym_identifier = 19, + aux_sym__fields = 20, + sym__ident = 21, + aux_sym_source_file_repeat1 = 22, + aux_sym_declaration_repeat1 = 23, + aux_sym_expr_repeat1 = 24, + aux_sym__ident_repeat1 = 25, }; static const char * const ts_symbol_names[] = { [ts_builtin_sym_end] = "end", - [anon_sym_LPAREN] = "(", - [anon_sym_RPAREN] = ")", - [anon_sym_DOT] = ".", [aux_sym_declaration_token1] = "declaration_token1", [anon_sym_SEMI] = ";", [anon_sym_NULL] = "\0", [sym_connection] = "connection", - [sym_connection_identifier] = "connection_identifier", [anon_sym_COLON] = ":", [aux_sym_label_token1] = "label_token1", + [anon_sym_LPAREN] = "(", + [anon_sym_RPAREN] = ")", + [sym_connection_identifier] = "connection_identifier", + [anon_sym_DOT] = ".", [aux_sym__ident_token1] = "_ident_token1", [sym__ident_base] = "_ident_base", [sym_comment] = "comment", [sym_source_file] = "source_file", [sym_declaration] = "declaration", + [sym_expr] = "expr", [sym_label] = "label", + [sym_connection_refference] = "connection_refference", [sym_identifier] = "identifier", - [sym_field] = "field", + [aux_sym__fields] = "_fields", [sym__ident] = "_ident", [aux_sym_source_file_repeat1] = "source_file_repeat1", [aux_sym_declaration_repeat1] = "declaration_repeat1", - [aux_sym_declaration_repeat2] = "declaration_repeat2", - [aux_sym_declaration_repeat3] = "declaration_repeat3", + [aux_sym_expr_repeat1] = "expr_repeat1", [aux_sym__ident_repeat1] = "_ident_repeat1", }; static const TSSymbol ts_symbol_map[] = { [ts_builtin_sym_end] = ts_builtin_sym_end, - [anon_sym_LPAREN] = anon_sym_LPAREN, - [anon_sym_RPAREN] = anon_sym_RPAREN, - [anon_sym_DOT] = anon_sym_DOT, [aux_sym_declaration_token1] = aux_sym_declaration_token1, [anon_sym_SEMI] = anon_sym_SEMI, [anon_sym_NULL] = anon_sym_NULL, [sym_connection] = sym_connection, - [sym_connection_identifier] = sym_connection_identifier, [anon_sym_COLON] = anon_sym_COLON, [aux_sym_label_token1] = aux_sym_label_token1, + [anon_sym_LPAREN] = anon_sym_LPAREN, + [anon_sym_RPAREN] = anon_sym_RPAREN, + [sym_connection_identifier] = sym_connection_identifier, + [anon_sym_DOT] = anon_sym_DOT, [aux_sym__ident_token1] = aux_sym__ident_token1, [sym__ident_base] = sym__ident_base, [sym_comment] = sym_comment, [sym_source_file] = sym_source_file, [sym_declaration] = sym_declaration, + [sym_expr] = sym_expr, [sym_label] = sym_label, + [sym_connection_refference] = sym_connection_refference, [sym_identifier] = sym_identifier, - [sym_field] = sym_field, + [aux_sym__fields] = aux_sym__fields, [sym__ident] = sym__ident, [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, [aux_sym_declaration_repeat1] = aux_sym_declaration_repeat1, - [aux_sym_declaration_repeat2] = aux_sym_declaration_repeat2, - [aux_sym_declaration_repeat3] = aux_sym_declaration_repeat3, + [aux_sym_expr_repeat1] = aux_sym_expr_repeat1, [aux_sym__ident_repeat1] = aux_sym__ident_repeat1, }; @@ -103,46 +106,46 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, - [anon_sym_LPAREN] = { + [aux_sym_declaration_token1] = { + .visible = false, + .named = false, + }, + [anon_sym_SEMI] = { .visible = true, .named = false, }, - [anon_sym_RPAREN] = { + [anon_sym_NULL] = { .visible = true, .named = false, }, - [anon_sym_DOT] = { + [sym_connection] = { + .visible = true, + .named = true, + }, + [anon_sym_COLON] = { .visible = true, .named = false, }, - [aux_sym_declaration_token1] = { + [aux_sym_label_token1] = { .visible = false, .named = false, }, - [anon_sym_SEMI] = { + [anon_sym_LPAREN] = { .visible = true, .named = false, }, - [anon_sym_NULL] = { + [anon_sym_RPAREN] = { .visible = true, .named = false, }, - [sym_connection] = { - .visible = true, - .named = true, - }, [sym_connection_identifier] = { .visible = true, .named = true, }, - [anon_sym_COLON] = { + [anon_sym_DOT] = { .visible = true, .named = false, }, - [aux_sym_label_token1] = { - .visible = false, - .named = false, - }, [aux_sym__ident_token1] = { .visible = false, .named = false, @@ -163,18 +166,26 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_expr] = { + .visible = true, + .named = true, + }, [sym_label] = { .visible = true, .named = true, }, - [sym_identifier] = { + [sym_connection_refference] = { .visible = true, .named = true, }, - [sym_field] = { + [sym_identifier] = { .visible = true, .named = true, }, + [aux_sym__fields] = { + .visible = false, + .named = false, + }, [sym__ident] = { .visible = false, .named = true, @@ -187,11 +198,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, - [aux_sym_declaration_repeat2] = { - .visible = false, - .named = false, - }, - [aux_sym_declaration_repeat3] = { + [aux_sym_expr_repeat1] = { .visible = false, .named = false, }, @@ -202,8 +209,8 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { }; enum ts_field_identifiers { - field_conn_identifier = 1, - field_connection = 2, + field_connection = 1, + field_connection_identifier = 2, field_field = 3, field_identifier = 4, field_label = 5, @@ -211,8 +218,8 @@ enum ts_field_identifiers { static const char * const ts_field_names[] = { [0] = NULL, - [field_conn_identifier] = "conn_identifier", [field_connection] = "connection", + [field_connection_identifier] = "connection_identifier", [field_field] = "field", [field_identifier] = "identifier", [field_label] = "label", @@ -221,70 +228,16 @@ static const char * const ts_field_names[] = { static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { [1] = {.index = 0, .length = 1}, [2] = {.index = 1, .length = 1}, - [3] = {.index = 2, .length = 1}, - [4] = {.index = 3, .length = 2}, - [5] = {.index = 5, .length = 2}, + [3] = {.index = 2, .length = 3}, + [4] = {.index = 5, .length = 1}, + [5] = {.index = 6, .length = 1}, [6] = {.index = 7, .length = 2}, - [7] = {.index = 9, .length = 3}, - [8] = {.index = 12, .length = 4}, - [9] = {.index = 16, .length = 2}, - [10] = {.index = 18, .length = 2}, - [11] = {.index = 20, .length = 2}, - [12] = {.index = 22, .length = 2}, - [13] = {.index = 24, .length = 2}, - [14] = {.index = 26, .length = 3}, - [15] = {.index = 29, .length = 2}, - [16] = {.index = 31, .length = 2}, - [17] = {.index = 33, .length = 2}, - [18] = {.index = 35, .length = 2}, - [19] = {.index = 37, .length = 2}, - [20] = {.index = 39, .length = 3}, - [21] = {.index = 42, .length = 3}, - [22] = {.index = 45, .length = 4}, - [23] = {.index = 49, .length = 4}, - [24] = {.index = 53, .length = 4}, - [25] = {.index = 57, .length = 3}, - [26] = {.index = 60, .length = 2}, - [27] = {.index = 62, .length = 2}, - [28] = {.index = 64, .length = 2}, - [29] = {.index = 66, .length = 3}, - [30] = {.index = 69, .length = 3}, - [31] = {.index = 72, .length = 4}, - [32] = {.index = 76, .length = 4}, - [33] = {.index = 80, .length = 4}, - [34] = {.index = 84, .length = 3}, - [35] = {.index = 87, .length = 3}, - [36] = {.index = 90, .length = 3}, - [37] = {.index = 93, .length = 3}, - [38] = {.index = 96, .length = 4}, - [39] = {.index = 100, .length = 4}, - [40] = {.index = 104, .length = 4}, - [41] = {.index = 108, .length = 4}, - [42] = {.index = 112, .length = 5}, - [43] = {.index = 117, .length = 5}, - [44] = {.index = 122, .length = 5}, - [45] = {.index = 127, .length = 3}, - [46] = {.index = 130, .length = 3}, - [47] = {.index = 133, .length = 3}, - [48] = {.index = 136, .length = 4}, - [49] = {.index = 140, .length = 4}, - [50] = {.index = 144, .length = 4}, - [51] = {.index = 148, .length = 4}, - [52] = {.index = 152, .length = 5}, - [53] = {.index = 157, .length = 5}, - [54] = {.index = 162, .length = 5}, - [55] = {.index = 167, .length = 4}, - [56] = {.index = 171, .length = 5}, - [57] = {.index = 176, .length = 5}, - [58] = {.index = 181, .length = 5}, - [59] = {.index = 186, .length = 6}, - [60] = {.index = 192, .length = 4}, - [61] = {.index = 196, .length = 5}, - [62] = {.index = 201, .length = 5}, - [63] = {.index = 206, .length = 5}, - [64] = {.index = 211, .length = 6}, - [65] = {.index = 217, .length = 6}, - [66] = {.index = 223, .length = 6}, + [7] = {.index = 9, .length = 2}, + [8] = {.index = 11, .length = 4}, + [9] = {.index = 15, .length = 1}, + [10] = {.index = 16, .length = 2}, + [11] = {.index = 18, .length = 1}, + [12] = {.index = 19, .length = 2}, }; static const TSFieldMapEntry ts_field_map_entries[] = { @@ -293,296 +246,34 @@ static const TSFieldMapEntry ts_field_map_entries[] = { [1] = {field_label, 0}, [2] = - {field_identifier, 1}, - [3] = - {field_field, 0}, - {field_field, 1}, - [5] = - {field_connection, 0}, - {field_identifier, 1}, - [7] = - {field_conn_identifier, 1}, - {field_identifier, 0}, - [9] = {field_connection, 1, .inherited = true}, {field_identifier, 0}, {field_identifier, 1, .inherited = true}, - [12] = - {field_connection, 0, .inherited = true}, - {field_connection, 1, .inherited = true}, - {field_identifier, 0, .inherited = true}, - {field_identifier, 1, .inherited = true}, - [16] = - {field_field, 1, .inherited = true}, - {field_identifier, 0}, - [18] = - {field_field, 0, .inherited = true}, + [5] = {field_field, 1, .inherited = true}, - [20] = - {field_identifier, 0}, + [6] = {field_label, 1, .inherited = true}, - [22] = + [7] = {field_label, 0, .inherited = true}, {field_label, 1, .inherited = true}, - [24] = - {field_conn_identifier, 2}, - {field_identifier, 1}, - [26] = - {field_connection, 2, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - [29] = - {field_field, 2, .inherited = true}, - {field_identifier, 1}, - [31] = + [9] = + {field_connection, 0}, {field_identifier, 1}, - {field_label, 2, .inherited = true}, - [33] = - {field_conn_identifier, 2}, - {field_identifier, 0}, - [35] = - {field_field, 2, .inherited = true}, - {field_identifier, 0}, - [37] = - {field_identifier, 0}, - {field_label, 2, .inherited = true}, - [39] = - {field_conn_identifier, 1}, - {field_field, 2, .inherited = true}, - {field_identifier, 0}, - [42] = - {field_conn_identifier, 1}, - {field_identifier, 0}, - {field_label, 2, .inherited = true}, - [45] = - {field_conn_identifier, 2}, - {field_connection, 1, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - [49] = - {field_connection, 1, .inherited = true}, - {field_field, 2, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - [53] = + [11] = + {field_connection, 0, .inherited = true}, {field_connection, 1, .inherited = true}, - {field_identifier, 0}, + {field_identifier, 0, .inherited = true}, {field_identifier, 1, .inherited = true}, - {field_label, 2, .inherited = true}, - [57] = + [15] = + {field_field, 1}, + [16] = + {field_field, 0, .inherited = true}, {field_field, 1, .inherited = true}, - {field_identifier, 0}, - {field_label, 2, .inherited = true}, - [60] = - {field_conn_identifier, 3}, - {field_identifier, 1}, - [62] = - {field_field, 3, .inherited = true}, - {field_identifier, 1}, - [64] = - {field_identifier, 1}, - {field_label, 3, .inherited = true}, - [66] = - {field_conn_identifier, 2}, - {field_field, 3, .inherited = true}, - {field_identifier, 1}, - [69] = - {field_conn_identifier, 2}, - {field_identifier, 1}, - {field_label, 3, .inherited = true}, - [72] = - {field_conn_identifier, 3}, - {field_connection, 2, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - [76] = - {field_connection, 2, .inherited = true}, - {field_field, 3, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - [80] = - {field_connection, 2, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 3, .inherited = true}, - [84] = - {field_field, 2, .inherited = true}, - {field_identifier, 1}, - {field_label, 3, .inherited = true}, - [87] = - {field_conn_identifier, 2}, - {field_field, 3, .inherited = true}, - {field_identifier, 0}, - [90] = - {field_conn_identifier, 2}, - {field_identifier, 0}, - {field_label, 3, .inherited = true}, - [93] = - {field_field, 2, .inherited = true}, - {field_identifier, 0}, - {field_label, 3, .inherited = true}, - [96] = - {field_conn_identifier, 1}, - {field_field, 2, .inherited = true}, - {field_identifier, 0}, - {field_label, 3, .inherited = true}, - [100] = - {field_conn_identifier, 3}, - {field_connection, 1, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - [104] = - {field_connection, 1, .inherited = true}, - {field_field, 3, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - [108] = - {field_connection, 1, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - {field_label, 3, .inherited = true}, - [112] = - {field_conn_identifier, 2}, - {field_connection, 1, .inherited = true}, - {field_field, 3, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - [117] = - {field_conn_identifier, 2}, - {field_connection, 1, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - {field_label, 3, .inherited = true}, - [122] = - {field_connection, 1, .inherited = true}, - {field_field, 2, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - {field_label, 3, .inherited = true}, - [127] = - {field_conn_identifier, 3}, - {field_field, 4, .inherited = true}, - {field_identifier, 1}, - [130] = - {field_conn_identifier, 3}, - {field_identifier, 1}, - {field_label, 4, .inherited = true}, - [133] = - {field_field, 3, .inherited = true}, - {field_identifier, 1}, - {field_label, 4, .inherited = true}, - [136] = - {field_conn_identifier, 2}, - {field_field, 3, .inherited = true}, - {field_identifier, 1}, - {field_label, 4, .inherited = true}, - [140] = - {field_conn_identifier, 4}, - {field_connection, 2, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - [144] = - {field_connection, 2, .inherited = true}, - {field_field, 4, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - [148] = - {field_connection, 2, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 4, .inherited = true}, - [152] = - {field_conn_identifier, 3}, - {field_connection, 2, .inherited = true}, - {field_field, 4, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - [157] = - {field_conn_identifier, 3}, - {field_connection, 2, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 4, .inherited = true}, - [162] = - {field_connection, 2, .inherited = true}, - {field_field, 3, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 4, .inherited = true}, - [167] = - {field_conn_identifier, 2}, - {field_field, 3, .inherited = true}, - {field_identifier, 0}, - {field_label, 4, .inherited = true}, - [171] = - {field_conn_identifier, 3}, - {field_connection, 1, .inherited = true}, - {field_field, 4, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - [176] = - {field_conn_identifier, 3}, - {field_connection, 1, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - {field_label, 4, .inherited = true}, - [181] = - {field_connection, 1, .inherited = true}, - {field_field, 3, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - {field_label, 4, .inherited = true}, - [186] = - {field_conn_identifier, 2}, - {field_connection, 1, .inherited = true}, - {field_field, 3, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - {field_label, 4, .inherited = true}, - [192] = - {field_conn_identifier, 3}, - {field_field, 4, .inherited = true}, - {field_identifier, 1}, - {field_label, 5, .inherited = true}, - [196] = - {field_conn_identifier, 4}, - {field_connection, 2, .inherited = true}, - {field_field, 5, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - [201] = - {field_conn_identifier, 4}, - {field_connection, 2, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 5, .inherited = true}, - [206] = - {field_connection, 2, .inherited = true}, - {field_field, 4, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 5, .inherited = true}, - [211] = - {field_conn_identifier, 3}, - {field_connection, 2, .inherited = true}, - {field_field, 4, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 5, .inherited = true}, - [217] = - {field_conn_identifier, 3}, - {field_connection, 1, .inherited = true}, + [18] = + {field_connection_identifier, 3}, + [19] = + {field_connection_identifier, 3}, {field_field, 4, .inherited = true}, - {field_identifier, 0}, - {field_identifier, 1, .inherited = true}, - {field_label, 5, .inherited = true}, - [223] = - {field_conn_identifier, 4}, - {field_connection, 2, .inherited = true}, - {field_field, 5, .inherited = true}, - {field_identifier, 1}, - {field_identifier, 2, .inherited = true}, - {field_label, 6, .inherited = true}, }; static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { @@ -603,322 +294,115 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [6] = 6, [7] = 7, [8] = 8, - [9] = 9, - [10] = 10, + [9] = 7, + [10] = 5, [11] = 11, [12] = 12, - [13] = 13, - [14] = 14, + [13] = 4, + [14] = 6, [15] = 15, [16] = 16, [17] = 17, - [18] = 18, - [19] = 19, + [18] = 11, + [19] = 7, [20] = 20, - [21] = 21, - [22] = 22, + [21] = 12, + [22] = 8, [23] = 23, [24] = 24, [25] = 25, [26] = 26, [27] = 27, - [28] = 28, - [29] = 29, - [30] = 30, + [28] = 5, + [29] = 4, + [30] = 6, [31] = 31, [32] = 32, - [33] = 33, - [34] = 34, - [35] = 35, + [33] = 11, + [34] = 7, + [35] = 8, [36] = 36, - [37] = 37, + [37] = 7, [38] = 38, - [39] = 39, - [40] = 40, + [39] = 12, + [40] = 27, [41] = 41, - [42] = 6, - [43] = 7, - [44] = 8, - [45] = 45, + [42] = 42, + [43] = 17, + [44] = 44, + [45] = 26, [46] = 46, - [47] = 47, - [48] = 48, - [49] = 49, - [50] = 50, + [47] = 20, + [48] = 44, + [49] = 42, + [50] = 44, [51] = 51, [52] = 52, - [53] = 53, + [53] = 31, [54] = 54, [55] = 55, [56] = 56, [57] = 57, - [58] = 58, + [58] = 56, [59] = 59, - [60] = 60, - [61] = 61, - [62] = 62, - [63] = 63, - [64] = 64, - [65] = 65, - [66] = 66, - [67] = 67, - [68] = 68, - [69] = 69, - [70] = 70, - [71] = 71, - [72] = 72, - [73] = 73, - [74] = 74, - [75] = 75, - [76] = 76, - [77] = 77, - [78] = 78, - [79] = 79, - [80] = 13, - [81] = 81, - [82] = 82, - [83] = 83, - [84] = 84, - [85] = 85, - [86] = 86, - [87] = 87, - [88] = 88, - [89] = 89, - [90] = 90, - [91] = 91, - [92] = 92, - [93] = 93, - [94] = 94, - [95] = 95, - [96] = 96, - [97] = 97, - [98] = 98, - [99] = 99, - [100] = 100, - [101] = 101, - [102] = 102, - [103] = 103, - [104] = 104, - [105] = 105, - [106] = 106, - [107] = 107, - [108] = 108, - [109] = 109, - [110] = 110, - [111] = 111, - [112] = 112, - [113] = 113, - [114] = 114, - [115] = 115, - [116] = 116, - [117] = 117, - [118] = 118, - [119] = 119, - [120] = 120, - [121] = 121, - [122] = 122, - [123] = 123, - [124] = 124, - [125] = 125, - [126] = 126, - [127] = 127, - [128] = 128, - [129] = 129, - [130] = 130, - [131] = 131, - [132] = 132, - [133] = 133, - [134] = 134, - [135] = 135, - [136] = 136, - [137] = 137, - [138] = 138, - [139] = 139, - [140] = 140, - [141] = 141, - [142] = 142, - [143] = 143, - [144] = 144, - [145] = 145, - [146] = 146, - [147] = 147, - [148] = 148, - [149] = 149, - [150] = 150, - [151] = 151, - [152] = 152, - [153] = 153, - [154] = 154, - [155] = 155, - [156] = 156, - [157] = 157, - [158] = 158, - [159] = 159, - [160] = 160, - [161] = 161, - [162] = 162, - [163] = 163, - [164] = 164, - [165] = 165, - [166] = 166, - [167] = 167, - [168] = 168, - [169] = 169, - [170] = 170, - [171] = 171, - [172] = 172, - [173] = 173, - [174] = 174, - [175] = 175, - [176] = 176, - [177] = 177, - [178] = 178, - [179] = 179, - [180] = 180, - [181] = 181, - [182] = 182, - [183] = 183, - [184] = 184, - [185] = 185, - [186] = 186, - [187] = 187, - [188] = 188, - [189] = 189, - [190] = 190, - [191] = 191, - [192] = 192, - [193] = 193, - [194] = 194, - [195] = 195, - [196] = 196, - [197] = 197, - [198] = 198, - [199] = 199, - [200] = 200, - [201] = 201, - [202] = 202, - [203] = 203, - [204] = 204, - [205] = 205, - [206] = 206, - [207] = 207, - [208] = 208, - [209] = 209, - [210] = 210, - [211] = 211, - [212] = 212, - [213] = 213, - [214] = 214, - [215] = 215, - [216] = 216, - [217] = 217, - [218] = 218, - [219] = 219, - [220] = 220, - [221] = 221, - [222] = 222, - [223] = 223, - [224] = 224, - [225] = 225, - [226] = 226, - [227] = 227, - [228] = 228, - [229] = 229, - [230] = 230, - [231] = 231, - [232] = 232, - [233] = 233, - [234] = 234, - [235] = 235, - [236] = 236, - [237] = 237, - [238] = 238, - [239] = 239, - [240] = 240, - [241] = 241, - [242] = 242, - [243] = 243, - [244] = 244, - [245] = 245, - [246] = 246, - [247] = 247, - [248] = 248, - [249] = 249, - [250] = 250, - [251] = 251, - [252] = 252, - [253] = 253, - [254] = 254, - [255] = 255, - [256] = 256, - [257] = 257, - [258] = 258, - [259] = 259, - [260] = 260, - [261] = 261, - [262] = 262, - [263] = 263, - [264] = 264, - [265] = 265, - [266] = 266, - [267] = 265, + [60] = 56, }; static TSCharacterRange sym__ident_base_character_set_1[] = { - {'\'', '\''}, {'0', '9'}, {'A', 'Z'}, {'_', '_'}, {'a', 'z'}, {0xaa, 0xaa}, {0xb5, 0xb5}, {0xba, 0xba}, - {0xc0, 0xd6}, {0xd8, 0xf6}, {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x370, 0x374}, - {0x376, 0x377}, {0x37a, 0x37d}, {0x37f, 0x37f}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, {0x3a3, 0x3f5}, - {0x3f7, 0x481}, {0x48a, 0x52f}, {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x620, 0x64a}, - {0x66e, 0x66f}, {0x671, 0x6d3}, {0x6d5, 0x6d5}, {0x6e5, 0x6e6}, {0x6ee, 0x6ef}, {0x6fa, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x710}, - {0x712, 0x72f}, {0x74d, 0x7a5}, {0x7b1, 0x7b1}, {0x7ca, 0x7ea}, {0x7f4, 0x7f5}, {0x7fa, 0x7fa}, {0x800, 0x815}, {0x81a, 0x81a}, - {0x824, 0x824}, {0x828, 0x828}, {0x840, 0x858}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x8a0, 0x8c9}, {0x904, 0x939}, - {0x93d, 0x93d}, {0x950, 0x950}, {0x958, 0x961}, {0x971, 0x980}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, - {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, {0x9bd, 0x9bd}, {0x9ce, 0x9ce}, {0x9dc, 0x9dd}, {0x9df, 0x9e1}, {0x9f0, 0x9f1}, {0x9fc, 0x9fc}, - {0xa05, 0xa0a}, {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, {0xa59, 0xa5c}, - {0xa5e, 0xa5e}, {0xa72, 0xa74}, {0xa85, 0xa8d}, {0xa8f, 0xa91}, {0xa93, 0xaa8}, {0xaaa, 0xab0}, {0xab2, 0xab3}, {0xab5, 0xab9}, - {0xabd, 0xabd}, {0xad0, 0xad0}, {0xae0, 0xae1}, {0xaf9, 0xaf9}, {0xb05, 0xb0c}, {0xb0f, 0xb10}, {0xb13, 0xb28}, {0xb2a, 0xb30}, - {0xb32, 0xb33}, {0xb35, 0xb39}, {0xb3d, 0xb3d}, {0xb5c, 0xb5d}, {0xb5f, 0xb61}, {0xb71, 0xb71}, {0xb83, 0xb83}, {0xb85, 0xb8a}, - {0xb8e, 0xb90}, {0xb92, 0xb95}, {0xb99, 0xb9a}, {0xb9c, 0xb9c}, {0xb9e, 0xb9f}, {0xba3, 0xba4}, {0xba8, 0xbaa}, {0xbae, 0xbb9}, - {0xbd0, 0xbd0}, {0xc05, 0xc0c}, {0xc0e, 0xc10}, {0xc12, 0xc28}, {0xc2a, 0xc39}, {0xc3d, 0xc3d}, {0xc58, 0xc5a}, {0xc5d, 0xc5d}, - {0xc60, 0xc61}, {0xc80, 0xc80}, {0xc85, 0xc8c}, {0xc8e, 0xc90}, {0xc92, 0xca8}, {0xcaa, 0xcb3}, {0xcb5, 0xcb9}, {0xcbd, 0xcbd}, - {0xcdd, 0xcde}, {0xce0, 0xce1}, {0xcf1, 0xcf2}, {0xd04, 0xd0c}, {0xd0e, 0xd10}, {0xd12, 0xd3a}, {0xd3d, 0xd3d}, {0xd4e, 0xd4e}, - {0xd54, 0xd56}, {0xd5f, 0xd61}, {0xd7a, 0xd7f}, {0xd85, 0xd96}, {0xd9a, 0xdb1}, {0xdb3, 0xdbb}, {0xdbd, 0xdbd}, {0xdc0, 0xdc6}, - {0xe01, 0xe30}, {0xe32, 0xe33}, {0xe40, 0xe46}, {0xe81, 0xe82}, {0xe84, 0xe84}, {0xe86, 0xe8a}, {0xe8c, 0xea3}, {0xea5, 0xea5}, - {0xea7, 0xeb0}, {0xeb2, 0xeb3}, {0xebd, 0xebd}, {0xec0, 0xec4}, {0xec6, 0xec6}, {0xedc, 0xedf}, {0xf00, 0xf00}, {0xf40, 0xf47}, - {0xf49, 0xf6c}, {0xf88, 0xf8c}, {0x1000, 0x102a}, {0x103f, 0x103f}, {0x1050, 0x1055}, {0x105a, 0x105d}, {0x1061, 0x1061}, {0x1065, 0x1066}, - {0x106e, 0x1070}, {0x1075, 0x1081}, {0x108e, 0x108e}, {0x10a0, 0x10c5}, {0x10c7, 0x10c7}, {0x10cd, 0x10cd}, {0x10d0, 0x10fa}, {0x10fc, 0x1248}, - {0x124a, 0x124d}, {0x1250, 0x1256}, {0x1258, 0x1258}, {0x125a, 0x125d}, {0x1260, 0x1288}, {0x128a, 0x128d}, {0x1290, 0x12b0}, {0x12b2, 0x12b5}, - {0x12b8, 0x12be}, {0x12c0, 0x12c0}, {0x12c2, 0x12c5}, {0x12c8, 0x12d6}, {0x12d8, 0x1310}, {0x1312, 0x1315}, {0x1318, 0x135a}, {0x1380, 0x138f}, - {0x13a0, 0x13f5}, {0x13f8, 0x13fd}, {0x1401, 0x166c}, {0x166f, 0x167f}, {0x1681, 0x169a}, {0x16a0, 0x16ea}, {0x16f1, 0x16f8}, {0x1700, 0x1711}, - {0x171f, 0x1731}, {0x1740, 0x1751}, {0x1760, 0x176c}, {0x176e, 0x1770}, {0x1780, 0x17b3}, {0x17d7, 0x17d7}, {0x17dc, 0x17dc}, {0x1820, 0x1878}, - {0x1880, 0x1884}, {0x1887, 0x18a8}, {0x18aa, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1950, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, - {0x19b0, 0x19c9}, {0x1a00, 0x1a16}, {0x1a20, 0x1a54}, {0x1aa7, 0x1aa7}, {0x1b05, 0x1b33}, {0x1b45, 0x1b4c}, {0x1b83, 0x1ba0}, {0x1bae, 0x1baf}, - {0x1bba, 0x1be5}, {0x1c00, 0x1c23}, {0x1c4d, 0x1c4f}, {0x1c5a, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1ce9, 0x1cec}, - {0x1cee, 0x1cf3}, {0x1cf5, 0x1cf6}, {0x1cfa, 0x1cfa}, {0x1d00, 0x1dbf}, {0x1e00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, - {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, - {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2071, 0x2071}, - {0x207f, 0x207f}, {0x2090, 0x209c}, {0x2102, 0x2102}, {0x2107, 0x2107}, {0x210a, 0x2113}, {0x2115, 0x2115}, {0x2119, 0x211d}, {0x2124, 0x2124}, - {0x2126, 0x2126}, {0x2128, 0x2128}, {0x212a, 0x212d}, {0x212f, 0x2139}, {0x213c, 0x213f}, {0x2145, 0x2149}, {0x214e, 0x214e}, {0x2183, 0x2184}, - {0x2c00, 0x2ce4}, {0x2ceb, 0x2cee}, {0x2cf2, 0x2cf3}, {0x2d00, 0x2d25}, {0x2d27, 0x2d27}, {0x2d2d, 0x2d2d}, {0x2d30, 0x2d67}, {0x2d6f, 0x2d6f}, - {0x2d80, 0x2d96}, {0x2da0, 0x2da6}, {0x2da8, 0x2dae}, {0x2db0, 0x2db6}, {0x2db8, 0x2dbe}, {0x2dc0, 0x2dc6}, {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, - {0x2dd8, 0x2dde}, {0x2e2f, 0x2e2f}, {0x3005, 0x3006}, {0x3031, 0x3035}, {0x303b, 0x303c}, {0x3041, 0x3096}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, - {0x30fc, 0x30ff}, {0x3105, 0x312f}, {0x3131, 0x318e}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3400, 0x3400}, {0x4dbf, 0x4dbf}, {0x4e00, 0x4e00}, - {0x9fff, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa61f}, {0xa62a, 0xa62b}, {0xa640, 0xa66e}, {0xa67f, 0xa69d}, {0xa6a0, 0xa6e5}, - {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7d9}, {0xa7f2, 0xa801}, {0xa803, 0xa805}, - {0xa807, 0xa80a}, {0xa80c, 0xa822}, {0xa840, 0xa873}, {0xa882, 0xa8b3}, {0xa8f2, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa8fe}, {0xa90a, 0xa925}, - {0xa930, 0xa946}, {0xa960, 0xa97c}, {0xa984, 0xa9b2}, {0xa9cf, 0xa9cf}, {0xa9e0, 0xa9e4}, {0xa9e6, 0xa9ef}, {0xa9fa, 0xa9fe}, {0xaa00, 0xaa28}, - {0xaa40, 0xaa42}, {0xaa44, 0xaa4b}, {0xaa60, 0xaa76}, {0xaa7a, 0xaa7a}, {0xaa7e, 0xaaaf}, {0xaab1, 0xaab1}, {0xaab5, 0xaab6}, {0xaab9, 0xaabd}, - {0xaac0, 0xaac0}, {0xaac2, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaea}, {0xaaf2, 0xaaf4}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, - {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabe2}, {0xac00, 0xac00}, {0xd7a3, 0xd7a3}, {0xd7b0, 0xd7c6}, - {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb1d}, {0xfb1f, 0xfb28}, {0xfb2a, 0xfb36}, - {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, - {0xfdf0, 0xfdfb}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {0xff21, 0xff3a}, {0xff41, 0xff5a}, {0xff66, 0xffbe}, {0xffc2, 0xffc7}, {0xffca, 0xffcf}, - {0xffd2, 0xffd7}, {0xffda, 0xffdc}, {0x10000, 0x1000b}, {0x1000d, 0x10026}, {0x10028, 0x1003a}, {0x1003c, 0x1003d}, {0x1003f, 0x1004d}, {0x10050, 0x1005d}, - {0x10080, 0x100fa}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x10300, 0x1031f}, {0x1032d, 0x10340}, {0x10342, 0x10349}, {0x10350, 0x10375}, {0x10380, 0x1039d}, - {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x10400, 0x1049d}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, - {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x10600, 0x10736}, - {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, - {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10860, 0x10876}, {0x10880, 0x1089e}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x10900, 0x10915}, + {'0', '9'}, {'A', 'Z'}, {'a', 'z'}, {0xaa, 0xaa}, {0xb5, 0xb5}, {0xba, 0xba}, {0xc0, 0xd6}, {0xd8, 0xf6}, + {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x370, 0x374}, {0x376, 0x377}, {0x37a, 0x37d}, + {0x37f, 0x37f}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, {0x3a3, 0x3f5}, {0x3f7, 0x481}, {0x48a, 0x52f}, + {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x620, 0x64a}, {0x66e, 0x66f}, {0x671, 0x6d3}, + {0x6d5, 0x6d5}, {0x6e5, 0x6e6}, {0x6ee, 0x6ef}, {0x6fa, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x710}, {0x712, 0x72f}, {0x74d, 0x7a5}, + {0x7b1, 0x7b1}, {0x7ca, 0x7ea}, {0x7f4, 0x7f5}, {0x7fa, 0x7fa}, {0x800, 0x815}, {0x81a, 0x81a}, {0x824, 0x824}, {0x828, 0x828}, + {0x840, 0x858}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x8a0, 0x8c9}, {0x904, 0x939}, {0x93d, 0x93d}, {0x950, 0x950}, + {0x958, 0x961}, {0x971, 0x980}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, + {0x9bd, 0x9bd}, {0x9ce, 0x9ce}, {0x9dc, 0x9dd}, {0x9df, 0x9e1}, {0x9f0, 0x9f1}, {0x9fc, 0x9fc}, {0xa05, 0xa0a}, {0xa0f, 0xa10}, + {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, {0xa59, 0xa5c}, {0xa5e, 0xa5e}, {0xa72, 0xa74}, + {0xa85, 0xa8d}, {0xa8f, 0xa91}, {0xa93, 0xaa8}, {0xaaa, 0xab0}, {0xab2, 0xab3}, {0xab5, 0xab9}, {0xabd, 0xabd}, {0xad0, 0xad0}, + {0xae0, 0xae1}, {0xaf9, 0xaf9}, {0xb05, 0xb0c}, {0xb0f, 0xb10}, {0xb13, 0xb28}, {0xb2a, 0xb30}, {0xb32, 0xb33}, {0xb35, 0xb39}, + {0xb3d, 0xb3d}, {0xb5c, 0xb5d}, {0xb5f, 0xb61}, {0xb71, 0xb71}, {0xb83, 0xb83}, {0xb85, 0xb8a}, {0xb8e, 0xb90}, {0xb92, 0xb95}, + {0xb99, 0xb9a}, {0xb9c, 0xb9c}, {0xb9e, 0xb9f}, {0xba3, 0xba4}, {0xba8, 0xbaa}, {0xbae, 0xbb9}, {0xbd0, 0xbd0}, {0xc05, 0xc0c}, + {0xc0e, 0xc10}, {0xc12, 0xc28}, {0xc2a, 0xc39}, {0xc3d, 0xc3d}, {0xc58, 0xc5a}, {0xc5d, 0xc5d}, {0xc60, 0xc61}, {0xc80, 0xc80}, + {0xc85, 0xc8c}, {0xc8e, 0xc90}, {0xc92, 0xca8}, {0xcaa, 0xcb3}, {0xcb5, 0xcb9}, {0xcbd, 0xcbd}, {0xcdd, 0xcde}, {0xce0, 0xce1}, + {0xcf1, 0xcf2}, {0xd04, 0xd0c}, {0xd0e, 0xd10}, {0xd12, 0xd3a}, {0xd3d, 0xd3d}, {0xd4e, 0xd4e}, {0xd54, 0xd56}, {0xd5f, 0xd61}, + {0xd7a, 0xd7f}, {0xd85, 0xd96}, {0xd9a, 0xdb1}, {0xdb3, 0xdbb}, {0xdbd, 0xdbd}, {0xdc0, 0xdc6}, {0xe01, 0xe30}, {0xe32, 0xe33}, + {0xe40, 0xe46}, {0xe81, 0xe82}, {0xe84, 0xe84}, {0xe86, 0xe8a}, {0xe8c, 0xea3}, {0xea5, 0xea5}, {0xea7, 0xeb0}, {0xeb2, 0xeb3}, + {0xebd, 0xebd}, {0xec0, 0xec4}, {0xec6, 0xec6}, {0xedc, 0xedf}, {0xf00, 0xf00}, {0xf40, 0xf47}, {0xf49, 0xf6c}, {0xf88, 0xf8c}, + {0x1000, 0x102a}, {0x103f, 0x103f}, {0x1050, 0x1055}, {0x105a, 0x105d}, {0x1061, 0x1061}, {0x1065, 0x1066}, {0x106e, 0x1070}, {0x1075, 0x1081}, + {0x108e, 0x108e}, {0x10a0, 0x10c5}, {0x10c7, 0x10c7}, {0x10cd, 0x10cd}, {0x10d0, 0x10fa}, {0x10fc, 0x1248}, {0x124a, 0x124d}, {0x1250, 0x1256}, + {0x1258, 0x1258}, {0x125a, 0x125d}, {0x1260, 0x1288}, {0x128a, 0x128d}, {0x1290, 0x12b0}, {0x12b2, 0x12b5}, {0x12b8, 0x12be}, {0x12c0, 0x12c0}, + {0x12c2, 0x12c5}, {0x12c8, 0x12d6}, {0x12d8, 0x1310}, {0x1312, 0x1315}, {0x1318, 0x135a}, {0x1380, 0x138f}, {0x13a0, 0x13f5}, {0x13f8, 0x13fd}, + {0x1401, 0x166c}, {0x166f, 0x167f}, {0x1681, 0x169a}, {0x16a0, 0x16ea}, {0x16f1, 0x16f8}, {0x1700, 0x1711}, {0x171f, 0x1731}, {0x1740, 0x1751}, + {0x1760, 0x176c}, {0x176e, 0x1770}, {0x1780, 0x17b3}, {0x17d7, 0x17d7}, {0x17dc, 0x17dc}, {0x1820, 0x1878}, {0x1880, 0x1884}, {0x1887, 0x18a8}, + {0x18aa, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1950, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x1a00, 0x1a16}, + {0x1a20, 0x1a54}, {0x1aa7, 0x1aa7}, {0x1b05, 0x1b33}, {0x1b45, 0x1b4c}, {0x1b83, 0x1ba0}, {0x1bae, 0x1baf}, {0x1bba, 0x1be5}, {0x1c00, 0x1c23}, + {0x1c4d, 0x1c4f}, {0x1c5a, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1ce9, 0x1cec}, {0x1cee, 0x1cf3}, {0x1cf5, 0x1cf6}, + {0x1cfa, 0x1cfa}, {0x1d00, 0x1dbf}, {0x1e00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, + {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, + {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2071, 0x2071}, {0x207f, 0x207f}, {0x2090, 0x209c}, + {0x2102, 0x2102}, {0x2107, 0x2107}, {0x210a, 0x2113}, {0x2115, 0x2115}, {0x2119, 0x211d}, {0x2124, 0x2124}, {0x2126, 0x2126}, {0x2128, 0x2128}, + {0x212a, 0x212d}, {0x212f, 0x2139}, {0x213c, 0x213f}, {0x2145, 0x2149}, {0x214e, 0x214e}, {0x2183, 0x2184}, {0x2c00, 0x2ce4}, {0x2ceb, 0x2cee}, + {0x2cf2, 0x2cf3}, {0x2d00, 0x2d25}, {0x2d27, 0x2d27}, {0x2d2d, 0x2d2d}, {0x2d30, 0x2d67}, {0x2d6f, 0x2d6f}, {0x2d80, 0x2d96}, {0x2da0, 0x2da6}, + {0x2da8, 0x2dae}, {0x2db0, 0x2db6}, {0x2db8, 0x2dbe}, {0x2dc0, 0x2dc6}, {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x2e2f, 0x2e2f}, + {0x3005, 0x3006}, {0x3031, 0x3035}, {0x303b, 0x303c}, {0x3041, 0x3096}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, {0x3105, 0x312f}, + {0x3131, 0x318e}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3400, 0x3400}, {0x4dbf, 0x4dbf}, {0x4e00, 0x4e00}, {0x9fff, 0xa48c}, {0xa4d0, 0xa4fd}, + {0xa500, 0xa60c}, {0xa610, 0xa61f}, {0xa62a, 0xa62b}, {0xa640, 0xa66e}, {0xa67f, 0xa69d}, {0xa6a0, 0xa6e5}, {0xa717, 0xa71f}, {0xa722, 0xa788}, + {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7d9}, {0xa7f2, 0xa801}, {0xa803, 0xa805}, {0xa807, 0xa80a}, {0xa80c, 0xa822}, + {0xa840, 0xa873}, {0xa882, 0xa8b3}, {0xa8f2, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa8fe}, {0xa90a, 0xa925}, {0xa930, 0xa946}, {0xa960, 0xa97c}, + {0xa984, 0xa9b2}, {0xa9cf, 0xa9cf}, {0xa9e0, 0xa9e4}, {0xa9e6, 0xa9ef}, {0xa9fa, 0xa9fe}, {0xaa00, 0xaa28}, {0xaa40, 0xaa42}, {0xaa44, 0xaa4b}, + {0xaa60, 0xaa76}, {0xaa7a, 0xaa7a}, {0xaa7e, 0xaaaf}, {0xaab1, 0xaab1}, {0xaab5, 0xaab6}, {0xaab9, 0xaabd}, {0xaac0, 0xaac0}, {0xaac2, 0xaac2}, + {0xaadb, 0xaadd}, {0xaae0, 0xaaea}, {0xaaf2, 0xaaf4}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, {0xab20, 0xab26}, {0xab28, 0xab2e}, + {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabe2}, {0xac00, 0xac00}, {0xd7a3, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, + {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb1d}, {0xfb1f, 0xfb28}, {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, + {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, {0xfe70, 0xfe74}, + {0xfe76, 0xfefc}, {0xff21, 0xff3a}, {0xff41, 0xff5a}, {0xff66, 0xffbe}, {0xffc2, 0xffc7}, {0xffca, 0xffcf}, {0xffd2, 0xffd7}, {0xffda, 0xffdc}, + {0x10000, 0x1000b}, {0x1000d, 0x10026}, {0x10028, 0x1003a}, {0x1003c, 0x1003d}, {0x1003f, 0x1004d}, {0x10050, 0x1005d}, {0x10080, 0x100fa}, {0x10280, 0x1029c}, + {0x102a0, 0x102d0}, {0x10300, 0x1031f}, {0x1032d, 0x10340}, {0x10342, 0x10349}, {0x10350, 0x10375}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, + {0x10400, 0x1049d}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, + {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, + {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, + {0x1083f, 0x10855}, {0x10860, 0x10876}, {0x10880, 0x1089e}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x10900, 0x10915}, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -926,182 +410,212 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(8); + if (eof) ADVANCE(9); ADVANCE_MAP( - 0, 16, - '#', 28, - '(', 9, - ')', 10, - '-', 5, - '.', 11, - ':', 20, - ';', 15, - '<', 4, - '[', 7, + 0, 14, + '#', 30, + '(', 20, + ')', 21, + '-', 6, + '.', 23, + ':', 17, + ';', 13, + '<', 5, + '[', 8, ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(0); - if (set_contains(sym__ident_base_character_set_1, 432, lookahead)) ADVANCE(27); + if (set_contains(sym__ident_base_character_set_1, 430, lookahead)) ADVANCE(29); END_STATE(); case 1: ADVANCE_MAP( - 0, 16, - '\n', 12, - '#', 28, - ')', 10, - '-', 5, - '.', 11, - ':', 20, - ';', 15, - '<', 4, - '[', 7, + 0, 14, + '\n', 10, + '#', 30, + '-', 26, + '.', 23, + ':', 17, + ';', 13, + '<', 5, + '\'', 28, + '_', 28, ); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') SKIP(1); + lookahead == ' ') ADVANCE(24); END_STATE(); case 2: ADVANCE_MAP( - 0, 16, - '\n', 13, - '#', 28, - ')', 10, - '-', 25, - '.', 11, - ':', 20, - ';', 15, - '<', 4, - '[', 7, + 0, 14, + '\n', 11, + '#', 30, + '-', 6, + '.', 23, + ':', 17, + ';', 13, + '<', 5, ); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(23); + lookahead == ' ') SKIP(2); END_STATE(); case 3: - if ((!eof && lookahead == 00)) ADVANCE(16); - if (lookahead == '\n') ADVANCE(14); - if (lookahead == '#') ADVANCE(28); - if (lookahead == '-') ADVANCE(26); - if (lookahead == '.') ADVANCE(11); - if (lookahead == ':') ADVANCE(20); - if (lookahead == ';') ADVANCE(15); + ADVANCE_MAP( + 0, 14, + '\n', 12, + '#', 30, + '.', 23, + ':', 17, + ';', 13, + '\'', 28, + '-', 28, + '_', 28, + ); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(24); + lookahead == ' ') ADVANCE(25); END_STATE(); case 4: - if (lookahead == '-') ADVANCE(18); + if (lookahead == '#') ADVANCE(30); + if (lookahead == ')') ADVANCE(21); + if (lookahead == '-') ADVANCE(26); + if (lookahead == '.') ADVANCE(23); + if (lookahead == '<') ADVANCE(5); + if (lookahead == '\'' || + lookahead == '_') ADVANCE(28); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(27); END_STATE(); case 5: - if (lookahead == '-') ADVANCE(18); - if (lookahead == '>') ADVANCE(17); + if (lookahead == '-') ADVANCE(16); END_STATE(); case 6: - if (lookahead == ']') ADVANCE(19); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(6); + if (lookahead == '-') ADVANCE(16); + if (lookahead == '>') ADVANCE(15); END_STATE(); case 7: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(6); + if (lookahead == ']') ADVANCE(22); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(7); END_STATE(); case 8: - ACCEPT_TOKEN(ts_builtin_sym_end); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(7); END_STATE(); case 9: - ACCEPT_TOKEN(anon_sym_LPAREN); + ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); case 10: - ACCEPT_TOKEN(anon_sym_RPAREN); + ACCEPT_TOKEN(aux_sym_declaration_token1); + if (lookahead == '\n') ADVANCE(10); + if (lookahead == '-') ADVANCE(26); + if (lookahead == '<') ADVANCE(5); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(24); END_STATE(); case 11: - ACCEPT_TOKEN(anon_sym_DOT); + ACCEPT_TOKEN(aux_sym_declaration_token1); + if (lookahead == '\n') ADVANCE(11); + if (lookahead == '-') ADVANCE(6); + if (lookahead == '<') ADVANCE(5); END_STATE(); case 12: ACCEPT_TOKEN(aux_sym_declaration_token1); if (lookahead == '\n') ADVANCE(12); - if (lookahead == '-') ADVANCE(5); - if (lookahead == '<') ADVANCE(4); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(25); END_STATE(); case 13: - ACCEPT_TOKEN(aux_sym_declaration_token1); - if (lookahead == '\n') ADVANCE(13); - if (lookahead == '-') ADVANCE(25); - if (lookahead == '<') ADVANCE(4); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(23); + ACCEPT_TOKEN(anon_sym_SEMI); END_STATE(); case 14: - ACCEPT_TOKEN(aux_sym_declaration_token1); - if (lookahead == '\n') ADVANCE(14); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(24); + ACCEPT_TOKEN(anon_sym_NULL); END_STATE(); case 15: - ACCEPT_TOKEN(anon_sym_SEMI); + ACCEPT_TOKEN(sym_connection); END_STATE(); case 16: - ACCEPT_TOKEN(anon_sym_NULL); + ACCEPT_TOKEN(sym_connection); + if (lookahead == '-') ADVANCE(16); + if (lookahead == '>') ADVANCE(15); END_STATE(); case 17: - ACCEPT_TOKEN(sym_connection); + ACCEPT_TOKEN(anon_sym_COLON); END_STATE(); case 18: - ACCEPT_TOKEN(sym_connection); - if (lookahead == '-') ADVANCE(18); - if (lookahead == '>') ADVANCE(17); + ACCEPT_TOKEN(aux_sym_label_token1); + if (lookahead == '#') ADVANCE(19); + if (lookahead == '\t' || + (0x0b <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(18); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead)) ADVANCE(19); END_STATE(); case 19: - ACCEPT_TOKEN(sym_connection_identifier); + ACCEPT_TOKEN(aux_sym_label_token1); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(19); END_STATE(); case 20: - ACCEPT_TOKEN(anon_sym_COLON); + ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); case 21: - ACCEPT_TOKEN(aux_sym_label_token1); - if (lookahead == '#') ADVANCE(22); - if (lookahead == '\t' || - (0x0b <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(21); - if (lookahead != 0 && - (lookahead < '\t' || '\r' < lookahead)) ADVANCE(22); + ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); case 22: - ACCEPT_TOKEN(aux_sym_label_token1); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(22); + ACCEPT_TOKEN(sym_connection_identifier); END_STATE(); case 23: - ACCEPT_TOKEN(aux_sym__ident_token1); - if (lookahead == '\n') ADVANCE(13); - if (lookahead == '-') ADVANCE(25); - if (lookahead == '<') ADVANCE(4); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(23); + ACCEPT_TOKEN(anon_sym_DOT); END_STATE(); case 24: ACCEPT_TOKEN(aux_sym__ident_token1); - if (lookahead == '\n') ADVANCE(14); + if (lookahead == '\n') ADVANCE(10); if (lookahead == '-') ADVANCE(26); + if (lookahead == '<') ADVANCE(5); + if (lookahead == '\'' || + lookahead == '_') ADVANCE(28); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') ADVANCE(24); END_STATE(); case 25: ACCEPT_TOKEN(aux_sym__ident_token1); - if (lookahead == '-') ADVANCE(18); - if (lookahead == '>') ADVANCE(17); + if (lookahead == '\n') ADVANCE(12); + if (lookahead == '\'' || + lookahead == '-' || + lookahead == '_') ADVANCE(28); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(26); + lookahead == ' ') ADVANCE(25); END_STATE(); case 26: ACCEPT_TOKEN(aux_sym__ident_token1); + if (lookahead == '-') ADVANCE(16); + if (lookahead == '>') ADVANCE(15); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ' || - lookahead == '-') ADVANCE(26); + lookahead == '\'' || + lookahead == '_') ADVANCE(28); END_STATE(); case 27: - ACCEPT_TOKEN(sym__ident_base); - if (set_contains(sym__ident_base_character_set_1, 432, lookahead)) ADVANCE(27); + ACCEPT_TOKEN(aux_sym__ident_token1); + if (lookahead == '-') ADVANCE(26); + if (lookahead == '<') ADVANCE(5); + if (lookahead == '\'' || + lookahead == '_') ADVANCE(28); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(27); END_STATE(); case 28: + ACCEPT_TOKEN(aux_sym__ident_token1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ' || + lookahead == '\'' || + lookahead == '-' || + lookahead == '_') ADVANCE(28); + END_STATE(); + case 29: + ACCEPT_TOKEN(sym__ident_base); + if (set_contains(sym__ident_base_character_set_1, 430, lookahead)) ADVANCE(29); + END_STATE(); + case 30: ACCEPT_TOKEN(sym_comment); if (lookahead != 0 && - lookahead != '\n') ADVANCE(28); + lookahead != '\n') ADVANCE(30); END_STATE(); default: return false; @@ -1111,2990 +625,765 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, [1] = {.lex_state = 0}, - [2] = {.lex_state = 1}, - [3] = {.lex_state = 1}, + [2] = {.lex_state = 0}, + [3] = {.lex_state = 0}, [4] = {.lex_state = 1}, [5] = {.lex_state = 1}, - [6] = {.lex_state = 2}, + [6] = {.lex_state = 1}, [7] = {.lex_state = 2}, [8] = {.lex_state = 2}, - [9] = {.lex_state = 1}, - [10] = {.lex_state = 1}, + [9] = {.lex_state = 2}, + [10] = {.lex_state = 3}, [11] = {.lex_state = 1}, - [12] = {.lex_state = 1}, - [13] = {.lex_state = 2}, - [14] = {.lex_state = 1}, - [15] = {.lex_state = 1}, - [16] = {.lex_state = 1}, - [17] = {.lex_state = 1}, - [18] = {.lex_state = 1}, - [19] = {.lex_state = 1}, - [20] = {.lex_state = 1}, - [21] = {.lex_state = 1}, - [22] = {.lex_state = 1}, - [23] = {.lex_state = 1}, - [24] = {.lex_state = 1}, - [25] = {.lex_state = 1}, - [26] = {.lex_state = 1}, - [27] = {.lex_state = 1}, - [28] = {.lex_state = 1}, - [29] = {.lex_state = 1}, - [30] = {.lex_state = 1}, - [31] = {.lex_state = 1}, - [32] = {.lex_state = 1}, - [33] = {.lex_state = 1}, - [34] = {.lex_state = 1}, - [35] = {.lex_state = 1}, - [36] = {.lex_state = 1}, - [37] = {.lex_state = 1}, - [38] = {.lex_state = 1}, - [39] = {.lex_state = 1}, - [40] = {.lex_state = 1}, + [12] = {.lex_state = 2}, + [13] = {.lex_state = 3}, + [14] = {.lex_state = 3}, + [15] = {.lex_state = 2}, + [16] = {.lex_state = 2}, + [17] = {.lex_state = 2}, + [18] = {.lex_state = 3}, + [19] = {.lex_state = 2}, + [20] = {.lex_state = 2}, + [21] = {.lex_state = 2}, + [22] = {.lex_state = 2}, + [23] = {.lex_state = 2}, + [24] = {.lex_state = 2}, + [25] = {.lex_state = 2}, + [26] = {.lex_state = 2}, + [27] = {.lex_state = 2}, + [28] = {.lex_state = 4}, + [29] = {.lex_state = 4}, + [30] = {.lex_state = 4}, + [31] = {.lex_state = 2}, + [32] = {.lex_state = 2}, + [33] = {.lex_state = 4}, + [34] = {.lex_state = 0}, + [35] = {.lex_state = 0}, + [36] = {.lex_state = 0}, + [37] = {.lex_state = 0}, + [38] = {.lex_state = 2}, + [39] = {.lex_state = 0}, + [40] = {.lex_state = 0}, [41] = {.lex_state = 0}, - [42] = {.lex_state = 3}, - [43] = {.lex_state = 3}, - [44] = {.lex_state = 3}, + [42] = {.lex_state = 0}, + [43] = {.lex_state = 0}, + [44] = {.lex_state = 0}, [45] = {.lex_state = 0}, - [46] = {.lex_state = 1}, - [47] = {.lex_state = 1}, - [48] = {.lex_state = 1}, - [49] = {.lex_state = 1}, - [50] = {.lex_state = 1}, - [51] = {.lex_state = 1}, - [52] = {.lex_state = 1}, - [53] = {.lex_state = 1}, - [54] = {.lex_state = 1}, - [55] = {.lex_state = 1}, - [56] = {.lex_state = 1}, - [57] = {.lex_state = 1}, - [58] = {.lex_state = 1}, - [59] = {.lex_state = 1}, - [60] = {.lex_state = 1}, - [61] = {.lex_state = 1}, - [62] = {.lex_state = 1}, - [63] = {.lex_state = 1}, - [64] = {.lex_state = 1}, - [65] = {.lex_state = 1}, - [66] = {.lex_state = 1}, - [67] = {.lex_state = 1}, - [68] = {.lex_state = 1}, - [69] = {.lex_state = 1}, - [70] = {.lex_state = 1}, - [71] = {.lex_state = 1}, - [72] = {.lex_state = 1}, - [73] = {.lex_state = 1}, - [74] = {.lex_state = 1}, - [75] = {.lex_state = 1}, - [76] = {.lex_state = 1}, - [77] = {.lex_state = 1}, - [78] = {.lex_state = 1}, - [79] = {.lex_state = 1}, - [80] = {.lex_state = 3}, - [81] = {.lex_state = 1}, - [82] = {.lex_state = 1}, - [83] = {.lex_state = 1}, - [84] = {.lex_state = 1}, - [85] = {.lex_state = 0}, - [86] = {.lex_state = 0}, - [87] = {.lex_state = 0}, - [88] = {.lex_state = 0}, - [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}, - [97] = {.lex_state = 0}, - [98] = {.lex_state = 0}, - [99] = {.lex_state = 0}, - [100] = {.lex_state = 0}, - [101] = {.lex_state = 0}, - [102] = {.lex_state = 0}, - [103] = {.lex_state = 0}, - [104] = {.lex_state = 0}, - [105] = {.lex_state = 0}, - [106] = {.lex_state = 0}, - [107] = {.lex_state = 0}, - [108] = {.lex_state = 0}, - [109] = {.lex_state = 0}, - [110] = {.lex_state = 0}, - [111] = {.lex_state = 0}, - [112] = {.lex_state = 0}, - [113] = {.lex_state = 0}, - [114] = {.lex_state = 0}, - [115] = {.lex_state = 0}, - [116] = {.lex_state = 0}, - [117] = {.lex_state = 0}, - [118] = {.lex_state = 0}, - [119] = {.lex_state = 0}, - [120] = {.lex_state = 0}, - [121] = {.lex_state = 0}, - [122] = {.lex_state = 0}, - [123] = {.lex_state = 0}, - [124] = {.lex_state = 0}, - [125] = {.lex_state = 0}, - [126] = {.lex_state = 0}, - [127] = {.lex_state = 0}, - [128] = {.lex_state = 0}, - [129] = {.lex_state = 0}, - [130] = {.lex_state = 0}, - [131] = {.lex_state = 0}, - [132] = {.lex_state = 0}, - [133] = {.lex_state = 0}, - [134] = {.lex_state = 0}, - [135] = {.lex_state = 0}, - [136] = {.lex_state = 0}, - [137] = {.lex_state = 0}, - [138] = {.lex_state = 0}, - [139] = {.lex_state = 0}, - [140] = {.lex_state = 0}, - [141] = {.lex_state = 0}, - [142] = {.lex_state = 0}, - [143] = {.lex_state = 0}, - [144] = {.lex_state = 0}, - [145] = {.lex_state = 0}, - [146] = {.lex_state = 0}, - [147] = {.lex_state = 0}, - [148] = {.lex_state = 0}, - [149] = {.lex_state = 0}, - [150] = {.lex_state = 0}, - [151] = {.lex_state = 0}, - [152] = {.lex_state = 0}, - [153] = {.lex_state = 0}, - [154] = {.lex_state = 0}, - [155] = {.lex_state = 0}, - [156] = {.lex_state = 0}, - [157] = {.lex_state = 0}, - [158] = {.lex_state = 0}, - [159] = {.lex_state = 0}, - [160] = {.lex_state = 0}, - [161] = {.lex_state = 0}, - [162] = {.lex_state = 0}, - [163] = {.lex_state = 0}, - [164] = {.lex_state = 0}, - [165] = {.lex_state = 0}, - [166] = {.lex_state = 0}, - [167] = {.lex_state = 0}, - [168] = {.lex_state = 0}, - [169] = {.lex_state = 0}, - [170] = {.lex_state = 0}, - [171] = {.lex_state = 0}, - [172] = {.lex_state = 0}, - [173] = {.lex_state = 0}, - [174] = {.lex_state = 0}, - [175] = {.lex_state = 0}, - [176] = {.lex_state = 0}, - [177] = {.lex_state = 0}, - [178] = {.lex_state = 0}, - [179] = {.lex_state = 0}, - [180] = {.lex_state = 0}, - [181] = {.lex_state = 0}, - [182] = {.lex_state = 0}, - [183] = {.lex_state = 0}, - [184] = {.lex_state = 0}, - [185] = {.lex_state = 0}, - [186] = {.lex_state = 0}, - [187] = {.lex_state = 0}, - [188] = {.lex_state = 0}, - [189] = {.lex_state = 0}, - [190] = {.lex_state = 0}, - [191] = {.lex_state = 0}, - [192] = {.lex_state = 0}, - [193] = {.lex_state = 0}, - [194] = {.lex_state = 0}, - [195] = {.lex_state = 0}, - [196] = {.lex_state = 0}, - [197] = {.lex_state = 0}, - [198] = {.lex_state = 0}, - [199] = {.lex_state = 0}, - [200] = {.lex_state = 0}, - [201] = {.lex_state = 0}, - [202] = {.lex_state = 0}, - [203] = {.lex_state = 0}, - [204] = {.lex_state = 0}, - [205] = {.lex_state = 0}, - [206] = {.lex_state = 0}, - [207] = {.lex_state = 0}, - [208] = {.lex_state = 0}, - [209] = {.lex_state = 0}, - [210] = {.lex_state = 0}, - [211] = {.lex_state = 0}, - [212] = {.lex_state = 0}, - [213] = {.lex_state = 0}, - [214] = {.lex_state = 0}, - [215] = {.lex_state = 0}, - [216] = {.lex_state = 0}, - [217] = {.lex_state = 0}, - [218] = {.lex_state = 0}, - [219] = {.lex_state = 0}, - [220] = {.lex_state = 0}, - [221] = {.lex_state = 0}, - [222] = {.lex_state = 0}, - [223] = {.lex_state = 0}, - [224] = {.lex_state = 0}, - [225] = {.lex_state = 0}, - [226] = {.lex_state = 0}, - [227] = {.lex_state = 0}, - [228] = {.lex_state = 0}, - [229] = {.lex_state = 0}, - [230] = {.lex_state = 0}, - [231] = {.lex_state = 0}, - [232] = {.lex_state = 0}, - [233] = {.lex_state = 0}, - [234] = {.lex_state = 0}, - [235] = {.lex_state = 0}, - [236] = {.lex_state = 0}, - [237] = {.lex_state = 0}, - [238] = {.lex_state = 0}, - [239] = {.lex_state = 0}, - [240] = {.lex_state = 0}, - [241] = {.lex_state = 0}, - [242] = {.lex_state = 0}, - [243] = {.lex_state = 0}, - [244] = {.lex_state = 0}, - [245] = {.lex_state = 0}, - [246] = {.lex_state = 0}, - [247] = {.lex_state = 0}, - [248] = {.lex_state = 0}, - [249] = {.lex_state = 0}, - [250] = {.lex_state = 0}, - [251] = {.lex_state = 0}, - [252] = {.lex_state = 0}, - [253] = {.lex_state = 0}, - [254] = {.lex_state = 0}, - [255] = {.lex_state = 0}, - [256] = {.lex_state = 0}, - [257] = {.lex_state = 0}, - [258] = {.lex_state = 0}, - [259] = {.lex_state = 0}, - [260] = {.lex_state = 0}, - [261] = {.lex_state = 0}, - [262] = {.lex_state = 0}, - [263] = {.lex_state = 0}, - [264] = {.lex_state = 21}, - [265] = {.lex_state = 0}, - [266] = {.lex_state = 0}, - [267] = {.lex_state = 0}, + [46] = {.lex_state = 0}, + [47] = {.lex_state = 0}, + [48] = {.lex_state = 0}, + [49] = {.lex_state = 0}, + [50] = {.lex_state = 0}, + [51] = {.lex_state = 0}, + [52] = {.lex_state = 0}, + [53] = {.lex_state = 0}, + [54] = {.lex_state = 0}, + [55] = {.lex_state = 18}, + [56] = {.lex_state = 0}, + [57] = {.lex_state = 0}, + [58] = {.lex_state = 0}, + [59] = {.lex_state = 0}, + [60] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [0] = { [ts_builtin_sym_end] = ACTIONS(1), - [anon_sym_LPAREN] = ACTIONS(1), - [anon_sym_RPAREN] = ACTIONS(1), - [anon_sym_DOT] = ACTIONS(1), [anon_sym_SEMI] = ACTIONS(1), [anon_sym_NULL] = ACTIONS(1), [sym_connection] = ACTIONS(1), - [sym_connection_identifier] = ACTIONS(1), [anon_sym_COLON] = ACTIONS(1), + [anon_sym_LPAREN] = ACTIONS(1), + [anon_sym_RPAREN] = ACTIONS(1), + [sym_connection_identifier] = ACTIONS(1), + [anon_sym_DOT] = ACTIONS(1), [sym__ident_base] = ACTIONS(1), [sym_comment] = ACTIONS(3), }, [1] = { - [sym_source_file] = STATE(266), - [sym_declaration] = STATE(45), - [sym_identifier] = STATE(2), - [sym__ident] = STATE(20), - [aux_sym_source_file_repeat1] = STATE(45), + [sym_source_file] = STATE(59), + [sym_declaration] = STATE(3), + [sym_expr] = STATE(15), + [sym_connection_refference] = STATE(15), + [sym_identifier] = STATE(20), + [sym__ident] = STATE(9), + [aux_sym_source_file_repeat1] = STATE(3), [ts_builtin_sym_end] = ACTIONS(5), [anon_sym_LPAREN] = ACTIONS(7), [sym__ident_base] = ACTIONS(9), [sym_comment] = ACTIONS(11), }, - [2] = { - [sym_label] = STATE(84), - [aux_sym_declaration_repeat1] = STATE(5), - [aux_sym_declaration_repeat2] = STATE(21), - [aux_sym_declaration_repeat3] = STATE(69), - [anon_sym_RPAREN] = ACTIONS(13), - [anon_sym_DOT] = ACTIONS(15), - [aux_sym_declaration_token1] = ACTIONS(17), - [anon_sym_SEMI] = ACTIONS(17), - [anon_sym_NULL] = ACTIONS(17), - [sym_connection] = ACTIONS(19), - [sym_connection_identifier] = ACTIONS(21), - [anon_sym_COLON] = ACTIONS(23), - [sym_comment] = ACTIONS(25), - }, - [3] = { - [sym_label] = STATE(84), - [aux_sym_declaration_repeat1] = STATE(4), - [aux_sym_declaration_repeat2] = STATE(26), - [aux_sym_declaration_repeat3] = STATE(46), - [anon_sym_RPAREN] = ACTIONS(27), - [anon_sym_DOT] = ACTIONS(15), - [aux_sym_declaration_token1] = ACTIONS(29), - [anon_sym_SEMI] = ACTIONS(29), - [anon_sym_NULL] = ACTIONS(29), - [sym_connection] = ACTIONS(19), - [sym_connection_identifier] = ACTIONS(31), - [anon_sym_COLON] = ACTIONS(23), - [sym_comment] = ACTIONS(25), - }, - [4] = { - [sym_label] = STATE(84), - [aux_sym_declaration_repeat1] = STATE(12), - [aux_sym_declaration_repeat2] = STATE(39), - [aux_sym_declaration_repeat3] = STATE(71), - [anon_sym_RPAREN] = ACTIONS(33), - [anon_sym_DOT] = ACTIONS(15), - [aux_sym_declaration_token1] = ACTIONS(35), - [anon_sym_SEMI] = ACTIONS(37), - [anon_sym_NULL] = ACTIONS(39), - [sym_connection] = ACTIONS(19), - [sym_connection_identifier] = ACTIONS(41), - [anon_sym_COLON] = ACTIONS(23), - [sym_comment] = ACTIONS(25), - }, - [5] = { - [sym_label] = STATE(84), - [aux_sym_declaration_repeat1] = STATE(12), - [aux_sym_declaration_repeat2] = STATE(35), - [aux_sym_declaration_repeat3] = STATE(48), - [anon_sym_RPAREN] = ACTIONS(43), - [anon_sym_DOT] = ACTIONS(15), - [aux_sym_declaration_token1] = ACTIONS(45), - [anon_sym_SEMI] = ACTIONS(47), - [anon_sym_NULL] = ACTIONS(49), - [sym_connection] = ACTIONS(19), - [sym_connection_identifier] = ACTIONS(51), - [anon_sym_COLON] = ACTIONS(23), - [sym_comment] = ACTIONS(25), - }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 4, - ACTIONS(25), 1, + [0] = 8, + ACTIONS(13), 1, + ts_builtin_sym_end, + ACTIONS(15), 1, + anon_sym_LPAREN, + ACTIONS(18), 1, + sym__ident_base, + ACTIONS(21), 1, sym_comment, - ACTIONS(55), 1, - aux_sym__ident_token1, - STATE(8), 1, - aux_sym__ident_repeat1, - ACTIONS(53), 8, - anon_sym_RPAREN, - anon_sym_DOT, - aux_sym_declaration_token1, - anon_sym_SEMI, - anon_sym_NULL, - sym_connection, - sym_connection_identifier, - anon_sym_COLON, - [20] = 4, - ACTIONS(25), 1, + STATE(9), 1, + sym__ident, + STATE(20), 1, + sym_identifier, + STATE(2), 2, + sym_declaration, + aux_sym_source_file_repeat1, + STATE(15), 2, + sym_expr, + sym_connection_refference, + [27] = 8, + ACTIONS(7), 1, + anon_sym_LPAREN, + ACTIONS(9), 1, + sym__ident_base, + ACTIONS(24), 1, + ts_builtin_sym_end, + ACTIONS(26), 1, sym_comment, - ACTIONS(59), 1, + STATE(9), 1, + sym__ident, + STATE(20), 1, + sym_identifier, + STATE(2), 2, + sym_declaration, + aux_sym_source_file_repeat1, + STATE(15), 2, + sym_expr, + sym_connection_refference, + [54] = 4, + ACTIONS(30), 1, aux_sym__ident_token1, - STATE(7), 1, + ACTIONS(32), 1, + sym_comment, + STATE(5), 1, aux_sym__ident_repeat1, - ACTIONS(57), 8, - anon_sym_RPAREN, - anon_sym_DOT, + ACTIONS(28), 6, aux_sym_declaration_token1, anon_sym_SEMI, anon_sym_NULL, sym_connection, - sym_connection_identifier, anon_sym_COLON, - [40] = 4, - ACTIONS(25), 1, + anon_sym_DOT, + [72] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(55), 1, + ACTIONS(36), 1, aux_sym__ident_token1, - STATE(7), 1, + STATE(5), 1, aux_sym__ident_repeat1, - ACTIONS(62), 8, - anon_sym_RPAREN, - anon_sym_DOT, + ACTIONS(34), 6, aux_sym_declaration_token1, anon_sym_SEMI, anon_sym_NULL, sym_connection, - sym_connection_identifier, anon_sym_COLON, - [60] = 10, - ACTIONS(15), 1, anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, + [90] = 4, + ACTIONS(30), 1, + aux_sym__ident_token1, + ACTIONS(32), 1, sym_comment, - ACTIONS(64), 1, + STATE(4), 1, + aux_sym__ident_repeat1, + ACTIONS(39), 6, aux_sym_declaration_token1, - ACTIONS(66), 1, anon_sym_SEMI, - ACTIONS(68), 1, anon_sym_NULL, - ACTIONS(70), 1, - sym_connection_identifier, - STATE(23), 1, - aux_sym_declaration_repeat2, - STATE(58), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [91] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, + sym_connection, anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(72), 1, - aux_sym_declaration_token1, - ACTIONS(76), 1, - sym_connection_identifier, - STATE(27), 1, - aux_sym_declaration_repeat2, - STATE(61), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - ACTIONS(74), 2, - anon_sym_SEMI, - anon_sym_NULL, - [120] = 9, - ACTIONS(15), 1, anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(78), 1, - aux_sym_declaration_token1, - ACTIONS(82), 1, - sym_connection_identifier, - STATE(32), 1, - aux_sym_declaration_repeat2, - STATE(59), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - ACTIONS(80), 2, - anon_sym_SEMI, - anon_sym_NULL, - [149] = 4, - ACTIONS(25), 1, + [108] = 3, + ACTIONS(32), 1, sym_comment, - ACTIONS(86), 1, - sym_connection, STATE(12), 1, - aux_sym_declaration_repeat1, - ACTIONS(84), 7, - anon_sym_RPAREN, - anon_sym_DOT, + aux_sym__fields, + ACTIONS(41), 6, aux_sym_declaration_token1, anon_sym_SEMI, anon_sym_NULL, - sym_connection_identifier, + sym_connection, anon_sym_COLON, - [168] = 2, - ACTIONS(25), 1, + anon_sym_DOT, + [123] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(57), 9, - anon_sym_RPAREN, + ACTIONS(45), 1, anon_sym_DOT, + STATE(8), 1, + aux_sym__fields, + ACTIONS(43), 5, aux_sym_declaration_token1, anon_sym_SEMI, anon_sym_NULL, sym_connection, - sym_connection_identifier, - anon_sym_COLON, - aux_sym__ident_token1, - [183] = 10, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [140] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(89), 1, - aux_sym_declaration_token1, - ACTIONS(91), 1, - anon_sym_SEMI, - ACTIONS(93), 1, - anon_sym_NULL, - ACTIONS(95), 1, - sym_connection_identifier, - STATE(16), 1, - aux_sym_declaration_repeat2, - STATE(73), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [214] = 8, - ACTIONS(15), 1, + ACTIONS(48), 1, anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(97), 1, + STATE(12), 1, + aux_sym__fields, + ACTIONS(41), 5, aux_sym_declaration_token1, - STATE(22), 1, - aux_sym_declaration_repeat2, - STATE(74), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - ACTIONS(99), 2, anon_sym_SEMI, anon_sym_NULL, - [240] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, + sym_connection, anon_sym_COLON, - ACTIONS(25), 1, + [157] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(101), 1, + ACTIONS(50), 1, + aux_sym__ident_token1, + STATE(10), 1, + aux_sym__ident_repeat1, + ACTIONS(34), 5, aux_sym_declaration_token1, - ACTIONS(103), 1, anon_sym_SEMI, - ACTIONS(105), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(56), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [268] = 8, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + anon_sym_DOT, + [174] = 2, + ACTIONS(32), 1, sym_comment, - ACTIONS(107), 1, + ACTIONS(34), 7, aux_sym_declaration_token1, - STATE(38), 1, - aux_sym_declaration_repeat2, - STATE(64), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - ACTIONS(109), 2, anon_sym_SEMI, anon_sym_NULL, - [294] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, + sym_connection, anon_sym_COLON, - ACTIONS(25), 1, + anon_sym_DOT, + aux_sym__ident_token1, + [187] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(111), 1, + ACTIONS(48), 1, + anon_sym_DOT, + STATE(8), 1, + aux_sym__fields, + ACTIONS(53), 5, aux_sym_declaration_token1, - ACTIONS(113), 1, anon_sym_SEMI, - ACTIONS(115), 1, anon_sym_NULL, - STATE(34), 1, - aux_sym_declaration_repeat2, - STATE(49), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [322] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, + sym_connection, anon_sym_COLON, - ACTIONS(25), 1, + [204] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(117), 1, + ACTIONS(55), 1, + aux_sym__ident_token1, + STATE(10), 1, + aux_sym__ident_repeat1, + ACTIONS(28), 5, aux_sym_declaration_token1, - ACTIONS(119), 1, anon_sym_SEMI, - ACTIONS(121), 1, anon_sym_NULL, - STATE(37), 1, - aux_sym_declaration_repeat2, - STATE(60), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [350] = 2, - ACTIONS(25), 1, - sym_comment, - ACTIONS(123), 8, - anon_sym_RPAREN, + anon_sym_COLON, anon_sym_DOT, + [221] = 4, + ACTIONS(32), 1, + sym_comment, + ACTIONS(55), 1, + aux_sym__ident_token1, + STATE(13), 1, + aux_sym__ident_repeat1, + ACTIONS(39), 5, aux_sym_declaration_token1, anon_sym_SEMI, anon_sym_NULL, - sym_connection, - sym_connection_identifier, anon_sym_COLON, - [364] = 9, - ACTIONS(15), 1, anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, + [238] = 6, + ACTIONS(32), 1, sym_comment, - ACTIONS(125), 1, + ACTIONS(57), 1, aux_sym_declaration_token1, - ACTIONS(127), 1, + ACTIONS(61), 1, + anon_sym_COLON, + STATE(16), 1, + aux_sym_declaration_repeat1, + STATE(32), 1, + sym_label, + ACTIONS(59), 2, anon_sym_SEMI, - ACTIONS(129), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(53), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [392] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, + [258] = 7, + ACTIONS(32), 1, sym_comment, - ACTIONS(131), 1, + ACTIONS(61), 1, + anon_sym_COLON, + ACTIONS(63), 1, aux_sym_declaration_token1, - ACTIONS(133), 1, + ACTIONS(65), 1, anon_sym_SEMI, - ACTIONS(135), 1, + ACTIONS(67), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(76), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, + STATE(25), 1, + aux_sym_declaration_repeat1, + STATE(32), 1, sym_label, - [420] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, + [280] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(137), 1, + ACTIONS(71), 1, + sym_connection, + STATE(26), 1, + aux_sym_expr_repeat1, + ACTIONS(69), 4, aux_sym_declaration_token1, - ACTIONS(139), 1, anon_sym_SEMI, - ACTIONS(141), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(63), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [448] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [296] = 2, + ACTIONS(32), 1, sym_comment, - ACTIONS(143), 1, + ACTIONS(34), 6, aux_sym_declaration_token1, - ACTIONS(145), 1, anon_sym_SEMI, - ACTIONS(147), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(78), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [476] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + anon_sym_DOT, + aux_sym__ident_token1, + [308] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(149), 1, + ACTIONS(73), 1, aux_sym_declaration_token1, - ACTIONS(151), 1, + STATE(21), 1, + aux_sym__fields, + ACTIONS(41), 4, anon_sym_SEMI, - ACTIONS(153), 1, anon_sym_NULL, - STATE(51), 1, - aux_sym_declaration_repeat3, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(84), 1, - sym_label, - [504] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + anon_sym_DOT, + [324] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(155), 1, + ACTIONS(71), 1, + sym_connection, + STATE(17), 1, + aux_sym_expr_repeat1, + ACTIONS(75), 4, aux_sym_declaration_token1, - ACTIONS(157), 1, anon_sym_SEMI, - ACTIONS(159), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(75), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [532] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [340] = 5, + ACTIONS(32), 1, sym_comment, - ACTIONS(161), 1, + ACTIONS(77), 1, aux_sym_declaration_token1, - ACTIONS(163), 1, + ACTIONS(79), 1, + anon_sym_DOT, + STATE(22), 1, + aux_sym__fields, + ACTIONS(53), 3, anon_sym_SEMI, - ACTIONS(165), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(67), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [560] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [358] = 5, + ACTIONS(32), 1, sym_comment, - ACTIONS(167), 1, + ACTIONS(81), 1, aux_sym_declaration_token1, - ACTIONS(169), 1, + ACTIONS(83), 1, + anon_sym_DOT, + STATE(22), 1, + aux_sym__fields, + ACTIONS(43), 3, anon_sym_SEMI, - ACTIONS(171), 1, anon_sym_NULL, - STATE(33), 1, - aux_sym_declaration_repeat2, - STATE(55), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [588] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [376] = 5, + ACTIONS(32), 1, sym_comment, - ACTIONS(173), 1, + ACTIONS(79), 1, + anon_sym_DOT, + ACTIONS(86), 1, aux_sym_declaration_token1, - ACTIONS(175), 1, + STATE(22), 1, + aux_sym__fields, + ACTIONS(88), 3, anon_sym_SEMI, - ACTIONS(177), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(65), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [616] = 8, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [394] = 5, + ACTIONS(32), 1, sym_comment, - ACTIONS(179), 1, + ACTIONS(79), 1, + anon_sym_DOT, + ACTIONS(90), 1, aux_sym_declaration_token1, - STATE(29), 1, - aux_sym_declaration_repeat2, - STATE(50), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - ACTIONS(181), 2, + STATE(23), 1, + aux_sym__fields, + ACTIONS(92), 3, anon_sym_SEMI, anon_sym_NULL, - [642] = 8, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [412] = 6, + ACTIONS(32), 1, sym_comment, - ACTIONS(183), 1, + ACTIONS(94), 1, aux_sym_declaration_token1, + ACTIONS(98), 1, + anon_sym_COLON, STATE(25), 1, - aux_sym_declaration_repeat2, - STATE(79), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, + aux_sym_declaration_repeat1, + STATE(32), 1, sym_label, - ACTIONS(185), 2, + ACTIONS(96), 2, anon_sym_SEMI, anon_sym_NULL, - [668] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, + [432] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(187), 1, + ACTIONS(103), 1, + sym_connection, + STATE(26), 1, + aux_sym_expr_repeat1, + ACTIONS(101), 4, aux_sym_declaration_token1, - ACTIONS(189), 1, anon_sym_SEMI, - ACTIONS(191), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(62), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [696] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [448] = 2, + ACTIONS(32), 1, sym_comment, - ACTIONS(193), 1, + ACTIONS(106), 6, aux_sym_declaration_token1, - ACTIONS(195), 1, anon_sym_SEMI, - ACTIONS(197), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(66), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [724] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, + sym_connection, anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(199), 1, - aux_sym_declaration_token1, - ACTIONS(201), 1, - anon_sym_SEMI, - ACTIONS(203), 1, - anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(70), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [752] = 9, - ACTIONS(15), 1, anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, + [460] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(205), 1, - aux_sym_declaration_token1, - ACTIONS(207), 1, - anon_sym_SEMI, - ACTIONS(209), 1, - anon_sym_NULL, - STATE(47), 1, - aux_sym_declaration_repeat3, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(84), 1, - sym_label, - [780] = 2, - ACTIONS(25), 1, + ACTIONS(108), 1, + aux_sym__ident_token1, + STATE(28), 1, + aux_sym__ident_repeat1, + ACTIONS(34), 3, + sym_connection, + anon_sym_RPAREN, + anon_sym_DOT, + [475] = 4, + ACTIONS(32), 1, sym_comment, - ACTIONS(211), 8, + ACTIONS(111), 1, + aux_sym__ident_token1, + STATE(28), 1, + aux_sym__ident_repeat1, + ACTIONS(28), 3, + sym_connection, anon_sym_RPAREN, anon_sym_DOT, - aux_sym_declaration_token1, - anon_sym_SEMI, - anon_sym_NULL, + [490] = 4, + ACTIONS(32), 1, + sym_comment, + ACTIONS(111), 1, + aux_sym__ident_token1, + STATE(29), 1, + aux_sym__ident_repeat1, + ACTIONS(39), 3, sym_connection, - sym_connection_identifier, - anon_sym_COLON, - [794] = 9, - ACTIONS(15), 1, + anon_sym_RPAREN, anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, + [505] = 2, + ACTIONS(32), 1, sym_comment, - ACTIONS(213), 1, + ACTIONS(113), 5, aux_sym_declaration_token1, - ACTIONS(215), 1, anon_sym_SEMI, - ACTIONS(217), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(72), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [822] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, + sym_connection, anon_sym_COLON, - ACTIONS(25), 1, + [516] = 3, + ACTIONS(32), 1, sym_comment, - ACTIONS(219), 1, + ACTIONS(115), 1, aux_sym_declaration_token1, - ACTIONS(221), 1, + ACTIONS(117), 3, anon_sym_SEMI, - ACTIONS(223), 1, anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(77), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [850] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, anon_sym_COLON, - ACTIONS(25), 1, + [528] = 2, + ACTIONS(32), 1, sym_comment, - ACTIONS(225), 1, - aux_sym_declaration_token1, - ACTIONS(227), 1, - anon_sym_SEMI, - ACTIONS(229), 1, - anon_sym_NULL, - STATE(52), 1, - aux_sym_declaration_repeat2, - STATE(54), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [878] = 9, - ACTIONS(15), 1, - anon_sym_DOT, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(231), 1, - aux_sym_declaration_token1, - ACTIONS(233), 1, - anon_sym_SEMI, - ACTIONS(235), 1, - anon_sym_NULL, - STATE(24), 1, - aux_sym_declaration_repeat2, - STATE(68), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [906] = 7, - ACTIONS(237), 1, - ts_builtin_sym_end, - ACTIONS(239), 1, - anon_sym_LPAREN, - ACTIONS(242), 1, - sym__ident_base, - ACTIONS(245), 1, - sym_comment, - STATE(2), 1, - sym_identifier, - STATE(20), 1, - sym__ident, - STATE(41), 2, - sym_declaration, - aux_sym_source_file_repeat1, - [929] = 4, - ACTIONS(25), 1, - sym_comment, - ACTIONS(248), 1, - aux_sym__ident_token1, - STATE(44), 1, - aux_sym__ident_repeat1, - ACTIONS(53), 5, - anon_sym_DOT, - aux_sym_declaration_token1, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [946] = 4, - ACTIONS(25), 1, - sym_comment, - ACTIONS(250), 1, - aux_sym__ident_token1, - STATE(43), 1, - aux_sym__ident_repeat1, - ACTIONS(57), 5, - anon_sym_DOT, - aux_sym_declaration_token1, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [963] = 4, - ACTIONS(25), 1, - sym_comment, - ACTIONS(248), 1, - aux_sym__ident_token1, - STATE(43), 1, - aux_sym__ident_repeat1, - ACTIONS(62), 5, - anon_sym_DOT, - aux_sym_declaration_token1, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [980] = 7, - ACTIONS(7), 1, - anon_sym_LPAREN, - ACTIONS(9), 1, - sym__ident_base, - ACTIONS(253), 1, - ts_builtin_sym_end, - ACTIONS(255), 1, - sym_comment, - STATE(2), 1, - sym_identifier, - STATE(20), 1, - sym__ident, - STATE(41), 2, - sym_declaration, - aux_sym_source_file_repeat1, - [1003] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(257), 1, - aux_sym_declaration_token1, - ACTIONS(259), 1, - anon_sym_SEMI, - ACTIONS(261), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1025] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(263), 1, - aux_sym_declaration_token1, - ACTIONS(265), 1, - anon_sym_SEMI, - ACTIONS(267), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1047] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(269), 1, - aux_sym_declaration_token1, - ACTIONS(271), 1, - anon_sym_SEMI, - ACTIONS(273), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1069] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(275), 1, - aux_sym_declaration_token1, - ACTIONS(277), 1, - anon_sym_SEMI, - ACTIONS(279), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1091] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(281), 1, - aux_sym_declaration_token1, - ACTIONS(283), 1, - anon_sym_SEMI, - ACTIONS(285), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1113] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(287), 1, - aux_sym_declaration_token1, - ACTIONS(289), 1, - anon_sym_SEMI, - ACTIONS(291), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1135] = 5, - ACTIONS(25), 1, - sym_comment, - ACTIONS(293), 1, - anon_sym_DOT, - ACTIONS(296), 1, - aux_sym_declaration_token1, - STATE(52), 1, - aux_sym_declaration_repeat2, - ACTIONS(298), 3, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [1153] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(300), 1, - aux_sym_declaration_token1, - ACTIONS(302), 1, - anon_sym_SEMI, - ACTIONS(304), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1175] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(306), 1, - aux_sym_declaration_token1, - ACTIONS(308), 1, - anon_sym_SEMI, - ACTIONS(310), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1197] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(312), 1, - aux_sym_declaration_token1, - ACTIONS(314), 1, - anon_sym_SEMI, - ACTIONS(316), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1219] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(318), 1, - aux_sym_declaration_token1, - ACTIONS(320), 1, - anon_sym_SEMI, - ACTIONS(322), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1241] = 6, - ACTIONS(25), 1, - sym_comment, - ACTIONS(324), 1, - aux_sym_declaration_token1, - ACTIONS(328), 1, - anon_sym_COLON, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - ACTIONS(326), 2, - anon_sym_SEMI, - anon_sym_NULL, - [1261] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(331), 1, - aux_sym_declaration_token1, - ACTIONS(333), 1, - anon_sym_SEMI, - ACTIONS(335), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1283] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(337), 1, - aux_sym_declaration_token1, - ACTIONS(339), 1, - anon_sym_SEMI, - ACTIONS(341), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1305] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(343), 1, - aux_sym_declaration_token1, - ACTIONS(345), 1, - anon_sym_SEMI, - ACTIONS(347), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1327] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(349), 1, - aux_sym_declaration_token1, - ACTIONS(351), 1, - anon_sym_SEMI, - ACTIONS(353), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1349] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(355), 1, - aux_sym_declaration_token1, - ACTIONS(357), 1, - anon_sym_SEMI, - ACTIONS(359), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1371] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(361), 1, - aux_sym_declaration_token1, - ACTIONS(363), 1, - anon_sym_SEMI, - ACTIONS(365), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1393] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(367), 1, - aux_sym_declaration_token1, - ACTIONS(369), 1, - anon_sym_SEMI, - ACTIONS(371), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1415] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(373), 1, - aux_sym_declaration_token1, - ACTIONS(375), 1, - anon_sym_SEMI, - ACTIONS(377), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1437] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(379), 1, - aux_sym_declaration_token1, - ACTIONS(381), 1, - anon_sym_SEMI, - ACTIONS(383), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1459] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(385), 1, - aux_sym_declaration_token1, - ACTIONS(387), 1, - anon_sym_SEMI, - ACTIONS(389), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1481] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(391), 1, - aux_sym_declaration_token1, - ACTIONS(393), 1, - anon_sym_SEMI, - ACTIONS(395), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1503] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(397), 1, - aux_sym_declaration_token1, - ACTIONS(399), 1, - anon_sym_SEMI, - ACTIONS(401), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1525] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(403), 1, - aux_sym_declaration_token1, - ACTIONS(405), 1, - anon_sym_SEMI, - ACTIONS(407), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1547] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(409), 1, - aux_sym_declaration_token1, - ACTIONS(411), 1, - anon_sym_SEMI, - ACTIONS(413), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1569] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(415), 1, - aux_sym_declaration_token1, - ACTIONS(417), 1, - anon_sym_SEMI, - ACTIONS(419), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1591] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(421), 1, - aux_sym_declaration_token1, - ACTIONS(423), 1, - anon_sym_SEMI, - ACTIONS(425), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1613] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(427), 1, - aux_sym_declaration_token1, - ACTIONS(429), 1, - anon_sym_SEMI, - ACTIONS(431), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1635] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(433), 1, - aux_sym_declaration_token1, - ACTIONS(435), 1, - anon_sym_SEMI, - ACTIONS(437), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1657] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(439), 1, - aux_sym_declaration_token1, - ACTIONS(441), 1, - anon_sym_SEMI, - ACTIONS(443), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1679] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(445), 1, - aux_sym_declaration_token1, - ACTIONS(447), 1, - anon_sym_SEMI, - ACTIONS(449), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1701] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(451), 1, - aux_sym_declaration_token1, - ACTIONS(453), 1, - anon_sym_SEMI, - ACTIONS(455), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1723] = 7, - ACTIONS(23), 1, - anon_sym_COLON, - ACTIONS(25), 1, - sym_comment, - ACTIONS(457), 1, - aux_sym_declaration_token1, - ACTIONS(459), 1, - anon_sym_SEMI, - ACTIONS(461), 1, - anon_sym_NULL, - STATE(57), 1, - aux_sym_declaration_repeat3, - STATE(84), 1, - sym_label, - [1745] = 2, - ACTIONS(25), 1, - sym_comment, - ACTIONS(57), 6, - anon_sym_DOT, - aux_sym_declaration_token1, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - aux_sym__ident_token1, - [1757] = 3, - ACTIONS(25), 1, - sym_comment, - ACTIONS(465), 1, - aux_sym_declaration_token1, - ACTIONS(463), 4, - anon_sym_DOT, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [1770] = 3, - ACTIONS(25), 1, - sym_comment, - ACTIONS(469), 1, - aux_sym_declaration_token1, - ACTIONS(467), 4, - anon_sym_DOT, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [1783] = 3, - ACTIONS(25), 1, - sym_comment, - ACTIONS(471), 1, - aux_sym_declaration_token1, - ACTIONS(473), 3, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [1795] = 3, - ACTIONS(25), 1, - sym_comment, - ACTIONS(475), 1, - aux_sym_declaration_token1, - ACTIONS(477), 3, - anon_sym_SEMI, - anon_sym_NULL, - anon_sym_COLON, - [1807] = 1, - ACTIONS(479), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1814] = 1, - ACTIONS(481), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1821] = 1, - ACTIONS(483), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1828] = 1, - ACTIONS(485), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1835] = 1, - ACTIONS(485), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1842] = 1, - ACTIONS(485), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1849] = 1, - ACTIONS(487), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1856] = 1, - ACTIONS(487), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1863] = 1, - ACTIONS(487), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1870] = 1, - ACTIONS(489), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1877] = 1, - ACTIONS(491), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1884] = 1, - ACTIONS(491), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1891] = 1, - ACTIONS(491), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1898] = 1, - ACTIONS(493), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1905] = 1, - ACTIONS(493), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1912] = 1, - ACTIONS(493), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1919] = 1, - ACTIONS(495), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1926] = 1, - ACTIONS(495), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1933] = 1, - ACTIONS(495), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1940] = 1, - ACTIONS(497), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1947] = 1, - ACTIONS(497), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1954] = 1, - ACTIONS(497), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1961] = 1, - ACTIONS(499), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1968] = 1, - ACTIONS(499), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1975] = 1, - ACTIONS(499), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1982] = 1, - ACTIONS(501), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1989] = 1, - ACTIONS(501), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [1996] = 1, - ACTIONS(501), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2003] = 1, - ACTIONS(503), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2010] = 1, - ACTIONS(503), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2017] = 1, - ACTIONS(503), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2024] = 1, - ACTIONS(505), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2031] = 1, - ACTIONS(505), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2038] = 1, - ACTIONS(505), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2045] = 1, - ACTIONS(507), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2052] = 1, - ACTIONS(507), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2059] = 1, - ACTIONS(507), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2066] = 1, - ACTIONS(509), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2073] = 1, - ACTIONS(511), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2080] = 1, - ACTIONS(511), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2087] = 1, - ACTIONS(511), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2094] = 1, - ACTIONS(513), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2101] = 1, - ACTIONS(513), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2108] = 1, - ACTIONS(513), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2115] = 1, - ACTIONS(515), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2122] = 1, - ACTIONS(515), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2129] = 1, - ACTIONS(515), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2136] = 1, - ACTIONS(517), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2143] = 1, - ACTIONS(517), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2150] = 1, - ACTIONS(517), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2157] = 1, - ACTIONS(479), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2164] = 1, - ACTIONS(479), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2171] = 1, - ACTIONS(519), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2178] = 1, - ACTIONS(483), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2185] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(9), 1, - sym__ident_base, - STATE(3), 1, - sym_identifier, - STATE(20), 1, - sym__ident, - [2198] = 1, - ACTIONS(521), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2205] = 1, - ACTIONS(521), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2212] = 1, - ACTIONS(521), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2219] = 1, - ACTIONS(523), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2226] = 1, - ACTIONS(525), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2233] = 1, - ACTIONS(527), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2240] = 1, - ACTIONS(527), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2247] = 1, - ACTIONS(527), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2254] = 1, - ACTIONS(525), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2261] = 1, - ACTIONS(529), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2268] = 1, - ACTIONS(529), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2275] = 1, - ACTIONS(529), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2282] = 1, - ACTIONS(531), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2289] = 1, - ACTIONS(531), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2296] = 1, - ACTIONS(531), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2303] = 1, - ACTIONS(533), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2310] = 1, - ACTIONS(533), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2317] = 1, - ACTIONS(533), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2324] = 1, - ACTIONS(525), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2331] = 1, - ACTIONS(535), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2338] = 1, - ACTIONS(535), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2345] = 1, - ACTIONS(535), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2352] = 1, - ACTIONS(537), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2359] = 1, - ACTIONS(537), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2366] = 1, - ACTIONS(537), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2373] = 1, - ACTIONS(539), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2380] = 1, - ACTIONS(539), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2387] = 1, - ACTIONS(539), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2394] = 1, - ACTIONS(541), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2401] = 1, - ACTIONS(541), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2408] = 1, - ACTIONS(541), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2415] = 1, - ACTIONS(481), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2422] = 1, - ACTIONS(481), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2429] = 1, - ACTIONS(543), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2436] = 1, - ACTIONS(543), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2443] = 1, - ACTIONS(543), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2450] = 1, - ACTIONS(483), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2457] = 1, - ACTIONS(545), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2464] = 1, - ACTIONS(545), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2471] = 1, - ACTIONS(545), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2478] = 1, - ACTIONS(547), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2485] = 1, - ACTIONS(547), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2492] = 1, - ACTIONS(547), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2499] = 1, - ACTIONS(549), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2506] = 1, - ACTIONS(551), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2513] = 1, - ACTIONS(551), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2520] = 1, - ACTIONS(551), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2527] = 1, - ACTIONS(553), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2534] = 1, - ACTIONS(553), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2541] = 1, - ACTIONS(553), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2548] = 1, - ACTIONS(555), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2555] = 1, - ACTIONS(555), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2562] = 1, - ACTIONS(555), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2569] = 1, - ACTIONS(549), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2576] = 1, - ACTIONS(557), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2583] = 1, - ACTIONS(557), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2590] = 1, - ACTIONS(557), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2597] = 1, - ACTIONS(559), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2604] = 1, - ACTIONS(559), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2611] = 1, - ACTIONS(559), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2618] = 1, - ACTIONS(561), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2625] = 1, - ACTIONS(561), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2632] = 1, - ACTIONS(561), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2639] = 1, - ACTIONS(563), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2646] = 1, - ACTIONS(563), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2653] = 1, - ACTIONS(563), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2660] = 1, - ACTIONS(549), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2667] = 1, - ACTIONS(565), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2674] = 1, - ACTIONS(567), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2681] = 1, - ACTIONS(567), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2688] = 1, - ACTIONS(567), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2695] = 1, - ACTIONS(569), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2702] = 1, - ACTIONS(571), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2709] = 1, - ACTIONS(571), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2716] = 1, - ACTIONS(571), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2723] = 1, - ACTIONS(573), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2730] = 1, - ACTIONS(573), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2737] = 1, - ACTIONS(573), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2744] = 1, - ACTIONS(575), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2751] = 1, - ACTIONS(577), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2758] = 1, - ACTIONS(577), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2765] = 1, - ACTIONS(577), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2772] = 1, - ACTIONS(579), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2779] = 1, - ACTIONS(579), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2786] = 1, - ACTIONS(579), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2793] = 1, - ACTIONS(581), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2800] = 1, - ACTIONS(581), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2807] = 1, - ACTIONS(581), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2814] = 1, - ACTIONS(583), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2821] = 1, - ACTIONS(583), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(34), 4, + sym_connection, + anon_sym_RPAREN, + anon_sym_DOT, + aux_sym__ident_token1, + [538] = 3, + ACTIONS(3), 1, sym_comment, - [2828] = 1, - ACTIONS(583), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + STATE(39), 1, + aux_sym__fields, + ACTIONS(73), 3, + sym_connection, + anon_sym_RPAREN, + anon_sym_DOT, + [550] = 4, + ACTIONS(3), 1, sym_comment, - [2835] = 4, + ACTIONS(119), 1, + anon_sym_DOT, + STATE(35), 1, + aux_sym__fields, + ACTIONS(81), 2, + sym_connection, + anon_sym_RPAREN, + [564] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(585), 1, + ACTIONS(122), 1, sym__ident_base, - STATE(81), 1, - sym_field, - STATE(82), 1, + STATE(37), 1, sym__ident, - [2848] = 1, - ACTIONS(587), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2855] = 1, - ACTIONS(587), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2862] = 1, - ACTIONS(587), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2869] = 1, - ACTIONS(589), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2876] = 1, - ACTIONS(589), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + STATE(47), 1, + sym_identifier, + STATE(57), 1, + sym_expr, + [580] = 4, + ACTIONS(3), 1, sym_comment, - [2883] = 1, - ACTIONS(589), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(124), 1, + anon_sym_DOT, + STATE(39), 1, + aux_sym__fields, + ACTIONS(73), 2, + sym_connection, + anon_sym_RPAREN, + [594] = 3, + ACTIONS(32), 1, sym_comment, - [2890] = 1, - ACTIONS(591), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(126), 1, + aux_sym_declaration_token1, + ACTIONS(128), 3, + anon_sym_SEMI, + anon_sym_NULL, + anon_sym_COLON, + [606] = 4, + ACTIONS(3), 1, sym_comment, - [2897] = 1, - ACTIONS(591), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(124), 1, + anon_sym_DOT, + STATE(35), 1, + aux_sym__fields, + ACTIONS(77), 2, + sym_connection, + anon_sym_RPAREN, + [620] = 2, + ACTIONS(3), 1, sym_comment, - [2904] = 1, - ACTIONS(591), 4, + ACTIONS(130), 3, + sym_connection, + anon_sym_RPAREN, + anon_sym_DOT, + [629] = 1, + ACTIONS(132), 4, ts_builtin_sym_end, anon_sym_LPAREN, sym__ident_base, sym_comment, - [2911] = 1, - ACTIONS(593), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + [636] = 4, + ACTIONS(3), 1, sym_comment, - [2918] = 1, - ACTIONS(593), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, + ACTIONS(122), 1, sym__ident_base, + STATE(37), 1, + sym__ident, + STATE(53), 1, + sym_identifier, + [649] = 4, + ACTIONS(3), 1, sym_comment, - [2925] = 1, - ACTIONS(593), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(134), 1, + sym_connection, + ACTIONS(136), 1, + anon_sym_RPAREN, + STATE(45), 1, + aux_sym_expr_repeat1, + [662] = 4, + ACTIONS(3), 1, sym_comment, - [2932] = 1, - ACTIONS(595), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, + ACTIONS(122), 1, sym__ident_base, + STATE(34), 1, + sym__ident, + STATE(40), 1, + sym_identifier, + [675] = 4, + ACTIONS(3), 1, sym_comment, - [2939] = 1, - ACTIONS(595), 4, + ACTIONS(138), 1, + sym_connection, + ACTIONS(141), 1, + anon_sym_RPAREN, + STATE(45), 1, + aux_sym_expr_repeat1, + [688] = 1, + ACTIONS(132), 4, ts_builtin_sym_end, anon_sym_LPAREN, sym__ident_base, sym_comment, - [2946] = 1, - ACTIONS(595), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + [695] = 4, + ACTIONS(3), 1, sym_comment, - [2953] = 4, + ACTIONS(134), 1, + sym_connection, + ACTIONS(143), 1, + anon_sym_RPAREN, + STATE(43), 1, + aux_sym_expr_repeat1, + [708] = 4, ACTIONS(3), 1, sym_comment, ACTIONS(9), 1, sym__ident_base, - STATE(20), 1, + STATE(7), 1, sym__ident, - STATE(36), 1, + STATE(27), 1, sym_identifier, - [2966] = 1, - ACTIONS(597), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2973] = 1, - ACTIONS(597), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2980] = 1, - ACTIONS(597), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2987] = 1, - ACTIONS(599), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [2994] = 1, - ACTIONS(599), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [3001] = 1, - ACTIONS(599), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, - sym_comment, - [3008] = 1, - ACTIONS(601), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + [721] = 4, + ACTIONS(3), 1, sym_comment, - [3015] = 1, - ACTIONS(601), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, + ACTIONS(9), 1, sym__ident_base, + STATE(9), 1, + sym__ident, + STATE(31), 1, + sym_identifier, + [734] = 4, + ACTIONS(3), 1, sym_comment, - [3022] = 1, - ACTIONS(601), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, + ACTIONS(145), 1, sym__ident_base, - sym_comment, - [3029] = 1, - ACTIONS(603), 4, + STATE(19), 1, + sym__ident, + STATE(27), 1, + sym_identifier, + [747] = 1, + ACTIONS(147), 4, ts_builtin_sym_end, anon_sym_LPAREN, sym__ident_base, sym_comment, - [3036] = 1, - ACTIONS(603), 4, + [754] = 1, + ACTIONS(132), 4, ts_builtin_sym_end, anon_sym_LPAREN, sym__ident_base, sym_comment, - [3043] = 1, - ACTIONS(603), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + [761] = 2, + ACTIONS(3), 1, sym_comment, - [3050] = 1, - ACTIONS(605), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(149), 2, + sym_connection, + anon_sym_RPAREN, + [769] = 2, + ACTIONS(3), 1, sym_comment, - [3057] = 1, - ACTIONS(605), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(151), 1, + sym_connection_identifier, + [776] = 2, + ACTIONS(32), 1, sym_comment, - [3064] = 1, - ACTIONS(605), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, - sym__ident_base, + ACTIONS(153), 1, + aux_sym_label_token1, + [783] = 2, + ACTIONS(3), 1, sym_comment, - [3071] = 1, - ACTIONS(607), 4, - ts_builtin_sym_end, - anon_sym_LPAREN, + ACTIONS(155), 1, sym__ident_base, + [790] = 2, + ACTIONS(3), 1, sym_comment, - [3078] = 2, - ACTIONS(25), 1, - sym_comment, - ACTIONS(609), 1, - aux_sym_label_token1, - [3085] = 2, + ACTIONS(157), 1, + anon_sym_RPAREN, + [797] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(611), 1, + ACTIONS(159), 1, sym__ident_base, - [3092] = 2, + [804] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(613), 1, + ACTIONS(161), 1, ts_builtin_sym_end, - [3099] = 2, + [811] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(615), 1, + ACTIONS(163), 1, sym__ident_base, }; static const uint32_t ts_small_parse_table_map[] = { - [SMALL_STATE(6)] = 0, - [SMALL_STATE(7)] = 20, - [SMALL_STATE(8)] = 40, - [SMALL_STATE(9)] = 60, - [SMALL_STATE(10)] = 91, - [SMALL_STATE(11)] = 120, - [SMALL_STATE(12)] = 149, - [SMALL_STATE(13)] = 168, - [SMALL_STATE(14)] = 183, - [SMALL_STATE(15)] = 214, - [SMALL_STATE(16)] = 240, - [SMALL_STATE(17)] = 268, - [SMALL_STATE(18)] = 294, - [SMALL_STATE(19)] = 322, - [SMALL_STATE(20)] = 350, - [SMALL_STATE(21)] = 364, - [SMALL_STATE(22)] = 392, - [SMALL_STATE(23)] = 420, - [SMALL_STATE(24)] = 448, - [SMALL_STATE(25)] = 476, - [SMALL_STATE(26)] = 504, - [SMALL_STATE(27)] = 532, - [SMALL_STATE(28)] = 560, - [SMALL_STATE(29)] = 588, - [SMALL_STATE(30)] = 616, - [SMALL_STATE(31)] = 642, - [SMALL_STATE(32)] = 668, - [SMALL_STATE(33)] = 696, - [SMALL_STATE(34)] = 724, - [SMALL_STATE(35)] = 752, - [SMALL_STATE(36)] = 780, - [SMALL_STATE(37)] = 794, - [SMALL_STATE(38)] = 822, - [SMALL_STATE(39)] = 850, - [SMALL_STATE(40)] = 878, - [SMALL_STATE(41)] = 906, - [SMALL_STATE(42)] = 929, - [SMALL_STATE(43)] = 946, - [SMALL_STATE(44)] = 963, - [SMALL_STATE(45)] = 980, - [SMALL_STATE(46)] = 1003, - [SMALL_STATE(47)] = 1025, - [SMALL_STATE(48)] = 1047, - [SMALL_STATE(49)] = 1069, - [SMALL_STATE(50)] = 1091, - [SMALL_STATE(51)] = 1113, - [SMALL_STATE(52)] = 1135, - [SMALL_STATE(53)] = 1153, - [SMALL_STATE(54)] = 1175, - [SMALL_STATE(55)] = 1197, - [SMALL_STATE(56)] = 1219, - [SMALL_STATE(57)] = 1241, - [SMALL_STATE(58)] = 1261, - [SMALL_STATE(59)] = 1283, - [SMALL_STATE(60)] = 1305, - [SMALL_STATE(61)] = 1327, - [SMALL_STATE(62)] = 1349, - [SMALL_STATE(63)] = 1371, - [SMALL_STATE(64)] = 1393, - [SMALL_STATE(65)] = 1415, - [SMALL_STATE(66)] = 1437, - [SMALL_STATE(67)] = 1459, - [SMALL_STATE(68)] = 1481, - [SMALL_STATE(69)] = 1503, - [SMALL_STATE(70)] = 1525, - [SMALL_STATE(71)] = 1547, - [SMALL_STATE(72)] = 1569, - [SMALL_STATE(73)] = 1591, - [SMALL_STATE(74)] = 1613, - [SMALL_STATE(75)] = 1635, - [SMALL_STATE(76)] = 1657, - [SMALL_STATE(77)] = 1679, - [SMALL_STATE(78)] = 1701, - [SMALL_STATE(79)] = 1723, - [SMALL_STATE(80)] = 1745, - [SMALL_STATE(81)] = 1757, - [SMALL_STATE(82)] = 1770, - [SMALL_STATE(83)] = 1783, - [SMALL_STATE(84)] = 1795, - [SMALL_STATE(85)] = 1807, - [SMALL_STATE(86)] = 1814, - [SMALL_STATE(87)] = 1821, - [SMALL_STATE(88)] = 1828, - [SMALL_STATE(89)] = 1835, - [SMALL_STATE(90)] = 1842, - [SMALL_STATE(91)] = 1849, - [SMALL_STATE(92)] = 1856, - [SMALL_STATE(93)] = 1863, - [SMALL_STATE(94)] = 1870, - [SMALL_STATE(95)] = 1877, - [SMALL_STATE(96)] = 1884, - [SMALL_STATE(97)] = 1891, - [SMALL_STATE(98)] = 1898, - [SMALL_STATE(99)] = 1905, - [SMALL_STATE(100)] = 1912, - [SMALL_STATE(101)] = 1919, - [SMALL_STATE(102)] = 1926, - [SMALL_STATE(103)] = 1933, - [SMALL_STATE(104)] = 1940, - [SMALL_STATE(105)] = 1947, - [SMALL_STATE(106)] = 1954, - [SMALL_STATE(107)] = 1961, - [SMALL_STATE(108)] = 1968, - [SMALL_STATE(109)] = 1975, - [SMALL_STATE(110)] = 1982, - [SMALL_STATE(111)] = 1989, - [SMALL_STATE(112)] = 1996, - [SMALL_STATE(113)] = 2003, - [SMALL_STATE(114)] = 2010, - [SMALL_STATE(115)] = 2017, - [SMALL_STATE(116)] = 2024, - [SMALL_STATE(117)] = 2031, - [SMALL_STATE(118)] = 2038, - [SMALL_STATE(119)] = 2045, - [SMALL_STATE(120)] = 2052, - [SMALL_STATE(121)] = 2059, - [SMALL_STATE(122)] = 2066, - [SMALL_STATE(123)] = 2073, - [SMALL_STATE(124)] = 2080, - [SMALL_STATE(125)] = 2087, - [SMALL_STATE(126)] = 2094, - [SMALL_STATE(127)] = 2101, - [SMALL_STATE(128)] = 2108, - [SMALL_STATE(129)] = 2115, - [SMALL_STATE(130)] = 2122, - [SMALL_STATE(131)] = 2129, - [SMALL_STATE(132)] = 2136, - [SMALL_STATE(133)] = 2143, - [SMALL_STATE(134)] = 2150, - [SMALL_STATE(135)] = 2157, - [SMALL_STATE(136)] = 2164, - [SMALL_STATE(137)] = 2171, - [SMALL_STATE(138)] = 2178, - [SMALL_STATE(139)] = 2185, - [SMALL_STATE(140)] = 2198, - [SMALL_STATE(141)] = 2205, - [SMALL_STATE(142)] = 2212, - [SMALL_STATE(143)] = 2219, - [SMALL_STATE(144)] = 2226, - [SMALL_STATE(145)] = 2233, - [SMALL_STATE(146)] = 2240, - [SMALL_STATE(147)] = 2247, - [SMALL_STATE(148)] = 2254, - [SMALL_STATE(149)] = 2261, - [SMALL_STATE(150)] = 2268, - [SMALL_STATE(151)] = 2275, - [SMALL_STATE(152)] = 2282, - [SMALL_STATE(153)] = 2289, - [SMALL_STATE(154)] = 2296, - [SMALL_STATE(155)] = 2303, - [SMALL_STATE(156)] = 2310, - [SMALL_STATE(157)] = 2317, - [SMALL_STATE(158)] = 2324, - [SMALL_STATE(159)] = 2331, - [SMALL_STATE(160)] = 2338, - [SMALL_STATE(161)] = 2345, - [SMALL_STATE(162)] = 2352, - [SMALL_STATE(163)] = 2359, - [SMALL_STATE(164)] = 2366, - [SMALL_STATE(165)] = 2373, - [SMALL_STATE(166)] = 2380, - [SMALL_STATE(167)] = 2387, - [SMALL_STATE(168)] = 2394, - [SMALL_STATE(169)] = 2401, - [SMALL_STATE(170)] = 2408, - [SMALL_STATE(171)] = 2415, - [SMALL_STATE(172)] = 2422, - [SMALL_STATE(173)] = 2429, - [SMALL_STATE(174)] = 2436, - [SMALL_STATE(175)] = 2443, - [SMALL_STATE(176)] = 2450, - [SMALL_STATE(177)] = 2457, - [SMALL_STATE(178)] = 2464, - [SMALL_STATE(179)] = 2471, - [SMALL_STATE(180)] = 2478, - [SMALL_STATE(181)] = 2485, - [SMALL_STATE(182)] = 2492, - [SMALL_STATE(183)] = 2499, - [SMALL_STATE(184)] = 2506, - [SMALL_STATE(185)] = 2513, - [SMALL_STATE(186)] = 2520, - [SMALL_STATE(187)] = 2527, - [SMALL_STATE(188)] = 2534, - [SMALL_STATE(189)] = 2541, - [SMALL_STATE(190)] = 2548, - [SMALL_STATE(191)] = 2555, - [SMALL_STATE(192)] = 2562, - [SMALL_STATE(193)] = 2569, - [SMALL_STATE(194)] = 2576, - [SMALL_STATE(195)] = 2583, - [SMALL_STATE(196)] = 2590, - [SMALL_STATE(197)] = 2597, - [SMALL_STATE(198)] = 2604, - [SMALL_STATE(199)] = 2611, - [SMALL_STATE(200)] = 2618, - [SMALL_STATE(201)] = 2625, - [SMALL_STATE(202)] = 2632, - [SMALL_STATE(203)] = 2639, - [SMALL_STATE(204)] = 2646, - [SMALL_STATE(205)] = 2653, - [SMALL_STATE(206)] = 2660, - [SMALL_STATE(207)] = 2667, - [SMALL_STATE(208)] = 2674, - [SMALL_STATE(209)] = 2681, - [SMALL_STATE(210)] = 2688, - [SMALL_STATE(211)] = 2695, - [SMALL_STATE(212)] = 2702, - [SMALL_STATE(213)] = 2709, - [SMALL_STATE(214)] = 2716, - [SMALL_STATE(215)] = 2723, - [SMALL_STATE(216)] = 2730, - [SMALL_STATE(217)] = 2737, - [SMALL_STATE(218)] = 2744, - [SMALL_STATE(219)] = 2751, - [SMALL_STATE(220)] = 2758, - [SMALL_STATE(221)] = 2765, - [SMALL_STATE(222)] = 2772, - [SMALL_STATE(223)] = 2779, - [SMALL_STATE(224)] = 2786, - [SMALL_STATE(225)] = 2793, - [SMALL_STATE(226)] = 2800, - [SMALL_STATE(227)] = 2807, - [SMALL_STATE(228)] = 2814, - [SMALL_STATE(229)] = 2821, - [SMALL_STATE(230)] = 2828, - [SMALL_STATE(231)] = 2835, - [SMALL_STATE(232)] = 2848, - [SMALL_STATE(233)] = 2855, - [SMALL_STATE(234)] = 2862, - [SMALL_STATE(235)] = 2869, - [SMALL_STATE(236)] = 2876, - [SMALL_STATE(237)] = 2883, - [SMALL_STATE(238)] = 2890, - [SMALL_STATE(239)] = 2897, - [SMALL_STATE(240)] = 2904, - [SMALL_STATE(241)] = 2911, - [SMALL_STATE(242)] = 2918, - [SMALL_STATE(243)] = 2925, - [SMALL_STATE(244)] = 2932, - [SMALL_STATE(245)] = 2939, - [SMALL_STATE(246)] = 2946, - [SMALL_STATE(247)] = 2953, - [SMALL_STATE(248)] = 2966, - [SMALL_STATE(249)] = 2973, - [SMALL_STATE(250)] = 2980, - [SMALL_STATE(251)] = 2987, - [SMALL_STATE(252)] = 2994, - [SMALL_STATE(253)] = 3001, - [SMALL_STATE(254)] = 3008, - [SMALL_STATE(255)] = 3015, - [SMALL_STATE(256)] = 3022, - [SMALL_STATE(257)] = 3029, - [SMALL_STATE(258)] = 3036, - [SMALL_STATE(259)] = 3043, - [SMALL_STATE(260)] = 3050, - [SMALL_STATE(261)] = 3057, - [SMALL_STATE(262)] = 3064, - [SMALL_STATE(263)] = 3071, - [SMALL_STATE(264)] = 3078, - [SMALL_STATE(265)] = 3085, - [SMALL_STATE(266)] = 3092, - [SMALL_STATE(267)] = 3099, + [SMALL_STATE(2)] = 0, + [SMALL_STATE(3)] = 27, + [SMALL_STATE(4)] = 54, + [SMALL_STATE(5)] = 72, + [SMALL_STATE(6)] = 90, + [SMALL_STATE(7)] = 108, + [SMALL_STATE(8)] = 123, + [SMALL_STATE(9)] = 140, + [SMALL_STATE(10)] = 157, + [SMALL_STATE(11)] = 174, + [SMALL_STATE(12)] = 187, + [SMALL_STATE(13)] = 204, + [SMALL_STATE(14)] = 221, + [SMALL_STATE(15)] = 238, + [SMALL_STATE(16)] = 258, + [SMALL_STATE(17)] = 280, + [SMALL_STATE(18)] = 296, + [SMALL_STATE(19)] = 308, + [SMALL_STATE(20)] = 324, + [SMALL_STATE(21)] = 340, + [SMALL_STATE(22)] = 358, + [SMALL_STATE(23)] = 376, + [SMALL_STATE(24)] = 394, + [SMALL_STATE(25)] = 412, + [SMALL_STATE(26)] = 432, + [SMALL_STATE(27)] = 448, + [SMALL_STATE(28)] = 460, + [SMALL_STATE(29)] = 475, + [SMALL_STATE(30)] = 490, + [SMALL_STATE(31)] = 505, + [SMALL_STATE(32)] = 516, + [SMALL_STATE(33)] = 528, + [SMALL_STATE(34)] = 538, + [SMALL_STATE(35)] = 550, + [SMALL_STATE(36)] = 564, + [SMALL_STATE(37)] = 580, + [SMALL_STATE(38)] = 594, + [SMALL_STATE(39)] = 606, + [SMALL_STATE(40)] = 620, + [SMALL_STATE(41)] = 629, + [SMALL_STATE(42)] = 636, + [SMALL_STATE(43)] = 649, + [SMALL_STATE(44)] = 662, + [SMALL_STATE(45)] = 675, + [SMALL_STATE(46)] = 688, + [SMALL_STATE(47)] = 695, + [SMALL_STATE(48)] = 708, + [SMALL_STATE(49)] = 721, + [SMALL_STATE(50)] = 734, + [SMALL_STATE(51)] = 747, + [SMALL_STATE(52)] = 754, + [SMALL_STATE(53)] = 761, + [SMALL_STATE(54)] = 769, + [SMALL_STATE(55)] = 776, + [SMALL_STATE(56)] = 783, + [SMALL_STATE(57)] = 790, + [SMALL_STATE(58)] = 797, + [SMALL_STATE(59)] = 804, + [SMALL_STATE(60)] = 811, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -4102,307 +1391,79 @@ static const 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, 0, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(231), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(263), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(247), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(264), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(176), - [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), - [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), - [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), - [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(206), - [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), - [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), - [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), - [53] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__ident, 1, 0, 0), - [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265), - [57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__ident_repeat1, 2, 0, 0), - [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__ident_repeat1, 2, 0, 0), SHIFT_REPEAT(265), - [62] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__ident, 2, 0, 0), - [64] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [66] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135), - [68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136), - [70] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19), - [72] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [74] = {.entry = {.count = 1, .reusable = false}}, SHIFT(143), - [76] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), - [78] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), - [80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(211), - [82] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), - [84] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat1, 2, 0, 8), - [86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_declaration_repeat1, 2, 0, 8), SHIFT_REPEAT(247), - [89] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [91] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), - [93] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), - [95] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), - [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [99] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), - [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(174), - [105] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), - [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), - [115] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170), - [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), - [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(204), - [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(205), - [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1, 0, 0), - [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(172), - [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(171), - [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), - [135] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [139] = {.entry = {.count = 1, .reusable = false}}, SHIFT(209), - [141] = {.entry = {.count = 1, .reusable = false}}, SHIFT(210), - [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [145] = {.entry = {.count = 1, .reusable = false}}, SHIFT(181), - [147] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), - [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [151] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156), - [153] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), - [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [157] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), - [159] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), - [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124), - [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125), - [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [169] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), - [171] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142), - [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), - [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), - [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), - [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [185] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94), - [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [189] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96), - [191] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), - [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), - [195] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216), - [197] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217), - [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), - [201] = {.entry = {.count = 1, .reusable = false}}, SHIFT(229), - [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(230), - [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [207] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114), - [209] = {.entry = {.count = 1, .reusable = false}}, SHIFT(115), - [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat1, 2, 0, 5), - [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [215] = {.entry = {.count = 1, .reusable = false}}, SHIFT(245), - [217] = {.entry = {.count = 1, .reusable = false}}, SHIFT(246), - [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [221] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), - [223] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), - [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [227] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), - [229] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147), - [231] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [233] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), - [235] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), - [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), - [239] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(139), - [242] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(6), - [245] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(41), - [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(267), - [250] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__ident_repeat1, 2, 0, 0), SHIFT_REPEAT(267), - [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), - [261] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), - [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), - [265] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188), - [267] = {.entry = {.count = 1, .reusable = false}}, SHIFT(189), - [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [271] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), - [273] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [277] = {.entry = {.count = 1, .reusable = false}}, SHIFT(233), - [279] = {.entry = {.count = 1, .reusable = false}}, SHIFT(234), - [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(195), - [285] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), - [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), - [289] = {.entry = {.count = 1, .reusable = false}}, SHIFT(226), - [291] = {.entry = {.count = 1, .reusable = false}}, SHIFT(227), - [293] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_declaration_repeat2, 2, 0, 10), SHIFT_REPEAT(231), - [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat2, 2, 0, 10), - [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat2, 2, 0, 10), - [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [302] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), - [304] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), - [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), - [308] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223), - [310] = {.entry = {.count = 1, .reusable = false}}, SHIFT(224), - [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), - [314] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220), - [316] = {.entry = {.count = 1, .reusable = false}}, SHIFT(221), - [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), - [320] = {.entry = {.count = 1, .reusable = false}}, SHIFT(236), - [322] = {.entry = {.count = 1, .reusable = false}}, SHIFT(237), - [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat3, 2, 0, 12), - [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat3, 2, 0, 12), - [328] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_declaration_repeat3, 2, 0, 12), SHIFT_REPEAT(264), - [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), - [333] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213), - [335] = {.entry = {.count = 1, .reusable = false}}, SHIFT(214), - [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [339] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), - [341] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), - [345] = {.entry = {.count = 1, .reusable = false}}, SHIFT(249), - [347] = {.entry = {.count = 1, .reusable = false}}, SHIFT(250), - [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [351] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), - [353] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128), - [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163), - [359] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164), - [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [363] = {.entry = {.count = 1, .reusable = false}}, SHIFT(252), - [365] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253), - [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [369] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), - [371] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), - [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), - [375] = {.entry = {.count = 1, .reusable = false}}, SHIFT(242), - [377] = {.entry = {.count = 1, .reusable = false}}, SHIFT(243), - [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), - [381] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), - [383] = {.entry = {.count = 1, .reusable = false}}, SHIFT(256), - [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [387] = {.entry = {.count = 1, .reusable = false}}, SHIFT(198), - [389] = {.entry = {.count = 1, .reusable = false}}, SHIFT(199), - [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [393] = {.entry = {.count = 1, .reusable = false}}, SHIFT(185), - [395] = {.entry = {.count = 1, .reusable = false}}, SHIFT(186), - [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), - [399] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), - [401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), - [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), - [405] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258), - [407] = {.entry = {.count = 1, .reusable = false}}, SHIFT(259), - [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [411] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), - [413] = {.entry = {.count = 1, .reusable = false}}, SHIFT(151), - [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [417] = {.entry = {.count = 1, .reusable = false}}, SHIFT(261), - [419] = {.entry = {.count = 1, .reusable = false}}, SHIFT(262), - [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [423] = {.entry = {.count = 1, .reusable = false}}, SHIFT(178), - [425] = {.entry = {.count = 1, .reusable = false}}, SHIFT(179), - [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [429] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), - [431] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), - [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), - [435] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), - [437] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), - [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [441] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201), - [443] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202), - [445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [447] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166), - [449] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167), - [451] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), - [453] = {.entry = {.count = 1, .reusable = false}}, SHIFT(239), - [455] = {.entry = {.count = 1, .reusable = false}}, SHIFT(240), - [457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [459] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), - [461] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161), - [463] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat2, 2, 0, 4), - [465] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat2, 2, 0, 4), - [467] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 1, 0, 0), - [469] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 1, 0, 0), - [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label, 2, 0, 0), - [473] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label, 2, 0, 0), - [475] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat3, 1, 0, 2), - [477] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat3, 1, 0, 2), - [479] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 14), - [481] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 9), - [483] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 14), - [485] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 15), - [487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 16), - [489] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 17), - [491] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 18), - [493] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 19), - [495] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 20), - [497] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 21), - [499] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 7), - [501] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 22), - [503] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 23), - [505] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 24), - [507] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 25), - [509] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 26), - [511] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 27), - [513] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 28), - [515] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 29), - [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 30), - [519] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 13), - [521] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 31), - [523] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 4, 0, 3), - [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 11), - [527] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 32), - [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 33), - [531] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 34), - [533] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 35), - [535] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 36), - [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 37), - [539] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 38), - [541] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 39), - [543] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 40), - [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 41), - [547] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 42), - [549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 7), - [551] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 43), - [553] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 5, 0, 44), - [555] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 45), - [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 46), - [559] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 47), - [561] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 48), - [563] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 49), - [565] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 6), - [567] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 50), - [569] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 1), - [571] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 51), - [573] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 52), - [575] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 3), - [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 53), - [579] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 54), - [581] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 55), - [583] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 56), - [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [587] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 57), - [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 58), - [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, 0, 59), - [593] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 7, 0, 60), - [595] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 7, 0, 61), - [597] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 7, 0, 62), - [599] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 7, 0, 63), - [601] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 7, 0, 64), - [603] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 7, 0, 65), - [605] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 8, 0, 66), - [607] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 2, 0, 1), - [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), - [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [613] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [13] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), + [15] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(36), + [18] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(6), + [21] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(2), + [24] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0), + [26] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [28] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__ident, 2, 0, 0), + [30] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), + [32] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [34] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__ident_repeat1, 2, 0, 0), + [36] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__ident_repeat1, 2, 0, 0), SHIFT_REPEAT(56), + [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__ident, 1, 0, 0), + [41] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1, 0, 0), + [43] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__fields, 2, 0, 10), + [45] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__fields, 2, 0, 10), SHIFT_REPEAT(48), + [48] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [50] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__ident_repeat1, 2, 0, 0), SHIFT_REPEAT(60), + [53] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 2, 0, 4), + [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), + [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [59] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [61] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), + [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [65] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), + [67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), + [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 2, 0, 3), + [71] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), + [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1, 0, 0), + [75] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expr, 1, 0, 1), + [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 2, 0, 4), + [79] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__fields, 2, 0, 10), + [83] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__fields, 2, 0, 10), SHIFT_REPEAT(50), + [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_connection_refference, 5, 0, 12), + [88] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_connection_refference, 5, 0, 12), + [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_connection_refference, 4, 0, 11), + [92] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_connection_refference, 4, 0, 11), + [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat1, 2, 0, 6), + [96] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat1, 2, 0, 6), + [98] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_declaration_repeat1, 2, 0, 6), SHIFT_REPEAT(55), + [101] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expr_repeat1, 2, 0, 8), + [103] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_expr_repeat1, 2, 0, 8), SHIFT_REPEAT(49), + [106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__fields, 2, 0, 9), + [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__ident_repeat1, 2, 0, 0), SHIFT_REPEAT(58), + [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [113] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expr_repeat1, 2, 0, 7), + [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat1, 1, 0, 2), + [117] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_declaration_repeat1, 1, 0, 2), + [119] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__fields, 2, 0, 10), SHIFT_REPEAT(44), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label, 2, 0, 0), + [128] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label, 2, 0, 0), + [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__fields, 2, 0, 9), + [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 5), + [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 2, 0, 3), + [138] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_expr_repeat1, 2, 0, 8), SHIFT_REPEAT(42), + [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expr_repeat1, 2, 0, 8), + [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expr, 1, 0, 1), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 2, 0, 0), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expr_repeat1, 2, 0, 7), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [161] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), }; #ifdef __cplusplus diff --git a/test/corpus/docs/getting_started/connections.txt b/test/corpus/docs/getting_started/connections.txt index dfc2dd5..925ff2c 100644 --- a/test/corpus/docs/getting_started/connections.txt +++ b/test/corpus/docs/getting_started/connections.txt @@ -13,21 +13,25 @@ Read Replica 1 -- Read Replica 2 (source_file (declaration - (identifier) - (connection) - (identifier)) - (declaration - (identifier) - (connection) - (identifier)) - (declaration - (identifier) - (connection) - (identifier)) - (declaration - (identifier) - (connection) - (identifier))) + (expr + (identifier) + (connection) + (identifier))) + (declaration + (expr + (identifier) + (connection) + (identifier))) + (declaration + (expr + (identifier) + (connection) + (identifier))) + (declaration + (expr + (identifier) + (connection) + (identifier)))) ====================||| Connection labels @@ -39,9 +43,10 @@ Read Replica 1 -- Read Replica 2: Kept in sync (source_file (declaration - (identifier) - (connection) - (identifier) + (expr + (identifier) + (connection) + (identifier)) (label))) ==============||| @@ -61,21 +66,25 @@ be -> fe (source_file (declaration - (identifier) + (expr + (identifier)) (label)) (declaration - (identifier) + (expr + (identifier)) (label)) (comment) (declaration - (identifier) - (connection) - (identifier)) + (expr + (identifier) + (connection) + (identifier))) (comment) (declaration - (identifier) - (connection) - (identifier))) + (expr + (identifier) + (connection) + (identifier)))) ==============||| Example @@ -93,21 +102,25 @@ super long shape id here -> super long shape id even longer here (source_file (declaration + (expr (identifier) (connection) - (identifier)) + (identifier))) (declaration + (expr (identifier) (connection) - (identifier)) + (identifier))) (declaration + (expr (identifier) (connection) - (identifier)) + (identifier))) (declaration + (expr (identifier) (connection) - (identifier))) + (identifier)))) ==============||| Repeated Connections @@ -121,18 +134,21 @@ Database -> S3: backup (source_file (declaration - (identifier) - (connection) - (identifier) + (expr + (identifier) + (connection) + (identifier)) (label)) (declaration - (identifier) - (connection) - (identifier)) + (expr + (identifier) + (connection) + (identifier))) (declaration - (identifier) - (connection) - (identifier) + (expr + (identifier) + (connection) + (identifier)) (label))) ==============||| @@ -147,11 +163,12 @@ High Mem Instance -> EC2 <- High CPU Instance: Hosted By (source_file (comment) (declaration - (identifier) - (connection) - (identifier) - (connection) - (identifier) + (expr + (identifier) + (connection) + (identifier) + (connection) + (identifier)) (label))) ====================||| @@ -165,17 +182,19 @@ Stage Four -> Stage One: repeat (source_file (declaration - (identifier) - (connection) - (identifier) - (connection) - (identifier) - (connection) - (identifier)) - (declaration - (identifier) - (connection) - (identifier) + (expr + (identifier) + (connection) + (identifier) + (connection) + (identifier) + (connection) + (identifier))) + (declaration + (expr + (identifier) + (connection) + (identifier)) (label))) ====================||| @@ -188,10 +207,12 @@ Referencing connections (source_file (declaration - (identifier) - (connection) - (identifier) - (connection_identifier) - (field) - (field) - (label))) + (connection_refference + (expr + identifier: (identifier) + connection: (connection) + identifier: (identifier)) + connection_identifier: (connection_identifier) + field: (identifier) + field: (identifier)) + label: (label))) diff --git a/test/corpus/docs/getting_started/containers.txt b/test/corpus/docs/getting_started/containers.txt new file mode 100644 index 0000000..c134842 --- /dev/null +++ b/test/corpus/docs/getting_started/containers.txt @@ -0,0 +1,19 @@ +====================||| +Containers +====================||| + +apartment.Bedroom.Bathroom -> office.Spare Room.Bathroom: Portal + +---||| + +(source_file + (declaration + (expr + identifier: (identifier + field: (identifier) + field: (identifier)) + connection: (connection) + identifier: (identifier + field: (identifier) + field: (identifier))) + label: (label))) diff --git a/test/corpus/docs/getting_started/hello_world.txt b/test/corpus/docs/getting_started/hello_world.txt index 8474aa4..c2599a0 100644 --- a/test/corpus/docs/getting_started/hello_world.txt +++ b/test/corpus/docs/getting_started/hello_world.txt @@ -8,7 +8,8 @@ x -> y: hello world (source_file (declaration - (identifier) - (connection) - (identifier) + (expr + (identifier) + (connection) + (identifier)) (label))) diff --git a/test/corpus/docs/getting_started/shapes.txt b/test/corpus/docs/getting_started/shapes.txt index cf0ad9f..6debc48 100644 --- a/test/corpus/docs/getting_started/shapes.txt +++ b/test/corpus/docs/getting_started/shapes.txt @@ -14,17 +14,22 @@ a-shape (source_file (declaration - (identifier)) + (expr + (identifier))) (declaration - (identifier)) + (expr + (identifier))) (declaration - (identifier)) + (expr + (identifier))) (declaration - (identifier)) + (expr + (identifier))) (comment) (comment) (declaration - (identifier))) + (expr + (identifier)))) ================== Multiple Shapes @@ -36,9 +41,11 @@ SQLite; Cassandra (source_file (declaration - (identifier)) + (expr + (identifier))) (declaration - (identifier))) + (expr + (identifier)))) ================== Shape and Label @@ -50,7 +57,8 @@ pg: PostgreSQL (source_file (declaration - (identifier) + (expr + (identifier)) (label))) ================== @@ -64,12 +72,14 @@ Cloud.shape: cloud (source_file (declaration - (identifier) - (label)) + (expr + identifier: (identifier)) + label: (label)) (declaration - (identifier) - (field) - (label))) + (expr + identifier: (identifier + field: (identifier))) + label: (label))) ================== Example (summary) @@ -85,16 +95,21 @@ Cassandra (source_file (declaration - (identifier) - (label)) + (expr + identifier: (identifier)) + label: (label)) (declaration - (identifier) - (label)) + (expr + identifier: (identifier)) + label: (label)) (declaration - (identifier) - (field) - (label)) + (expr + identifier: (identifier + field: (identifier))) + label: (label)) (declaration - (identifier)) + (expr + identifier: (identifier))) (declaration - (identifier))) + (expr + identifier: (identifier))))