#include "tree_sitter/parser.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#define LANGUAGE_VERSION 15
#define STATE_COUNT 208
#define LARGE_STATE_COUNT 6
#define SYMBOL_COUNT 86
#define ALIAS_COUNT 0
#define TOKEN_COUNT 50
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 0
#define MAX_ALIAS_SEQUENCE_LENGTH 9
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 1
#define SUPERTYPE_COUNT 0
enum ts_symbol_identifiers {
sym_identifier = 1,
anon_sym_DOT = 2,
anon_sym_module = 3,
anon_sym_SEMI = 4,
anon_sym_LBRACE = 5,
anon_sym_RBRACE = 6,
anon_sym_import = 7,
anon_sym_DOT_STAR = 8,
anon_sym_LT = 9,
anon_sym_COMMA = 10,
anon_sym_GT = 11,
anon_sym_Int8 = 12,
anon_sym_Int16 = 13,
anon_sym_Int32 = 14,
anon_sym_Int64 = 15,
anon_sym_Word8 = 16,
anon_sym_Word16 = 17,
anon_sym_Word32 = 18,
anon_sym_Word64 = 19,
anon_sym_Bool = 20,
anon_sym_Void = 21,
anon_sym_Float = 22,
anon_sym_Double = 23,
anon_sym_String = 24,
anon_sym_Bytes = 25,
anon_sym_Json = 26,
anon_sym_Vector = 27,
anon_sym_StringMap = 28,
anon_sym_Nullable = 29,
anon_sym_TypeToken = 30,
anon_sym_newtype = 31,
anon_sym_EQ = 32,
anon_sym_type = 33,
anon_sym_struct = 34,
anon_sym_union = 35,
anon_sym_AT = 36,
anon_sym_annotation = 37,
anon_sym_COLON_COLON = 38,
anon_sym_SLASH_SLASH = 39,
aux_sym_comment_token1 = 40,
anon_sym_SLASH_SLASH_SLASH = 41,
anon_sym_null = 42,
anon_sym_true = 43,
anon_sym_false = 44,
sym_json_number = 45,
sym_json_string = 46,
anon_sym_LBRACK = 47,
anon_sym_RBRACK = 48,
anon_sym_COLON = 49,
sym_source_file = 50,
sym_scoped_name = 51,
sym_definition_preamble = 52,
sym_module_definition = 53,
sym_module_body = 54,
sym_import_declaration = 55,
sym_import_path = 56,
sym_type_name = 57,
sym_type_parameters = 58,
sym_type_expression = 59,
sym_type_arguments = 60,
sym_primitive_type = 61,
sym_newtype_definition = 62,
sym_type_definition = 63,
sym_struct_definition = 64,
sym_union_definition = 65,
sym_field_block = 66,
sym_field = 67,
sym_annotation_decorator = 68,
sym_annotation_declaration = 69,
sym_field_reference = 70,
sym_comment = 71,
sym_docstring = 72,
sym_json_value = 73,
sym_json_array = 74,
sym_json_object = 75,
sym_json_object_pair = 76,
aux_sym_scoped_name_repeat1 = 77,
aux_sym_definition_preamble_repeat1 = 78,
aux_sym_module_body_repeat1 = 79,
aux_sym_type_parameters_repeat1 = 80,
aux_sym_type_arguments_repeat1 = 81,
aux_sym_field_block_repeat1 = 82,
aux_sym_annotation_declaration_repeat1 = 83,
aux_sym_json_array_repeat1 = 84,
aux_sym_json_object_repeat1 = 85,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[sym_identifier] = "identifier",
[anon_sym_DOT] = ".",
[anon_sym_module] = "module",
[anon_sym_SEMI] = ";",
[anon_sym_LBRACE] = "{",
[anon_sym_RBRACE] = "}",
[anon_sym_import] = "import",
[anon_sym_DOT_STAR] = ".*",
[anon_sym_LT] = "<",
[anon_sym_COMMA] = ",",
[anon_sym_GT] = ">",
[anon_sym_Int8] = "Int8",
[anon_sym_Int16] = "Int16",
[anon_sym_Int32] = "Int32",
[anon_sym_Int64] = "Int64",
[anon_sym_Word8] = "Word8",
[anon_sym_Word16] = "Word16",
[anon_sym_Word32] = "Word32",
[anon_sym_Word64] = "Word64",
[anon_sym_Bool] = "Bool",
[anon_sym_Void] = "Void",
[anon_sym_Float] = "Float",
[anon_sym_Double] = "Double",
[anon_sym_String] = "String",
[anon_sym_Bytes] = "Bytes",
[anon_sym_Json] = "Json",
[anon_sym_Vector] = "Vector",
[anon_sym_StringMap] = "StringMap",
[anon_sym_Nullable] = "Nullable",
[anon_sym_TypeToken] = "TypeToken",
[anon_sym_newtype] = "newtype",
[anon_sym_EQ] = "=",
[anon_sym_type] = "type",
[anon_sym_struct] = "struct",
[anon_sym_union] = "union",
[anon_sym_AT] = "@",
[anon_sym_annotation] = "annotation",
[anon_sym_COLON_COLON] = "::",
[anon_sym_SLASH_SLASH] = "//",
[aux_sym_comment_token1] = "comment_token1",
[anon_sym_SLASH_SLASH_SLASH] = "///",
[anon_sym_null] = "null",
[anon_sym_true] = "true",
[anon_sym_false] = "false",
[sym_json_number] = "json_number",
[sym_json_string] = "json_string",
[anon_sym_LBRACK] = "[",
[anon_sym_RBRACK] = "]",
[anon_sym_COLON] = ":",
[sym_source_file] = "source_file",
[sym_scoped_name] = "scoped_name",
[sym_definition_preamble] = "definition_preamble",
[sym_module_definition] = "module_definition",
[sym_module_body] = "module_body",
[sym_import_declaration] = "import_declaration",
[sym_import_path] = "import_path",
[sym_type_name] = "type_name",
[sym_type_parameters] = "type_parameters",
[sym_type_expression] = "type_expression",
[sym_type_arguments] = "type_arguments",
[sym_primitive_type] = "primitive_type",
[sym_newtype_definition] = "newtype_definition",
[sym_type_definition] = "type_definition",
[sym_struct_definition] = "struct_definition",
[sym_union_definition] = "union_definition",
[sym_field_block] = "field_block",
[sym_field] = "field",
[sym_annotation_decorator] = "annotation_decorator",
[sym_annotation_declaration] = "annotation_declaration",
[sym_field_reference] = "field_reference",
[sym_comment] = "comment",
[sym_docstring] = "docstring",
[sym_json_value] = "json_value",
[sym_json_array] = "json_array",
[sym_json_object] = "json_object",
[sym_json_object_pair] = "json_object_pair",
[aux_sym_scoped_name_repeat1] = "scoped_name_repeat1",
[aux_sym_definition_preamble_repeat1] = "definition_preamble_repeat1",
[aux_sym_module_body_repeat1] = "module_body_repeat1",
[aux_sym_type_parameters_repeat1] = "type_parameters_repeat1",
[aux_sym_type_arguments_repeat1] = "type_arguments_repeat1",
[aux_sym_field_block_repeat1] = "field_block_repeat1",
[aux_sym_annotation_declaration_repeat1] = "annotation_declaration_repeat1",
[aux_sym_json_array_repeat1] = "json_array_repeat1",
[aux_sym_json_object_repeat1] = "json_object_repeat1",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[sym_identifier] = sym_identifier,
[anon_sym_DOT] = anon_sym_DOT,
[anon_sym_module] = anon_sym_module,
[anon_sym_SEMI] = anon_sym_SEMI,
[anon_sym_LBRACE] = anon_sym_LBRACE,
[anon_sym_RBRACE] = anon_sym_RBRACE,
[anon_sym_import] = anon_sym_import,
[anon_sym_DOT_STAR] = anon_sym_DOT_STAR,
[anon_sym_LT] = anon_sym_LT,
[anon_sym_COMMA] = anon_sym_COMMA,
[anon_sym_GT] = anon_sym_GT,
[anon_sym_Int8] = anon_sym_Int8,
[anon_sym_Int16] = anon_sym_Int16,
[anon_sym_Int32] = anon_sym_Int32,
[anon_sym_Int64] = anon_sym_Int64,
[anon_sym_Word8] = anon_sym_Word8,
[anon_sym_Word16] = anon_sym_Word16,
[anon_sym_Word32] = anon_sym_Word32,
[anon_sym_Word64] = anon_sym_Word64,
[anon_sym_Bool] = anon_sym_Bool,
[anon_sym_Void] = anon_sym_Void,
[anon_sym_Float] = anon_sym_Float,
[anon_sym_Double] = anon_sym_Double,
[anon_sym_String] = anon_sym_String,
[anon_sym_Bytes] = anon_sym_Bytes,
[anon_sym_Json] = anon_sym_Json,
[anon_sym_Vector] = anon_sym_Vector,
[anon_sym_StringMap] = anon_sym_StringMap,
[anon_sym_Nullable] = anon_sym_Nullable,
[anon_sym_TypeToken] = anon_sym_TypeToken,
[anon_sym_newtype] = anon_sym_newtype,
[anon_sym_EQ] = anon_sym_EQ,
[anon_sym_type] = anon_sym_type,
[anon_sym_struct] = anon_sym_struct,
[anon_sym_union] = anon_sym_union,
[anon_sym_AT] = anon_sym_AT,
[anon_sym_annotation] = anon_sym_annotation,
[anon_sym_COLON_COLON] = anon_sym_COLON_COLON,
[anon_sym_SLASH_SLASH] = anon_sym_SLASH_SLASH,
[aux_sym_comment_token1] = aux_sym_comment_token1,
[anon_sym_SLASH_SLASH_SLASH] = anon_sym_SLASH_SLASH_SLASH,
[anon_sym_null] = anon_sym_null,
[anon_sym_true] = anon_sym_true,
[anon_sym_false] = anon_sym_false,
[sym_json_number] = sym_json_number,
[sym_json_string] = sym_json_string,
[anon_sym_LBRACK] = anon_sym_LBRACK,
[anon_sym_RBRACK] = anon_sym_RBRACK,
[anon_sym_COLON] = anon_sym_COLON,
[sym_source_file] = sym_source_file,
[sym_scoped_name] = sym_scoped_name,
[sym_definition_preamble] = sym_definition_preamble,
[sym_module_definition] = sym_module_definition,
[sym_module_body] = sym_module_body,
[sym_import_declaration] = sym_import_declaration,
[sym_import_path] = sym_import_path,
[sym_type_name] = sym_type_name,
[sym_type_parameters] = sym_type_parameters,
[sym_type_expression] = sym_type_expression,
[sym_type_arguments] = sym_type_arguments,
[sym_primitive_type] = sym_primitive_type,
[sym_newtype_definition] = sym_newtype_definition,
[sym_type_definition] = sym_type_definition,
[sym_struct_definition] = sym_struct_definition,
[sym_union_definition] = sym_union_definition,
[sym_field_block] = sym_field_block,
[sym_field] = sym_field,
[sym_annotation_decorator] = sym_annotation_decorator,
[sym_annotation_declaration] = sym_annotation_declaration,
[sym_field_reference] = sym_field_reference,
[sym_comment] = sym_comment,
[sym_docstring] = sym_docstring,
[sym_json_value] = sym_json_value,
[sym_json_array] = sym_json_array,
[sym_json_object] = sym_json_object,
[sym_json_object_pair] = sym_json_object_pair,
[aux_sym_scoped_name_repeat1] = aux_sym_scoped_name_repeat1,
[aux_sym_definition_preamble_repeat1] = aux_sym_definition_preamble_repeat1,
[aux_sym_module_body_repeat1] = aux_sym_module_body_repeat1,
[aux_sym_type_parameters_repeat1] = aux_sym_type_parameters_repeat1,
[aux_sym_type_arguments_repeat1] = aux_sym_type_arguments_repeat1,
[aux_sym_field_block_repeat1] = aux_sym_field_block_repeat1,
[aux_sym_annotation_declaration_repeat1] = aux_sym_annotation_declaration_repeat1,
[aux_sym_json_array_repeat1] = aux_sym_json_array_repeat1,
[aux_sym_json_object_repeat1] = aux_sym_json_object_repeat1,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[sym_identifier] = {
.visible = true,
.named = true,
},
[anon_sym_DOT] = {
.visible = true,
.named = false,
},
[anon_sym_module] = {
.visible = true,
.named = false,
},
[anon_sym_SEMI] = {
.visible = true,
.named = false,
},
[anon_sym_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_import] = {
.visible = true,
.named = false,
},
[anon_sym_DOT_STAR] = {
.visible = true,
.named = false,
},
[anon_sym_LT] = {
.visible = true,
.named = false,
},
[anon_sym_COMMA] = {
.visible = true,
.named = false,
},
[anon_sym_GT] = {
.visible = true,
.named = false,
},
[anon_sym_Int8] = {
.visible = true,
.named = false,
},
[anon_sym_Int16] = {
.visible = true,
.named = false,
},
[anon_sym_Int32] = {
.visible = true,
.named = false,
},
[anon_sym_Int64] = {
.visible = true,
.named = false,
},
[anon_sym_Word8] = {
.visible = true,
.named = false,
},
[anon_sym_Word16] = {
.visible = true,
.named = false,
},
[anon_sym_Word32] = {
.visible = true,
.named = false,
},
[anon_sym_Word64] = {
.visible = true,
.named = false,
},
[anon_sym_Bool] = {
.visible = true,
.named = false,
},
[anon_sym_Void] = {
.visible = true,
.named = false,
},
[anon_sym_Float] = {
.visible = true,
.named = false,
},
[anon_sym_Double] = {
.visible = true,
.named = false,
},
[anon_sym_String] = {
.visible = true,
.named = false,
},
[anon_sym_Bytes] = {
.visible = true,
.named = false,
},
[anon_sym_Json] = {
.visible = true,
.named = false,
},
[anon_sym_Vector] = {
.visible = true,
.named = false,
},
[anon_sym_StringMap] = {
.visible = true,
.named = false,
},
[anon_sym_Nullable] = {
.visible = true,
.named = false,
},
[anon_sym_TypeToken] = {
.visible = true,
.named = false,
},
[anon_sym_newtype] = {
.visible = true,
.named = false,
},
[anon_sym_EQ] = {
.visible = true,
.named = false,
},
[anon_sym_type] = {
.visible = true,
.named = false,
},
[anon_sym_struct] = {
.visible = true,
.named = false,
},
[anon_sym_union] = {
.visible = true,
.named = false,
},
[anon_sym_AT] = {
.visible = true,
.named = false,
},
[anon_sym_annotation] = {
.visible = true,
.named = false,
},
[anon_sym_COLON_COLON] = {
.visible = true,
.named = false,
},
[anon_sym_SLASH_SLASH] = {
.visible = true,
.named = false,
},
[aux_sym_comment_token1] = {
.visible = false,
.named = false,
},
[anon_sym_SLASH_SLASH_SLASH] = {
.visible = true,
.named = false,
},
[anon_sym_null] = {
.visible = true,
.named = false,
},
[anon_sym_true] = {
.visible = true,
.named = false,
},
[anon_sym_false] = {
.visible = true,
.named = false,
},
[sym_json_number] = {
.visible = true,
.named = true,
},
[sym_json_string] = {
.visible = true,
.named = true,
},
[anon_sym_LBRACK] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACK] = {
.visible = true,
.named = false,
},
[anon_sym_COLON] = {
.visible = true,
.named = false,
},
[sym_source_file] = {
.visible = true,
.named = true,
},
[sym_scoped_name] = {
.visible = true,
.named = true,
},
[sym_definition_preamble] = {
.visible = true,
.named = true,
},
[sym_module_definition] = {
.visible = true,
.named = true,
},
[sym_module_body] = {
.visible = true,
.named = true,
},
[sym_import_declaration] = {
.visible = true,
.named = true,
},
[sym_import_path] = {
.visible = true,
.named = true,
},
[sym_type_name] = {
.visible = true,
.named = true,
},
[sym_type_parameters] = {
.visible = true,
.named = true,
},
[sym_type_expression] = {
.visible = true,
.named = true,
},
[sym_type_arguments] = {
.visible = true,
.named = true,
},
[sym_primitive_type] = {
.visible = true,
.named = true,
},
[sym_newtype_definition] = {
.visible = true,
.named = true,
},
[sym_type_definition] = {
.visible = true,
.named = true,
},
[sym_struct_definition] = {
.visible = true,
.named = true,
},
[sym_union_definition] = {
.visible = true,
.named = true,
},
[sym_field_block] = {
.visible = true,
.named = true,
},
[sym_field] = {
.visible = true,
.named = true,
},
[sym_annotation_decorator] = {
.visible = true,
.named = true,
},
[sym_annotation_declaration] = {
.visible = true,
.named = true,
},
[sym_field_reference] = {
.visible = true,
.named = true,
},
[sym_comment] = {
.visible = true,
.named = true,
},
[sym_docstring] = {
.visible = true,
.named = true,
},
[sym_json_value] = {
.visible = true,
.named = true,
},
[sym_json_array] = {
.visible = true,
.named = true,
},
[sym_json_object] = {
.visible = true,
.named = true,
},
[sym_json_object_pair] = {
.visible = true,
.named = true,
},
[aux_sym_scoped_name_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_definition_preamble_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_module_body_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_type_parameters_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_type_arguments_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_field_block_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_annotation_declaration_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_json_array_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_json_object_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] = 12,
[13] = 13,
[14] = 14,
[15] = 15,
[16] = 16,
[17] = 17,
[18] = 18,
[19] = 19,
[20] = 20,
[21] = 21,
[22] = 22,
[23] = 23,
[24] = 24,
[25] = 25,
[26] = 26,
[27] = 27,
[28] = 28,
[29] = 29,
[30] = 30,
[31] = 31,
[32] = 32,
[33] = 33,
[34] = 34,
[35] = 35,
[36] = 36,
[37] = 37,
[38] = 38,
[39] = 39,
[40] = 30,
[41] = 41,
[42] = 42,
[43] = 43,
[44] = 4,
[45] = 3,
[46] = 2,
[47] = 5,
[48] = 48,
[49] = 49,
[50] = 50,
[51] = 50,
[52] = 52,
[53] = 53,
[54] = 54,
[55] = 55,
[56] = 56,
[57] = 57,
[58] = 58,
[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] = 80,
[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] = 48,
[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] = 12,
[132] = 132,
[133] = 11,
[134] = 14,
[135] = 15,
[136] = 10,
[137] = 13,
[138] = 16,
[139] = 52,
[140] = 54,
[141] = 49,
[142] = 55,
[143] = 58,
[144] = 59,
[145] = 126,
[146] = 129,
[147] = 147,
[148] = 118,
[149] = 124,
[150] = 120,
[151] = 125,
[152] = 152,
[153] = 147,
[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] = 187,
[189] = 189,
[190] = 190,
[191] = 191,
[192] = 192,
[193] = 193,
[194] = 194,
[195] = 192,
[196] = 196,
[197] = 197,
[198] = 198,
[199] = 199,
[200] = 200,
[201] = 201,
[202] = 202,
[203] = 203,
[204] = 204,
[205] = 205,
[206] = 206,
[207] = 207,
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(16);
ADVANCE_MAP(
'"', 1,
',', 24,
'-', 5,
'.', 18,
'/', 2,
'0', 36,
':', 44,
';', 19,
'<', 23,
'=', 26,
'>', 25,
'@', 27,
'[', 41,
']', 42,
'{', 20,
'}', 21,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(0);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(37);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 1:
if (lookahead == '"') ADVANCE(40);
if (lookahead == '\\') ADVANCE(7);
if (lookahead != 0) ADVANCE(1);
END_STATE();
case 2:
if (lookahead == '/') ADVANCE(30);
END_STATE();
case 3:
if (lookahead == '/') ADVANCE(29);
END_STATE();
case 4:
if (lookahead == '/') ADVANCE(3);
if (lookahead == ':') ADVANCE(43);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(4);
END_STATE();
case 5:
if (lookahead == '0') ADVANCE(36);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(37);
END_STATE();
case 6:
if (lookahead == ':') ADVANCE(28);
END_STATE();
case 7:
ADVANCE_MAP(
'u', 14,
'"', 1,
'/', 1,
'\\', 1,
'b', 1,
'f', 1,
'n', 1,
'r', 1,
't', 1,
);
END_STATE();
case 8:
if (lookahead == '+' ||
lookahead == '-') ADVANCE(10);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39);
END_STATE();
case 9:
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(38);
END_STATE();
case 10:
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39);
END_STATE();
case 11:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(1);
END_STATE();
case 12:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(11);
END_STATE();
case 13:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(12);
END_STATE();
case 14:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(13);
END_STATE();
case 15:
if (eof) ADVANCE(16);
ADVANCE_MAP(
'"', 1,
',', 24,
'-', 5,
'.', 17,
'/', 3,
'0', 36,
':', 6,
';', 19,
'<', 23,
'=', 26,
'>', 25,
'[', 41,
']', 42,
'{', 20,
'}', 21,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(15);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(37);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 16:
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
case 17:
ACCEPT_TOKEN(anon_sym_DOT);
END_STATE();
case 18:
ACCEPT_TOKEN(anon_sym_DOT);
if (lookahead == '*') ADVANCE(22);
END_STATE();
case 19:
ACCEPT_TOKEN(anon_sym_SEMI);
END_STATE();
case 20:
ACCEPT_TOKEN(anon_sym_LBRACE);
END_STATE();
case 21:
ACCEPT_TOKEN(anon_sym_RBRACE);
END_STATE();
case 22:
ACCEPT_TOKEN(anon_sym_DOT_STAR);
END_STATE();
case 23:
ACCEPT_TOKEN(anon_sym_LT);
END_STATE();
case 24:
ACCEPT_TOKEN(anon_sym_COMMA);
END_STATE();
case 25:
ACCEPT_TOKEN(anon_sym_GT);
END_STATE();
case 26:
ACCEPT_TOKEN(anon_sym_EQ);
END_STATE();
case 27:
ACCEPT_TOKEN(anon_sym_AT);
END_STATE();
case 28:
ACCEPT_TOKEN(anon_sym_COLON_COLON);
END_STATE();
case 29:
ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
END_STATE();
case 30:
ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
if (lookahead == '/') ADVANCE(35);
END_STATE();
case 31:
ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(34);
END_STATE();
case 32:
ACCEPT_TOKEN(aux_sym_comment_token1);
if (lookahead == '/') ADVANCE(33);
if (lookahead == '\t' ||
(0x0b <= lookahead && lookahead <= '\r') ||
lookahead == ' ') ADVANCE(32);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(34);
END_STATE();
case 33:
ACCEPT_TOKEN(aux_sym_comment_token1);
if (lookahead == '/') ADVANCE(31);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(34);
END_STATE();
case 34:
ACCEPT_TOKEN(aux_sym_comment_token1);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(34);
END_STATE();
case 35:
ACCEPT_TOKEN(anon_sym_SLASH_SLASH_SLASH);
END_STATE();
case 36:
ACCEPT_TOKEN(sym_json_number);
if (lookahead == '.') ADVANCE(9);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(8);
END_STATE();
case 37:
ACCEPT_TOKEN(sym_json_number);
if (lookahead == '.') ADVANCE(9);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(8);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(37);
END_STATE();
case 38:
ACCEPT_TOKEN(sym_json_number);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(8);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(38);
END_STATE();
case 39:
ACCEPT_TOKEN(sym_json_number);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39);
END_STATE();
case 40:
ACCEPT_TOKEN(sym_json_string);
END_STATE();
case 41:
ACCEPT_TOKEN(anon_sym_LBRACK);
END_STATE();
case 42:
ACCEPT_TOKEN(anon_sym_RBRACK);
END_STATE();
case 43:
ACCEPT_TOKEN(anon_sym_COLON);
END_STATE();
case 44:
ACCEPT_TOKEN(anon_sym_COLON);
if (lookahead == ':') ADVANCE(28);
END_STATE();
case 45:
ACCEPT_TOKEN(sym_identifier);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
default:
return false;
}
}
static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
ADVANCE_MAP(
'B', 1,
'D', 2,
'F', 3,
'I', 4,
'J', 5,
'N', 6,
'S', 7,
'T', 8,
'V', 9,
'W', 10,
'a', 11,
'f', 12,
'i', 13,
'm', 14,
'n', 15,
's', 16,
't', 17,
'u', 18,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(0);
END_STATE();
case 1:
if (lookahead == 'o') ADVANCE(19);
if (lookahead == 'y') ADVANCE(20);
END_STATE();
case 2:
if (lookahead == 'o') ADVANCE(21);
END_STATE();
case 3:
if (lookahead == 'l') ADVANCE(22);
END_STATE();
case 4:
if (lookahead == 'n') ADVANCE(23);
END_STATE();
case 5:
if (lookahead == 's') ADVANCE(24);
END_STATE();
case 6:
if (lookahead == 'u') ADVANCE(25);
END_STATE();
case 7:
if (lookahead == 't') ADVANCE(26);
END_STATE();
case 8:
if (lookahead == 'y') ADVANCE(27);
END_STATE();
case 9:
if (lookahead == 'e') ADVANCE(28);
if (lookahead == 'o') ADVANCE(29);
END_STATE();
case 10:
if (lookahead == 'o') ADVANCE(30);
END_STATE();
case 11:
if (lookahead == 'n') ADVANCE(31);
END_STATE();
case 12:
if (lookahead == 'a') ADVANCE(32);
END_STATE();
case 13:
if (lookahead == 'm') ADVANCE(33);
END_STATE();
case 14:
if (lookahead == 'o') ADVANCE(34);
END_STATE();
case 15:
if (lookahead == 'e') ADVANCE(35);
if (lookahead == 'u') ADVANCE(36);
END_STATE();
case 16:
if (lookahead == 't') ADVANCE(37);
END_STATE();
case 17:
if (lookahead == 'r') ADVANCE(38);
if (lookahead == 'y') ADVANCE(39);
END_STATE();
case 18:
if (lookahead == 'n') ADVANCE(40);
END_STATE();
case 19:
if (lookahead == 'o') ADVANCE(41);
END_STATE();
case 20:
if (lookahead == 't') ADVANCE(42);
END_STATE();
case 21:
if (lookahead == 'u') ADVANCE(43);
END_STATE();
case 22:
if (lookahead == 'o') ADVANCE(44);
END_STATE();
case 23:
if (lookahead == 't') ADVANCE(45);
END_STATE();
case 24:
if (lookahead == 'o') ADVANCE(46);
END_STATE();
case 25:
if (lookahead == 'l') ADVANCE(47);
END_STATE();
case 26:
if (lookahead == 'r') ADVANCE(48);
END_STATE();
case 27:
if (lookahead == 'p') ADVANCE(49);
END_STATE();
case 28:
if (lookahead == 'c') ADVANCE(50);
END_STATE();
case 29:
if (lookahead == 'i') ADVANCE(51);
END_STATE();
case 30:
if (lookahead == 'r') ADVANCE(52);
END_STATE();
case 31:
if (lookahead == 'n') ADVANCE(53);
END_STATE();
case 32:
if (lookahead == 'l') ADVANCE(54);
END_STATE();
case 33:
if (lookahead == 'p') ADVANCE(55);
END_STATE();
case 34:
if (lookahead == 'd') ADVANCE(56);
END_STATE();
case 35:
if (lookahead == 'w') ADVANCE(57);
END_STATE();
case 36:
if (lookahead == 'l') ADVANCE(58);
END_STATE();
case 37:
if (lookahead == 'r') ADVANCE(59);
END_STATE();
case 38:
if (lookahead == 'u') ADVANCE(60);
END_STATE();
case 39:
if (lookahead == 'p') ADVANCE(61);
END_STATE();
case 40:
if (lookahead == 'i') ADVANCE(62);
END_STATE();
case 41:
if (lookahead == 'l') ADVANCE(63);
END_STATE();
case 42:
if (lookahead == 'e') ADVANCE(64);
END_STATE();
case 43:
if (lookahead == 'b') ADVANCE(65);
END_STATE();
case 44:
if (lookahead == 'a') ADVANCE(66);
END_STATE();
case 45:
if (lookahead == '1') ADVANCE(67);
if (lookahead == '3') ADVANCE(68);
if (lookahead == '6') ADVANCE(69);
if (lookahead == '8') ADVANCE(70);
END_STATE();
case 46:
if (lookahead == 'n') ADVANCE(71);
END_STATE();
case 47:
if (lookahead == 'l') ADVANCE(72);
END_STATE();
case 48:
if (lookahead == 'i') ADVANCE(73);
END_STATE();
case 49:
if (lookahead == 'e') ADVANCE(74);
END_STATE();
case 50:
if (lookahead == 't') ADVANCE(75);
END_STATE();
case 51:
if (lookahead == 'd') ADVANCE(76);
END_STATE();
case 52:
if (lookahead == 'd') ADVANCE(77);
END_STATE();
case 53:
if (lookahead == 'o') ADVANCE(78);
END_STATE();
case 54:
if (lookahead == 's') ADVANCE(79);
END_STATE();
case 55:
if (lookahead == 'o') ADVANCE(80);
END_STATE();
case 56:
if (lookahead == 'u') ADVANCE(81);
END_STATE();
case 57:
if (lookahead == 't') ADVANCE(82);
END_STATE();
case 58:
if (lookahead == 'l') ADVANCE(83);
END_STATE();
case 59:
if (lookahead == 'u') ADVANCE(84);
END_STATE();
case 60:
if (lookahead == 'e') ADVANCE(85);
END_STATE();
case 61:
if (lookahead == 'e') ADVANCE(86);
END_STATE();
case 62:
if (lookahead == 'o') ADVANCE(87);
END_STATE();
case 63:
ACCEPT_TOKEN(anon_sym_Bool);
END_STATE();
case 64:
if (lookahead == 's') ADVANCE(88);
END_STATE();
case 65:
if (lookahead == 'l') ADVANCE(89);
END_STATE();
case 66:
if (lookahead == 't') ADVANCE(90);
END_STATE();
case 67:
if (lookahead == '6') ADVANCE(91);
END_STATE();
case 68:
if (lookahead == '2') ADVANCE(92);
END_STATE();
case 69:
if (lookahead == '4') ADVANCE(93);
END_STATE();
case 70:
ACCEPT_TOKEN(anon_sym_Int8);
END_STATE();
case 71:
ACCEPT_TOKEN(anon_sym_Json);
END_STATE();
case 72:
if (lookahead == 'a') ADVANCE(94);
END_STATE();
case 73:
if (lookahead == 'n') ADVANCE(95);
END_STATE();
case 74:
if (lookahead == 'T') ADVANCE(96);
END_STATE();
case 75:
if (lookahead == 'o') ADVANCE(97);
END_STATE();
case 76:
ACCEPT_TOKEN(anon_sym_Void);
END_STATE();
case 77:
if (lookahead == '1') ADVANCE(98);
if (lookahead == '3') ADVANCE(99);
if (lookahead == '6') ADVANCE(100);
if (lookahead == '8') ADVANCE(101);
END_STATE();
case 78:
if (lookahead == 't') ADVANCE(102);
END_STATE();
case 79:
if (lookahead == 'e') ADVANCE(103);
END_STATE();
case 80:
if (lookahead == 'r') ADVANCE(104);
END_STATE();
case 81:
if (lookahead == 'l') ADVANCE(105);
END_STATE();
case 82:
if (lookahead == 'y') ADVANCE(106);
END_STATE();
case 83:
ACCEPT_TOKEN(anon_sym_null);
END_STATE();
case 84:
if (lookahead == 'c') ADVANCE(107);
END_STATE();
case 85:
ACCEPT_TOKEN(anon_sym_true);
END_STATE();
case 86:
ACCEPT_TOKEN(anon_sym_type);
END_STATE();
case 87:
if (lookahead == 'n') ADVANCE(108);
END_STATE();
case 88:
ACCEPT_TOKEN(anon_sym_Bytes);
END_STATE();
case 89:
if (lookahead == 'e') ADVANCE(109);
END_STATE();
case 90:
ACCEPT_TOKEN(anon_sym_Float);
END_STATE();
case 91:
ACCEPT_TOKEN(anon_sym_Int16);
END_STATE();
case 92:
ACCEPT_TOKEN(anon_sym_Int32);
END_STATE();
case 93:
ACCEPT_TOKEN(anon_sym_Int64);
END_STATE();
case 94:
if (lookahead == 'b') ADVANCE(110);
END_STATE();
case 95:
if (lookahead == 'g') ADVANCE(111);
END_STATE();
case 96:
if (lookahead == 'o') ADVANCE(112);
END_STATE();
case 97:
if (lookahead == 'r') ADVANCE(113);
END_STATE();
case 98:
if (lookahead == '6') ADVANCE(114);
END_STATE();
case 99:
if (lookahead == '2') ADVANCE(115);
END_STATE();
case 100:
if (lookahead == '4') ADVANCE(116);
END_STATE();
case 101:
ACCEPT_TOKEN(anon_sym_Word8);
END_STATE();
case 102:
if (lookahead == 'a') ADVANCE(117);
END_STATE();
case 103:
ACCEPT_TOKEN(anon_sym_false);
END_STATE();
case 104:
if (lookahead == 't') ADVANCE(118);
END_STATE();
case 105:
if (lookahead == 'e') ADVANCE(119);
END_STATE();
case 106:
if (lookahead == 'p') ADVANCE(120);
END_STATE();
case 107:
if (lookahead == 't') ADVANCE(121);
END_STATE();
case 108:
ACCEPT_TOKEN(anon_sym_union);
END_STATE();
case 109:
ACCEPT_TOKEN(anon_sym_Double);
END_STATE();
case 110:
if (lookahead == 'l') ADVANCE(122);
END_STATE();
case 111:
ACCEPT_TOKEN(anon_sym_String);
if (lookahead == 'M') ADVANCE(123);
END_STATE();
case 112:
if (lookahead == 'k') ADVANCE(124);
END_STATE();
case 113:
ACCEPT_TOKEN(anon_sym_Vector);
END_STATE();
case 114:
ACCEPT_TOKEN(anon_sym_Word16);
END_STATE();
case 115:
ACCEPT_TOKEN(anon_sym_Word32);
END_STATE();
case 116:
ACCEPT_TOKEN(anon_sym_Word64);
END_STATE();
case 117:
if (lookahead == 't') ADVANCE(125);
END_STATE();
case 118:
ACCEPT_TOKEN(anon_sym_import);
END_STATE();
case 119:
ACCEPT_TOKEN(anon_sym_module);
END_STATE();
case 120:
if (lookahead == 'e') ADVANCE(126);
END_STATE();
case 121:
ACCEPT_TOKEN(anon_sym_struct);
END_STATE();
case 122:
if (lookahead == 'e') ADVANCE(127);
END_STATE();
case 123:
if (lookahead == 'a') ADVANCE(128);
END_STATE();
case 124:
if (lookahead == 'e') ADVANCE(129);
END_STATE();
case 125:
if (lookahead == 'i') ADVANCE(130);
END_STATE();
case 126:
ACCEPT_TOKEN(anon_sym_newtype);
END_STATE();
case 127:
ACCEPT_TOKEN(anon_sym_Nullable);
END_STATE();
case 128:
if (lookahead == 'p') ADVANCE(131);
END_STATE();
case 129:
if (lookahead == 'n') ADVANCE(132);
END_STATE();
case 130:
if (lookahead == 'o') ADVANCE(133);
END_STATE();
case 131:
ACCEPT_TOKEN(anon_sym_StringMap);
END_STATE();
case 132:
ACCEPT_TOKEN(anon_sym_TypeToken);
END_STATE();
case 133:
if (lookahead == 'n') ADVANCE(134);
END_STATE();
case 134:
ACCEPT_TOKEN(anon_sym_annotation);
END_STATE();
default:
return false;
}
}
static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0},
[1] = {.lex_state = 0},
[2] = {.lex_state = 0},
[3] = {.lex_state = 0},
[4] = {.lex_state = 0},
[5] = {.lex_state = 0},
[6] = {.lex_state = 0},
[7] = {.lex_state = 0},
[8] = {.lex_state = 0},
[9] = {.lex_state = 0},
[10] = {.lex_state = 0},
[11] = {.lex_state = 0},
[12] = {.lex_state = 0},
[13] = {.lex_state = 0},
[14] = {.lex_state = 0},
[15] = {.lex_state = 0},
[16] = {.lex_state = 0},
[17] = {.lex_state = 0},
[18] = {.lex_state = 0},
[19] = {.lex_state = 0},
[20] = {.lex_state = 0},
[21] = {.lex_state = 0},
[22] = {.lex_state = 0},
[23] = {.lex_state = 0},
[24] = {.lex_state = 0},
[25] = {.lex_state = 0},
[26] = {.lex_state = 0},
[27] = {.lex_state = 15},
[28] = {.lex_state = 0},
[29] = {.lex_state = 15},
[30] = {.lex_state = 15},
[31] = {.lex_state = 15},
[32] = {.lex_state = 15},
[33] = {.lex_state = 0},
[34] = {.lex_state = 15},
[35] = {.lex_state = 0},
[36] = {.lex_state = 15},
[37] = {.lex_state = 0},
[38] = {.lex_state = 15},
[39] = {.lex_state = 15},
[40] = {.lex_state = 15},
[41] = {.lex_state = 0},
[42] = {.lex_state = 0},
[43] = {.lex_state = 0},
[44] = {.lex_state = 15},
[45] = {.lex_state = 15},
[46] = {.lex_state = 15},
[47] = {.lex_state = 15},
[48] = {.lex_state = 0},
[49] = {.lex_state = 0},
[50] = {.lex_state = 15},
[51] = {.lex_state = 15},
[52] = {.lex_state = 0},
[53] = {.lex_state = 0},
[54] = {.lex_state = 0},
[55] = {.lex_state = 0},
[56] = {.lex_state = 0},
[57] = {.lex_state = 0},
[58] = {.lex_state = 0},
[59] = {.lex_state = 0},
[60] = {.lex_state = 0},
[61] = {.lex_state = 15},
[62] = {.lex_state = 15},
[63] = {.lex_state = 0},
[64] = {.lex_state = 0},
[65] = {.lex_state = 0},
[66] = {.lex_state = 0},
[67] = {.lex_state = 0},
[68] = {.lex_state = 0},
[69] = {.lex_state = 15},
[70] = {.lex_state = 15},
[71] = {.lex_state = 0},
[72] = {.lex_state = 0},
[73] = {.lex_state = 0},
[74] = {.lex_state = 0},
[75] = {.lex_state = 0},
[76] = {.lex_state = 0},
[77] = {.lex_state = 0},
[78] = {.lex_state = 15},
[79] = {.lex_state = 15},
[80] = {.lex_state = 0},
[81] = {.lex_state = 0},
[82] = {.lex_state = 15},
[83] = {.lex_state = 0},
[84] = {.lex_state = 15},
[85] = {.lex_state = 15},
[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 = 15},
[107] = {.lex_state = 15},
[108] = {.lex_state = 15},
[109] = {.lex_state = 15},
[110] = {.lex_state = 15},
[111] = {.lex_state = 15},
[112] = {.lex_state = 15},
[113] = {.lex_state = 15},
[114] = {.lex_state = 15},
[115] = {.lex_state = 15},
[116] = {.lex_state = 15},
[117] = {.lex_state = 15},
[118] = {.lex_state = 15},
[119] = {.lex_state = 15},
[120] = {.lex_state = 15},
[121] = {.lex_state = 15},
[122] = {.lex_state = 15},
[123] = {.lex_state = 15},
[124] = {.lex_state = 15},
[125] = {.lex_state = 15},
[126] = {.lex_state = 15},
[127] = {.lex_state = 15},
[128] = {.lex_state = 15},
[129] = {.lex_state = 15},
[130] = {.lex_state = 15},
[131] = {.lex_state = 15},
[132] = {.lex_state = 15},
[133] = {.lex_state = 15},
[134] = {.lex_state = 15},
[135] = {.lex_state = 15},
[136] = {.lex_state = 15},
[137] = {.lex_state = 15},
[138] = {.lex_state = 15},
[139] = {.lex_state = 15},
[140] = {.lex_state = 15},
[141] = {.lex_state = 15},
[142] = {.lex_state = 15},
[143] = {.lex_state = 15},
[144] = {.lex_state = 15},
[145] = {.lex_state = 15},
[146] = {.lex_state = 15},
[147] = {.lex_state = 15},
[148] = {.lex_state = 15},
[149] = {.lex_state = 15},
[150] = {.lex_state = 15},
[151] = {.lex_state = 15},
[152] = {.lex_state = 15},
[153] = {.lex_state = 15},
[154] = {.lex_state = 15},
[155] = {.lex_state = 15},
[156] = {.lex_state = 15},
[157] = {.lex_state = 15},
[158] = {.lex_state = 15},
[159] = {.lex_state = 15},
[160] = {.lex_state = 15},
[161] = {.lex_state = 15},
[162] = {.lex_state = 15},
[163] = {.lex_state = 15},
[164] = {.lex_state = 15},
[165] = {.lex_state = 15},
[166] = {.lex_state = 15},
[167] = {.lex_state = 15},
[168] = {.lex_state = 15},
[169] = {.lex_state = 15},
[170] = {.lex_state = 15},
[171] = {.lex_state = 15},
[172] = {.lex_state = 15},
[173] = {.lex_state = 15},
[174] = {.lex_state = 15},
[175] = {.lex_state = 15},
[176] = {.lex_state = 15},
[177] = {.lex_state = 15},
[178] = {.lex_state = 15},
[179] = {.lex_state = 15},
[180] = {.lex_state = 15},
[181] = {.lex_state = 15},
[182] = {.lex_state = 15},
[183] = {.lex_state = 15},
[184] = {.lex_state = 15},
[185] = {.lex_state = 15},
[186] = {.lex_state = 15},
[187] = {.lex_state = 15},
[188] = {.lex_state = 15},
[189] = {.lex_state = 15},
[190] = {.lex_state = 15},
[191] = {.lex_state = 15},
[192] = {.lex_state = 15},
[193] = {.lex_state = 15},
[194] = {.lex_state = 15},
[195] = {.lex_state = 15},
[196] = {.lex_state = 15},
[197] = {.lex_state = 15},
[198] = {.lex_state = 15},
[199] = {.lex_state = 15},
[200] = {.lex_state = 15},
[201] = {.lex_state = 4},
[202] = {.lex_state = 15},
[203] = {.lex_state = 32},
[204] = {.lex_state = 15},
[205] = {.lex_state = 32},
[206] = {.lex_state = 15},
[207] = {(TSStateId)(-1),},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[STATE(0)] = {
[sym_comment] = STATE(0),
[ts_builtin_sym_end] = ACTIONS(1),
[sym_identifier] = ACTIONS(1),
[anon_sym_DOT] = ACTIONS(1),
[anon_sym_module] = ACTIONS(1),
[anon_sym_SEMI] = ACTIONS(1),
[anon_sym_LBRACE] = ACTIONS(1),
[anon_sym_RBRACE] = ACTIONS(1),
[anon_sym_import] = ACTIONS(1),
[anon_sym_DOT_STAR] = ACTIONS(1),
[anon_sym_LT] = ACTIONS(1),
[anon_sym_COMMA] = ACTIONS(1),
[anon_sym_GT] = ACTIONS(1),
[anon_sym_Int8] = ACTIONS(1),
[anon_sym_Int16] = ACTIONS(1),
[anon_sym_Int32] = ACTIONS(1),
[anon_sym_Int64] = ACTIONS(1),
[anon_sym_Word8] = ACTIONS(1),
[anon_sym_Word16] = ACTIONS(1),
[anon_sym_Word32] = ACTIONS(1),
[anon_sym_Word64] = ACTIONS(1),
[anon_sym_Bool] = ACTIONS(1),
[anon_sym_Void] = ACTIONS(1),
[anon_sym_Float] = ACTIONS(1),
[anon_sym_Double] = ACTIONS(1),
[anon_sym_String] = ACTIONS(1),
[anon_sym_Bytes] = ACTIONS(1),
[anon_sym_Json] = ACTIONS(1),
[anon_sym_Vector] = ACTIONS(1),
[anon_sym_StringMap] = ACTIONS(1),
[anon_sym_Nullable] = ACTIONS(1),
[anon_sym_TypeToken] = ACTIONS(1),
[anon_sym_newtype] = ACTIONS(1),
[anon_sym_EQ] = ACTIONS(1),
[anon_sym_type] = ACTIONS(1),
[anon_sym_struct] = ACTIONS(1),
[anon_sym_union] = ACTIONS(1),
[anon_sym_AT] = ACTIONS(1),
[anon_sym_annotation] = ACTIONS(1),
[anon_sym_COLON_COLON] = ACTIONS(1),
[anon_sym_SLASH_SLASH] = ACTIONS(3),
[anon_sym_SLASH_SLASH_SLASH] = ACTIONS(1),
[anon_sym_null] = ACTIONS(1),
[anon_sym_true] = ACTIONS(1),
[anon_sym_false] = ACTIONS(1),
[sym_json_number] = ACTIONS(1),
[sym_json_string] = ACTIONS(1),
[anon_sym_LBRACK] = ACTIONS(1),
[anon_sym_RBRACK] = ACTIONS(1),
[anon_sym_COLON] = ACTIONS(1),
},
[STATE(1)] = {
[sym_source_file] = STATE(189),
[sym_definition_preamble] = STATE(193),
[sym_module_definition] = STATE(206),
[sym_annotation_decorator] = STATE(21),
[sym_comment] = STATE(1),
[sym_docstring] = STATE(21),
[aux_sym_definition_preamble_repeat1] = STATE(17),
[ts_builtin_sym_end] = ACTIONS(5),
[anon_sym_module] = ACTIONS(7),
[anon_sym_AT] = ACTIONS(9),
[anon_sym_SLASH_SLASH] = ACTIONS(3),
[anon_sym_SLASH_SLASH_SLASH] = ACTIONS(11),
},
[STATE(2)] = {
[sym_comment] = STATE(2),
[aux_sym_scoped_name_repeat1] = STATE(2),
[sym_identifier] = ACTIONS(13),
[anon_sym_DOT] = ACTIONS(15),
[anon_sym_module] = ACTIONS(13),
[anon_sym_SEMI] = ACTIONS(18),
[anon_sym_LBRACE] = ACTIONS(18),
[anon_sym_RBRACE] = ACTIONS(18),
[anon_sym_import] = ACTIONS(13),
[anon_sym_DOT_STAR] = ACTIONS(18),
[anon_sym_LT] = ACTIONS(18),
[anon_sym_Int8] = ACTIONS(13),
[anon_sym_Int16] = ACTIONS(13),
[anon_sym_Int32] = ACTIONS(13),
[anon_sym_Int64] = ACTIONS(13),
[anon_sym_Word8] = ACTIONS(13),
[anon_sym_Word16] = ACTIONS(13),
[anon_sym_Word32] = ACTIONS(13),
[anon_sym_Word64] = ACTIONS(13),
[anon_sym_Bool] = ACTIONS(13),
[anon_sym_Void] = ACTIONS(13),
[anon_sym_Float] = ACTIONS(13),
[anon_sym_Double] = ACTIONS(13),
[anon_sym_String] = ACTIONS(13),
[anon_sym_Bytes] = ACTIONS(13),
[anon_sym_Json] = ACTIONS(13),
[anon_sym_Vector] = ACTIONS(13),
[anon_sym_StringMap] = ACTIONS(13),
[anon_sym_Nullable] = ACTIONS(13),
[anon_sym_TypeToken] = ACTIONS(13),
[anon_sym_newtype] = ACTIONS(13),
[anon_sym_EQ] = ACTIONS(18),
[anon_sym_type] = ACTIONS(13),
[anon_sym_struct] = ACTIONS(13),
[anon_sym_union] = ACTIONS(13),
[anon_sym_AT] = ACTIONS(18),
[anon_sym_annotation] = ACTIONS(13),
[anon_sym_SLASH_SLASH] = ACTIONS(3),
[anon_sym_SLASH_SLASH_SLASH] = ACTIONS(18),
[anon_sym_null] = ACTIONS(13),
[anon_sym_true] = ACTIONS(13),
[anon_sym_false] = ACTIONS(13),
[sym_json_number] = ACTIONS(18),
[sym_json_string] = ACTIONS(18),
[anon_sym_LBRACK] = ACTIONS(18),
},
[STATE(3)] = {
[sym_comment] = STATE(3),
[aux_sym_scoped_name_repeat1] = STATE(2),
[sym_identifier] = ACTIONS(20),
[anon_sym_DOT] = ACTIONS(22),
[anon_sym_module] = ACTIONS(20),
[anon_sym_SEMI] = ACTIONS(24),
[anon_sym_LBRACE] = ACTIONS(24),
[anon_sym_RBRACE] = ACTIONS(24),
[anon_sym_import] = ACTIONS(20),
[anon_sym_DOT_STAR] = ACTIONS(24),
[anon_sym_LT] = ACTIONS(24),
[anon_sym_Int8] = ACTIONS(20),
[anon_sym_Int16] = ACTIONS(20),
[anon_sym_Int32] = ACTIONS(20),
[anon_sym_Int64] = ACTIONS(20),
[anon_sym_Word8] = ACTIONS(20),
[anon_sym_Word16] = ACTIONS(20),
[anon_sym_Word32] = ACTIONS(20),
[anon_sym_Word64] = ACTIONS(20),
[anon_sym_Bool] = ACTIONS(20),
[anon_sym_Void] = ACTIONS(20),
[anon_sym_Float] = ACTIONS(20),
[anon_sym_Double] = ACTIONS(20),
[anon_sym_String] = ACTIONS(20),
[anon_sym_Bytes] = ACTIONS(20),
[anon_sym_Json] = ACTIONS(20),
[anon_sym_Vector] = ACTIONS(20),
[anon_sym_StringMap] = ACTIONS(20),
[anon_sym_Nullable] = ACTIONS(20),
[anon_sym_TypeToken] = ACTIONS(20),
[anon_sym_newtype] = ACTIONS(20),
[anon_sym_EQ] = ACTIONS(24),
[anon_sym_type] = ACTIONS(20),
[anon_sym_struct] = ACTIONS(20),
[anon_sym_union] = ACTIONS(20),
[anon_sym_AT] = ACTIONS(24),
[anon_sym_annotation] = ACTIONS(20),
[anon_sym_SLASH_SLASH] = ACTIONS(3),
[anon_sym_SLASH_SLASH_SLASH] = ACTIONS(24),
[anon_sym_null] = ACTIONS(20),
[anon_sym_true] = ACTIONS(20),
[anon_sym_false] = ACTIONS(20),
[sym_json_number] = ACTIONS(24),
[sym_json_string] = ACTIONS(24),
[anon_sym_LBRACK] = ACTIONS(24),
},
[STATE(4)] = {
[sym_comment] = STATE(4),
[aux_sym_scoped_name_repeat1] = STATE(3),
[sym_identifier] = ACTIONS(26),
[anon_sym_DOT] = ACTIONS(22),
[anon_sym_module] = ACTIONS(26),
[anon_sym_SEMI] = ACTIONS(28),
[anon_sym_LBRACE] = ACTIONS(28),
[anon_sym_RBRACE] = ACTIONS(28),
[anon_sym_import] = ACTIONS(26),
[anon_sym_DOT_STAR] = ACTIONS(28),
[anon_sym_LT] = ACTIONS(28),
[anon_sym_Int8] = ACTIONS(26),
[anon_sym_Int16] = ACTIONS(26),
[anon_sym_Int32] = ACTIONS(26),
[anon_sym_Int64] = ACTIONS(26),
[anon_sym_Word8] = ACTIONS(26),
[anon_sym_Word16] = ACTIONS(26),
[anon_sym_Word32] = ACTIONS(26),
[anon_sym_Word64] = ACTIONS(26),
[anon_sym_Bool] = ACTIONS(26),
[anon_sym_Void] = ACTIONS(26),
[anon_sym_Float] = ACTIONS(26),
[anon_sym_Double] = ACTIONS(26),
[anon_sym_String] = ACTIONS(26),
[anon_sym_Bytes] = ACTIONS(26),
[anon_sym_Json] = ACTIONS(26),
[anon_sym_Vector] = ACTIONS(26),
[anon_sym_StringMap] = ACTIONS(26),
[anon_sym_Nullable] = ACTIONS(26),
[anon_sym_TypeToken] = ACTIONS(26),
[anon_sym_newtype] = ACTIONS(26),
[anon_sym_EQ] = ACTIONS(28),
[anon_sym_type] = ACTIONS(26),
[anon_sym_struct] = ACTIONS(26),
[anon_sym_union] = ACTIONS(26),
[anon_sym_AT] = ACTIONS(28),
[anon_sym_annotation] = ACTIONS(26),
[anon_sym_SLASH_SLASH] = ACTIONS(3),
[anon_sym_SLASH_SLASH_SLASH] = ACTIONS(28),
[anon_sym_null] = ACTIONS(26),
[anon_sym_true] = ACTIONS(26),
[anon_sym_false] = ACTIONS(26),
[sym_json_number] = ACTIONS(28),
[sym_json_string] = ACTIONS(28),
[anon_sym_LBRACK] = ACTIONS(28),
},
[STATE(5)] = {
[sym_comment] = STATE(5),
[sym_identifier] = ACTIONS(13),
[anon_sym_DOT] = ACTIONS(13),
[anon_sym_module] = ACTIONS(13),
[anon_sym_SEMI] = ACTIONS(18),
[anon_sym_LBRACE] = ACTIONS(18),
[anon_sym_RBRACE] = ACTIONS(18),
[anon_sym_import] = ACTIONS(13),
[anon_sym_DOT_STAR] = ACTIONS(18),
[anon_sym_LT] = ACTIONS(18),
[anon_sym_Int8] = ACTIONS(13),
[anon_sym_Int16] = ACTIONS(13),
[anon_sym_Int32] = ACTIONS(13),
[anon_sym_Int64] = ACTIONS(13),
[anon_sym_Word8] = ACTIONS(13),
[anon_sym_Word16] = ACTIONS(13),
[anon_sym_Word32] = ACTIONS(13),
[anon_sym_Word64] = ACTIONS(13),
[anon_sym_Bool] = ACTIONS(13),
[anon_sym_Void] = ACTIONS(13),
[anon_sym_Float] = ACTIONS(13),
[anon_sym_Double] = ACTIONS(13),
[anon_sym_String] = ACTIONS(13),
[anon_sym_Bytes] = ACTIONS(13),
[anon_sym_Json] = ACTIONS(13),
[anon_sym_Vector] = ACTIONS(13),
[anon_sym_StringMap] = ACTIONS(13),
[anon_sym_Nullable] = ACTIONS(13),
[anon_sym_TypeToken] = ACTIONS(13),
[anon_sym_newtype] = ACTIONS(13),
[anon_sym_EQ] = ACTIONS(18),
[anon_sym_type] = ACTIONS(13),
[anon_sym_struct] = ACTIONS(13),
[anon_sym_union] = ACTIONS(13),
[anon_sym_AT] = ACTIONS(18),
[anon_sym_annotation] = ACTIONS(13),
[anon_sym_SLASH_SLASH] = ACTIONS(3),
[anon_sym_SLASH_SLASH_SLASH] = ACTIONS(18),
[anon_sym_null] = ACTIONS(13),
[anon_sym_true] = ACTIONS(13),
[anon_sym_false] = ACTIONS(13),
[sym_json_number] = ACTIONS(18),
[sym_json_string] = ACTIONS(18),
[anon_sym_LBRACK] = ACTIONS(18),
},
};
static const uint16_t ts_small_parse_table[] = {
[0] = 10,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
STATE(6), 1,
sym_comment,
STATE(20), 1,
sym_json_value,
ACTIONS(34), 2,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(38), 2,
sym_json_number,
sym_json_string,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(36), 3,
anon_sym_null,
anon_sym_true,
anon_sym_false,
ACTIONS(30), 25,
anon_sym_module,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
sym_identifier,
[60] = 16,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(42), 1,
sym_identifier,
ACTIONS(44), 1,
anon_sym_RBRACE,
STATE(7), 1,
sym_comment,
STATE(8), 1,
aux_sym_field_block_repeat1,
STATE(17), 1,
aux_sym_definition_preamble_repeat1,
STATE(27), 1,
sym_definition_preamble,
STATE(28), 1,
sym_field,
STATE(106), 1,
sym_scoped_name,
STATE(140), 1,
sym_primitive_type,
STATE(202), 1,
sym_type_expression,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
ACTIONS(48), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(46), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[127] = 16,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(42), 1,
sym_identifier,
ACTIONS(50), 1,
anon_sym_RBRACE,
STATE(8), 1,
sym_comment,
STATE(9), 1,
aux_sym_field_block_repeat1,
STATE(17), 1,
aux_sym_definition_preamble_repeat1,
STATE(27), 1,
sym_definition_preamble,
STATE(28), 1,
sym_field,
STATE(106), 1,
sym_scoped_name,
STATE(140), 1,
sym_primitive_type,
STATE(202), 1,
sym_type_expression,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
ACTIONS(48), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(46), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[194] = 15,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(52), 1,
sym_identifier,
ACTIONS(55), 1,
anon_sym_RBRACE,
ACTIONS(63), 1,
anon_sym_AT,
ACTIONS(66), 1,
anon_sym_SLASH_SLASH_SLASH,
STATE(17), 1,
aux_sym_definition_preamble_repeat1,
STATE(27), 1,
sym_definition_preamble,
STATE(28), 1,
sym_field,
STATE(106), 1,
sym_scoped_name,
STATE(140), 1,
sym_primitive_type,
STATE(202), 1,
sym_type_expression,
STATE(9), 2,
sym_comment,
aux_sym_field_block_repeat1,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
ACTIONS(60), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(57), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[259] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(10), 1,
sym_comment,
ACTIONS(71), 4,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(69), 27,
anon_sym_module,
anon_sym_import,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_annotation,
sym_identifier,
[301] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(11), 1,
sym_comment,
ACTIONS(75), 4,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(73), 27,
anon_sym_module,
anon_sym_import,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_annotation,
sym_identifier,
[343] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(12), 1,
sym_comment,
ACTIONS(79), 4,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(77), 27,
anon_sym_module,
anon_sym_import,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_annotation,
sym_identifier,
[385] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(13), 1,
sym_comment,
ACTIONS(83), 4,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(81), 27,
anon_sym_module,
anon_sym_import,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_annotation,
sym_identifier,
[427] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(14), 1,
sym_comment,
ACTIONS(87), 4,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(85), 27,
anon_sym_module,
anon_sym_import,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_annotation,
sym_identifier,
[469] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(15), 1,
sym_comment,
ACTIONS(91), 4,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(89), 27,
anon_sym_module,
anon_sym_import,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_annotation,
sym_identifier,
[511] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(16), 1,
sym_comment,
ACTIONS(95), 4,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(93), 27,
anon_sym_module,
anon_sym_import,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_annotation,
sym_identifier,
[553] = 7,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_SLASH_SLASH_SLASH,
STATE(17), 1,
sym_comment,
STATE(18), 1,
aux_sym_definition_preamble_repeat1,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
ACTIONS(97), 25,
anon_sym_module,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
sym_identifier,
[600] = 6,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(101), 1,
anon_sym_AT,
ACTIONS(104), 1,
anon_sym_SLASH_SLASH_SLASH,
STATE(18), 2,
sym_comment,
aux_sym_definition_preamble_repeat1,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
ACTIONS(99), 25,
anon_sym_module,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
sym_identifier,
[645] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(19), 1,
sym_comment,
ACTIONS(109), 2,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(107), 25,
anon_sym_module,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
sym_identifier,
[683] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(20), 1,
sym_comment,
ACTIONS(113), 2,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(111), 25,
anon_sym_module,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
sym_identifier,
[721] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(21), 1,
sym_comment,
ACTIONS(117), 2,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(115), 25,
anon_sym_module,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
sym_identifier,
[759] = 6,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(121), 1,
anon_sym_SEMI,
ACTIONS(125), 1,
anon_sym_EQ,
STATE(22), 1,
sym_comment,
ACTIONS(123), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(119), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[799] = 6,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(129), 1,
anon_sym_SEMI,
ACTIONS(133), 1,
anon_sym_EQ,
STATE(23), 1,
sym_comment,
ACTIONS(131), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(127), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[839] = 5,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(137), 1,
anon_sym_SEMI,
STATE(24), 1,
sym_comment,
ACTIONS(139), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(135), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[876] = 5,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(143), 1,
anon_sym_SEMI,
STATE(25), 1,
sym_comment,
ACTIONS(145), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(141), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[913] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(26), 1,
sym_comment,
ACTIONS(139), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(135), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[947] = 8,
ACTIONS(42), 1,
sym_identifier,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(27), 1,
sym_comment,
STATE(106), 1,
sym_scoped_name,
STATE(140), 1,
sym_primitive_type,
STATE(204), 1,
sym_type_expression,
ACTIONS(48), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(46), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[989] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(28), 1,
sym_comment,
ACTIONS(151), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(149), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[1023] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(153), 1,
sym_identifier,
STATE(29), 1,
sym_comment,
STATE(48), 1,
sym_scoped_name,
STATE(54), 1,
sym_primitive_type,
STATE(81), 1,
sym_type_expression,
ACTIONS(157), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(155), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1065] = 8,
ACTIONS(42), 1,
sym_identifier,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(30), 1,
sym_comment,
STATE(106), 1,
sym_scoped_name,
STATE(120), 1,
sym_type_expression,
STATE(140), 1,
sym_primitive_type,
ACTIONS(48), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(46), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1107] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(153), 1,
sym_identifier,
STATE(31), 1,
sym_comment,
STATE(48), 1,
sym_scoped_name,
STATE(54), 1,
sym_primitive_type,
STATE(57), 1,
sym_type_expression,
ACTIONS(157), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(155), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1149] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(153), 1,
sym_identifier,
STATE(32), 1,
sym_comment,
STATE(48), 1,
sym_scoped_name,
STATE(53), 1,
sym_type_expression,
STATE(54), 1,
sym_primitive_type,
ACTIONS(157), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(155), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1191] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(33), 1,
sym_comment,
ACTIONS(123), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(119), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[1225] = 8,
ACTIONS(42), 1,
sym_identifier,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(34), 1,
sym_comment,
STATE(106), 1,
sym_scoped_name,
STATE(140), 1,
sym_primitive_type,
STATE(164), 1,
sym_type_expression,
ACTIONS(48), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(46), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1267] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(35), 1,
sym_comment,
ACTIONS(145), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(141), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[1301] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(153), 1,
sym_identifier,
STATE(36), 1,
sym_comment,
STATE(48), 1,
sym_scoped_name,
STATE(54), 1,
sym_primitive_type,
STATE(64), 1,
sym_type_expression,
ACTIONS(157), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(155), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1343] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(37), 1,
sym_comment,
ACTIONS(161), 3,
anon_sym_RBRACE,
anon_sym_AT,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(159), 20,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
sym_identifier,
[1377] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(153), 1,
sym_identifier,
STATE(38), 1,
sym_comment,
STATE(48), 1,
sym_scoped_name,
STATE(54), 1,
sym_primitive_type,
STATE(56), 1,
sym_type_expression,
ACTIONS(157), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(155), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1419] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(153), 1,
sym_identifier,
STATE(39), 1,
sym_comment,
STATE(48), 1,
sym_scoped_name,
STATE(54), 1,
sym_primitive_type,
STATE(72), 1,
sym_type_expression,
ACTIONS(157), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(155), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1461] = 8,
ACTIONS(42), 1,
sym_identifier,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(40), 1,
sym_comment,
STATE(106), 1,
sym_scoped_name,
STATE(140), 1,
sym_primitive_type,
STATE(150), 1,
sym_type_expression,
ACTIONS(48), 4,
anon_sym_Vector,
anon_sym_StringMap,
anon_sym_Nullable,
anon_sym_TypeToken,
ACTIONS(46), 15,
anon_sym_Int8,
anon_sym_Int16,
anon_sym_Int32,
anon_sym_Int64,
anon_sym_Word8,
anon_sym_Word16,
anon_sym_Word32,
anon_sym_Word64,
anon_sym_Bool,
anon_sym_Void,
anon_sym_Float,
anon_sym_Double,
anon_sym_String,
anon_sym_Bytes,
anon_sym_Json,
[1503] = 15,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(163), 1,
anon_sym_RBRACE,
ACTIONS(165), 1,
anon_sym_import,
ACTIONS(168), 1,
anon_sym_newtype,
ACTIONS(171), 1,
anon_sym_type,
ACTIONS(174), 1,
anon_sym_struct,
ACTIONS(177), 1,
anon_sym_union,
ACTIONS(180), 1,
anon_sym_AT,
ACTIONS(183), 1,
anon_sym_annotation,
ACTIONS(186), 1,
anon_sym_SLASH_SLASH_SLASH,
STATE(17), 1,
aux_sym_definition_preamble_repeat1,
STATE(107), 1,
sym_definition_preamble,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
STATE(41), 2,
sym_comment,
aux_sym_module_body_repeat1,
STATE(90), 6,
sym_import_declaration,
sym_newtype_definition,
sym_type_definition,
sym_struct_definition,
sym_union_definition,
sym_annotation_declaration,
[1556] = 16,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(189), 1,
anon_sym_RBRACE,
ACTIONS(191), 1,
anon_sym_import,
ACTIONS(193), 1,
anon_sym_newtype,
ACTIONS(195), 1,
anon_sym_type,
ACTIONS(197), 1,
anon_sym_struct,
ACTIONS(199), 1,
anon_sym_union,
ACTIONS(201), 1,
anon_sym_annotation,
STATE(17), 1,
aux_sym_definition_preamble_repeat1,
STATE(41), 1,
aux_sym_module_body_repeat1,
STATE(42), 1,
sym_comment,
STATE(107), 1,
sym_definition_preamble,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
STATE(90), 6,
sym_import_declaration,
sym_newtype_definition,
sym_type_definition,
sym_struct_definition,
sym_union_definition,
sym_annotation_declaration,
[1611] = 16,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_SLASH_SLASH_SLASH,
ACTIONS(191), 1,
anon_sym_import,
ACTIONS(193), 1,
anon_sym_newtype,
ACTIONS(195), 1,
anon_sym_type,
ACTIONS(197), 1,
anon_sym_struct,
ACTIONS(199), 1,
anon_sym_union,
ACTIONS(201), 1,
anon_sym_annotation,
ACTIONS(203), 1,
anon_sym_RBRACE,
STATE(17), 1,
aux_sym_definition_preamble_repeat1,
STATE(42), 1,
aux_sym_module_body_repeat1,
STATE(43), 1,
sym_comment,
STATE(107), 1,
sym_definition_preamble,
STATE(21), 2,
sym_annotation_decorator,
sym_docstring,
STATE(90), 6,
sym_import_declaration,
sym_newtype_definition,
sym_type_definition,
sym_struct_definition,
sym_union_definition,
sym_annotation_declaration,
[1666] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(205), 1,
anon_sym_DOT,
STATE(44), 1,
sym_comment,
STATE(45), 1,
aux_sym_scoped_name_repeat1,
ACTIONS(26), 4,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_identifier,
ACTIONS(28), 8,
anon_sym_LBRACE,
anon_sym_LT,
anon_sym_COMMA,
anon_sym_GT,
anon_sym_COLON_COLON,
sym_json_number,
sym_json_string,
anon_sym_LBRACK,
[1695] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(205), 1,
anon_sym_DOT,
STATE(45), 1,
sym_comment,
STATE(46), 1,
aux_sym_scoped_name_repeat1,
ACTIONS(20), 4,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_identifier,
ACTIONS(24), 8,
anon_sym_LBRACE,
anon_sym_LT,
anon_sym_COMMA,
anon_sym_GT,
anon_sym_COLON_COLON,
sym_json_number,
sym_json_string,
anon_sym_LBRACK,
[1724] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(207), 1,
anon_sym_DOT,
STATE(46), 2,
sym_comment,
aux_sym_scoped_name_repeat1,
ACTIONS(13), 4,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_identifier,
ACTIONS(18), 8,
anon_sym_LBRACE,
anon_sym_LT,
anon_sym_COMMA,
anon_sym_GT,
anon_sym_COLON_COLON,
sym_json_number,
sym_json_string,
anon_sym_LBRACK,
[1751] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(47), 1,
sym_comment,
ACTIONS(13), 4,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_identifier,
ACTIONS(18), 9,
anon_sym_DOT,
anon_sym_LBRACE,
anon_sym_LT,
anon_sym_COMMA,
anon_sym_GT,
anon_sym_COLON_COLON,
sym_json_number,
sym_json_string,
anon_sym_LBRACK,
[1775] = 5,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(212), 1,
anon_sym_LT,
STATE(48), 1,
sym_comment,
STATE(55), 1,
sym_type_arguments,
ACTIONS(210), 11,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_EQ,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[1801] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(49), 1,
sym_comment,
ACTIONS(214), 11,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_EQ,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[1821] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(216), 1,
anon_sym_LBRACE,
ACTIONS(220), 1,
anon_sym_LBRACK,
ACTIONS(222), 1,
anon_sym_RBRACK,
STATE(50), 1,
sym_comment,
STATE(147), 1,
sym_json_value,
STATE(131), 2,
sym_json_array,
sym_json_object,
ACTIONS(218), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[1851] = 8,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(216), 1,
anon_sym_LBRACE,
ACTIONS(220), 1,
anon_sym_LBRACK,
ACTIONS(224), 1,
anon_sym_RBRACK,
STATE(51), 1,
sym_comment,
STATE(153), 1,
sym_json_value,
STATE(131), 2,
sym_json_array,
sym_json_object,
ACTIONS(218), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[1881] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(52), 1,
sym_comment,
ACTIONS(226), 11,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_EQ,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[1901] = 5,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(228), 1,
anon_sym_SEMI,
ACTIONS(232), 1,
anon_sym_EQ,
STATE(53), 1,
sym_comment,
ACTIONS(230), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[1925] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(54), 1,
sym_comment,
ACTIONS(210), 11,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_EQ,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[1945] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(55), 1,
sym_comment,
ACTIONS(234), 11,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_EQ,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[1965] = 5,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(236), 1,
anon_sym_SEMI,
ACTIONS(240), 1,
anon_sym_EQ,
STATE(56), 1,
sym_comment,
ACTIONS(238), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[1989] = 5,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(242), 1,
anon_sym_SEMI,
ACTIONS(246), 1,
anon_sym_EQ,
STATE(57), 1,
sym_comment,
ACTIONS(244), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2013] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(58), 1,
sym_comment,
ACTIONS(248), 11,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_EQ,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2033] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(59), 1,
sym_comment,
ACTIONS(250), 11,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_EQ,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2053] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(254), 1,
anon_sym_DOT_STAR,
STATE(60), 1,
sym_comment,
ACTIONS(252), 10,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2075] = 7,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(216), 1,
anon_sym_LBRACE,
ACTIONS(220), 1,
anon_sym_LBRACK,
STATE(61), 1,
sym_comment,
STATE(184), 1,
sym_json_value,
STATE(131), 2,
sym_json_array,
sym_json_object,
ACTIONS(218), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2102] = 7,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(216), 1,
anon_sym_LBRACE,
ACTIONS(220), 1,
anon_sym_LBRACK,
STATE(62), 1,
sym_comment,
STATE(177), 1,
sym_json_value,
STATE(131), 2,
sym_json_array,
sym_json_object,
ACTIONS(218), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2129] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(63), 1,
sym_comment,
ACTIONS(256), 10,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2148] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(258), 1,
anon_sym_SEMI,
STATE(64), 1,
sym_comment,
ACTIONS(260), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2169] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(65), 1,
sym_comment,
ACTIONS(262), 10,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2188] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(264), 1,
anon_sym_SEMI,
STATE(66), 1,
sym_comment,
ACTIONS(266), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2209] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(268), 1,
anon_sym_SEMI,
STATE(67), 1,
sym_comment,
ACTIONS(270), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2230] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(272), 1,
anon_sym_SEMI,
STATE(68), 1,
sym_comment,
ACTIONS(274), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2251] = 7,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(69), 1,
sym_comment,
STATE(74), 1,
sym_json_value,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(38), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2278] = 7,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(70), 1,
sym_comment,
STATE(77), 1,
sym_json_value,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(38), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2305] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(276), 1,
anon_sym_SEMI,
STATE(71), 1,
sym_comment,
ACTIONS(278), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2326] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(280), 1,
anon_sym_SEMI,
STATE(72), 1,
sym_comment,
ACTIONS(282), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2347] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(73), 1,
sym_comment,
ACTIONS(284), 10,
anon_sym_SEMI,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2366] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(286), 1,
anon_sym_SEMI,
STATE(74), 1,
sym_comment,
ACTIONS(288), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2387] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(290), 1,
anon_sym_SEMI,
STATE(75), 1,
sym_comment,
ACTIONS(292), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2408] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(294), 1,
anon_sym_SEMI,
STATE(76), 1,
sym_comment,
ACTIONS(296), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2429] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(242), 1,
anon_sym_SEMI,
STATE(77), 1,
sym_comment,
ACTIONS(244), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2450] = 7,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(78), 1,
sym_comment,
STATE(83), 1,
sym_json_value,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(38), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2477] = 7,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(25), 1,
sym_json_value,
STATE(79), 1,
sym_comment,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(38), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2504] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(298), 1,
anon_sym_SEMI,
STATE(80), 1,
sym_comment,
ACTIONS(300), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2525] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(302), 1,
anon_sym_SEMI,
STATE(81), 1,
sym_comment,
ACTIONS(304), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2546] = 7,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(68), 1,
sym_json_value,
STATE(82), 1,
sym_comment,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(38), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2573] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(306), 1,
anon_sym_SEMI,
STATE(83), 1,
sym_comment,
ACTIONS(308), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2594] = 7,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(24), 1,
sym_json_value,
STATE(84), 1,
sym_comment,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(38), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2621] = 7,
ACTIONS(32), 1,
anon_sym_LBRACE,
ACTIONS(40), 1,
anon_sym_LBRACK,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(85), 1,
sym_comment,
STATE(86), 1,
sym_json_value,
STATE(12), 2,
sym_json_array,
sym_json_object,
ACTIONS(38), 5,
anon_sym_null,
anon_sym_true,
anon_sym_false,
sym_json_number,
sym_json_string,
[2648] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(310), 1,
anon_sym_SEMI,
STATE(86), 1,
sym_comment,
ACTIONS(312), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2669] = 4,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(314), 1,
anon_sym_SEMI,
STATE(87), 1,
sym_comment,
ACTIONS(316), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2690] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(88), 1,
sym_comment,
ACTIONS(288), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2708] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(89), 1,
sym_comment,
ACTIONS(304), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2726] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(90), 1,
sym_comment,
ACTIONS(318), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2744] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(91), 1,
sym_comment,
ACTIONS(292), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2762] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(92), 1,
sym_comment,
ACTIONS(320), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2780] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(93), 1,
sym_comment,
ACTIONS(296), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2798] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(94), 1,
sym_comment,
ACTIONS(322), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2816] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(95), 1,
sym_comment,
ACTIONS(266), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2834] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(96), 1,
sym_comment,
ACTIONS(324), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2852] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(97), 1,
sym_comment,
ACTIONS(308), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2870] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(98), 1,
sym_comment,
ACTIONS(270), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2888] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(99), 1,
sym_comment,
ACTIONS(282), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2906] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(100), 1,
sym_comment,
ACTIONS(326), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2924] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(101), 1,
sym_comment,
ACTIONS(328), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2942] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(102), 1,
sym_comment,
ACTIONS(312), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2960] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(103), 1,
sym_comment,
ACTIONS(244), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2978] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(104), 1,
sym_comment,
ACTIONS(330), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[2996] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
STATE(105), 1,
sym_comment,
ACTIONS(238), 9,
anon_sym_RBRACE,
anon_sym_import,
anon_sym_newtype,
anon_sym_type,
anon_sym_struct,
anon_sym_union,
anon_sym_AT,
anon_sym_annotation,
anon_sym_SLASH_SLASH_SLASH,
[3014] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(332), 1,
anon_sym_LT,
STATE(106), 1,
sym_comment,
STATE(142), 1,
sym_type_arguments,
ACTIONS(210), 3,
anon_sym_COMMA,
anon_sym_GT,
sym_identifier,
[3032] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(334), 1,
anon_sym_newtype,
ACTIONS(336), 1,
anon_sym_type,
ACTIONS(338), 1,
anon_sym_struct,
ACTIONS(340), 1,
anon_sym_union,
STATE(107), 1,
sym_comment,
[3051] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(342), 1,
sym_identifier,
ACTIONS(344), 1,
anon_sym_COLON_COLON,
STATE(82), 1,
sym_scoped_name,
STATE(108), 1,
sym_comment,
STATE(109), 1,
aux_sym_annotation_declaration_repeat1,
[3070] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(342), 1,
sym_identifier,
ACTIONS(344), 1,
anon_sym_COLON_COLON,
STATE(69), 1,
sym_scoped_name,
STATE(109), 1,
sym_comment,
STATE(130), 1,
aux_sym_annotation_declaration_repeat1,
[3089] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
ACTIONS(348), 1,
anon_sym_LT,
STATE(66), 1,
sym_field_block,
STATE(110), 1,
sym_comment,
STATE(173), 1,
sym_type_parameters,
[3108] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
ACTIONS(348), 1,
anon_sym_LT,
STATE(80), 1,
sym_field_block,
STATE(111), 1,
sym_comment,
STATE(160), 1,
sym_type_parameters,
[3127] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
ACTIONS(348), 1,
anon_sym_LT,
STATE(71), 1,
sym_field_block,
STATE(112), 1,
sym_comment,
STATE(156), 1,
sym_type_parameters,
[3146] = 6,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
ACTIONS(348), 1,
anon_sym_LT,
STATE(67), 1,
sym_field_block,
STATE(113), 1,
sym_comment,
STATE(175), 1,
sym_type_parameters,
[3165] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(114), 1,
sym_comment,
ACTIONS(350), 3,
anon_sym_LBRACE,
anon_sym_LT,
anon_sym_EQ,
[3177] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(352), 1,
anon_sym_COMMA,
ACTIONS(354), 1,
anon_sym_GT,
STATE(115), 1,
sym_comment,
STATE(119), 1,
aux_sym_type_parameters_repeat1,
[3193] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(348), 1,
anon_sym_LT,
ACTIONS(356), 1,
anon_sym_EQ,
STATE(116), 1,
sym_comment,
STATE(199), 1,
sym_type_parameters,
[3209] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(348), 1,
anon_sym_LT,
ACTIONS(358), 1,
anon_sym_EQ,
STATE(117), 1,
sym_comment,
STATE(200), 1,
sym_type_parameters,
[3225] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(360), 1,
anon_sym_RBRACE,
ACTIONS(362), 1,
anon_sym_COMMA,
STATE(118), 1,
sym_comment,
STATE(121), 1,
aux_sym_json_object_repeat1,
[3241] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(364), 1,
anon_sym_COMMA,
ACTIONS(367), 1,
anon_sym_GT,
STATE(119), 2,
sym_comment,
aux_sym_type_parameters_repeat1,
[3255] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(369), 1,
anon_sym_COMMA,
ACTIONS(371), 1,
anon_sym_GT,
STATE(120), 1,
sym_comment,
STATE(125), 1,
aux_sym_type_arguments_repeat1,
[3271] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(373), 1,
anon_sym_RBRACE,
ACTIONS(375), 1,
anon_sym_COMMA,
STATE(121), 2,
sym_comment,
aux_sym_json_object_repeat1,
[3285] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(378), 1,
anon_sym_COMMA,
ACTIONS(381), 1,
anon_sym_RBRACK,
STATE(122), 2,
sym_comment,
aux_sym_json_array_repeat1,
[3299] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(352), 1,
anon_sym_COMMA,
ACTIONS(383), 1,
anon_sym_GT,
STATE(115), 1,
aux_sym_type_parameters_repeat1,
STATE(123), 1,
sym_comment,
[3315] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(385), 1,
anon_sym_COMMA,
ACTIONS(387), 1,
anon_sym_RBRACK,
STATE(122), 1,
aux_sym_json_array_repeat1,
STATE(124), 1,
sym_comment,
[3331] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(369), 1,
anon_sym_COMMA,
ACTIONS(389), 1,
anon_sym_GT,
STATE(125), 1,
sym_comment,
STATE(128), 1,
aux_sym_type_arguments_repeat1,
[3347] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(391), 1,
anon_sym_RBRACE,
ACTIONS(393), 1,
sym_json_string,
STATE(126), 1,
sym_comment,
STATE(129), 1,
sym_json_object_pair,
[3363] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(395), 1,
sym_identifier,
STATE(60), 1,
sym_scoped_name,
STATE(87), 1,
sym_import_path,
STATE(127), 1,
sym_comment,
[3379] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(397), 1,
anon_sym_COMMA,
ACTIONS(400), 1,
anon_sym_GT,
STATE(128), 2,
sym_comment,
aux_sym_type_arguments_repeat1,
[3393] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(362), 1,
anon_sym_COMMA,
ACTIONS(402), 1,
anon_sym_RBRACE,
STATE(118), 1,
aux_sym_json_object_repeat1,
STATE(129), 1,
sym_comment,
[3409] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(404), 1,
sym_identifier,
ACTIONS(406), 1,
anon_sym_COLON_COLON,
STATE(130), 2,
sym_comment,
aux_sym_annotation_declaration_repeat1,
[3423] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(131), 1,
sym_comment,
ACTIONS(79), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RBRACK,
[3435] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(348), 1,
anon_sym_LT,
ACTIONS(409), 1,
anon_sym_EQ,
STATE(132), 1,
sym_comment,
STATE(198), 1,
sym_type_parameters,
[3451] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(133), 1,
sym_comment,
ACTIONS(75), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RBRACK,
[3463] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(134), 1,
sym_comment,
ACTIONS(87), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RBRACK,
[3475] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(135), 1,
sym_comment,
ACTIONS(91), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RBRACK,
[3487] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(136), 1,
sym_comment,
ACTIONS(71), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RBRACK,
[3499] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(137), 1,
sym_comment,
ACTIONS(83), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RBRACK,
[3511] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(138), 1,
sym_comment,
ACTIONS(95), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RBRACK,
[3523] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(139), 1,
sym_comment,
ACTIONS(226), 3,
anon_sym_COMMA,
anon_sym_GT,
sym_identifier,
[3535] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(140), 1,
sym_comment,
ACTIONS(210), 3,
anon_sym_COMMA,
anon_sym_GT,
sym_identifier,
[3547] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(141), 1,
sym_comment,
ACTIONS(214), 3,
anon_sym_COMMA,
anon_sym_GT,
sym_identifier,
[3559] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(142), 1,
sym_comment,
ACTIONS(234), 3,
anon_sym_COMMA,
anon_sym_GT,
sym_identifier,
[3571] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(143), 1,
sym_comment,
ACTIONS(248), 3,
anon_sym_COMMA,
anon_sym_GT,
sym_identifier,
[3583] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(144), 1,
sym_comment,
ACTIONS(250), 3,
anon_sym_COMMA,
anon_sym_GT,
sym_identifier,
[3595] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(393), 1,
sym_json_string,
ACTIONS(411), 1,
anon_sym_RBRACE,
STATE(145), 1,
sym_comment,
STATE(146), 1,
sym_json_object_pair,
[3611] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(362), 1,
anon_sym_COMMA,
ACTIONS(413), 1,
anon_sym_RBRACE,
STATE(146), 1,
sym_comment,
STATE(148), 1,
aux_sym_json_object_repeat1,
[3627] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(385), 1,
anon_sym_COMMA,
ACTIONS(415), 1,
anon_sym_RBRACK,
STATE(147), 1,
sym_comment,
STATE(149), 1,
aux_sym_json_array_repeat1,
[3643] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(362), 1,
anon_sym_COMMA,
ACTIONS(417), 1,
anon_sym_RBRACE,
STATE(121), 1,
aux_sym_json_object_repeat1,
STATE(148), 1,
sym_comment,
[3659] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(385), 1,
anon_sym_COMMA,
ACTIONS(419), 1,
anon_sym_RBRACK,
STATE(122), 1,
aux_sym_json_array_repeat1,
STATE(149), 1,
sym_comment,
[3675] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(369), 1,
anon_sym_COMMA,
ACTIONS(421), 1,
anon_sym_GT,
STATE(150), 1,
sym_comment,
STATE(151), 1,
aux_sym_type_arguments_repeat1,
[3691] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(369), 1,
anon_sym_COMMA,
ACTIONS(423), 1,
anon_sym_GT,
STATE(128), 1,
aux_sym_type_arguments_repeat1,
STATE(151), 1,
sym_comment,
[3707] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(348), 1,
anon_sym_LT,
ACTIONS(425), 1,
anon_sym_EQ,
STATE(152), 1,
sym_comment,
STATE(190), 1,
sym_type_parameters,
[3723] = 5,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(385), 1,
anon_sym_COMMA,
ACTIONS(427), 1,
anon_sym_RBRACK,
STATE(124), 1,
aux_sym_json_array_repeat1,
STATE(153), 1,
sym_comment,
[3739] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(395), 1,
sym_identifier,
STATE(6), 1,
sym_scoped_name,
STATE(154), 1,
sym_comment,
[3752] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(132), 1,
sym_type_name,
STATE(155), 1,
sym_comment,
[3765] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
STATE(66), 1,
sym_field_block,
STATE(156), 1,
sym_comment,
[3778] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(431), 1,
anon_sym_LBRACE,
STATE(157), 1,
sym_comment,
STATE(168), 1,
sym_module_body,
[3791] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(110), 1,
sym_type_name,
STATE(158), 1,
sym_comment,
[3804] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(159), 1,
sym_comment,
ACTIONS(433), 2,
ts_builtin_sym_end,
anon_sym_SEMI,
[3815] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
STATE(67), 1,
sym_field_block,
STATE(160), 1,
sym_comment,
[3828] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(113), 1,
sym_type_name,
STATE(161), 1,
sym_comment,
[3841] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(431), 1,
anon_sym_LBRACE,
STATE(162), 1,
sym_comment,
STATE(169), 1,
sym_module_body,
[3854] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(163), 1,
sym_comment,
ACTIONS(435), 2,
ts_builtin_sym_end,
anon_sym_SEMI,
[3865] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(164), 1,
sym_comment,
ACTIONS(400), 2,
anon_sym_COMMA,
anon_sym_GT,
[3876] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(437), 1,
sym_identifier,
STATE(165), 1,
sym_comment,
STATE(178), 1,
sym_field_reference,
[3889] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(116), 1,
sym_type_name,
STATE(166), 1,
sym_comment,
[3902] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(342), 1,
sym_identifier,
STATE(157), 1,
sym_scoped_name,
STATE(167), 1,
sym_comment,
[3915] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(439), 1,
ts_builtin_sym_end,
ACTIONS(441), 1,
anon_sym_SEMI,
STATE(168), 1,
sym_comment,
[3928] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(443), 1,
ts_builtin_sym_end,
ACTIONS(445), 1,
anon_sym_SEMI,
STATE(169), 1,
sym_comment,
[3941] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(112), 1,
sym_type_name,
STATE(170), 1,
sym_comment,
[3954] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(171), 1,
sym_comment,
ACTIONS(447), 2,
anon_sym_COLON_COLON,
sym_identifier,
[3965] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(111), 1,
sym_type_name,
STATE(172), 1,
sym_comment,
[3978] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
STATE(75), 1,
sym_field_block,
STATE(173), 1,
sym_comment,
[3991] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(393), 1,
sym_json_string,
STATE(174), 1,
sym_comment,
STATE(179), 1,
sym_json_object_pair,
[4004] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(346), 1,
anon_sym_LBRACE,
STATE(76), 1,
sym_field_block,
STATE(175), 1,
sym_comment,
[4017] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(342), 1,
sym_identifier,
STATE(108), 1,
sym_scoped_name,
STATE(176), 1,
sym_comment,
[4030] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(177), 1,
sym_comment,
ACTIONS(449), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
[4041] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(178), 1,
sym_comment,
ACTIONS(404), 2,
anon_sym_COLON_COLON,
sym_identifier,
[4052] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(179), 1,
sym_comment,
ACTIONS(373), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
[4063] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(342), 1,
sym_identifier,
STATE(162), 1,
sym_scoped_name,
STATE(180), 1,
sym_comment,
[4076] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(181), 1,
sym_comment,
ACTIONS(367), 2,
anon_sym_COMMA,
anon_sym_GT,
[4087] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(182), 1,
sym_comment,
ACTIONS(451), 2,
anon_sym_LBRACE,
anon_sym_EQ,
[4098] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(183), 1,
sym_comment,
ACTIONS(453), 2,
anon_sym_LBRACE,
anon_sym_EQ,
[4109] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
STATE(184), 1,
sym_comment,
ACTIONS(381), 2,
anon_sym_COMMA,
anon_sym_RBRACK,
[4120] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(117), 1,
sym_type_name,
STATE(185), 1,
sym_comment,
[4133] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(429), 1,
sym_identifier,
STATE(152), 1,
sym_type_name,
STATE(186), 1,
sym_comment,
[4146] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(332), 1,
anon_sym_LT,
STATE(141), 1,
sym_type_arguments,
STATE(187), 1,
sym_comment,
[4159] = 4,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(212), 1,
anon_sym_LT,
STATE(49), 1,
sym_type_arguments,
STATE(188), 1,
sym_comment,
[4172] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(455), 1,
ts_builtin_sym_end,
STATE(189), 1,
sym_comment,
[4182] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(356), 1,
anon_sym_EQ,
STATE(190), 1,
sym_comment,
[4192] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(439), 1,
ts_builtin_sym_end,
STATE(191), 1,
sym_comment,
[4202] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(457), 1,
sym_identifier,
STATE(192), 1,
sym_comment,
[4212] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(459), 1,
anon_sym_module,
STATE(193), 1,
sym_comment,
[4222] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(461), 1,
ts_builtin_sym_end,
STATE(194), 1,
sym_comment,
[4232] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(463), 1,
sym_identifier,
STATE(195), 1,
sym_comment,
[4242] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(465), 1,
sym_identifier,
STATE(196), 1,
sym_comment,
[4252] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(467), 1,
sym_identifier,
STATE(197), 1,
sym_comment,
[4262] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(358), 1,
anon_sym_EQ,
STATE(198), 1,
sym_comment,
[4272] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(469), 1,
anon_sym_EQ,
STATE(199), 1,
sym_comment,
[4282] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(471), 1,
anon_sym_EQ,
STATE(200), 1,
sym_comment,
[4292] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(473), 1,
anon_sym_COLON,
STATE(201), 1,
sym_comment,
[4302] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(475), 1,
sym_identifier,
STATE(202), 1,
sym_comment,
[4312] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(477), 1,
aux_sym_comment_token1,
STATE(203), 1,
sym_comment,
[4322] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(479), 1,
sym_identifier,
STATE(204), 1,
sym_comment,
[4332] = 3,
ACTIONS(3), 1,
anon_sym_SLASH_SLASH,
ACTIONS(481), 1,
aux_sym_comment_token1,
STATE(205), 1,
sym_comment,
[4342] = 3,
ACTIONS(147), 1,
anon_sym_SLASH_SLASH,
ACTIONS(483), 1,
ts_builtin_sym_end,
STATE(206), 1,
sym_comment,
[4352] = 1,
ACTIONS(485), 1,
ts_builtin_sym_end,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(6)] = 0,
[SMALL_STATE(7)] = 60,
[SMALL_STATE(8)] = 127,
[SMALL_STATE(9)] = 194,
[SMALL_STATE(10)] = 259,
[SMALL_STATE(11)] = 301,
[SMALL_STATE(12)] = 343,
[SMALL_STATE(13)] = 385,
[SMALL_STATE(14)] = 427,
[SMALL_STATE(15)] = 469,
[SMALL_STATE(16)] = 511,
[SMALL_STATE(17)] = 553,
[SMALL_STATE(18)] = 600,
[SMALL_STATE(19)] = 645,
[SMALL_STATE(20)] = 683,
[SMALL_STATE(21)] = 721,
[SMALL_STATE(22)] = 759,
[SMALL_STATE(23)] = 799,
[SMALL_STATE(24)] = 839,
[SMALL_STATE(25)] = 876,
[SMALL_STATE(26)] = 913,
[SMALL_STATE(27)] = 947,
[SMALL_STATE(28)] = 989,
[SMALL_STATE(29)] = 1023,
[SMALL_STATE(30)] = 1065,
[SMALL_STATE(31)] = 1107,
[SMALL_STATE(32)] = 1149,
[SMALL_STATE(33)] = 1191,
[SMALL_STATE(34)] = 1225,
[SMALL_STATE(35)] = 1267,
[SMALL_STATE(36)] = 1301,
[SMALL_STATE(37)] = 1343,
[SMALL_STATE(38)] = 1377,
[SMALL_STATE(39)] = 1419,
[SMALL_STATE(40)] = 1461,
[SMALL_STATE(41)] = 1503,
[SMALL_STATE(42)] = 1556,
[SMALL_STATE(43)] = 1611,
[SMALL_STATE(44)] = 1666,
[SMALL_STATE(45)] = 1695,
[SMALL_STATE(46)] = 1724,
[SMALL_STATE(47)] = 1751,
[SMALL_STATE(48)] = 1775,
[SMALL_STATE(49)] = 1801,
[SMALL_STATE(50)] = 1821,
[SMALL_STATE(51)] = 1851,
[SMALL_STATE(52)] = 1881,
[SMALL_STATE(53)] = 1901,
[SMALL_STATE(54)] = 1925,
[SMALL_STATE(55)] = 1945,
[SMALL_STATE(56)] = 1965,
[SMALL_STATE(57)] = 1989,
[SMALL_STATE(58)] = 2013,
[SMALL_STATE(59)] = 2033,
[SMALL_STATE(60)] = 2053,
[SMALL_STATE(61)] = 2075,
[SMALL_STATE(62)] = 2102,
[SMALL_STATE(63)] = 2129,
[SMALL_STATE(64)] = 2148,
[SMALL_STATE(65)] = 2169,
[SMALL_STATE(66)] = 2188,
[SMALL_STATE(67)] = 2209,
[SMALL_STATE(68)] = 2230,
[SMALL_STATE(69)] = 2251,
[SMALL_STATE(70)] = 2278,
[SMALL_STATE(71)] = 2305,
[SMALL_STATE(72)] = 2326,
[SMALL_STATE(73)] = 2347,
[SMALL_STATE(74)] = 2366,
[SMALL_STATE(75)] = 2387,
[SMALL_STATE(76)] = 2408,
[SMALL_STATE(77)] = 2429,
[SMALL_STATE(78)] = 2450,
[SMALL_STATE(79)] = 2477,
[SMALL_STATE(80)] = 2504,
[SMALL_STATE(81)] = 2525,
[SMALL_STATE(82)] = 2546,
[SMALL_STATE(83)] = 2573,
[SMALL_STATE(84)] = 2594,
[SMALL_STATE(85)] = 2621,
[SMALL_STATE(86)] = 2648,
[SMALL_STATE(87)] = 2669,
[SMALL_STATE(88)] = 2690,
[SMALL_STATE(89)] = 2708,
[SMALL_STATE(90)] = 2726,
[SMALL_STATE(91)] = 2744,
[SMALL_STATE(92)] = 2762,
[SMALL_STATE(93)] = 2780,
[SMALL_STATE(94)] = 2798,
[SMALL_STATE(95)] = 2816,
[SMALL_STATE(96)] = 2834,
[SMALL_STATE(97)] = 2852,
[SMALL_STATE(98)] = 2870,
[SMALL_STATE(99)] = 2888,
[SMALL_STATE(100)] = 2906,
[SMALL_STATE(101)] = 2924,
[SMALL_STATE(102)] = 2942,
[SMALL_STATE(103)] = 2960,
[SMALL_STATE(104)] = 2978,
[SMALL_STATE(105)] = 2996,
[SMALL_STATE(106)] = 3014,
[SMALL_STATE(107)] = 3032,
[SMALL_STATE(108)] = 3051,
[SMALL_STATE(109)] = 3070,
[SMALL_STATE(110)] = 3089,
[SMALL_STATE(111)] = 3108,
[SMALL_STATE(112)] = 3127,
[SMALL_STATE(113)] = 3146,
[SMALL_STATE(114)] = 3165,
[SMALL_STATE(115)] = 3177,
[SMALL_STATE(116)] = 3193,
[SMALL_STATE(117)] = 3209,
[SMALL_STATE(118)] = 3225,
[SMALL_STATE(119)] = 3241,
[SMALL_STATE(120)] = 3255,
[SMALL_STATE(121)] = 3271,
[SMALL_STATE(122)] = 3285,
[SMALL_STATE(123)] = 3299,
[SMALL_STATE(124)] = 3315,
[SMALL_STATE(125)] = 3331,
[SMALL_STATE(126)] = 3347,
[SMALL_STATE(127)] = 3363,
[SMALL_STATE(128)] = 3379,
[SMALL_STATE(129)] = 3393,
[SMALL_STATE(130)] = 3409,
[SMALL_STATE(131)] = 3423,
[SMALL_STATE(132)] = 3435,
[SMALL_STATE(133)] = 3451,
[SMALL_STATE(134)] = 3463,
[SMALL_STATE(135)] = 3475,
[SMALL_STATE(136)] = 3487,
[SMALL_STATE(137)] = 3499,
[SMALL_STATE(138)] = 3511,
[SMALL_STATE(139)] = 3523,
[SMALL_STATE(140)] = 3535,
[SMALL_STATE(141)] = 3547,
[SMALL_STATE(142)] = 3559,
[SMALL_STATE(143)] = 3571,
[SMALL_STATE(144)] = 3583,
[SMALL_STATE(145)] = 3595,
[SMALL_STATE(146)] = 3611,
[SMALL_STATE(147)] = 3627,
[SMALL_STATE(148)] = 3643,
[SMALL_STATE(149)] = 3659,
[SMALL_STATE(150)] = 3675,
[SMALL_STATE(151)] = 3691,
[SMALL_STATE(152)] = 3707,
[SMALL_STATE(153)] = 3723,
[SMALL_STATE(154)] = 3739,
[SMALL_STATE(155)] = 3752,
[SMALL_STATE(156)] = 3765,
[SMALL_STATE(157)] = 3778,
[SMALL_STATE(158)] = 3791,
[SMALL_STATE(159)] = 3804,
[SMALL_STATE(160)] = 3815,
[SMALL_STATE(161)] = 3828,
[SMALL_STATE(162)] = 3841,
[SMALL_STATE(163)] = 3854,
[SMALL_STATE(164)] = 3865,
[SMALL_STATE(165)] = 3876,
[SMALL_STATE(166)] = 3889,
[SMALL_STATE(167)] = 3902,
[SMALL_STATE(168)] = 3915,
[SMALL_STATE(169)] = 3928,
[SMALL_STATE(170)] = 3941,
[SMALL_STATE(171)] = 3954,
[SMALL_STATE(172)] = 3965,
[SMALL_STATE(173)] = 3978,
[SMALL_STATE(174)] = 3991,
[SMALL_STATE(175)] = 4004,
[SMALL_STATE(176)] = 4017,
[SMALL_STATE(177)] = 4030,
[SMALL_STATE(178)] = 4041,
[SMALL_STATE(179)] = 4052,
[SMALL_STATE(180)] = 4063,
[SMALL_STATE(181)] = 4076,
[SMALL_STATE(182)] = 4087,
[SMALL_STATE(183)] = 4098,
[SMALL_STATE(184)] = 4109,
[SMALL_STATE(185)] = 4120,
[SMALL_STATE(186)] = 4133,
[SMALL_STATE(187)] = 4146,
[SMALL_STATE(188)] = 4159,
[SMALL_STATE(189)] = 4172,
[SMALL_STATE(190)] = 4182,
[SMALL_STATE(191)] = 4192,
[SMALL_STATE(192)] = 4202,
[SMALL_STATE(193)] = 4212,
[SMALL_STATE(194)] = 4222,
[SMALL_STATE(195)] = 4232,
[SMALL_STATE(196)] = 4242,
[SMALL_STATE(197)] = 4252,
[SMALL_STATE(198)] = 4262,
[SMALL_STATE(199)] = 4272,
[SMALL_STATE(200)] = 4282,
[SMALL_STATE(201)] = 4292,
[SMALL_STATE(202)] = 4302,
[SMALL_STATE(203)] = 4312,
[SMALL_STATE(204)] = 4322,
[SMALL_STATE(205)] = 4332,
[SMALL_STATE(206)] = 4342,
[SMALL_STATE(207)] = 4352,
};
static const TSParseActionEntry ts_parse_actions[] = {
[0] = {.entry = {.count = 0, .reusable = false}},
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
[3] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203),
[5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0),
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
[13] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_scoped_name_repeat1, 2, 0, 0),
[15] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_scoped_name_repeat1, 2, 0, 0), SHIFT_REPEAT(192),
[18] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_scoped_name_repeat1, 2, 0, 0),
[20] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scoped_name, 2, 0, 0),
[22] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192),
[24] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scoped_name, 2, 0, 0),
[26] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scoped_name, 1, 0, 0),
[28] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scoped_name, 1, 0, 0),
[30] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_annotation_decorator, 2, 0, 0),
[32] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
[34] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation_decorator, 2, 0, 0),
[36] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12),
[38] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
[40] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[42] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44),
[44] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
[46] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139),
[48] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187),
[50] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
[52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_field_block_repeat1, 2, 0, 0), SHIFT_REPEAT(44),
[55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_field_block_repeat1, 2, 0, 0),
[57] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_field_block_repeat1, 2, 0, 0), SHIFT_REPEAT(139),
[60] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_field_block_repeat1, 2, 0, 0), SHIFT_REPEAT(187),
[63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_field_block_repeat1, 2, 0, 0), SHIFT_REPEAT(154),
[66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_field_block_repeat1, 2, 0, 0), SHIFT_REPEAT(205),
[69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_json_array, 3, 0, 0),
[71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_array, 3, 0, 0),
[73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_json_object, 2, 0, 0),
[75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_object, 2, 0, 0),
[77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_json_value, 1, 0, 0),
[79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_value, 1, 0, 0),
[81] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_json_object, 4, 0, 0),
[83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_object, 4, 0, 0),
[85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_json_array, 2, 0, 0),
[87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_array, 2, 0, 0),
[89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_json_object, 3, 0, 0),
[91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_object, 3, 0, 0),
[93] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_json_array, 4, 0, 0),
[95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_array, 4, 0, 0),
[97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_definition_preamble, 1, 0, 0),
[99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_definition_preamble_repeat1, 2, 0, 0),
[101] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_definition_preamble_repeat1, 2, 0, 0), SHIFT_REPEAT(154),
[104] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_definition_preamble_repeat1, 2, 0, 0), SHIFT_REPEAT(205),
[107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_docstring, 2, 0, 0),
[109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_docstring, 2, 0, 0),
[111] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_annotation_decorator, 3, 0, 0),
[113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation_decorator, 3, 0, 0),
[115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_definition_preamble_repeat1, 1, 0, 0),
[117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_definition_preamble_repeat1, 1, 0, 0),
[119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 3, 0, 0),
[121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 3, 0, 0),
[125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
[127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 2, 0, 0),
[129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
[131] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 2, 0, 0),
[133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
[135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 5, 0, 0),
[137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
[139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 5, 0, 0),
[141] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 4, 0, 0),
[143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
[145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 4, 0, 0),
[147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203),
[149] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_field_block_repeat1, 1, 0, 0),
[151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_field_block_repeat1, 1, 0, 0),
[153] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4),
[155] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52),
[157] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188),
[159] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 6, 0, 0),
[161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 6, 0, 0),
[163] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0),
[165] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(127),
[168] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(186),
[171] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(155),
[174] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(170),
[177] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(172),
[180] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(154),
[183] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(176),
[186] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 2, 0, 0), SHIFT_REPEAT(205),
[189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159),
[191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
[193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
[195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155),
[197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170),
[199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
[201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176),
[203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
[205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
[207] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_scoped_name_repeat1, 2, 0, 0), SHIFT_REPEAT(195),
[210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_expression, 1, 0, 0),
[212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
[214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_type, 2, 0, 0),
[216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
[218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
[220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
[224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_type, 1, 0, 0),
[228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
[230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_newtype_definition, 4, 0, 0),
[232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
[234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_expression, 2, 0, 0),
[236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
[238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_newtype_definition, 5, 0, 0),
[240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
[242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
[244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_newtype_definition, 6, 0, 0),
[246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
[248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_arguments, 3, 0, 0),
[250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_arguments, 4, 0, 0),
[252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 1, 0, 0),
[254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
[256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 2, 0, 0),
[258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99),
[260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 4, 0, 0),
[262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_block, 2, 0, 0),
[264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
[266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_struct_definition, 4, 0, 0),
[268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
[270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_union_definition, 4, 0, 0),
[272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
[274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation_declaration, 4, 0, 0),
[276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
[278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_struct_definition, 3, 0, 0),
[280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
[282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 5, 0, 0),
[284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_block, 3, 0, 0),
[286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
[288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation_declaration, 5, 0, 0),
[290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
[292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_struct_definition, 5, 0, 0),
[294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
[296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_union_definition, 5, 0, 0),
[298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
[300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_union_definition, 3, 0, 0),
[302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
[304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 6, 0, 0),
[306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
[308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_newtype_definition, 7, 0, 0),
[310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
[312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_newtype_definition, 8, 0, 0),
[314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
[316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 2, 0, 0),
[318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_module_body_repeat1, 1, 0, 0),
[320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation_declaration, 6, 0, 0),
[322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_struct_definition, 6, 0, 0),
[324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_union_definition, 6, 0, 0),
[326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_declaration, 3, 0, 0),
[328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 7, 0, 0),
[330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_newtype_definition, 9, 0, 0),
[332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
[334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
[336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185),
[338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158),
[340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161),
[342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
[344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165),
[346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
[350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 1, 0, 0),
[352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
[354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182),
[356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
[360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
[364] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_parameters_repeat1, 2, 0, 0), SHIFT_REPEAT(196),
[367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_parameters_repeat1, 2, 0, 0),
[369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
[371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
[373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_json_object_repeat1, 2, 0, 0),
[375] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_json_object_repeat1, 2, 0, 0), SHIFT_REPEAT(174),
[378] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_json_array_repeat1, 2, 0, 0), SHIFT_REPEAT(61),
[381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_json_array_repeat1, 2, 0, 0),
[383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183),
[385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
[387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
[389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
[395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
[397] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_arguments_repeat1, 2, 0, 0), SHIFT_REPEAT(34),
[400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_arguments_repeat1, 2, 0, 0),
[402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
[404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_annotation_declaration_repeat1, 2, 0, 0),
[406] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_annotation_declaration_repeat1, 2, 0, 0), SHIFT_REPEAT(165),
[409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
[413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
[415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
[419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
[421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143),
[423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
[425] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
[427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
[431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[433] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_module_body, 3, 0, 0),
[435] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_module_body, 2, 0, 0),
[437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
[439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_module_definition, 4, 0, 0),
[441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194),
[443] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_module_definition, 3, 0, 0),
[445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191),
[447] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_reference, 1, 0, 0),
[449] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_object_pair, 3, 0, 0),
[451] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_parameters, 4, 0, 0),
[453] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_parameters, 3, 0, 0),
[455] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[459] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167),
[461] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_module_definition, 5, 0, 0),
[463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[465] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181),
[467] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
[471] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
[473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[477] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207),
[479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[481] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19),
[483] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
[485] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 0),
};
#ifdef __cplusplus
extern "C" {
#endif
#ifdef TREE_SITTER_HIDE_SYMBOLS
#define TS_PUBLIC
#elif defined(_WIN32)
#define TS_PUBLIC __declspec(dllexport)
#else
#define TS_PUBLIC __attribute__((visibility("default")))
#endif
TS_PUBLIC const TSLanguage *tree_sitter_adl(void) {
static const TSLanguage language = {
.abi_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,
.supertype_count = SUPERTYPE_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 = (const void*)ts_lex_modes,
.lex_fn = ts_lex,
.keyword_lex_fn = ts_lex_keywords,
.keyword_capture_token = sym_identifier,
.primary_state_ids = ts_primary_state_ids,
.name = "adl",
.max_reserved_word_set_size = 0,
.metadata = {
.major_version = 0,
.minor_version = 5,
.patch_version = 0,
},
};
return &language;
}
#ifdef __cplusplus
}
#endif