#include #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif #define LANGUAGE_VERSION 14 #define STATE_COUNT 152 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 45 #define ALIAS_COUNT 0 #define TOKEN_COUNT 25 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 7 #define PRODUCTION_ID_COUNT 1 enum { anon_sym_DOT = 1, anon_sym_COLON_COLON = 2, anon_sym_DASH_GT = 3, anon_sym_LT_DASH = 4, anon_sym_TILDE_GT = 5, anon_sym_LT_TILDE = 6, anon_sym_PLUS_GT = 7, anon_sym_LT_PLUS = 8, anon_sym_POUND = 9, anon_sym_PLUS = 10, anon_sym_DASH = 11, anon_sym_LPAREN = 12, anon_sym_RPAREN = 13, anon_sym_EQ_GT = 14, anon_sym_POUND_GT = 15, anon_sym_COMMA = 16, anon_sym_LBRACK = 17, anon_sym_RBRACK = 18, anon_sym_LT = 19, anon_sym_GT = 20, anon_sym_SLASH_SLASH = 21, aux_sym_comment_token1 = 22, sym__label = 23, sym__newline = 24, sym_source_file = 25, sym_definition = 26, sym_entry = 27, sym_member = 28, sym_member_type = 29, sym_parameter_list = 30, sym_return_statement = 31, sym_throw_statement = 32, sym__entry_list = 33, sym__identifier_list = 34, sym_identifier = 35, sym_optional_value = 36, sym_type_annotation = 37, sym_comment = 38, aux_sym_source_file_repeat1 = 39, aux_sym_source_file_repeat2 = 40, aux_sym_definition_repeat1 = 41, aux_sym_entry_repeat1 = 42, aux_sym__entry_list_repeat1 = 43, aux_sym__identifier_list_repeat1 = 44, }; static const char * const ts_symbol_names[] = { [ts_builtin_sym_end] = "end", [anon_sym_DOT] = ".", [anon_sym_COLON_COLON] = "::", [anon_sym_DASH_GT] = "->", [anon_sym_LT_DASH] = "<-", [anon_sym_TILDE_GT] = "~>", [anon_sym_LT_TILDE] = "<~", [anon_sym_PLUS_GT] = "+>", [anon_sym_LT_PLUS] = "<+", [anon_sym_POUND] = "#", [anon_sym_PLUS] = "+", [anon_sym_DASH] = "-", [anon_sym_LPAREN] = "(", [anon_sym_RPAREN] = ")", [anon_sym_EQ_GT] = "=>", [anon_sym_POUND_GT] = "#>", [anon_sym_COMMA] = ",", [anon_sym_LBRACK] = "[", [anon_sym_RBRACK] = "]", [anon_sym_LT] = "<", [anon_sym_GT] = ">", [anon_sym_SLASH_SLASH] = "//", [aux_sym_comment_token1] = "comment_token1", [sym__label] = "_label", [sym__newline] = "_newline", [sym_source_file] = "source_file", [sym_definition] = "definition", [sym_entry] = "entry", [sym_member] = "member", [sym_member_type] = "member_type", [sym_parameter_list] = "parameter_list", [sym_return_statement] = "return_statement", [sym_throw_statement] = "throw_statement", [sym__entry_list] = "_entry_list", [sym__identifier_list] = "_identifier_list", [sym_identifier] = "identifier", [sym_optional_value] = "optional_value", [sym_type_annotation] = "type_annotation", [sym_comment] = "comment", [aux_sym_source_file_repeat1] = "source_file_repeat1", [aux_sym_source_file_repeat2] = "source_file_repeat2", [aux_sym_definition_repeat1] = "definition_repeat1", [aux_sym_entry_repeat1] = "entry_repeat1", [aux_sym__entry_list_repeat1] = "_entry_list_repeat1", [aux_sym__identifier_list_repeat1] = "_identifier_list_repeat1", }; static const TSSymbol ts_symbol_map[] = { [ts_builtin_sym_end] = ts_builtin_sym_end, [anon_sym_DOT] = anon_sym_DOT, [anon_sym_COLON_COLON] = anon_sym_COLON_COLON, [anon_sym_DASH_GT] = anon_sym_DASH_GT, [anon_sym_LT_DASH] = anon_sym_LT_DASH, [anon_sym_TILDE_GT] = anon_sym_TILDE_GT, [anon_sym_LT_TILDE] = anon_sym_LT_TILDE, [anon_sym_PLUS_GT] = anon_sym_PLUS_GT, [anon_sym_LT_PLUS] = anon_sym_LT_PLUS, [anon_sym_POUND] = anon_sym_POUND, [anon_sym_PLUS] = anon_sym_PLUS, [anon_sym_DASH] = anon_sym_DASH, [anon_sym_LPAREN] = anon_sym_LPAREN, [anon_sym_RPAREN] = anon_sym_RPAREN, [anon_sym_EQ_GT] = anon_sym_EQ_GT, [anon_sym_POUND_GT] = anon_sym_POUND_GT, [anon_sym_COMMA] = anon_sym_COMMA, [anon_sym_LBRACK] = anon_sym_LBRACK, [anon_sym_RBRACK] = anon_sym_RBRACK, [anon_sym_LT] = anon_sym_LT, [anon_sym_GT] = anon_sym_GT, [anon_sym_SLASH_SLASH] = anon_sym_SLASH_SLASH, [aux_sym_comment_token1] = aux_sym_comment_token1, [sym__label] = sym__label, [sym__newline] = sym__newline, [sym_source_file] = sym_source_file, [sym_definition] = sym_definition, [sym_entry] = sym_entry, [sym_member] = sym_member, [sym_member_type] = sym_member_type, [sym_parameter_list] = sym_parameter_list, [sym_return_statement] = sym_return_statement, [sym_throw_statement] = sym_throw_statement, [sym__entry_list] = sym__entry_list, [sym__identifier_list] = sym__identifier_list, [sym_identifier] = sym_identifier, [sym_optional_value] = sym_optional_value, [sym_type_annotation] = sym_type_annotation, [sym_comment] = sym_comment, [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, [aux_sym_source_file_repeat2] = aux_sym_source_file_repeat2, [aux_sym_definition_repeat1] = aux_sym_definition_repeat1, [aux_sym_entry_repeat1] = aux_sym_entry_repeat1, [aux_sym__entry_list_repeat1] = aux_sym__entry_list_repeat1, [aux_sym__identifier_list_repeat1] = aux_sym__identifier_list_repeat1, }; static const TSSymbolMetadata ts_symbol_metadata[] = { [ts_builtin_sym_end] = { .visible = false, .named = true, }, [anon_sym_DOT] = { .visible = true, .named = false, }, [anon_sym_COLON_COLON] = { .visible = true, .named = false, }, [anon_sym_DASH_GT] = { .visible = true, .named = false, }, [anon_sym_LT_DASH] = { .visible = true, .named = false, }, [anon_sym_TILDE_GT] = { .visible = true, .named = false, }, [anon_sym_LT_TILDE] = { .visible = true, .named = false, }, [anon_sym_PLUS_GT] = { .visible = true, .named = false, }, [anon_sym_LT_PLUS] = { .visible = true, .named = false, }, [anon_sym_POUND] = { .visible = true, .named = false, }, [anon_sym_PLUS] = { .visible = true, .named = false, }, [anon_sym_DASH] = { .visible = true, .named = false, }, [anon_sym_LPAREN] = { .visible = true, .named = false, }, [anon_sym_RPAREN] = { .visible = true, .named = false, }, [anon_sym_EQ_GT] = { .visible = true, .named = false, }, [anon_sym_POUND_GT] = { .visible = true, .named = false, }, [anon_sym_COMMA] = { .visible = true, .named = false, }, [anon_sym_LBRACK] = { .visible = true, .named = false, }, [anon_sym_RBRACK] = { .visible = true, .named = false, }, [anon_sym_LT] = { .visible = true, .named = false, }, [anon_sym_GT] = { .visible = true, .named = false, }, [anon_sym_SLASH_SLASH] = { .visible = true, .named = false, }, [aux_sym_comment_token1] = { .visible = false, .named = false, }, [sym__label] = { .visible = false, .named = true, }, [sym__newline] = { .visible = false, .named = true, }, [sym_source_file] = { .visible = true, .named = true, }, [sym_definition] = { .visible = true, .named = true, }, [sym_entry] = { .visible = true, .named = true, }, [sym_member] = { .visible = true, .named = true, }, [sym_member_type] = { .visible = true, .named = true, }, [sym_parameter_list] = { .visible = true, .named = true, }, [sym_return_statement] = { .visible = true, .named = true, }, [sym_throw_statement] = { .visible = true, .named = true, }, [sym__entry_list] = { .visible = false, .named = true, }, [sym__identifier_list] = { .visible = false, .named = true, }, [sym_identifier] = { .visible = true, .named = true, }, [sym_optional_value] = { .visible = true, .named = true, }, [sym_type_annotation] = { .visible = true, .named = true, }, [sym_comment] = { .visible = true, .named = true, }, [aux_sym_source_file_repeat1] = { .visible = false, .named = false, }, [aux_sym_source_file_repeat2] = { .visible = false, .named = false, }, [aux_sym_definition_repeat1] = { .visible = false, .named = false, }, [aux_sym_entry_repeat1] = { .visible = false, .named = false, }, [aux_sym__entry_list_repeat1] = { .visible = false, .named = false, }, [aux_sym__identifier_list_repeat1] = { .visible = false, .named = false, }, }; static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { [0] = {0}, }; static const uint16_t ts_non_terminal_alias_map[] = { 0, }; static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 5, [6] = 6, [7] = 7, [8] = 8, [9] = 9, [10] = 10, [11] = 11, [12] = 11, [13] = 11, [14] = 11, [15] = 15, [16] = 16, [17] = 17, [18] = 16, [19] = 11, [20] = 16, [21] = 21, [22] = 16, [23] = 23, [24] = 24, [25] = 16, [26] = 26, [27] = 26, [28] = 23, [29] = 29, [30] = 23, [31] = 26, [32] = 24, [33] = 23, [34] = 34, [35] = 26, [36] = 36, [37] = 37, [38] = 38, [39] = 39, [40] = 40, [41] = 41, [42] = 36, [43] = 43, [44] = 44, [45] = 45, [46] = 23, [47] = 47, [48] = 48, [49] = 49, [50] = 50, [51] = 37, [52] = 43, [53] = 36, [54] = 38, [55] = 26, [56] = 45, [57] = 29, [58] = 58, [59] = 59, [60] = 60, [61] = 49, [62] = 62, [63] = 49, [64] = 39, [65] = 45, [66] = 49, [67] = 67, [68] = 37, [69] = 69, [70] = 70, [71] = 40, [72] = 39, [73] = 59, [74] = 60, [75] = 75, [76] = 44, [77] = 45, [78] = 39, [79] = 40, [80] = 62, [81] = 48, [82] = 82, [83] = 69, [84] = 50, [85] = 50, [86] = 86, [87] = 37, [88] = 88, [89] = 89, [90] = 62, [91] = 91, [92] = 48, [93] = 62, [94] = 94, [95] = 44, [96] = 96, [97] = 97, [98] = 89, [99] = 45, [100] = 97, [101] = 101, [102] = 82, [103] = 88, [104] = 44, [105] = 105, [106] = 94, [107] = 96, [108] = 105, [109] = 49, [110] = 40, [111] = 48, [112] = 39, [113] = 50, [114] = 39, [115] = 37, [116] = 105, [117] = 105, [118] = 67, [119] = 91, [120] = 105, [121] = 86, [122] = 122, [123] = 40, [124] = 48, [125] = 125, [126] = 126, [127] = 127, [128] = 50, [129] = 129, [130] = 130, [131] = 67, [132] = 39, [133] = 133, [134] = 134, [135] = 135, [136] = 136, [137] = 136, [138] = 138, [139] = 139, [140] = 135, [141] = 141, [142] = 142, [143] = 143, [144] = 144, [145] = 134, [146] = 146, [147] = 141, [148] = 148, [149] = 149, [150] = 150, [151] = 151, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { START_LEXER(); eof = lexer->eof(lexer); switch (state) { case 0: if (eof) ADVANCE(10); if (lookahead == '#') ADVANCE(20); if (lookahead == '(') ADVANCE(23); if (lookahead == ')') ADVANCE(24); if (lookahead == '+') ADVANCE(21); if (lookahead == ',') ADVANCE(27); if (lookahead == '-') ADVANCE(22); if (lookahead == '.') ADVANCE(11); if (lookahead == '/') ADVANCE(4); if (lookahead == ':') ADVANCE(5); if (lookahead == '<') ADVANCE(31); if (lookahead == '=') ADVANCE(7); if (lookahead == '>') ADVANCE(32); if (lookahead == '[') ADVANCE(28); if (lookahead == ']') ADVANCE(29); if (lookahead == '~') ADVANCE(8); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(36); END_STATE(); case 1: if (lookahead == '\n') ADVANCE(37); if (lookahead == '#') ADVANCE(6); if (lookahead == '(') ADVANCE(23); if (lookahead == ',') ADVANCE(27); if (lookahead == '.') ADVANCE(11); if (lookahead == '<') ADVANCE(30); if (lookahead == '=') ADVANCE(7); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') SKIP(1) END_STATE(); case 2: if (lookahead == '#') ADVANCE(6); if (lookahead == '(') ADVANCE(23); if (lookahead == ')') ADVANCE(24); if (lookahead == ',') ADVANCE(27); if (lookahead == '.') ADVANCE(11); if (lookahead == '<') ADVANCE(30); if (lookahead == '=') ADVANCE(7); if (lookahead == '>') ADVANCE(32); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(2) END_STATE(); case 3: if (lookahead == '+') ADVANCE(18); if (lookahead == '-') ADVANCE(14); if (lookahead == '~') ADVANCE(16); END_STATE(); case 4: if (lookahead == '/') ADVANCE(33); END_STATE(); case 5: if (lookahead == ':') ADVANCE(12); END_STATE(); case 6: if (lookahead == '>') ADVANCE(26); END_STATE(); case 7: if (lookahead == '>') ADVANCE(25); END_STATE(); case 8: if (lookahead == '>') ADVANCE(15); END_STATE(); case 9: if (eof) ADVANCE(10); if (lookahead == '\n') ADVANCE(37); if (lookahead == '#') ADVANCE(19); if (lookahead == '+') ADVANCE(21); if (lookahead == ',') ADVANCE(27); if (lookahead == '-') ADVANCE(22); if (lookahead == '.') ADVANCE(11); if (lookahead == '/') ADVANCE(4); if (lookahead == ':') ADVANCE(5); if (lookahead == '<') ADVANCE(3); if (lookahead == '[') ADVANCE(28); if (lookahead == '~') ADVANCE(8); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') SKIP(9) if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(36); END_STATE(); case 10: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); case 11: ACCEPT_TOKEN(anon_sym_DOT); END_STATE(); case 12: ACCEPT_TOKEN(anon_sym_COLON_COLON); END_STATE(); case 13: ACCEPT_TOKEN(anon_sym_DASH_GT); END_STATE(); case 14: ACCEPT_TOKEN(anon_sym_LT_DASH); END_STATE(); case 15: ACCEPT_TOKEN(anon_sym_TILDE_GT); END_STATE(); case 16: ACCEPT_TOKEN(anon_sym_LT_TILDE); END_STATE(); case 17: ACCEPT_TOKEN(anon_sym_PLUS_GT); END_STATE(); case 18: ACCEPT_TOKEN(anon_sym_LT_PLUS); END_STATE(); case 19: ACCEPT_TOKEN(anon_sym_POUND); END_STATE(); case 20: ACCEPT_TOKEN(anon_sym_POUND); if (lookahead == '>') ADVANCE(26); END_STATE(); case 21: ACCEPT_TOKEN(anon_sym_PLUS); if (lookahead == '>') ADVANCE(17); END_STATE(); case 22: ACCEPT_TOKEN(anon_sym_DASH); if (lookahead == '>') ADVANCE(13); END_STATE(); case 23: ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); case 24: ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); case 25: ACCEPT_TOKEN(anon_sym_EQ_GT); END_STATE(); case 26: ACCEPT_TOKEN(anon_sym_POUND_GT); END_STATE(); case 27: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); case 28: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); case 29: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); case 30: ACCEPT_TOKEN(anon_sym_LT); END_STATE(); case 31: ACCEPT_TOKEN(anon_sym_LT); if (lookahead == '+') ADVANCE(18); if (lookahead == '-') ADVANCE(14); if (lookahead == '~') ADVANCE(16); END_STATE(); case 32: ACCEPT_TOKEN(anon_sym_GT); END_STATE(); case 33: ACCEPT_TOKEN(anon_sym_SLASH_SLASH); END_STATE(); case 34: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') ADVANCE(34); if (lookahead != 0 && lookahead != '\n') ADVANCE(35); END_STATE(); case 35: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead != 0 && lookahead != '\n') ADVANCE(35); END_STATE(); case 36: ACCEPT_TOKEN(sym__label); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(36); END_STATE(); case 37: ACCEPT_TOKEN(sym__newline); if (lookahead == '\n') ADVANCE(37); END_STATE(); default: return false; } } static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, [1] = {.lex_state = 0}, [2] = {.lex_state = 9}, [3] = {.lex_state = 9}, [4] = {.lex_state = 9}, [5] = {.lex_state = 9}, [6] = {.lex_state = 9}, [7] = {.lex_state = 9}, [8] = {.lex_state = 9}, [9] = {.lex_state = 9}, [10] = {.lex_state = 9}, [11] = {.lex_state = 2}, [12] = {.lex_state = 2}, [13] = {.lex_state = 1}, [14] = {.lex_state = 1}, [15] = {.lex_state = 0}, [16] = {.lex_state = 2}, [17] = {.lex_state = 0}, [18] = {.lex_state = 2}, [19] = {.lex_state = 1}, [20] = {.lex_state = 1}, [21] = {.lex_state = 1}, [22] = {.lex_state = 1}, [23] = {.lex_state = 2}, [24] = {.lex_state = 2}, [25] = {.lex_state = 1}, [26] = {.lex_state = 2}, [27] = {.lex_state = 2}, [28] = {.lex_state = 2}, [29] = {.lex_state = 2}, [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 = 0}, [37] = {.lex_state = 2}, [38] = {.lex_state = 0}, [39] = {.lex_state = 2}, [40] = {.lex_state = 2}, [41] = {.lex_state = 9}, [42] = {.lex_state = 0}, [43] = {.lex_state = 0}, [44] = {.lex_state = 2}, [45] = {.lex_state = 2}, [46] = {.lex_state = 1}, [47] = {.lex_state = 9}, [48] = {.lex_state = 2}, [49] = {.lex_state = 2}, [50] = {.lex_state = 2}, [51] = {.lex_state = 2}, [52] = {.lex_state = 0}, [53] = {.lex_state = 0}, [54] = {.lex_state = 0}, [55] = {.lex_state = 1}, [56] = {.lex_state = 2}, [57] = {.lex_state = 1}, [58] = {.lex_state = 9}, [59] = {.lex_state = 2}, [60] = {.lex_state = 2}, [61] = {.lex_state = 2}, [62] = {.lex_state = 0}, [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 = 0}, [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 = 0}, [79] = {.lex_state = 0}, [80] = {.lex_state = 0}, [81] = {.lex_state = 0}, [82] = {.lex_state = 2}, [83] = {.lex_state = 0}, [84] = {.lex_state = 0}, [85] = {.lex_state = 1}, [86] = {.lex_state = 2}, [87] = {.lex_state = 1}, [88] = {.lex_state = 2}, [89] = {.lex_state = 2}, [90] = {.lex_state = 0}, [91] = {.lex_state = 2}, [92] = {.lex_state = 1}, [93] = {.lex_state = 0}, [94] = {.lex_state = 2}, [95] = {.lex_state = 0}, [96] = {.lex_state = 2}, [97] = {.lex_state = 2}, [98] = {.lex_state = 1}, [99] = {.lex_state = 1}, [100] = {.lex_state = 1}, [101] = {.lex_state = 0}, [102] = {.lex_state = 1}, [103] = {.lex_state = 1}, [104] = {.lex_state = 9}, [105] = {.lex_state = 0}, [106] = {.lex_state = 1}, [107] = {.lex_state = 1}, [108] = {.lex_state = 0}, [109] = {.lex_state = 1}, [110] = {.lex_state = 9}, [111] = {.lex_state = 9}, [112] = {.lex_state = 9}, [113] = {.lex_state = 9}, [114] = {.lex_state = 9}, [115] = {.lex_state = 1}, [116] = {.lex_state = 0}, [117] = {.lex_state = 0}, [118] = {.lex_state = 9}, [119] = {.lex_state = 1}, [120] = {.lex_state = 0}, [121] = {.lex_state = 1}, [122] = {.lex_state = 1}, [123] = {.lex_state = 9}, [124] = {.lex_state = 9}, [125] = {.lex_state = 0}, [126] = {.lex_state = 1}, [127] = {.lex_state = 1}, [128] = {.lex_state = 9}, [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 = 9}, [139] = {.lex_state = 0}, [140] = {.lex_state = 0}, [141] = {.lex_state = 0}, [142] = {.lex_state = 0}, [143] = {.lex_state = 9}, [144] = {.lex_state = 0}, [145] = {.lex_state = 0}, [146] = {.lex_state = 34}, [147] = {.lex_state = 0}, [148] = {.lex_state = 9}, [149] = {.lex_state = 9}, [150] = {.lex_state = 9}, [151] = {.lex_state = 9}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [0] = { [ts_builtin_sym_end] = ACTIONS(1), [anon_sym_DOT] = ACTIONS(1), [anon_sym_COLON_COLON] = ACTIONS(1), [anon_sym_DASH_GT] = ACTIONS(1), [anon_sym_LT_DASH] = ACTIONS(1), [anon_sym_TILDE_GT] = ACTIONS(1), [anon_sym_LT_TILDE] = ACTIONS(1), [anon_sym_PLUS_GT] = ACTIONS(1), [anon_sym_LT_PLUS] = ACTIONS(1), [anon_sym_POUND] = ACTIONS(1), [anon_sym_PLUS] = ACTIONS(1), [anon_sym_DASH] = ACTIONS(1), [anon_sym_LPAREN] = ACTIONS(1), [anon_sym_RPAREN] = ACTIONS(1), [anon_sym_EQ_GT] = ACTIONS(1), [anon_sym_POUND_GT] = ACTIONS(1), [anon_sym_COMMA] = ACTIONS(1), [anon_sym_LBRACK] = ACTIONS(1), [anon_sym_RBRACK] = ACTIONS(1), [anon_sym_LT] = ACTIONS(1), [anon_sym_GT] = ACTIONS(1), [anon_sym_SLASH_SLASH] = ACTIONS(1), [sym__label] = ACTIONS(1), }, [1] = { [sym_source_file] = STATE(139), [sym_definition] = STATE(41), [sym_entry] = STATE(138), [sym_identifier] = STATE(123), [sym_optional_value] = STATE(19), [sym_comment] = STATE(41), [aux_sym_source_file_repeat2] = STATE(15), [ts_builtin_sym_end] = ACTIONS(3), [anon_sym_LBRACK] = ACTIONS(5), [anon_sym_SLASH_SLASH] = ACTIONS(7), [sym__label] = ACTIONS(9), }, }; static const uint16_t ts_small_parse_table[] = { [0] = 6, ACTIONS(18), 1, anon_sym_SLASH_SLASH, STATE(144), 1, sym_member_type, ACTIONS(11), 2, ts_builtin_sym_end, sym__newline, ACTIONS(16), 2, anon_sym_LBRACK, sym__label, STATE(2), 3, sym_member, sym_comment, aux_sym_definition_repeat1, ACTIONS(13), 10, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, [32] = 6, ACTIONS(27), 1, anon_sym_SLASH_SLASH, STATE(144), 1, sym_member_type, ACTIONS(21), 2, ts_builtin_sym_end, sym__newline, ACTIONS(25), 2, anon_sym_LBRACK, sym__label, STATE(2), 3, sym_member, sym_comment, aux_sym_definition_repeat1, ACTIONS(23), 10, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, [64] = 6, ACTIONS(27), 1, anon_sym_SLASH_SLASH, STATE(144), 1, sym_member_type, ACTIONS(29), 2, ts_builtin_sym_end, sym__newline, ACTIONS(31), 2, anon_sym_LBRACK, sym__label, STATE(3), 3, sym_member, sym_comment, aux_sym_definition_repeat1, ACTIONS(23), 10, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, [96] = 2, ACTIONS(33), 2, ts_builtin_sym_end, sym__newline, ACTIONS(35), 13, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [116] = 2, ACTIONS(37), 2, ts_builtin_sym_end, sym__newline, ACTIONS(39), 13, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [136] = 2, ACTIONS(41), 2, ts_builtin_sym_end, sym__newline, ACTIONS(43), 13, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [156] = 2, ACTIONS(45), 2, ts_builtin_sym_end, sym__newline, ACTIONS(47), 13, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [176] = 2, ACTIONS(49), 2, ts_builtin_sym_end, sym__newline, ACTIONS(51), 13, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [196] = 2, ACTIONS(53), 2, ts_builtin_sym_end, sym__newline, ACTIONS(55), 13, anon_sym_COLON_COLON, anon_sym_DASH_GT, anon_sym_LT_DASH, anon_sym_TILDE_GT, anon_sym_LT_TILDE, anon_sym_PLUS_GT, anon_sym_LT_PLUS, anon_sym_POUND, anon_sym_PLUS, anon_sym_DASH, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [216] = 9, ACTIONS(59), 1, anon_sym_LPAREN, ACTIONS(61), 1, anon_sym_EQ_GT, ACTIONS(63), 1, anon_sym_POUND_GT, ACTIONS(65), 1, anon_sym_LT, STATE(16), 1, sym_type_annotation, STATE(26), 1, sym_parameter_list, STATE(37), 1, sym_return_statement, STATE(82), 1, sym_throw_statement, ACTIONS(57), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [247] = 8, ACTIONS(59), 1, anon_sym_LPAREN, ACTIONS(61), 1, anon_sym_EQ_GT, ACTIONS(65), 1, anon_sym_LT, STATE(18), 1, sym_type_annotation, STATE(27), 1, sym_parameter_list, STATE(51), 1, sym_return_statement, STATE(82), 1, sym_throw_statement, ACTIONS(57), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [276] = 9, ACTIONS(57), 1, sym__newline, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(73), 1, anon_sym_LT, STATE(20), 1, sym_type_annotation, STATE(31), 1, sym_parameter_list, STATE(87), 1, sym_return_statement, STATE(102), 1, sym_throw_statement, ACTIONS(67), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [306] = 10, ACTIONS(57), 1, sym__newline, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(73), 1, anon_sym_LT, ACTIONS(75), 1, anon_sym_POUND_GT, STATE(22), 1, sym_type_annotation, STATE(35), 1, sym_parameter_list, STATE(68), 1, sym_return_statement, STATE(102), 1, sym_throw_statement, ACTIONS(67), 2, anon_sym_DOT, anon_sym_COMMA, [338] = 9, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(7), 1, anon_sym_SLASH_SLASH, ACTIONS(9), 1, sym__label, ACTIONS(77), 1, ts_builtin_sym_end, STATE(17), 1, aux_sym_source_file_repeat2, STATE(19), 1, sym_optional_value, STATE(123), 1, sym_identifier, STATE(138), 1, sym_entry, STATE(41), 2, sym_definition, sym_comment, [367] = 7, ACTIONS(59), 1, anon_sym_LPAREN, ACTIONS(61), 1, anon_sym_EQ_GT, ACTIONS(63), 1, anon_sym_POUND_GT, STATE(23), 1, sym_parameter_list, STATE(61), 1, sym_return_statement, STATE(89), 1, sym_throw_statement, ACTIONS(79), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [392] = 9, ACTIONS(81), 1, ts_builtin_sym_end, ACTIONS(83), 1, anon_sym_LBRACK, ACTIONS(86), 1, anon_sym_SLASH_SLASH, ACTIONS(89), 1, sym__label, STATE(17), 1, aux_sym_source_file_repeat2, STATE(19), 1, sym_optional_value, STATE(123), 1, sym_identifier, STATE(138), 1, sym_entry, STATE(41), 2, sym_definition, sym_comment, [421] = 6, ACTIONS(59), 1, anon_sym_LPAREN, ACTIONS(61), 1, anon_sym_EQ_GT, STATE(28), 1, sym_parameter_list, STATE(49), 1, sym_return_statement, STATE(89), 1, sym_throw_statement, ACTIONS(79), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [444] = 10, ACTIONS(57), 1, sym__newline, ACTIONS(67), 1, anon_sym_DOT, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(73), 1, anon_sym_LT, ACTIONS(92), 1, anon_sym_POUND_GT, STATE(25), 1, sym_type_annotation, STATE(55), 1, sym_parameter_list, STATE(102), 1, sym_throw_statement, STATE(115), 1, sym_return_statement, [475] = 7, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(79), 1, sym__newline, STATE(33), 1, sym_parameter_list, STATE(63), 1, sym_return_statement, STATE(98), 1, sym_throw_statement, ACTIONS(94), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [499] = 9, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(73), 1, anon_sym_LT, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(96), 1, sym__newline, STATE(34), 1, sym_type_annotation, STATE(70), 1, sym_parameter_list, STATE(127), 1, sym_return_statement, STATE(143), 1, sym_throw_statement, [527] = 8, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(75), 1, anon_sym_POUND_GT, ACTIONS(79), 1, sym__newline, STATE(30), 1, sym_parameter_list, STATE(66), 1, sym_return_statement, STATE(98), 1, sym_throw_statement, ACTIONS(94), 2, anon_sym_DOT, anon_sym_COMMA, [553] = 5, ACTIONS(61), 1, anon_sym_EQ_GT, ACTIONS(63), 1, anon_sym_POUND_GT, STATE(56), 1, sym_return_statement, STATE(96), 1, sym_throw_statement, ACTIONS(98), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [572] = 1, ACTIONS(100), 8, anon_sym_DOT, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_LT, anon_sym_GT, [583] = 8, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(79), 1, sym__newline, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(94), 1, anon_sym_DOT, STATE(46), 1, sym_parameter_list, STATE(98), 1, sym_throw_statement, STATE(109), 1, sym_return_statement, [608] = 5, ACTIONS(61), 1, anon_sym_EQ_GT, ACTIONS(63), 1, anon_sym_POUND_GT, STATE(61), 1, sym_return_statement, STATE(89), 1, sym_throw_statement, ACTIONS(79), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [627] = 4, ACTIONS(61), 1, anon_sym_EQ_GT, STATE(49), 1, sym_return_statement, STATE(89), 1, sym_throw_statement, ACTIONS(79), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [644] = 4, ACTIONS(61), 1, anon_sym_EQ_GT, STATE(45), 1, sym_return_statement, STATE(96), 1, sym_throw_statement, ACTIONS(98), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [661] = 1, ACTIONS(102), 7, anon_sym_DOT, anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [671] = 6, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(75), 1, anon_sym_POUND_GT, ACTIONS(98), 1, sym__newline, STATE(65), 1, sym_return_statement, STATE(107), 1, sym_throw_statement, ACTIONS(104), 2, anon_sym_DOT, anon_sym_COMMA, [691] = 5, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(79), 1, sym__newline, STATE(63), 1, sym_return_statement, STATE(98), 1, sym_throw_statement, ACTIONS(94), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [709] = 2, ACTIONS(100), 1, sym__newline, ACTIONS(106), 6, anon_sym_DOT, anon_sym_LPAREN, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_LT, [721] = 5, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(98), 1, sym__newline, STATE(77), 1, sym_return_statement, STATE(107), 1, sym_throw_statement, ACTIONS(104), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [739] = 7, ACTIONS(69), 1, anon_sym_LPAREN, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(108), 1, sym__newline, STATE(75), 1, sym_parameter_list, STATE(122), 1, sym_return_statement, STATE(148), 1, sym_throw_statement, [761] = 6, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(75), 1, anon_sym_POUND_GT, ACTIONS(79), 1, sym__newline, STATE(66), 1, sym_return_statement, STATE(98), 1, sym_throw_statement, ACTIONS(94), 2, anon_sym_DOT, anon_sym_COMMA, [781] = 5, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, STATE(11), 1, sym_optional_value, STATE(79), 1, sym_identifier, STATE(88), 2, sym_entry, sym__entry_list, [798] = 3, ACTIONS(63), 1, anon_sym_POUND_GT, STATE(89), 1, sym_throw_statement, ACTIONS(79), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [811] = 6, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, STATE(11), 1, sym_optional_value, STATE(79), 1, sym_identifier, STATE(131), 1, sym_entry, STATE(137), 1, sym__entry_list, [830] = 2, STATE(44), 1, aux_sym__entry_list_repeat1, ACTIONS(114), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [841] = 3, ACTIONS(116), 1, anon_sym_DOT, STATE(50), 1, aux_sym_entry_repeat1, ACTIONS(118), 4, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [854] = 4, ACTIONS(120), 1, ts_builtin_sym_end, ACTIONS(124), 1, sym__newline, STATE(58), 1, aux_sym_source_file_repeat1, ACTIONS(122), 3, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [869] = 5, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(126), 1, sym__label, STATE(14), 1, sym_optional_value, STATE(110), 1, sym_identifier, STATE(103), 2, sym_entry, sym__entry_list, [886] = 6, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, ACTIONS(128), 1, anon_sym_RPAREN, STATE(11), 1, sym_optional_value, STATE(129), 1, sym_identifier, STATE(135), 1, sym__identifier_list, [905] = 3, ACTIONS(132), 1, anon_sym_COMMA, STATE(44), 1, aux_sym__entry_list_repeat1, ACTIONS(130), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_GT, [918] = 2, STATE(94), 1, sym_throw_statement, ACTIONS(135), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [929] = 6, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(98), 1, sym__newline, ACTIONS(104), 1, anon_sym_DOT, STATE(99), 1, sym_return_statement, STATE(107), 1, sym_throw_statement, [948] = 4, ACTIONS(137), 1, ts_builtin_sym_end, ACTIONS(141), 1, sym__newline, STATE(47), 1, aux_sym_source_file_repeat1, ACTIONS(139), 3, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [963] = 3, ACTIONS(144), 1, anon_sym_DOT, STATE(48), 1, aux_sym_entry_repeat1, ACTIONS(147), 4, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [976] = 2, STATE(96), 1, sym_throw_statement, ACTIONS(98), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [987] = 3, ACTIONS(116), 1, anon_sym_DOT, STATE(48), 1, aux_sym_entry_repeat1, ACTIONS(149), 4, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1000] = 2, STATE(89), 1, sym_throw_statement, ACTIONS(79), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1011] = 6, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, ACTIONS(151), 1, anon_sym_RPAREN, STATE(11), 1, sym_optional_value, STATE(129), 1, sym_identifier, STATE(140), 1, sym__identifier_list, [1030] = 6, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(126), 1, sym__label, STATE(14), 1, sym_optional_value, STATE(103), 1, sym__entry_list, STATE(110), 1, sym_identifier, STATE(118), 1, sym_entry, [1049] = 6, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, STATE(11), 1, sym_optional_value, STATE(79), 1, sym_identifier, STATE(131), 1, sym_entry, STATE(136), 1, sym__entry_list, [1068] = 6, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(79), 1, sym__newline, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(94), 1, anon_sym_DOT, STATE(98), 1, sym_throw_statement, STATE(109), 1, sym_return_statement, [1087] = 3, ACTIONS(63), 1, anon_sym_POUND_GT, STATE(94), 1, sym_throw_statement, ACTIONS(135), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [1100] = 2, ACTIONS(102), 1, sym__newline, ACTIONS(153), 5, anon_sym_DOT, anon_sym_LPAREN, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, [1111] = 4, ACTIONS(81), 1, ts_builtin_sym_end, ACTIONS(157), 1, sym__newline, STATE(47), 1, aux_sym_source_file_repeat1, ACTIONS(155), 3, anon_sym_LBRACK, anon_sym_SLASH_SLASH, sym__label, [1126] = 1, ACTIONS(159), 6, anon_sym_DOT, anon_sym_RPAREN, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1135] = 1, ACTIONS(161), 6, anon_sym_DOT, anon_sym_RPAREN, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1144] = 3, ACTIONS(63), 1, anon_sym_POUND_GT, STATE(96), 1, sym_throw_statement, ACTIONS(98), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [1157] = 5, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(163), 1, sym__label, STATE(12), 1, sym_optional_value, STATE(40), 1, sym_identifier, STATE(97), 1, sym_entry, [1173] = 3, ACTIONS(98), 1, sym__newline, STATE(107), 1, sym_throw_statement, ACTIONS(104), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1185] = 3, ACTIONS(114), 1, sym__newline, STATE(76), 1, aux_sym__entry_list_repeat1, ACTIONS(165), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1197] = 4, ACTIONS(75), 1, anon_sym_POUND_GT, ACTIONS(135), 1, sym__newline, STATE(106), 1, sym_throw_statement, ACTIONS(167), 2, anon_sym_DOT, anon_sym_COMMA, [1211] = 4, ACTIONS(75), 1, anon_sym_POUND_GT, ACTIONS(98), 1, sym__newline, STATE(107), 1, sym_throw_statement, ACTIONS(104), 2, anon_sym_DOT, anon_sym_COMMA, [1225] = 4, ACTIONS(171), 1, anon_sym_COMMA, ACTIONS(173), 1, sym__newline, STATE(72), 1, aux_sym__entry_list_repeat1, ACTIONS(169), 2, anon_sym_DOT, anon_sym_POUND_GT, [1239] = 4, ACTIONS(75), 1, anon_sym_POUND_GT, ACTIONS(79), 1, sym__newline, STATE(98), 1, sym_throw_statement, ACTIONS(94), 2, anon_sym_DOT, anon_sym_COMMA, [1253] = 5, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(163), 1, sym__label, STATE(12), 1, sym_optional_value, STATE(40), 1, sym_identifier, STATE(86), 1, sym_entry, [1269] = 5, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(108), 1, sym__newline, STATE(122), 1, sym_return_statement, STATE(148), 1, sym_throw_statement, [1285] = 4, ACTIONS(118), 1, sym__newline, ACTIONS(175), 1, anon_sym_DOT, STATE(85), 1, aux_sym_entry_repeat1, ACTIONS(177), 2, anon_sym_POUND_GT, anon_sym_COMMA, [1299] = 4, ACTIONS(114), 1, sym__newline, ACTIONS(171), 1, anon_sym_COMMA, STATE(76), 1, aux_sym__entry_list_repeat1, ACTIONS(165), 2, anon_sym_DOT, anon_sym_POUND_GT, [1313] = 2, ACTIONS(159), 1, sym__newline, ACTIONS(179), 4, anon_sym_DOT, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, [1323] = 2, ACTIONS(161), 1, sym__newline, ACTIONS(181), 4, anon_sym_DOT, anon_sym_EQ_GT, anon_sym_POUND_GT, anon_sym_COMMA, [1333] = 5, ACTIONS(71), 1, anon_sym_EQ_GT, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(183), 1, sym__newline, STATE(126), 1, sym_return_statement, STATE(150), 1, sym_throw_statement, [1349] = 4, ACTIONS(130), 1, sym__newline, ACTIONS(187), 1, anon_sym_COMMA, STATE(76), 1, aux_sym__entry_list_repeat1, ACTIONS(185), 2, anon_sym_DOT, anon_sym_POUND_GT, [1363] = 3, ACTIONS(135), 1, sym__newline, STATE(106), 1, sym_throw_statement, ACTIONS(167), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1375] = 2, STATE(95), 1, aux_sym__entry_list_repeat1, ACTIONS(114), 4, anon_sym_DOT, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [1385] = 3, ACTIONS(190), 1, anon_sym_DOT, STATE(84), 1, aux_sym_entry_repeat1, ACTIONS(118), 3, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [1397] = 5, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(192), 1, sym__label, STATE(13), 1, sym_optional_value, STATE(71), 1, sym_identifier, STATE(100), 1, sym_entry, [1413] = 3, ACTIONS(194), 1, anon_sym_DOT, STATE(81), 1, aux_sym_entry_repeat1, ACTIONS(147), 3, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [1425] = 1, ACTIONS(79), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1433] = 5, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(192), 1, sym__label, STATE(13), 1, sym_optional_value, STATE(71), 1, sym_identifier, STATE(121), 1, sym_entry, [1449] = 3, ACTIONS(190), 1, anon_sym_DOT, STATE(81), 1, aux_sym_entry_repeat1, ACTIONS(149), 3, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_GT, [1461] = 4, ACTIONS(149), 1, sym__newline, ACTIONS(175), 1, anon_sym_DOT, STATE(92), 1, aux_sym_entry_repeat1, ACTIONS(197), 2, anon_sym_POUND_GT, anon_sym_COMMA, [1475] = 1, ACTIONS(199), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1483] = 3, ACTIONS(79), 1, sym__newline, STATE(98), 1, sym_throw_statement, ACTIONS(94), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1495] = 1, ACTIONS(201), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1503] = 1, ACTIONS(98), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1511] = 5, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(126), 1, sym__label, STATE(14), 1, sym_optional_value, STATE(100), 1, sym_entry, STATE(110), 1, sym_identifier, [1527] = 1, ACTIONS(147), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1535] = 4, ACTIONS(147), 1, sym__newline, ACTIONS(203), 1, anon_sym_DOT, STATE(92), 1, aux_sym_entry_repeat1, ACTIONS(206), 2, anon_sym_POUND_GT, anon_sym_COMMA, [1549] = 5, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, STATE(11), 1, sym_optional_value, STATE(79), 1, sym_identifier, STATE(97), 1, sym_entry, [1565] = 1, ACTIONS(208), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1573] = 3, ACTIONS(210), 1, anon_sym_COMMA, STATE(95), 1, aux_sym__entry_list_repeat1, ACTIONS(130), 3, anon_sym_DOT, anon_sym_RPAREN, anon_sym_GT, [1585] = 1, ACTIONS(135), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1593] = 1, ACTIONS(130), 5, anon_sym_DOT, anon_sym_RPAREN, anon_sym_POUND_GT, anon_sym_COMMA, anon_sym_GT, [1601] = 2, ACTIONS(98), 1, sym__newline, ACTIONS(104), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1610] = 4, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(135), 1, sym__newline, ACTIONS(167), 1, anon_sym_DOT, STATE(106), 1, sym_throw_statement, [1623] = 2, ACTIONS(130), 1, sym__newline, ACTIONS(185), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1632] = 4, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, STATE(11), 1, sym_optional_value, STATE(133), 1, sym_identifier, [1645] = 2, ACTIONS(79), 1, sym__newline, ACTIONS(94), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1654] = 2, ACTIONS(201), 1, sym__newline, ACTIONS(213), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1663] = 4, ACTIONS(130), 1, sym__newline, ACTIONS(185), 1, anon_sym_DOT, ACTIONS(215), 1, anon_sym_COMMA, STATE(104), 1, aux_sym__entry_list_repeat1, [1676] = 4, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(112), 1, sym__label, STATE(11), 1, sym_optional_value, STATE(91), 1, sym_identifier, [1689] = 2, ACTIONS(208), 1, sym__newline, ACTIONS(218), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1698] = 2, ACTIONS(135), 1, sym__newline, ACTIONS(167), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1707] = 4, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(9), 1, sym__label, STATE(19), 1, sym_optional_value, STATE(119), 1, sym_identifier, [1720] = 4, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(98), 1, sym__newline, ACTIONS(104), 1, anon_sym_DOT, STATE(107), 1, sym_throw_statement, [1733] = 4, ACTIONS(118), 1, sym__newline, ACTIONS(177), 1, anon_sym_COMMA, ACTIONS(220), 1, anon_sym_DOT, STATE(113), 1, aux_sym_entry_repeat1, [1746] = 4, ACTIONS(147), 1, sym__newline, ACTIONS(206), 1, anon_sym_COMMA, ACTIONS(222), 1, anon_sym_DOT, STATE(111), 1, aux_sym_entry_repeat1, [1759] = 3, ACTIONS(114), 1, sym__newline, STATE(104), 1, aux_sym__entry_list_repeat1, ACTIONS(165), 2, anon_sym_DOT, anon_sym_COMMA, [1770] = 4, ACTIONS(149), 1, sym__newline, ACTIONS(197), 1, anon_sym_COMMA, ACTIONS(220), 1, anon_sym_DOT, STATE(111), 1, aux_sym_entry_repeat1, [1783] = 4, ACTIONS(114), 1, sym__newline, ACTIONS(165), 1, anon_sym_DOT, ACTIONS(225), 1, anon_sym_COMMA, STATE(104), 1, aux_sym__entry_list_repeat1, [1796] = 4, ACTIONS(79), 1, sym__newline, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(94), 1, anon_sym_DOT, STATE(98), 1, sym_throw_statement, [1809] = 4, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(192), 1, sym__label, STATE(13), 1, sym_optional_value, STATE(119), 1, sym_identifier, [1822] = 4, ACTIONS(5), 1, anon_sym_LBRACK, ACTIONS(126), 1, sym__label, STATE(14), 1, sym_optional_value, STATE(119), 1, sym_identifier, [1835] = 4, ACTIONS(169), 1, anon_sym_DOT, ACTIONS(173), 1, sym__newline, ACTIONS(225), 1, anon_sym_COMMA, STATE(114), 1, aux_sym__entry_list_repeat1, [1848] = 2, ACTIONS(147), 1, sym__newline, ACTIONS(206), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1857] = 4, ACTIONS(110), 1, anon_sym_LBRACK, ACTIONS(163), 1, sym__label, STATE(12), 1, sym_optional_value, STATE(91), 1, sym_identifier, [1870] = 2, ACTIONS(199), 1, sym__newline, ACTIONS(227), 3, anon_sym_DOT, anon_sym_POUND_GT, anon_sym_COMMA, [1879] = 3, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(183), 1, sym__newline, STATE(150), 1, sym_throw_statement, [1889] = 3, ACTIONS(118), 1, sym__newline, ACTIONS(229), 1, anon_sym_DOT, STATE(128), 1, aux_sym_entry_repeat1, [1899] = 3, ACTIONS(147), 1, sym__newline, ACTIONS(231), 1, anon_sym_DOT, STATE(124), 1, aux_sym_entry_repeat1, [1909] = 3, ACTIONS(234), 1, anon_sym_RPAREN, ACTIONS(236), 1, anon_sym_COMMA, STATE(125), 1, aux_sym__identifier_list_repeat1, [1919] = 3, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(239), 1, sym__newline, STATE(151), 1, sym_throw_statement, [1929] = 3, ACTIONS(92), 1, anon_sym_POUND_GT, ACTIONS(108), 1, sym__newline, STATE(148), 1, sym_throw_statement, [1939] = 3, ACTIONS(149), 1, sym__newline, ACTIONS(229), 1, anon_sym_DOT, STATE(124), 1, aux_sym_entry_repeat1, [1949] = 3, ACTIONS(241), 1, anon_sym_RPAREN, ACTIONS(243), 1, anon_sym_COMMA, STATE(130), 1, aux_sym__identifier_list_repeat1, [1959] = 3, ACTIONS(243), 1, anon_sym_COMMA, ACTIONS(245), 1, anon_sym_RPAREN, STATE(125), 1, aux_sym__identifier_list_repeat1, [1969] = 3, ACTIONS(173), 1, anon_sym_GT, ACTIONS(247), 1, anon_sym_COMMA, STATE(132), 1, aux_sym__entry_list_repeat1, [1979] = 3, ACTIONS(114), 1, anon_sym_GT, ACTIONS(247), 1, anon_sym_COMMA, STATE(95), 1, aux_sym__entry_list_repeat1, [1989] = 1, ACTIONS(234), 2, anon_sym_RPAREN, anon_sym_COMMA, [1994] = 1, ACTIONS(249), 1, sym__label, [1998] = 1, ACTIONS(251), 1, anon_sym_RPAREN, [2002] = 1, ACTIONS(253), 1, anon_sym_GT, [2006] = 1, ACTIONS(255), 1, anon_sym_GT, [2010] = 1, ACTIONS(257), 1, sym__newline, [2014] = 1, ACTIONS(259), 1, ts_builtin_sym_end, [2018] = 1, ACTIONS(261), 1, anon_sym_RPAREN, [2022] = 1, ACTIONS(263), 1, anon_sym_RBRACK, [2026] = 1, ACTIONS(265), 1, sym__label, [2030] = 1, ACTIONS(108), 1, sym__newline, [2034] = 1, ACTIONS(267), 1, sym__label, [2038] = 1, ACTIONS(269), 1, sym__label, [2042] = 1, ACTIONS(271), 1, aux_sym_comment_token1, [2046] = 1, ACTIONS(273), 1, anon_sym_RBRACK, [2050] = 1, ACTIONS(183), 1, sym__newline, [2054] = 1, ACTIONS(275), 1, sym__newline, [2058] = 1, ACTIONS(239), 1, sym__newline, [2062] = 1, ACTIONS(277), 1, sym__newline, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, [SMALL_STATE(3)] = 32, [SMALL_STATE(4)] = 64, [SMALL_STATE(5)] = 96, [SMALL_STATE(6)] = 116, [SMALL_STATE(7)] = 136, [SMALL_STATE(8)] = 156, [SMALL_STATE(9)] = 176, [SMALL_STATE(10)] = 196, [SMALL_STATE(11)] = 216, [SMALL_STATE(12)] = 247, [SMALL_STATE(13)] = 276, [SMALL_STATE(14)] = 306, [SMALL_STATE(15)] = 338, [SMALL_STATE(16)] = 367, [SMALL_STATE(17)] = 392, [SMALL_STATE(18)] = 421, [SMALL_STATE(19)] = 444, [SMALL_STATE(20)] = 475, [SMALL_STATE(21)] = 499, [SMALL_STATE(22)] = 527, [SMALL_STATE(23)] = 553, [SMALL_STATE(24)] = 572, [SMALL_STATE(25)] = 583, [SMALL_STATE(26)] = 608, [SMALL_STATE(27)] = 627, [SMALL_STATE(28)] = 644, [SMALL_STATE(29)] = 661, [SMALL_STATE(30)] = 671, [SMALL_STATE(31)] = 691, [SMALL_STATE(32)] = 709, [SMALL_STATE(33)] = 721, [SMALL_STATE(34)] = 739, [SMALL_STATE(35)] = 761, [SMALL_STATE(36)] = 781, [SMALL_STATE(37)] = 798, [SMALL_STATE(38)] = 811, [SMALL_STATE(39)] = 830, [SMALL_STATE(40)] = 841, [SMALL_STATE(41)] = 854, [SMALL_STATE(42)] = 869, [SMALL_STATE(43)] = 886, [SMALL_STATE(44)] = 905, [SMALL_STATE(45)] = 918, [SMALL_STATE(46)] = 929, [SMALL_STATE(47)] = 948, [SMALL_STATE(48)] = 963, [SMALL_STATE(49)] = 976, [SMALL_STATE(50)] = 987, [SMALL_STATE(51)] = 1000, [SMALL_STATE(52)] = 1011, [SMALL_STATE(53)] = 1030, [SMALL_STATE(54)] = 1049, [SMALL_STATE(55)] = 1068, [SMALL_STATE(56)] = 1087, [SMALL_STATE(57)] = 1100, [SMALL_STATE(58)] = 1111, [SMALL_STATE(59)] = 1126, [SMALL_STATE(60)] = 1135, [SMALL_STATE(61)] = 1144, [SMALL_STATE(62)] = 1157, [SMALL_STATE(63)] = 1173, [SMALL_STATE(64)] = 1185, [SMALL_STATE(65)] = 1197, [SMALL_STATE(66)] = 1211, [SMALL_STATE(67)] = 1225, [SMALL_STATE(68)] = 1239, [SMALL_STATE(69)] = 1253, [SMALL_STATE(70)] = 1269, [SMALL_STATE(71)] = 1285, [SMALL_STATE(72)] = 1299, [SMALL_STATE(73)] = 1313, [SMALL_STATE(74)] = 1323, [SMALL_STATE(75)] = 1333, [SMALL_STATE(76)] = 1349, [SMALL_STATE(77)] = 1363, [SMALL_STATE(78)] = 1375, [SMALL_STATE(79)] = 1385, [SMALL_STATE(80)] = 1397, [SMALL_STATE(81)] = 1413, [SMALL_STATE(82)] = 1425, [SMALL_STATE(83)] = 1433, [SMALL_STATE(84)] = 1449, [SMALL_STATE(85)] = 1461, [SMALL_STATE(86)] = 1475, [SMALL_STATE(87)] = 1483, [SMALL_STATE(88)] = 1495, [SMALL_STATE(89)] = 1503, [SMALL_STATE(90)] = 1511, [SMALL_STATE(91)] = 1527, [SMALL_STATE(92)] = 1535, [SMALL_STATE(93)] = 1549, [SMALL_STATE(94)] = 1565, [SMALL_STATE(95)] = 1573, [SMALL_STATE(96)] = 1585, [SMALL_STATE(97)] = 1593, [SMALL_STATE(98)] = 1601, [SMALL_STATE(99)] = 1610, [SMALL_STATE(100)] = 1623, [SMALL_STATE(101)] = 1632, [SMALL_STATE(102)] = 1645, [SMALL_STATE(103)] = 1654, [SMALL_STATE(104)] = 1663, [SMALL_STATE(105)] = 1676, [SMALL_STATE(106)] = 1689, [SMALL_STATE(107)] = 1698, [SMALL_STATE(108)] = 1707, [SMALL_STATE(109)] = 1720, [SMALL_STATE(110)] = 1733, [SMALL_STATE(111)] = 1746, [SMALL_STATE(112)] = 1759, [SMALL_STATE(113)] = 1770, [SMALL_STATE(114)] = 1783, [SMALL_STATE(115)] = 1796, [SMALL_STATE(116)] = 1809, [SMALL_STATE(117)] = 1822, [SMALL_STATE(118)] = 1835, [SMALL_STATE(119)] = 1848, [SMALL_STATE(120)] = 1857, [SMALL_STATE(121)] = 1870, [SMALL_STATE(122)] = 1879, [SMALL_STATE(123)] = 1889, [SMALL_STATE(124)] = 1899, [SMALL_STATE(125)] = 1909, [SMALL_STATE(126)] = 1919, [SMALL_STATE(127)] = 1929, [SMALL_STATE(128)] = 1939, [SMALL_STATE(129)] = 1949, [SMALL_STATE(130)] = 1959, [SMALL_STATE(131)] = 1969, [SMALL_STATE(132)] = 1979, [SMALL_STATE(133)] = 1989, [SMALL_STATE(134)] = 1994, [SMALL_STATE(135)] = 1998, [SMALL_STATE(136)] = 2002, [SMALL_STATE(137)] = 2006, [SMALL_STATE(138)] = 2010, [SMALL_STATE(139)] = 2014, [SMALL_STATE(140)] = 2018, [SMALL_STATE(141)] = 2022, [SMALL_STATE(142)] = 2026, [SMALL_STATE(143)] = 2030, [SMALL_STATE(144)] = 2034, [SMALL_STATE(145)] = 2038, [SMALL_STATE(146)] = 2042, [SMALL_STATE(147)] = 2046, [SMALL_STATE(148)] = 2050, [SMALL_STATE(149)] = 2054, [SMALL_STATE(150)] = 2058, [SMALL_STATE(151)] = 2062, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), [11] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_definition_repeat1, 2), [13] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_definition_repeat1, 2), SHIFT_REPEAT(142), [16] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_definition_repeat1, 2), [18] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_definition_repeat1, 2), SHIFT_REPEAT(146), [21] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 3), [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142), [25] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_definition, 3), [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), [29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 2), [31] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_definition, 2), [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member, 5), [35] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member, 5), [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member, 6), [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member, 6), [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member, 7), [43] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member, 7), [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member, 3), [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member, 3), [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member, 4), [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member, 4), [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3), [55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 3), [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1), [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), [67] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1), [69] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), [71] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), [73] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), [75] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 2), [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat2, 2), [83] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat2, 2), SHIFT_REPEAT(134), [86] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat2, 2), SHIFT_REPEAT(146), [89] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat2, 2), SHIFT_REPEAT(19), [92] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), [94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 2), [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), [98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 3), [100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_optional_value, 3), [102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_annotation, 3), [104] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 3), [106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_optional_value, 3), [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__entry_list, 2), [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), [118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entry, 1), [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat2, 1), [122] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_file_repeat2, 1), [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__entry_list_repeat1, 2), [132] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__entry_list_repeat1, 2), SHIFT_REPEAT(62), [135] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 4), [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), [141] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(47), [144] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entry_repeat1, 2), SHIFT_REPEAT(120), [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_entry_repeat1, 2), [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entry, 2), [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_annotation, 3), [155] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_file_repeat2, 2), [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 2), [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 3), [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), [165] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__entry_list, 2), [167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 4), [169] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__entry_list, 1), [171] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__entry_list, 1), [175] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), [177] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entry, 1), [179] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameter_list, 2), [181] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameter_list, 3), [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), [185] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__entry_list_repeat1, 2), [187] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__entry_list_repeat1, 2), SHIFT_REPEAT(80), [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), [194] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entry_repeat1, 2), SHIFT_REPEAT(105), [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entry, 2), [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2), [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_throw_statement, 2), [203] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_entry_repeat1, 2), SHIFT_REPEAT(116), [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_entry_repeat1, 2), [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 5), [210] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__entry_list_repeat1, 2), SHIFT_REPEAT(93), [213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_throw_statement, 2), [215] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__entry_list_repeat1, 2), SHIFT_REPEAT(90), [218] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 5), [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), [222] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_entry_repeat1, 2), SHIFT_REPEAT(117), [225] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 2), [229] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), [231] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_entry_repeat1, 2), SHIFT_REPEAT(108), [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__identifier_list_repeat1, 2), [236] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__identifier_list_repeat1, 2), SHIFT_REPEAT(101), [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__identifier_list, 1), [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__identifier_list, 2), [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), [259] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), [265] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member_type, 1), [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), }; #ifdef __cplusplus extern "C" { #endif #ifdef _WIN32 #define extern __declspec(dllexport) #endif extern const TSLanguage *tree_sitter_apinotation(void) { static const TSLanguage language = { .version = LANGUAGE_VERSION, .symbol_count = SYMBOL_COUNT, .alias_count = ALIAS_COUNT, .token_count = TOKEN_COUNT, .external_token_count = EXTERNAL_TOKEN_COUNT, .state_count = STATE_COUNT, .large_state_count = LARGE_STATE_COUNT, .production_id_count = PRODUCTION_ID_COUNT, .field_count = FIELD_COUNT, .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH, .parse_table = &ts_parse_table[0][0], .small_parse_table = ts_small_parse_table, .small_parse_table_map = ts_small_parse_table_map, .parse_actions = ts_parse_actions, .symbol_names = ts_symbol_names, .symbol_metadata = ts_symbol_metadata, .public_symbol_map = ts_symbol_map, .alias_map = ts_non_terminal_alias_map, .alias_sequences = &ts_alias_sequences[0][0], .lex_modes = ts_lex_modes, .lex_fn = ts_lex, .primary_state_ids = ts_primary_state_ids, }; return &language; } #ifdef __cplusplus } #endif