Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

286 KB
Raw Blame
/* Automatically @generated by tree-sitter */

#include "tree_sitter/parser.h"

#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif

#ifdef _MSC_VER
#pragma optimize("", off)
#elif defined(__clang__)
#pragma clang optimize off
#elif defined(__GNUC__)
#pragma GCC optimize ("O0")
#endif

#define LANGUAGE_VERSION 15
#define STATE_COUNT 373
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 157
#define ALIAS_COUNT 2
#define TOKEN_COUNT 74
#define EXTERNAL_TOKEN_COUNT 4
#define FIELD_COUNT 7
#define MAX_ALIAS_SEQUENCE_LENGTH 6
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 17
#define SUPERTYPE_COUNT 2

enum ts_symbol_identifiers {
  anon_sym_COLON = 1,
  anon_sym_SLASH = 2,
  anon_sym_AT = 3,
  anon_sym_package = 4,
  anon_sym_SEMI = 5,
  anon_sym_use = 6,
  anon_sym_as = 7,
  sym_id = 8,
  sym__valid_semver = 9,
  anon_sym_world = 10,
  anon_sym_LBRACE = 11,
  anon_sym_RBRACE = 12,
  anon_sym_export = 13,
  anon_sym_import = 14,
  anon_sym_interface = 15,
  anon_sym_include = 16,
  anon_sym_with = 17,
  anon_sym_COMMA = 18,
  anon_sym_async = 19,
  anon_sym_func = 20,
  anon_sym_LPAREN = 21,
  anon_sym_RPAREN = 22,
  anon_sym_DASH_GT = 23,
  anon_sym_DOT = 24,
  anon_sym_type = 25,
  anon_sym_EQ = 26,
  anon_sym_record = 27,
  anon_sym_flags = 28,
  anon_sym_variant = 29,
  anon_sym_enum = 30,
  anon_sym_resource = 31,
  anon_sym_static = 32,
  anon_sym_constructor = 33,
  anon_sym_u8 = 34,
  anon_sym_u16 = 35,
  anon_sym_u32 = 36,
  anon_sym_u64 = 37,
  anon_sym_s8 = 38,
  anon_sym_s16 = 39,
  anon_sym_s32 = 40,
  anon_sym_s64 = 41,
  anon_sym_f32 = 42,
  anon_sym_f64 = 43,
  anon_sym_char = 44,
  anon_sym_bool = 45,
  anon_sym_string = 46,
  anon_sym_tuple = 47,
  anon_sym_LT = 48,
  anon_sym_GT = 49,
  sym_uint = 50,
  anon_sym_list = 51,
  anon_sym_option = 52,
  anon_sym_result = 53,
  anon_sym__ = 54,
  anon_sym_borrow = 55,
  anon_sym_future = 56,
  anon_sym_stream = 57,
  anon_sym_SLASH_SLASH = 58,
  anon_sym_SLASH_SLASH2 = 59,
  aux_sym_line_comment_token1 = 60,
  anon_sym_SLASH2 = 61,
  aux_sym_line_comment_token2 = 62,
  anon_sym_SLASH_STAR = 63,
  anon_sym_STAR_SLASH = 64,
  anon_sym_unstable = 65,
  anon_sym_feature = 66,
  anon_sym_since = 67,
  anon_sym_deprecated = 68,
  anon_sym_version = 69,
  sym__block_comment_content = 70,
  sym__block_doc_comment_marker = 71,
  sym__error_sentinel = 72,
  sym__line_doc_content = 73,
  sym_source_file = 74,
  sym__statement = 75,
  sym__uri_head = 76,
  sym__uri_tail = 77,
  sym__version = 78,
  sym_package_decl = 79,
  sym_toplevel_use_item = 80,
  sym_use_path = 81,
  sym_world_item = 82,
  sym__world_body = 83,
  sym__world_items = 84,
  sym_export_item = 85,
  sym_import_item = 86,
  sym_extern_type = 87,
  sym_include_item = 88,
  sym__include_names_body = 89,
  sym__include_names_list = 90,
  sym_include_names_item = 91,
  sym_alias_item = 92,
  sym_interface_item = 93,
  sym__interface_body = 94,
  sym__interface_items = 95,
  sym__typedef_item = 96,
  sym_func_item = 97,
  sym_func_type = 98,
  sym_param_list = 99,
  sym_result_list = 100,
  sym__named_type_list = 101,
  sym_named_type = 102,
  sym_use_item = 103,
  sym__use_names_body = 104,
  sym__use_names_list = 105,
  sym_use_names_item = 106,
  sym_type_item = 107,
  sym_record_item = 108,
  sym__record_body = 109,
  sym__record_fields = 110,
  sym_record_field = 111,
  sym_flags_items = 112,
  sym__flags_body = 113,
  sym__flags_fields = 114,
  sym_variant_items = 115,
  sym__variant_body = 116,
  sym__variant_cases = 117,
  sym_variant_case = 118,
  sym_enum_items = 119,
  sym__enum_body = 120,
  sym__enum_cases = 121,
  sym_resource_item = 122,
  sym__resource_body = 123,
  sym_resource_method = 124,
  sym_ty = 125,
  sym_tuple = 126,
  sym_tuple_list = 127,
  sym_list = 128,
  sym_option = 129,
  sym_result = 130,
  sym_handle = 131,
  sym_future = 132,
  sym_stream = 133,
  sym_line_comment = 134,
  sym_block_comment = 135,
  aux_sym__gate = 136,
  sym__gate_item = 137,
  sym_unstable_gate = 138,
  sym__feature_field = 139,
  sym_since_gate = 140,
  sym_deprecated_gate = 141,
  sym__version_field = 142,
  aux_sym_source_file_repeat1 = 143,
  aux_sym_package_decl_repeat1 = 144,
  aux_sym_package_decl_repeat2 = 145,
  aux_sym__world_body_repeat1 = 146,
  aux_sym__include_names_list_repeat1 = 147,
  aux_sym__interface_body_repeat1 = 148,
  aux_sym__named_type_list_repeat1 = 149,
  aux_sym__use_names_list_repeat1 = 150,
  aux_sym__record_fields_repeat1 = 151,
  aux_sym__flags_fields_repeat1 = 152,
  aux_sym__variant_cases_repeat1 = 153,
  aux_sym__enum_cases_repeat1 = 154,
  aux_sym__resource_body_repeat1 = 155,
  aux_sym_tuple_list_repeat1 = 156,
  alias_sym_enum_case = 157,
  alias_sym_flags_field = 158,
};

static const char * const ts_symbol_names[] = {
  [ts_builtin_sym_end] = "end",
  [anon_sym_COLON] = ":",
  [anon_sym_SLASH] = "/",
  [anon_sym_AT] = "@",
  [anon_sym_package] = "package",
  [anon_sym_SEMI] = ";",
  [anon_sym_use] = "use",
  [anon_sym_as] = "as",
  [sym_id] = "id",
  [sym__valid_semver] = "version",
  [anon_sym_world] = "world",
  [anon_sym_LBRACE] = "{",
  [anon_sym_RBRACE] = "}",
  [anon_sym_export] = "export",
  [anon_sym_import] = "import",
  [anon_sym_interface] = "interface",
  [anon_sym_include] = "include",
  [anon_sym_with] = "with",
  [anon_sym_COMMA] = ",",
  [anon_sym_async] = "async",
  [anon_sym_func] = "func",
  [anon_sym_LPAREN] = "(",
  [anon_sym_RPAREN] = ")",
  [anon_sym_DASH_GT] = "->",
  [anon_sym_DOT] = ".",
  [anon_sym_type] = "type",
  [anon_sym_EQ] = "=",
  [anon_sym_record] = "record",
  [anon_sym_flags] = "flags",
  [anon_sym_variant] = "variant",
  [anon_sym_enum] = "enum",
  [anon_sym_resource] = "resource",
  [anon_sym_static] = "static",
  [anon_sym_constructor] = "constructor",
  [anon_sym_u8] = "u8",
  [anon_sym_u16] = "u16",
  [anon_sym_u32] = "u32",
  [anon_sym_u64] = "u64",
  [anon_sym_s8] = "s8",
  [anon_sym_s16] = "s16",
  [anon_sym_s32] = "s32",
  [anon_sym_s64] = "s64",
  [anon_sym_f32] = "f32",
  [anon_sym_f64] = "f64",
  [anon_sym_char] = "char",
  [anon_sym_bool] = "bool",
  [anon_sym_string] = "string",
  [anon_sym_tuple] = "tuple",
  [anon_sym_LT] = "<",
  [anon_sym_GT] = ">",
  [sym_uint] = "uint",
  [anon_sym_list] = "list",
  [anon_sym_option] = "option",
  [anon_sym_result] = "result",
  [anon_sym__] = "_",
  [anon_sym_borrow] = "borrow",
  [anon_sym_future] = "future",
  [anon_sym_stream] = "stream",
  [anon_sym_SLASH_SLASH] = "//",
  [anon_sym_SLASH_SLASH2] = "//",
  [aux_sym_line_comment_token1] = "line_comment_token1",
  [anon_sym_SLASH2] = "/",
  [aux_sym_line_comment_token2] = "line_comment_token2",
  [anon_sym_SLASH_STAR] = "/*",
  [anon_sym_STAR_SLASH] = "*/",
  [anon_sym_unstable] = "unstable",
  [anon_sym_feature] = "feature",
  [anon_sym_since] = "since",
  [anon_sym_deprecated] = "deprecated",
  [anon_sym_version] = "version",
  [sym__block_comment_content] = "_block_comment_content",
  [sym__block_doc_comment_marker] = "_block_doc_comment_marker",
  [sym__error_sentinel] = "_error_sentinel",
  [sym__line_doc_content] = "doc_comment",
  [sym_source_file] = "source_file",
  [sym__statement] = "_statement",
  [sym__uri_head] = "_uri_head",
  [sym__uri_tail] = "_uri_tail",
  [sym__version] = "_version",
  [sym_package_decl] = "package_decl",
  [sym_toplevel_use_item] = "toplevel_use_item",
  [sym_use_path] = "use_path",
  [sym_world_item] = "world_item",
  [sym__world_body] = "body",
  [sym__world_items] = "_world_items",
  [sym_export_item] = "export_item",
  [sym_import_item] = "import_item",
  [sym_extern_type] = "extern_type",
  [sym_include_item] = "include_item",
  [sym__include_names_body] = "definitions",
  [sym__include_names_list] = "_include_names_list",
  [sym_include_names_item] = "include_names_item",
  [sym_alias_item] = "alias_item",
  [sym_interface_item] = "interface_item",
  [sym__interface_body] = "body",
  [sym__interface_items] = "_interface_items",
  [sym__typedef_item] = "_typedef_item",
  [sym_func_item] = "func_item",
  [sym_func_type] = "func_type",
  [sym_param_list] = "param_list",
  [sym_result_list] = "result_list",
  [sym__named_type_list] = "_named_type_list",
  [sym_named_type] = "named_type",
  [sym_use_item] = "use_item",
  [sym__use_names_body] = "definitions",
  [sym__use_names_list] = "_use_names_list",
  [sym_use_names_item] = "use_names_item",
  [sym_type_item] = "type_item",
  [sym_record_item] = "record_item",
  [sym__record_body] = "body",
  [sym__record_fields] = "_record_fields",
  [sym_record_field] = "record_field",
  [sym_flags_items] = "flags_items",
  [sym__flags_body] = "body",
  [sym__flags_fields] = "_flags_fields",
  [sym_variant_items] = "variant_items",
  [sym__variant_body] = "body",
  [sym__variant_cases] = "_variant_cases",
  [sym_variant_case] = "variant_case",
  [sym_enum_items] = "enum_items",
  [sym__enum_body] = "body",
  [sym__enum_cases] = "_enum_cases",
  [sym_resource_item] = "resource_item",
  [sym__resource_body] = "body",
  [sym_resource_method] = "resource_method",
  [sym_ty] = "ty",
  [sym_tuple] = "tuple",
  [sym_tuple_list] = "tuple_list",
  [sym_list] = "list",
  [sym_option] = "option",
  [sym_result] = "result",
  [sym_handle] = "handle",
  [sym_future] = "future",
  [sym_stream] = "stream",
  [sym_line_comment] = "line_comment",
  [sym_block_comment] = "block_comment",
  [aux_sym__gate] = "_gate",
  [sym__gate_item] = "_gate_item",
  [sym_unstable_gate] = "unstable_gate",
  [sym__feature_field] = "_feature_field",
  [sym_since_gate] = "since_gate",
  [sym_deprecated_gate] = "deprecated_gate",
  [sym__version_field] = "_version_field",
  [aux_sym_source_file_repeat1] = "source_file_repeat1",
  [aux_sym_package_decl_repeat1] = "package_decl_repeat1",
  [aux_sym_package_decl_repeat2] = "package_decl_repeat2",
  [aux_sym__world_body_repeat1] = "_world_body_repeat1",
  [aux_sym__include_names_list_repeat1] = "_include_names_list_repeat1",
  [aux_sym__interface_body_repeat1] = "_interface_body_repeat1",
  [aux_sym__named_type_list_repeat1] = "_named_type_list_repeat1",
  [aux_sym__use_names_list_repeat1] = "_use_names_list_repeat1",
  [aux_sym__record_fields_repeat1] = "_record_fields_repeat1",
  [aux_sym__flags_fields_repeat1] = "_flags_fields_repeat1",
  [aux_sym__variant_cases_repeat1] = "_variant_cases_repeat1",
  [aux_sym__enum_cases_repeat1] = "_enum_cases_repeat1",
  [aux_sym__resource_body_repeat1] = "_resource_body_repeat1",
  [aux_sym_tuple_list_repeat1] = "tuple_list_repeat1",
  [alias_sym_enum_case] = "enum_case",
  [alias_sym_flags_field] = "flags_field",
};

static const TSSymbol ts_symbol_map[] = {
  [ts_builtin_sym_end] = ts_builtin_sym_end,
  [anon_sym_COLON] = anon_sym_COLON,
  [anon_sym_SLASH] = anon_sym_SLASH,
  [anon_sym_AT] = anon_sym_AT,
  [anon_sym_package] = anon_sym_package,
  [anon_sym_SEMI] = anon_sym_SEMI,
  [anon_sym_use] = anon_sym_use,
  [anon_sym_as] = anon_sym_as,
  [sym_id] = sym_id,
  [sym__valid_semver] = sym__valid_semver,
  [anon_sym_world] = anon_sym_world,
  [anon_sym_LBRACE] = anon_sym_LBRACE,
  [anon_sym_RBRACE] = anon_sym_RBRACE,
  [anon_sym_export] = anon_sym_export,
  [anon_sym_import] = anon_sym_import,
  [anon_sym_interface] = anon_sym_interface,
  [anon_sym_include] = anon_sym_include,
  [anon_sym_with] = anon_sym_with,
  [anon_sym_COMMA] = anon_sym_COMMA,
  [anon_sym_async] = anon_sym_async,
  [anon_sym_func] = anon_sym_func,
  [anon_sym_LPAREN] = anon_sym_LPAREN,
  [anon_sym_RPAREN] = anon_sym_RPAREN,
  [anon_sym_DASH_GT] = anon_sym_DASH_GT,
  [anon_sym_DOT] = anon_sym_DOT,
  [anon_sym_type] = anon_sym_type,
  [anon_sym_EQ] = anon_sym_EQ,
  [anon_sym_record] = anon_sym_record,
  [anon_sym_flags] = anon_sym_flags,
  [anon_sym_variant] = anon_sym_variant,
  [anon_sym_enum] = anon_sym_enum,
  [anon_sym_resource] = anon_sym_resource,
  [anon_sym_static] = anon_sym_static,
  [anon_sym_constructor] = anon_sym_constructor,
  [anon_sym_u8] = anon_sym_u8,
  [anon_sym_u16] = anon_sym_u16,
  [anon_sym_u32] = anon_sym_u32,
  [anon_sym_u64] = anon_sym_u64,
  [anon_sym_s8] = anon_sym_s8,
  [anon_sym_s16] = anon_sym_s16,
  [anon_sym_s32] = anon_sym_s32,
  [anon_sym_s64] = anon_sym_s64,
  [anon_sym_f32] = anon_sym_f32,
  [anon_sym_f64] = anon_sym_f64,
  [anon_sym_char] = anon_sym_char,
  [anon_sym_bool] = anon_sym_bool,
  [anon_sym_string] = anon_sym_string,
  [anon_sym_tuple] = anon_sym_tuple,
  [anon_sym_LT] = anon_sym_LT,
  [anon_sym_GT] = anon_sym_GT,
  [sym_uint] = sym_uint,
  [anon_sym_list] = anon_sym_list,
  [anon_sym_option] = anon_sym_option,
  [anon_sym_result] = anon_sym_result,
  [anon_sym__] = anon_sym__,
  [anon_sym_borrow] = anon_sym_borrow,
  [anon_sym_future] = anon_sym_future,
  [anon_sym_stream] = anon_sym_stream,
  [anon_sym_SLASH_SLASH] = anon_sym_SLASH_SLASH,
  [anon_sym_SLASH_SLASH2] = anon_sym_SLASH_SLASH,
  [aux_sym_line_comment_token1] = aux_sym_line_comment_token1,
  [anon_sym_SLASH2] = anon_sym_SLASH,
  [aux_sym_line_comment_token2] = aux_sym_line_comment_token2,
  [anon_sym_SLASH_STAR] = anon_sym_SLASH_STAR,
  [anon_sym_STAR_SLASH] = anon_sym_STAR_SLASH,
  [anon_sym_unstable] = anon_sym_unstable,
  [anon_sym_feature] = anon_sym_feature,
  [anon_sym_since] = anon_sym_since,
  [anon_sym_deprecated] = anon_sym_deprecated,
  [anon_sym_version] = anon_sym_version,
  [sym__block_comment_content] = sym__block_comment_content,
  [sym__block_doc_comment_marker] = sym__block_doc_comment_marker,
  [sym__error_sentinel] = sym__error_sentinel,
  [sym__line_doc_content] = sym__line_doc_content,
  [sym_source_file] = sym_source_file,
  [sym__statement] = sym__statement,
  [sym__uri_head] = sym__uri_head,
  [sym__uri_tail] = sym__uri_tail,
  [sym__version] = sym__version,
  [sym_package_decl] = sym_package_decl,
  [sym_toplevel_use_item] = sym_toplevel_use_item,
  [sym_use_path] = sym_use_path,
  [sym_world_item] = sym_world_item,
  [sym__world_body] = sym__world_body,
  [sym__world_items] = sym__world_items,
  [sym_export_item] = sym_export_item,
  [sym_import_item] = sym_import_item,
  [sym_extern_type] = sym_extern_type,
  [sym_include_item] = sym_include_item,
  [sym__include_names_body] = sym__include_names_body,
  [sym__include_names_list] = sym__include_names_list,
  [sym_include_names_item] = sym_include_names_item,
  [sym_alias_item] = sym_alias_item,
  [sym_interface_item] = sym_interface_item,
  [sym__interface_body] = sym__world_body,
  [sym__interface_items] = sym__interface_items,
  [sym__typedef_item] = sym__typedef_item,
  [sym_func_item] = sym_func_item,
  [sym_func_type] = sym_func_type,
  [sym_param_list] = sym_param_list,
  [sym_result_list] = sym_result_list,
  [sym__named_type_list] = sym__named_type_list,
  [sym_named_type] = sym_named_type,
  [sym_use_item] = sym_use_item,
  [sym__use_names_body] = sym__include_names_body,
  [sym__use_names_list] = sym__use_names_list,
  [sym_use_names_item] = sym_use_names_item,
  [sym_type_item] = sym_type_item,
  [sym_record_item] = sym_record_item,
  [sym__record_body] = sym__world_body,
  [sym__record_fields] = sym__record_fields,
  [sym_record_field] = sym_record_field,
  [sym_flags_items] = sym_flags_items,
  [sym__flags_body] = sym__world_body,
  [sym__flags_fields] = sym__flags_fields,
  [sym_variant_items] = sym_variant_items,
  [sym__variant_body] = sym__world_body,
  [sym__variant_cases] = sym__variant_cases,
  [sym_variant_case] = sym_variant_case,
  [sym_enum_items] = sym_enum_items,
  [sym__enum_body] = sym__world_body,
  [sym__enum_cases] = sym__enum_cases,
  [sym_resource_item] = sym_resource_item,
  [sym__resource_body] = sym__world_body,
  [sym_resource_method] = sym_resource_method,
  [sym_ty] = sym_ty,
  [sym_tuple] = sym_tuple,
  [sym_tuple_list] = sym_tuple_list,
  [sym_list] = sym_list,
  [sym_option] = sym_option,
  [sym_result] = sym_result,
  [sym_handle] = sym_handle,
  [sym_future] = sym_future,
  [sym_stream] = sym_stream,
  [sym_line_comment] = sym_line_comment,
  [sym_block_comment] = sym_block_comment,
  [aux_sym__gate] = aux_sym__gate,
  [sym__gate_item] = sym__gate_item,
  [sym_unstable_gate] = sym_unstable_gate,
  [sym__feature_field] = sym__feature_field,
  [sym_since_gate] = sym_since_gate,
  [sym_deprecated_gate] = sym_deprecated_gate,
  [sym__version_field] = sym__version_field,
  [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1,
  [aux_sym_package_decl_repeat1] = aux_sym_package_decl_repeat1,
  [aux_sym_package_decl_repeat2] = aux_sym_package_decl_repeat2,
  [aux_sym__world_body_repeat1] = aux_sym__world_body_repeat1,
  [aux_sym__include_names_list_repeat1] = aux_sym__include_names_list_repeat1,
  [aux_sym__interface_body_repeat1] = aux_sym__interface_body_repeat1,
  [aux_sym__named_type_list_repeat1] = aux_sym__named_type_list_repeat1,
  [aux_sym__use_names_list_repeat1] = aux_sym__use_names_list_repeat1,
  [aux_sym__record_fields_repeat1] = aux_sym__record_fields_repeat1,
  [aux_sym__flags_fields_repeat1] = aux_sym__flags_fields_repeat1,
  [aux_sym__variant_cases_repeat1] = aux_sym__variant_cases_repeat1,
  [aux_sym__enum_cases_repeat1] = aux_sym__enum_cases_repeat1,
  [aux_sym__resource_body_repeat1] = aux_sym__resource_body_repeat1,
  [aux_sym_tuple_list_repeat1] = aux_sym_tuple_list_repeat1,
  [alias_sym_enum_case] = alias_sym_enum_case,
  [alias_sym_flags_field] = alias_sym_flags_field,
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [anon_sym_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_package] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SEMI] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_use] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_as] = {
    .visible = true,
    .named = false,
  },
  [sym_id] = {
    .visible = true,
    .named = true,
  },
  [sym__valid_semver] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_world] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_export] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_import] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_interface] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_include] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_with] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COMMA] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_async] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_func] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_type] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_record] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_flags] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_variant] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_enum] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_resource] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_static] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_constructor] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_u8] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_u16] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_u32] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_u64] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_s8] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_s16] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_s32] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_s64] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_f32] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_f64] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_char] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_bool] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_string] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_tuple] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT] = {
    .visible = true,
    .named = false,
  },
  [sym_uint] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_list] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_option] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_result] = {
    .visible = true,
    .named = false,
  },
  [anon_sym__] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_borrow] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_future] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_stream] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH_SLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH_SLASH2] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_line_comment_token1] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_SLASH2] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_line_comment_token2] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_SLASH_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_STAR_SLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_unstable] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_feature] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_since] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_deprecated] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_version] = {
    .visible = true,
    .named = false,
  },
  [sym__block_comment_content] = {
    .visible = false,
    .named = true,
  },
  [sym__block_doc_comment_marker] = {
    .visible = false,
    .named = true,
  },
  [sym__error_sentinel] = {
    .visible = false,
    .named = true,
  },
  [sym__line_doc_content] = {
    .visible = true,
    .named = true,
  },
  [sym_source_file] = {
    .visible = true,
    .named = true,
  },
  [sym__statement] = {
    .visible = false,
    .named = true,
  },
  [sym__uri_head] = {
    .visible = false,
    .named = true,
  },
  [sym__uri_tail] = {
    .visible = false,
    .named = true,
  },
  [sym__version] = {
    .visible = false,
    .named = true,
  },
  [sym_package_decl] = {
    .visible = true,
    .named = true,
  },
  [sym_toplevel_use_item] = {
    .visible = true,
    .named = true,
  },
  [sym_use_path] = {
    .visible = true,
    .named = true,
  },
  [sym_world_item] = {
    .visible = true,
    .named = true,
  },
  [sym__world_body] = {
    .visible = true,
    .named = true,
  },
  [sym__world_items] = {
    .visible = false,
    .named = true,
  },
  [sym_export_item] = {
    .visible = true,
    .named = true,
  },
  [sym_import_item] = {
    .visible = true,
    .named = true,
  },
  [sym_extern_type] = {
    .visible = true,
    .named = true,
  },
  [sym_include_item] = {
    .visible = true,
    .named = true,
  },
  [sym__include_names_body] = {
    .visible = true,
    .named = true,
  },
  [sym__include_names_list] = {
    .visible = false,
    .named = true,
  },
  [sym_include_names_item] = {
    .visible = true,
    .named = true,
  },
  [sym_alias_item] = {
    .visible = true,
    .named = true,
  },
  [sym_interface_item] = {
    .visible = true,
    .named = true,
  },
  [sym__interface_body] = {
    .visible = true,
    .named = true,
  },
  [sym__interface_items] = {
    .visible = false,
    .named = true,
  },
  [sym__typedef_item] = {
    .visible = false,
    .named = true,
    .supertype = true,
  },
  [sym_func_item] = {
    .visible = true,
    .named = true,
  },
  [sym_func_type] = {
    .visible = true,
    .named = true,
  },
  [sym_param_list] = {
    .visible = true,
    .named = true,
  },
  [sym_result_list] = {
    .visible = true,
    .named = true,
  },
  [sym__named_type_list] = {
    .visible = false,
    .named = true,
  },
  [sym_named_type] = {
    .visible = true,
    .named = true,
  },
  [sym_use_item] = {
    .visible = true,
    .named = true,
  },
  [sym__use_names_body] = {
    .visible = true,
    .named = true,
  },
  [sym__use_names_list] = {
    .visible = false,
    .named = true,
  },
  [sym_use_names_item] = {
    .visible = true,
    .named = true,
  },
  [sym_type_item] = {
    .visible = true,
    .named = true,
  },
  [sym_record_item] = {
    .visible = true,
    .named = true,
  },
  [sym__record_body] = {
    .visible = true,
    .named = true,
  },
  [sym__record_fields] = {
    .visible = false,
    .named = true,
  },
  [sym_record_field] = {
    .visible = true,
    .named = true,
  },
  [sym_flags_items] = {
    .visible = true,
    .named = true,
  },
  [sym__flags_body] = {
    .visible = true,
    .named = true,
  },
  [sym__flags_fields] = {
    .visible = false,
    .named = true,
  },
  [sym_variant_items] = {
    .visible = true,
    .named = true,
  },
  [sym__variant_body] = {
    .visible = true,
    .named = true,
  },
  [sym__variant_cases] = {
    .visible = false,
    .named = true,
  },
  [sym_variant_case] = {
    .visible = true,
    .named = true,
  },
  [sym_enum_items] = {
    .visible = true,
    .named = true,
  },
  [sym__enum_body] = {
    .visible = true,
    .named = true,
  },
  [sym__enum_cases] = {
    .visible = false,
    .named = true,
  },
  [sym_resource_item] = {
    .visible = true,
    .named = true,
  },
  [sym__resource_body] = {
    .visible = true,
    .named = true,
  },
  [sym_resource_method] = {
    .visible = true,
    .named = true,
  },
  [sym_ty] = {
    .visible = true,
    .named = true,
  },
  [sym_tuple] = {
    .visible = true,
    .named = true,
  },
  [sym_tuple_list] = {
    .visible = true,
    .named = true,
  },
  [sym_list] = {
    .visible = true,
    .named = true,
  },
  [sym_option] = {
    .visible = true,
    .named = true,
  },
  [sym_result] = {
    .visible = true,
    .named = true,
  },
  [sym_handle] = {
    .visible = true,
    .named = true,
  },
  [sym_future] = {
    .visible = true,
    .named = true,
  },
  [sym_stream] = {
    .visible = true,
    .named = true,
  },
  [sym_line_comment] = {
    .visible = true,
    .named = true,
  },
  [sym_block_comment] = {
    .visible = true,
    .named = true,
  },
  [aux_sym__gate] = {
    .visible = false,
    .named = false,
  },
  [sym__gate_item] = {
    .visible = false,
    .named = true,
    .supertype = true,
  },
  [sym_unstable_gate] = {
    .visible = true,
    .named = true,
  },
  [sym__feature_field] = {
    .visible = false,
    .named = true,
  },
  [sym_since_gate] = {
    .visible = true,
    .named = true,
  },
  [sym_deprecated_gate] = {
    .visible = true,
    .named = true,
  },
  [sym__version_field] = {
    .visible = false,
    .named = true,
  },
  [aux_sym_source_file_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_package_decl_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_package_decl_repeat2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__world_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__include_names_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__interface_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__named_type_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__use_names_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__record_fields_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__flags_fields_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__variant_cases_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__enum_cases_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__resource_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_tuple_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [alias_sym_enum_case] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_flags_field] = {
    .visible = true,
    .named = true,
  },
};

enum ts_field_identifiers {
  field_alias = 1,
  field_doc = 2,
  field_feature = 3,
  field_name = 4,
  field_path = 5,
  field_size = 6,
  field_type = 7,
};

static const char * const ts_field_names[] = {
  [0] = NULL,
  [field_alias] = "alias",
  [field_doc] = "doc",
  [field_feature] = "feature",
  [field_name] = "name",
  [field_path] = "path",
  [field_size] = "size",
  [field_type] = "type",
};

static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
  [1] = {.index = 0, .length = 1},
  [2] = {.index = 1, .length = 1},
  [3] = {.index = 0, .length = 1},
  [4] = {.index = 2, .length = 1},
  [5] = {.index = 3, .length = 1},
  [6] = {.index = 4, .length = 1},
  [7] = {.index = 5, .length = 1},
  [9] = {.index = 6, .length = 1},
  [11] = {.index = 7, .length = 2},
  [12] = {.index = 9, .length = 2},
  [15] = {.index = 11, .length = 2},
  [16] = {.index = 13, .length = 2},
};

static const TSFieldMapEntry ts_field_map_entries[] = {
  [0] =
    {field_doc, 2},
  [1] =
    {field_name, 1},
  [2] =
    {field_name, 2},
  [3] =
    {field_feature, 3, .inherited = true},
  [4] =
    {field_alias, 3},
  [5] =
    {field_feature, 2},
  [6] =
    {field_name, 0},
  [7] =
    {field_alias, 1},
    {field_type, 3},
  [9] =
    {field_name, 0},
    {field_type, 2},
  [11] =
    {field_alias, 2},
    {field_path, 0},
  [13] =
    {field_size, 3},
    {field_size, 4},
};

static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
  [0] = {0},
  [3] = {
    [2] = sym__line_doc_content,
  },
  [8] = {
    [0] = alias_sym_flags_field,
  },
  [10] = {
    [0] = alias_sym_enum_case,
  },
  [13] = {
    [1] = alias_sym_flags_field,
  },
  [14] = {
    [1] = alias_sym_enum_case,
  },
};

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] = 10,
  [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] = 26,
  [33] = 33,
  [34] = 34,
  [35] = 35,
  [36] = 36,
  [37] = 37,
  [38] = 31,
  [39] = 39,
  [40] = 40,
  [41] = 41,
  [42] = 42,
  [43] = 43,
  [44] = 44,
  [45] = 45,
  [46] = 46,
  [47] = 47,
  [48] = 48,
  [49] = 49,
  [50] = 50,
  [51] = 51,
  [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] = 55,
  [66] = 66,
  [67] = 67,
  [68] = 68,
  [69] = 61,
  [70] = 45,
  [71] = 46,
  [72] = 47,
  [73] = 48,
  [74] = 49,
  [75] = 53,
  [76] = 39,
  [77] = 57,
  [78] = 58,
  [79] = 59,
  [80] = 60,
  [81] = 62,
  [82] = 82,
  [83] = 36,
  [84] = 37,
  [85] = 35,
  [86] = 33,
  [87] = 34,
  [88] = 88,
  [89] = 89,
  [90] = 90,
  [91] = 91,
  [92] = 92,
  [93] = 93,
  [94] = 94,
  [95] = 95,
  [96] = 96,
  [97] = 97,
  [98] = 98,
  [99] = 99,
  [100] = 100,
  [101] = 101,
  [102] = 102,
  [103] = 103,
  [104] = 104,
  [105] = 105,
  [106] = 106,
  [107] = 107,
  [108] = 108,
  [109] = 109,
  [110] = 110,
  [111] = 111,
  [112] = 112,
  [113] = 113,
  [114] = 96,
  [115] = 109,
  [116] = 116,
  [117] = 117,
  [118] = 118,
  [119] = 119,
  [120] = 120,
  [121] = 121,
  [122] = 122,
  [123] = 123,
  [124] = 124,
  [125] = 125,
  [126] = 126,
  [127] = 127,
  [128] = 128,
  [129] = 129,
  [130] = 130,
  [131] = 131,
  [132] = 130,
  [133] = 133,
  [134] = 134,
  [135] = 135,
  [136] = 136,
  [137] = 137,
  [138] = 138,
  [139] = 139,
  [140] = 140,
  [141] = 141,
  [142] = 142,
  [143] = 143,
  [144] = 144,
  [145] = 145,
  [146] = 146,
  [147] = 147,
  [148] = 148,
  [149] = 149,
  [150] = 150,
  [151] = 151,
  [152] = 152,
  [153] = 153,
  [154] = 154,
  [155] = 155,
  [156] = 156,
  [157] = 157,
  [158] = 158,
  [159] = 159,
  [160] = 160,
  [161] = 161,
  [162] = 162,
  [163] = 163,
  [164] = 164,
  [165] = 165,
  [166] = 166,
  [167] = 167,
  [168] = 168,
  [169] = 169,
  [170] = 170,
  [171] = 171,
  [172] = 172,
  [173] = 173,
  [174] = 174,
  [175] = 175,
  [176] = 176,
  [177] = 177,
  [178] = 178,
  [179] = 179,
  [180] = 180,
  [181] = 181,
  [182] = 182,
  [183] = 183,
  [184] = 184,
  [185] = 185,
  [186] = 186,
  [187] = 187,
  [188] = 188,
  [189] = 189,
  [190] = 68,
  [191] = 191,
  [192] = 192,
  [193] = 193,
  [194] = 194,
  [195] = 195,
  [196] = 172,
  [197] = 183,
  [198] = 194,
  [199] = 199,
  [200] = 200,
  [201] = 201,
  [202] = 202,
  [203] = 203,
  [204] = 204,
  [205] = 205,
  [206] = 206,
  [207] = 207,
  [208] = 208,
  [209] = 209,
  [210] = 210,
  [211] = 211,
  [212] = 212,
  [213] = 213,
  [214] = 214,
  [215] = 215,
  [216] = 216,
  [217] = 217,
  [218] = 218,
  [219] = 219,
  [220] = 220,
  [221] = 221,
  [222] = 222,
  [223] = 223,
  [224] = 224,
  [225] = 225,
  [226] = 226,
  [227] = 227,
  [228] = 228,
  [229] = 227,
  [230] = 230,
  [231] = 231,
  [232] = 232,
  [233] = 233,
  [234] = 234,
  [235] = 235,
  [236] = 236,
  [237] = 237,
  [238] = 238,
  [239] = 239,
  [240] = 240,
  [241] = 241,
  [242] = 242,
  [243] = 243,
  [244] = 244,
  [245] = 245,
  [246] = 246,
  [247] = 247,
  [248] = 248,
  [249] = 249,
  [250] = 242,
  [251] = 243,
  [252] = 244,
  [253] = 245,
  [254] = 254,
  [255] = 246,
  [256] = 247,
  [257] = 248,
  [258] = 254,
  [259] = 216,
  [260] = 260,
  [261] = 261,
  [262] = 262,
  [263] = 263,
  [264] = 264,
  [265] = 265,
  [266] = 266,
  [267] = 267,
  [268] = 268,
  [269] = 269,
  [270] = 270,
  [271] = 271,
  [272] = 272,
  [273] = 273,
  [274] = 274,
  [275] = 275,
  [276] = 276,
  [277] = 277,
  [278] = 278,
  [279] = 279,
  [280] = 280,
  [281] = 281,
  [282] = 282,
  [283] = 283,
  [284] = 284,
  [285] = 285,
  [286] = 286,
  [287] = 287,
  [288] = 288,
  [289] = 289,
  [290] = 290,
  [291] = 291,
  [292] = 292,
  [293] = 293,
  [294] = 294,
  [295] = 295,
  [296] = 296,
  [297] = 297,
  [298] = 298,
  [299] = 299,
  [300] = 300,
  [301] = 301,
  [302] = 302,
  [303] = 303,
  [304] = 304,
  [305] = 305,
  [306] = 306,
  [307] = 307,
  [308] = 308,
  [309] = 309,
  [310] = 310,
  [311] = 311,
  [312] = 312,
  [313] = 313,
  [314] = 314,
  [315] = 315,
  [316] = 316,
  [317] = 317,
  [318] = 318,
  [319] = 319,
  [320] = 320,
  [321] = 321,
  [322] = 322,
  [323] = 323,
  [324] = 324,
  [325] = 325,
  [326] = 326,
  [327] = 327,
  [328] = 328,
  [329] = 329,
  [330] = 275,
  [331] = 292,
  [332] = 322,
  [333] = 333,
  [334] = 334,
  [335] = 335,
  [336] = 336,
  [337] = 337,
  [338] = 338,
  [339] = 307,
  [340] = 326,
  [341] = 297,
  [342] = 320,
  [343] = 337,
  [344] = 344,
  [345] = 264,
  [346] = 346,
  [347] = 347,
  [348] = 344,
  [349] = 349,
  [350] = 350,
  [351] = 333,
  [352] = 352,
  [353] = 349,
  [354] = 350,
  [355] = 355,
  [356] = 261,
  [357] = 357,
  [358] = 313,
  [359] = 318,
  [360] = 262,
  [361] = 308,
  [362] = 314,
  [363] = 363,
  [364] = 352,
  [365] = 327,
  [366] = 366,
  [367] = 367,
  [368] = 368,
  [369] = 369,
  [370] = 370,
  [371] = 371,
  [372] = 372,
};

static const TSSymbol ts_supertype_symbols[SUPERTYPE_COUNT] = {
  sym__gate_item,
  sym__typedef_item,
};

static const TSMapSlice ts_supertype_map_slices[] = {
  [sym__gate_item] = {.index = 0, .length = 3},
  [sym__typedef_item] = {.index = 3, .length = 6},
};

static const TSSymbol ts_supertype_map_entries[] = {
  [0] =
    sym_deprecated_gate,
    sym_since_gate,
    sym_unstable_gate,
  [3] =
    sym_enum_items,
    sym_flags_items,
    sym_record_item,
    sym_resource_item,
    sym_type_item,
    sym_variant_items,
};

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (eof) ADVANCE(177);
      ADVANCE_MAP(
        '(', 305,
        ')', 306,
        '*', 9,
        ',', 300,
        '-', 22,
        '.', 308,
        '/', 376,
        '0', 7,
        ':', 178,
        ';', 182,
        '<', 353,
        '=', 311,
        '>', 354,
        '@', 180,
        '_', 363,
        'a', 138,
        'b', 106,
        'c', 77,
        'd', 65,
        'e', 95,
        'f', 16,
        'i', 94,
        'l', 78,
        'o', 117,
        'p', 23,
        'r', 53,
        's', 11,
        't', 161,
        'u', 12,
        'v', 24,
        'w', 80,
        '{', 292,
        '}', 293,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(175);
      if (('1' <= lookahead && lookahead <= '9')) ADVANCE(355);
      END_STATE();
    case 1:
      ADVANCE_MAP(
        '%', 172,
        '(', 305,
        '/', 6,
        '>', 354,
        '_', 363,
        'b', 241,
        'c', 223,
        'f', 191,
        'l', 224,
        'o', 249,
        'r', 218,
        's', 186,
        't', 276,
        'u', 187,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(7);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(286);
      END_STATE();
    case 2:
      if (lookahead == '%') ADVANCE(172);
      if (lookahead == ')') ADVANCE(306);
      if (lookahead == '/') ADVANCE(6);
      if (lookahead == '}') ADVANCE(293);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(2);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(286);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 3:
      ADVANCE_MAP(
        '%', 172,
        '/', 6,
        ';', 182,
        '@', 180,
        'e', 236,
        'f', 229,
        'r', 212,
        't', 284,
        'u', 266,
        'v', 201,
        '{', 292,
        '}', 293,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(3);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(286);
      END_STATE();
    case 4:
      if (lookahead == '%') ADVANCE(172);
      if (lookahead == '/') ADVANCE(6);
      if (lookahead == 'a') ADVANCE(263);
      if (lookahead == 'f') ADVANCE(281);
      if (lookahead == 'i') ADVANCE(239);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(4);
      if (('b' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(286);
      END_STATE();
    case 5:
      if (lookahead == '%') ADVANCE(172);
      if (lookahead == '/') ADVANCE(6);
      if (lookahead == 'c') ADVANCE(245);
      if (lookahead == '}') ADVANCE(293);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(5);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(286);
      END_STATE();
    case 6:
      if (lookahead == '*') ADVANCE(381);
      if (lookahead == '/') ADVANCE(370);
      END_STATE();
    case 7:
      if (lookahead == '.') ADVANCE(171);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(7);
      END_STATE();
    case 8:
      if (lookahead == '.') ADVANCE(170);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(8);
      END_STATE();
    case 9:
      if (lookahead == '/') ADVANCE(383);
      END_STATE();
    case 10:
      if (lookahead == '/') ADVANCE(6);
      if (lookahead == 'a') ADVANCE(140);
      if (lookahead == 'f') ADVANCE(165);
      if (lookahead == 's') ADVANCE(154);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(10);
      END_STATE();
    case 11:
      if (lookahead == '1') ADVANCE(20);
      if (lookahead == '3') ADVANCE(14);
      if (lookahead == '6') ADVANCE(18);
      if (lookahead == '8') ADVANCE(333);
      if (lookahead == 'i') ADVANCE(100);
      if (lookahead == 't') ADVANCE(34);
      END_STATE();
    case 12:
      if (lookahead == '1') ADVANCE(21);
      if (lookahead == '3') ADVANCE(15);
      if (lookahead == '6') ADVANCE(19);
      if (lookahead == '8') ADVANCE(325);
      if (lookahead == 'n') ADVANCE(142);
      if (lookahead == 's') ADVANCE(54);
      END_STATE();
    case 13:
      if (lookahead == '2') ADVANCE(341);
      END_STATE();
    case 14:
      if (lookahead == '2') ADVANCE(337);
      END_STATE();
    case 15:
      if (lookahead == '2') ADVANCE(329);
      END_STATE();
    case 16:
      if (lookahead == '3') ADVANCE(13);
      if (lookahead == '6') ADVANCE(17);
      if (lookahead == 'e') ADVANCE(29);
      if (lookahead == 'l') ADVANCE(25);
      if (lookahead == 'u') ADVANCE(99);
      END_STATE();
    case 17:
      if (lookahead == '4') ADVANCE(343);
      END_STATE();
    case 18:
      if (lookahead == '4') ADVANCE(339);
      END_STATE();
    case 19:
      if (lookahead == '4') ADVANCE(331);
      END_STATE();
    case 20:
      if (lookahead == '6') ADVANCE(335);
      END_STATE();
    case 21:
      if (lookahead == '6') ADVANCE(327);
      END_STATE();
    case 22:
      if (lookahead == '>') ADVANCE(307);
      END_STATE();
    case 23:
      if (lookahead == 'a') ADVANCE(37);
      END_STATE();
    case 24:
      if (lookahead == 'a') ADVANCE(128);
      if (lookahead == 'e') ADVANCE(126);
      END_STATE();
    case 25:
      if (lookahead == 'a') ADVANCE(74);
      END_STATE();
    case 26:
      if (lookahead == 'a') ADVANCE(36);
      END_STATE();
    case 27:
      if (lookahead == 'a') ADVANCE(93);
      END_STATE();
    case 28:
      if (lookahead == 'a') ADVANCE(75);
      END_STATE();
    case 29:
      if (lookahead == 'a') ADVANCE(158);
      END_STATE();
    case 30:
      if (lookahead == 'a') ADVANCE(103);
      END_STATE();
    case 31:
      if (lookahead == 'a') ADVANCE(123);
      END_STATE();
    case 32:
      if (lookahead == 'a') ADVANCE(156);
      END_STATE();
    case 33:
      if (lookahead == 'a') ADVANCE(152);
      END_STATE();
    case 34:
      if (lookahead == 'a') ADVANCE(152);
      if (lookahead == 'r') ADVANCE(70);
      END_STATE();
    case 35:
      if (lookahead == 'a') ADVANCE(45);
      END_STATE();
    case 36:
      if (lookahead == 'b') ADVANCE(91);
      END_STATE();
    case 37:
      if (lookahead == 'c') ADVANCE(85);
      END_STATE();
    case 38:
      if (lookahead == 'c') ADVANCE(303);
      END_STATE();
    case 39:
      if (lookahead == 'c') ADVANCE(322);
      END_STATE();
    case 40:
      if (lookahead == 'c') ADVANCE(301);
      END_STATE();
    case 41:
      if (lookahead == 'c') ADVANCE(88);
      if (lookahead == 't') ADVANCE(71);
      END_STATE();
    case 42:
      if (lookahead == 'c') ADVANCE(56);
      END_STATE();
    case 43:
      if (lookahead == 'c') ADVANCE(157);
      END_STATE();
    case 44:
      if (lookahead == 'c') ADVANCE(62);
      END_STATE();
    case 45:
      if (lookahead == 'c') ADVANCE(64);
      END_STATE();
    case 46:
      if (lookahead == 'c') ADVANCE(32);
      END_STATE();
    case 47:
      if (lookahead == 'c') ADVANCE(113);
      if (lookahead == 's') ADVANCE(116);
      END_STATE();
    case 48:
      if (lookahead == 'c') ADVANCE(113);
      if (lookahead == 's') ADVANCE(115);
      END_STATE();
    case 49:
      if (lookahead == 'd') ADVANCE(291);
      END_STATE();
    case 50:
      if (lookahead == 'd') ADVANCE(312);
      END_STATE();
    case 51:
      if (lookahead == 'd') ADVANCE(387);
      END_STATE();
    case 52:
      if (lookahead == 'd') ADVANCE(60);
      END_STATE();
    case 53:
      if (lookahead == 'e') ADVANCE(47);
      END_STATE();
    case 54:
      if (lookahead == 'e') ADVANCE(183);
      END_STATE();
    case 55:
      if (lookahead == 'e') ADVANCE(309);
      END_STATE();
    case 56:
      if (lookahead == 'e') ADVANCE(386);
      END_STATE();
    case 57:
      if (lookahead == 'e') ADVANCE(351);
      END_STATE();
    case 58:
      if (lookahead == 'e') ADVANCE(366);
      END_STATE();
    case 59:
      if (lookahead == 'e') ADVANCE(385);
      END_STATE();
    case 60:
      if (lookahead == 'e') ADVANCE(298);
      END_STATE();
    case 61:
      if (lookahead == 'e') ADVANCE(181);
      END_STATE();
    case 62:
      if (lookahead == 'e') ADVANCE(320);
      END_STATE();
    case 63:
      if (lookahead == 'e') ADVANCE(384);
      END_STATE();
    case 64:
      if (lookahead == 'e') ADVANCE(296);
      END_STATE();
    case 65:
      if (lookahead == 'e') ADVANCE(121);
      END_STATE();
    case 66:
      if (lookahead == 'e') ADVANCE(48);
      END_STATE();
    case 67:
      if (lookahead == 'e') ADVANCE(29);
      if (lookahead == 'l') ADVANCE(25);
      if (lookahead == 'u') ADVANCE(98);
      END_STATE();
    case 68:
      if (lookahead == 'e') ADVANCE(46);
      END_STATE();
    case 69:
      if (lookahead == 'e') ADVANCE(51);
      END_STATE();
    case 70:
      if (lookahead == 'e') ADVANCE(27);
      if (lookahead == 'i') ADVANCE(101);
      END_STATE();
    case 71:
      if (lookahead == 'e') ADVANCE(124);
      END_STATE();
    case 72:
      if (lookahead == 'f') ADVANCE(35);
      END_STATE();
    case 73:
      if (lookahead == 'g') ADVANCE(349);
      END_STATE();
    case 74:
      if (lookahead == 'g') ADVANCE(139);
      END_STATE();
    case 75:
      if (lookahead == 'g') ADVANCE(61);
      END_STATE();
    case 76:
      if (lookahead == 'h') ADVANCE(299);
      END_STATE();
    case 77:
      if (lookahead == 'h') ADVANCE(31);
      if (lookahead == 'o') ADVANCE(105);
      END_STATE();
    case 78:
      if (lookahead == 'i') ADVANCE(141);
      END_STATE();
    case 79:
      if (lookahead == 'i') ADVANCE(100);
      END_STATE();
    case 80:
      if (lookahead == 'i') ADVANCE(145);
      if (lookahead == 'o') ADVANCE(131);
      END_STATE();
    case 81:
      if (lookahead == 'i') ADVANCE(109);
      END_STATE();
    case 82:
      if (lookahead == 'i') ADVANCE(39);
      END_STATE();
    case 83:
      if (lookahead == 'i') ADVANCE(30);
      END_STATE();
    case 84:
      if (lookahead == 'i') ADVANCE(110);
      END_STATE();
    case 85:
      if (lookahead == 'k') ADVANCE(28);
      END_STATE();
    case 86:
      if (lookahead == 'l') ADVANCE(347);
      END_STATE();
    case 87:
      if (lookahead == 'l') ADVANCE(49);
      END_STATE();
    case 88:
      if (lookahead == 'l') ADVANCE(160);
      END_STATE();
    case 89:
      if (lookahead == 'l') ADVANCE(57);
      END_STATE();
    case 90:
      if (lookahead == 'l') ADVANCE(149);
      END_STATE();
    case 91:
      if (lookahead == 'l') ADVANCE(63);
      END_STATE();
    case 92:
      if (lookahead == 'm') ADVANCE(318);
      END_STATE();
    case 93:
      if (lookahead == 'm') ADVANCE(368);
      END_STATE();
    case 94:
      if (lookahead == 'm') ADVANCE(122);
      if (lookahead == 'n') ADVANCE(41);
      END_STATE();
    case 95:
      if (lookahead == 'n') ADVANCE(159);
      if (lookahead == 'x') ADVANCE(118);
      END_STATE();
    case 96:
      if (lookahead == 'n') ADVANCE(359);
      END_STATE();
    case 97:
      if (lookahead == 'n') ADVANCE(388);
      END_STATE();
    case 98:
      if (lookahead == 'n') ADVANCE(38);
      END_STATE();
    case 99:
      if (lookahead == 'n') ADVANCE(38);
      if (lookahead == 't') ADVANCE(163);
      END_STATE();
    case 100:
      if (lookahead == 'n') ADVANCE(42);
      END_STATE();
    case 101:
      if (lookahead == 'n') ADVANCE(73);
      END_STATE();
    case 102:
      if (lookahead == 'n') ADVANCE(40);
      END_STATE();
    case 103:
      if (lookahead == 'n') ADVANCE(150);
      END_STATE();
    case 104:
      if (lookahead == 'n') ADVANCE(142);
      if (lookahead == 's') ADVANCE(54);
      END_STATE();
    case 105:
      if (lookahead == 'n') ADVANCE(143);
      END_STATE();
    case 106:
      if (lookahead == 'o') ADVANCE(107);
      END_STATE();
    case 107:
      if (lookahead == 'o') ADVANCE(86);
      if (lookahead == 'r') ADVANCE(127);
      END_STATE();
    case 108:
      if (lookahead == 'o') ADVANCE(167);
      END_STATE();
    case 109:
      if (lookahead == 'o') ADVANCE(96);
      END_STATE();
    case 110:
      if (lookahead == 'o') ADVANCE(97);
      END_STATE();
    case 111:
      if (lookahead == 'o') ADVANCE(133);
      END_STATE();
    case 112:
      if (lookahead == 'o') ADVANCE(134);
      END_STATE();
    case 113:
      if (lookahead == 'o') ADVANCE(129);
      END_STATE();
    case 114:
      if (lookahead == 'o') ADVANCE(125);
      END_STATE();
    case 115:
      if (lookahead == 'o') ADVANCE(164);
      END_STATE();
    case 116:
      if (lookahead == 'o') ADVANCE(164);
      if (lookahead == 'u') ADVANCE(90);
      END_STATE();
    case 117:
      if (lookahead == 'p') ADVANCE(151);
      END_STATE();
    case 118:
      if (lookahead == 'p') ADVANCE(111);
      END_STATE();
    case 119:
      if (lookahead == 'p') ADVANCE(89);
      END_STATE();
    case 120:
      if (lookahead == 'p') ADVANCE(55);
      END_STATE();
    case 121:
      if (lookahead == 'p') ADVANCE(132);
      END_STATE();
    case 122:
      if (lookahead == 'p') ADVANCE(112);
      END_STATE();
    case 123:
      if (lookahead == 'r') ADVANCE(345);
      END_STATE();
    case 124:
      if (lookahead == 'r') ADVANCE(72);
      END_STATE();
    case 125:
      if (lookahead == 'r') ADVANCE(323);
      END_STATE();
    case 126:
      if (lookahead == 'r') ADVANCE(144);
      END_STATE();
    case 127:
      if (lookahead == 'r') ADVANCE(108);
      END_STATE();
    case 128:
      if (lookahead == 'r') ADVANCE(83);
      END_STATE();
    case 129:
      if (lookahead == 'r') ADVANCE(50);
      END_STATE();
    case 130:
      if (lookahead == 'r') ADVANCE(162);
      END_STATE();
    case 131:
      if (lookahead == 'r') ADVANCE(87);
      END_STATE();
    case 132:
      if (lookahead == 'r') ADVANCE(68);
      END_STATE();
    case 133:
      if (lookahead == 'r') ADVANCE(147);
      END_STATE();
    case 134:
      if (lookahead == 'r') ADVANCE(148);
      END_STATE();
    case 135:
      if (lookahead == 'r') ADVANCE(58);
      END_STATE();
    case 136:
      if (lookahead == 'r') ADVANCE(59);
      END_STATE();
    case 137:
      if (lookahead == 'r') ADVANCE(44);
      END_STATE();
    case 138:
      if (lookahead == 's') ADVANCE(185);
      END_STATE();
    case 139:
      if (lookahead == 's') ADVANCE(314);
      END_STATE();
    case 140:
      if (lookahead == 's') ADVANCE(169);
      END_STATE();
    case 141:
      if (lookahead == 's') ADVANCE(146);
      END_STATE();
    case 142:
      if (lookahead == 's') ADVANCE(153);
      END_STATE();
    case 143:
      if (lookahead == 's') ADVANCE(155);
      END_STATE();
    case 144:
      if (lookahead == 's') ADVANCE(84);
      END_STATE();
    case 145:
      if (lookahead == 't') ADVANCE(76);
      END_STATE();
    case 146:
      if (lookahead == 't') ADVANCE(357);
      END_STATE();
    case 147:
      if (lookahead == 't') ADVANCE(294);
      END_STATE();
    case 148:
      if (lookahead == 't') ADVANCE(295);
      END_STATE();
    case 149:
      if (lookahead == 't') ADVANCE(361);
      END_STATE();
    case 150:
      if (lookahead == 't') ADVANCE(316);
      END_STATE();
    case 151:
      if (lookahead == 't') ADVANCE(81);
      END_STATE();
    case 152:
      if (lookahead == 't') ADVANCE(82);
      END_STATE();
    case 153:
      if (lookahead == 't') ADVANCE(26);
      END_STATE();
    case 154:
      if (lookahead == 't') ADVANCE(33);
      END_STATE();
    case 155:
      if (lookahead == 't') ADVANCE(130);
      END_STATE();
    case 156:
      if (lookahead == 't') ADVANCE(69);
      END_STATE();
    case 157:
      if (lookahead == 't') ADVANCE(114);
      END_STATE();
    case 158:
      if (lookahead == 't') ADVANCE(166);
      END_STATE();
    case 159:
      if (lookahead == 'u') ADVANCE(92);
      END_STATE();
    case 160:
      if (lookahead == 'u') ADVANCE(52);
      END_STATE();
    case 161:
      if (lookahead == 'u') ADVANCE(119);
      if (lookahead == 'y') ADVANCE(120);
      END_STATE();
    case 162:
      if (lookahead == 'u') ADVANCE(43);
      END_STATE();
    case 163:
      if (lookahead == 'u') ADVANCE(135);
      END_STATE();
    case 164:
      if (lookahead == 'u') ADVANCE(137);
      END_STATE();
    case 165:
      if (lookahead == 'u') ADVANCE(98);
      END_STATE();
    case 166:
      if (lookahead == 'u') ADVANCE(136);
      END_STATE();
    case 167:
      if (lookahead == 'w') ADVANCE(364);
      END_STATE();
    case 168:
      if (lookahead == 'y') ADVANCE(120);
      END_STATE();
    case 169:
      if (lookahead == 'y') ADVANCE(102);
      END_STATE();
    case 170:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(288);
      END_STATE();
    case 171:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(8);
      END_STATE();
    case 172:
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(286);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 173:
      if (lookahead == '-' ||
          ('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(290);
      END_STATE();
    case 174:
      if (lookahead == '-' ||
          ('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(289);
      END_STATE();
    case 175:
      if (eof) ADVANCE(177);
      ADVANCE_MAP(
        '(', 305,
        ')', 306,
        '*', 9,
        ',', 300,
        '-', 22,
        '.', 308,
        '/', 179,
        '0', 7,
        ':', 178,
        ';', 182,
        '<', 353,
        '=', 311,
        '>', 354,
        '@', 180,
        '_', 363,
        'a', 138,
        'b', 106,
        'c', 77,
        'd', 65,
        'e', 95,
        'f', 16,
        'i', 94,
        'l', 78,
        'o', 117,
        'p', 23,
        'r', 53,
        's', 11,
        't', 161,
        'u', 12,
        'v', 24,
        'w', 80,
        '{', 292,
        '}', 293,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(175);
      if (('1' <= lookahead && lookahead <= '9')) ADVANCE(355);
      END_STATE();
    case 176:
      if (eof) ADVANCE(177);
      ADVANCE_MAP(
        '(', 305,
        ')', 306,
        '*', 9,
        ',', 300,
        '-', 22,
        '.', 308,
        '/', 179,
        ':', 178,
        ';', 182,
        '<', 353,
        '=', 311,
        '>', 354,
        '@', 180,
        'a', 138,
        'd', 65,
        'e', 95,
        'f', 67,
        'i', 94,
        'p', 23,
        'r', 66,
        's', 79,
        't', 168,
        'u', 104,
        'v', 24,
        'w', 80,
        '{', 292,
        '}', 293,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(176);
      if (('1' <= lookahead && lookahead <= '9')) ADVANCE(356);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 178:
      ACCEPT_TOKEN(anon_sym_COLON);
      END_STATE();
    case 179:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (lookahead == '*') ADVANCE(381);
      if (lookahead == '/') ADVANCE(370);
      END_STATE();
    case 180:
      ACCEPT_TOKEN(anon_sym_AT);
      END_STATE();
    case 181:
      ACCEPT_TOKEN(anon_sym_package);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(anon_sym_use);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(anon_sym_use);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(anon_sym_as);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '1') ADVANCE(195);
      if (lookahead == '3') ADVANCE(189);
      if (lookahead == '6') ADVANCE(193);
      if (lookahead == '8') ADVANCE(334);
      if (lookahead == 't') ADVANCE(252);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 187:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '1') ADVANCE(196);
      if (lookahead == '3') ADVANCE(190);
      if (lookahead == '6') ADVANCE(194);
      if (lookahead == '8') ADVANCE(326);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 188:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '2') ADVANCE(342);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '2') ADVANCE(338);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '2') ADVANCE(330);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 191:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '3') ADVANCE(188);
      if (lookahead == '6') ADVANCE(192);
      if (lookahead == 'u') ADVANCE(272);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 192:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '4') ADVANCE(344);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '4') ADVANCE(340);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '4') ADVANCE(332);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '6') ADVANCE(336);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == '6') ADVANCE(328);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'a') ADVANCE(231);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 198:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'a') ADVANCE(222);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'a') ADVANCE(253);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'a') ADVANCE(238);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 201:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'a') ADVANCE(259);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'a') ADVANCE(208);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 203:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'c') ADVANCE(304);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 204:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'c') ADVANCE(302);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'c') ADVANCE(246);
      if (lookahead == 's') ADVANCE(248);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 206:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'c') ADVANCE(215);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 207:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'c') ADVANCE(275);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 208:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'c') ADVANCE(216);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 209:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'd') ADVANCE(313);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(352);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 211:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(367);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(205);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 213:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(184);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 214:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(310);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(321);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(297);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 217:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(197);
      if (lookahead == 'i') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 218:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(264);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 219:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'e') ADVANCE(257);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 220:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'f') ADVANCE(202);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 221:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'g') ADVANCE(350);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 222:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'g') ADVANCE(262);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 223:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'h') ADVANCE(199);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 224:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'i') ADVANCE(265);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 225:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'i') ADVANCE(244);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 226:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'i') ADVANCE(200);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 227:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'l') ADVANCE(348);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'l') ADVANCE(210);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 229:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'l') ADVANCE(198);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 230:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'l') ADVANCE(269);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 231:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'm') ADVANCE(369);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 232:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'm') ADVANCE(319);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(221);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 234:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(360);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 235:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(203);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 236:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(277);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 237:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(204);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 238:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(270);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(273);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 240:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'n') ADVANCE(267);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 241:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(242);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(227);
      if (lookahead == 'r') ADVANCE(258);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(283);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 244:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(234);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 245:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(240);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(254);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 247:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(256);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 248:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'o') ADVANCE(282);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'p') ADVANCE(271);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'p') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'p') ADVANCE(214);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(217);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 253:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(346);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 254:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(209);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 255:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(206);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 256:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(324);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 257:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(220);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 258:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(243);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 259:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(226);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 260:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(211);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'r') ADVANCE(278);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 262:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 's') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 's') ADVANCE(285);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 264:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 's') ADVANCE(279);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 265:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 's') ADVANCE(268);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 266:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 's') ADVANCE(213);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 267:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 's') ADVANCE(274);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 268:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(358);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 269:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(362);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 270:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(317);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 271:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(225);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 272:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(280);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 273:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(219);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 274:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(261);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 275:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 't') ADVANCE(247);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 276:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(250);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 277:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 278:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(207);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 279:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(230);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 280:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(260);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 281:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(235);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 282:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(255);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 283:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'w') ADVANCE(365);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 284:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'y') ADVANCE(251);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (lookahead == 'y') ADVANCE(237);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 286:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(286);
      END_STATE();
    case 287:
      ACCEPT_TOKEN(sym_id);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 288:
      ACCEPT_TOKEN(sym__valid_semver);
      if (lookahead == '+') ADVANCE(173);
      if (lookahead == '-') ADVANCE(174);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(288);
      END_STATE();
    case 289:
      ACCEPT_TOKEN(sym__valid_semver);
      if (lookahead == '+') ADVANCE(173);
      if (lookahead == '.') ADVANCE(174);
      if (lookahead == '-' ||
          ('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(289);
      END_STATE();
    case 290:
      ACCEPT_TOKEN(sym__valid_semver);
      if (lookahead == '.') ADVANCE(173);
      if (lookahead == '-' ||
          ('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(290);
      END_STATE();
    case 291:
      ACCEPT_TOKEN(anon_sym_world);
      END_STATE();
    case 292:
      ACCEPT_TOKEN(anon_sym_LBRACE);
      END_STATE();
    case 293:
      ACCEPT_TOKEN(anon_sym_RBRACE);
      END_STATE();
    case 294:
      ACCEPT_TOKEN(anon_sym_export);
      END_STATE();
    case 295:
      ACCEPT_TOKEN(anon_sym_import);
      END_STATE();
    case 296:
      ACCEPT_TOKEN(anon_sym_interface);
      END_STATE();
    case 297:
      ACCEPT_TOKEN(anon_sym_interface);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 298:
      ACCEPT_TOKEN(anon_sym_include);
      END_STATE();
    case 299:
      ACCEPT_TOKEN(anon_sym_with);
      END_STATE();
    case 300:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 301:
      ACCEPT_TOKEN(anon_sym_async);
      END_STATE();
    case 302:
      ACCEPT_TOKEN(anon_sym_async);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 303:
      ACCEPT_TOKEN(anon_sym_func);
      END_STATE();
    case 304:
      ACCEPT_TOKEN(anon_sym_func);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 305:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 306:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 307:
      ACCEPT_TOKEN(anon_sym_DASH_GT);
      END_STATE();
    case 308:
      ACCEPT_TOKEN(anon_sym_DOT);
      END_STATE();
    case 309:
      ACCEPT_TOKEN(anon_sym_type);
      END_STATE();
    case 310:
      ACCEPT_TOKEN(anon_sym_type);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(anon_sym_EQ);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(anon_sym_record);
      END_STATE();
    case 313:
      ACCEPT_TOKEN(anon_sym_record);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(anon_sym_flags);
      END_STATE();
    case 315:
      ACCEPT_TOKEN(anon_sym_flags);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 316:
      ACCEPT_TOKEN(anon_sym_variant);
      END_STATE();
    case 317:
      ACCEPT_TOKEN(anon_sym_variant);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 318:
      ACCEPT_TOKEN(anon_sym_enum);
      END_STATE();
    case 319:
      ACCEPT_TOKEN(anon_sym_enum);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 320:
      ACCEPT_TOKEN(anon_sym_resource);
      END_STATE();
    case 321:
      ACCEPT_TOKEN(anon_sym_resource);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 322:
      ACCEPT_TOKEN(anon_sym_static);
      END_STATE();
    case 323:
      ACCEPT_TOKEN(anon_sym_constructor);
      END_STATE();
    case 324:
      ACCEPT_TOKEN(anon_sym_constructor);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 325:
      ACCEPT_TOKEN(anon_sym_u8);
      END_STATE();
    case 326:
      ACCEPT_TOKEN(anon_sym_u8);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 327:
      ACCEPT_TOKEN(anon_sym_u16);
      END_STATE();
    case 328:
      ACCEPT_TOKEN(anon_sym_u16);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 329:
      ACCEPT_TOKEN(anon_sym_u32);
      END_STATE();
    case 330:
      ACCEPT_TOKEN(anon_sym_u32);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 331:
      ACCEPT_TOKEN(anon_sym_u64);
      END_STATE();
    case 332:
      ACCEPT_TOKEN(anon_sym_u64);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 333:
      ACCEPT_TOKEN(anon_sym_s8);
      END_STATE();
    case 334:
      ACCEPT_TOKEN(anon_sym_s8);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 335:
      ACCEPT_TOKEN(anon_sym_s16);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(anon_sym_s16);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 337:
      ACCEPT_TOKEN(anon_sym_s32);
      END_STATE();
    case 338:
      ACCEPT_TOKEN(anon_sym_s32);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 339:
      ACCEPT_TOKEN(anon_sym_s64);
      END_STATE();
    case 340:
      ACCEPT_TOKEN(anon_sym_s64);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 341:
      ACCEPT_TOKEN(anon_sym_f32);
      END_STATE();
    case 342:
      ACCEPT_TOKEN(anon_sym_f32);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 343:
      ACCEPT_TOKEN(anon_sym_f64);
      END_STATE();
    case 344:
      ACCEPT_TOKEN(anon_sym_f64);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 345:
      ACCEPT_TOKEN(anon_sym_char);
      END_STATE();
    case 346:
      ACCEPT_TOKEN(anon_sym_char);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 347:
      ACCEPT_TOKEN(anon_sym_bool);
      END_STATE();
    case 348:
      ACCEPT_TOKEN(anon_sym_bool);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 349:
      ACCEPT_TOKEN(anon_sym_string);
      END_STATE();
    case 350:
      ACCEPT_TOKEN(anon_sym_string);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 351:
      ACCEPT_TOKEN(anon_sym_tuple);
      END_STATE();
    case 352:
      ACCEPT_TOKEN(anon_sym_tuple);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 353:
      ACCEPT_TOKEN(anon_sym_LT);
      END_STATE();
    case 354:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 355:
      ACCEPT_TOKEN(sym_uint);
      if (lookahead == '.') ADVANCE(171);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(355);
      END_STATE();
    case 356:
      ACCEPT_TOKEN(sym_uint);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(356);
      END_STATE();
    case 357:
      ACCEPT_TOKEN(anon_sym_list);
      END_STATE();
    case 358:
      ACCEPT_TOKEN(anon_sym_list);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(anon_sym_option);
      END_STATE();
    case 360:
      ACCEPT_TOKEN(anon_sym_option);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 361:
      ACCEPT_TOKEN(anon_sym_result);
      END_STATE();
    case 362:
      ACCEPT_TOKEN(anon_sym_result);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 363:
      ACCEPT_TOKEN(anon_sym__);
      END_STATE();
    case 364:
      ACCEPT_TOKEN(anon_sym_borrow);
      END_STATE();
    case 365:
      ACCEPT_TOKEN(anon_sym_borrow);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(anon_sym_future);
      END_STATE();
    case 367:
      ACCEPT_TOKEN(anon_sym_future);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 368:
      ACCEPT_TOKEN(anon_sym_stream);
      END_STATE();
    case 369:
      ACCEPT_TOKEN(anon_sym_stream);
      if (lookahead == '-') ADVANCE(172);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(287);
      END_STATE();
    case 370:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      END_STATE();
    case 371:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(375);
      END_STATE();
    case 372:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH2);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(aux_sym_line_comment_token1);
      if (lookahead == '*') ADVANCE(382);
      if (lookahead == '/') ADVANCE(371);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(375);
      END_STATE();
    case 374:
      ACCEPT_TOKEN(aux_sym_line_comment_token1);
      if (lookahead == '/') ADVANCE(373);
      if (lookahead == '\t' ||
          (0x0b <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(374);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead)) ADVANCE(375);
      END_STATE();
    case 375:
      ACCEPT_TOKEN(aux_sym_line_comment_token1);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(375);
      END_STATE();
    case 376:
      ACCEPT_TOKEN(anon_sym_SLASH2);
      if (lookahead == '/') ADVANCE(372);
      END_STATE();
    case 377:
      ACCEPT_TOKEN(aux_sym_line_comment_token2);
      if (lookahead == '*') ADVANCE(380);
      if (lookahead == '/') ADVANCE(380);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(380);
      END_STATE();
    case 378:
      ACCEPT_TOKEN(aux_sym_line_comment_token2);
      if (lookahead == '/') ADVANCE(376);
      if (lookahead == '\t' ||
          (0x0b <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(379);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead)) ADVANCE(380);
      END_STATE();
    case 379:
      ACCEPT_TOKEN(aux_sym_line_comment_token2);
      if (lookahead == '/') ADVANCE(377);
      if (lookahead == '\t' ||
          (0x0b <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(379);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead)) ADVANCE(380);
      END_STATE();
    case 380:
      ACCEPT_TOKEN(aux_sym_line_comment_token2);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(380);
      END_STATE();
    case 381:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      END_STATE();
    case 382:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(375);
      END_STATE();
    case 383:
      ACCEPT_TOKEN(anon_sym_STAR_SLASH);
      END_STATE();
    case 384:
      ACCEPT_TOKEN(anon_sym_unstable);
      END_STATE();
    case 385:
      ACCEPT_TOKEN(anon_sym_feature);
      END_STATE();
    case 386:
      ACCEPT_TOKEN(anon_sym_since);
      END_STATE();
    case 387:
      ACCEPT_TOKEN(anon_sym_deprecated);
      END_STATE();
    case 388:
      ACCEPT_TOKEN(anon_sym_version);
      END_STATE();
    default:
      return false;
  }
}

static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
  [0] = {.lex_state = 0, .external_lex_state = 1},
  [1] = {.lex_state = 176},
  [2] = {.lex_state = 1},
  [3] = {.lex_state = 176},
  [4] = {.lex_state = 176},
  [5] = {.lex_state = 176},
  [6] = {.lex_state = 1},
  [7] = {.lex_state = 1},
  [8] = {.lex_state = 1},
  [9] = {.lex_state = 1},
  [10] = {.lex_state = 1},
  [11] = {.lex_state = 1},
  [12] = {.lex_state = 1},
  [13] = {.lex_state = 1},
  [14] = {.lex_state = 1},
  [15] = {.lex_state = 1},
  [16] = {.lex_state = 1},
  [17] = {.lex_state = 1},
  [18] = {.lex_state = 1},
  [19] = {.lex_state = 1},
  [20] = {.lex_state = 1},
  [21] = {.lex_state = 176},
  [22] = {.lex_state = 3},
  [23] = {.lex_state = 3},
  [24] = {.lex_state = 3},
  [25] = {.lex_state = 3},
  [26] = {.lex_state = 176},
  [27] = {.lex_state = 176},
  [28] = {.lex_state = 176},
  [29] = {.lex_state = 176},
  [30] = {.lex_state = 176},
  [31] = {.lex_state = 176},
  [32] = {.lex_state = 3},
  [33] = {.lex_state = 176},
  [34] = {.lex_state = 176},
  [35] = {.lex_state = 176},
  [36] = {.lex_state = 176},
  [37] = {.lex_state = 176},
  [38] = {.lex_state = 3},
  [39] = {.lex_state = 176},
  [40] = {.lex_state = 176},
  [41] = {.lex_state = 176},
  [42] = {.lex_state = 176},
  [43] = {.lex_state = 176},
  [44] = {.lex_state = 176},
  [45] = {.lex_state = 176},
  [46] = {.lex_state = 176},
  [47] = {.lex_state = 176},
  [48] = {.lex_state = 176},
  [49] = {.lex_state = 176},
  [50] = {.lex_state = 176},
  [51] = {.lex_state = 176},
  [52] = {.lex_state = 176},
  [53] = {.lex_state = 176},
  [54] = {.lex_state = 176},
  [55] = {.lex_state = 176},
  [56] = {.lex_state = 176},
  [57] = {.lex_state = 176},
  [58] = {.lex_state = 176},
  [59] = {.lex_state = 176},
  [60] = {.lex_state = 176},
  [61] = {.lex_state = 176},
  [62] = {.lex_state = 176},
  [63] = {.lex_state = 176},
  [64] = {.lex_state = 3},
  [65] = {.lex_state = 3},
  [66] = {.lex_state = 3},
  [67] = {.lex_state = 3},
  [68] = {.lex_state = 3},
  [69] = {.lex_state = 3},
  [70] = {.lex_state = 3},
  [71] = {.lex_state = 3},
  [72] = {.lex_state = 3},
  [73] = {.lex_state = 3},
  [74] = {.lex_state = 3},
  [75] = {.lex_state = 3},
  [76] = {.lex_state = 3},
  [77] = {.lex_state = 3},
  [78] = {.lex_state = 3},
  [79] = {.lex_state = 3},
  [80] = {.lex_state = 3},
  [81] = {.lex_state = 3},
  [82] = {.lex_state = 176},
  [83] = {.lex_state = 3},
  [84] = {.lex_state = 3},
  [85] = {.lex_state = 3},
  [86] = {.lex_state = 3},
  [87] = {.lex_state = 3},
  [88] = {.lex_state = 176},
  [89] = {.lex_state = 176},
  [90] = {.lex_state = 176},
  [91] = {.lex_state = 5},
  [92] = {.lex_state = 176},
  [93] = {.lex_state = 176},
  [94] = {.lex_state = 176},
  [95] = {.lex_state = 176},
  [96] = {.lex_state = 5},
  [97] = {.lex_state = 176},
  [98] = {.lex_state = 176},
  [99] = {.lex_state = 176},
  [100] = {.lex_state = 176},
  [101] = {.lex_state = 176},
  [102] = {.lex_state = 176},
  [103] = {.lex_state = 176},
  [104] = {.lex_state = 176},
  [105] = {.lex_state = 176},
  [106] = {.lex_state = 176},
  [107] = {.lex_state = 176},
  [108] = {.lex_state = 4},
  [109] = {.lex_state = 5},
  [110] = {.lex_state = 176},
  [111] = {.lex_state = 176},
  [112] = {.lex_state = 176},
  [113] = {.lex_state = 176},
  [114] = {.lex_state = 5},
  [115] = {.lex_state = 5},
  [116] = {.lex_state = 4},
  [117] = {.lex_state = 176},
  [118] = {.lex_state = 176},
  [119] = {.lex_state = 176},
  [120] = {.lex_state = 176},
  [121] = {.lex_state = 176},
  [122] = {.lex_state = 176},
  [123] = {.lex_state = 176},
  [124] = {.lex_state = 176},
  [125] = {.lex_state = 176},
  [126] = {.lex_state = 176},
  [127] = {.lex_state = 176},
  [128] = {.lex_state = 176},
  [129] = {.lex_state = 2},
  [130] = {.lex_state = 2},
  [131] = {.lex_state = 2},
  [132] = {.lex_state = 2},
  [133] = {.lex_state = 2},
  [134] = {.lex_state = 2},
  [135] = {.lex_state = 2},
  [136] = {.lex_state = 10},
  [137] = {.lex_state = 2},
  [138] = {.lex_state = 2},
  [139] = {.lex_state = 2},
  [140] = {.lex_state = 2},
  [141] = {.lex_state = 176},
  [142] = {.lex_state = 176},
  [143] = {.lex_state = 176},
  [144] = {.lex_state = 2},
  [145] = {.lex_state = 176},
  [146] = {.lex_state = 176},
  [147] = {.lex_state = 176},
  [148] = {.lex_state = 176},
  [149] = {.lex_state = 2},
  [150] = {.lex_state = 176},
  [151] = {.lex_state = 176},
  [152] = {.lex_state = 2},
  [153] = {.lex_state = 176},
  [154] = {.lex_state = 176},
  [155] = {.lex_state = 2},
  [156] = {.lex_state = 176},
  [157] = {.lex_state = 176},
  [158] = {.lex_state = 176},
  [159] = {.lex_state = 2},
  [160] = {.lex_state = 176},
  [161] = {.lex_state = 176},
  [162] = {.lex_state = 2},
  [163] = {.lex_state = 176},
  [164] = {.lex_state = 176},
  [165] = {.lex_state = 176},
  [166] = {.lex_state = 176},
  [167] = {.lex_state = 2},
  [168] = {.lex_state = 176},
  [169] = {.lex_state = 2},
  [170] = {.lex_state = 176},
  [171] = {.lex_state = 176},
  [172] = {.lex_state = 2},
  [173] = {.lex_state = 5},
  [174] = {.lex_state = 2},
  [175] = {.lex_state = 176},
  [176] = {.lex_state = 5},
  [177] = {.lex_state = 5},
  [178] = {.lex_state = 176},
  [179] = {.lex_state = 2},
  [180] = {.lex_state = 176},
  [181] = {.lex_state = 176},
  [182] = {.lex_state = 378},
  [183] = {.lex_state = 2},
  [184] = {.lex_state = 2},
  [185] = {.lex_state = 176},
  [186] = {.lex_state = 2},
  [187] = {.lex_state = 176},
  [188] = {.lex_state = 5},
  [189] = {.lex_state = 176},
  [190] = {.lex_state = 5},
  [191] = {.lex_state = 10},
  [192] = {.lex_state = 176, .external_lex_state = 2},
  [193] = {.lex_state = 2},
  [194] = {.lex_state = 176},
  [195] = {.lex_state = 2},
  [196] = {.lex_state = 2},
  [197] = {.lex_state = 2},
  [198] = {.lex_state = 176},
  [199] = {.lex_state = 176},
  [200] = {.lex_state = 10},
  [201] = {.lex_state = 176},
  [202] = {.lex_state = 176},
  [203] = {.lex_state = 2},
  [204] = {.lex_state = 176},
  [205] = {.lex_state = 2},
  [206] = {.lex_state = 176},
  [207] = {.lex_state = 176},
  [208] = {.lex_state = 176},
  [209] = {.lex_state = 176},
  [210] = {.lex_state = 176},
  [211] = {.lex_state = 176},
  [212] = {.lex_state = 176},
  [213] = {.lex_state = 2},
  [214] = {.lex_state = 176},
  [215] = {.lex_state = 176},
  [216] = {.lex_state = 2},
  [217] = {.lex_state = 176},
  [218] = {.lex_state = 2},
  [219] = {.lex_state = 176},
  [220] = {.lex_state = 176},
  [221] = {.lex_state = 176, .external_lex_state = 3},
  [222] = {.lex_state = 176},
  [223] = {.lex_state = 176},
  [224] = {.lex_state = 176},
  [225] = {.lex_state = 176},
  [226] = {.lex_state = 176},
  [227] = {.lex_state = 2},
  [228] = {.lex_state = 176},
  [229] = {.lex_state = 2},
  [230] = {.lex_state = 176},
  [231] = {.lex_state = 2},
  [232] = {.lex_state = 176},
  [233] = {.lex_state = 176},
  [234] = {.lex_state = 176},
  [235] = {.lex_state = 2},
  [236] = {.lex_state = 176},
  [237] = {.lex_state = 176},
  [238] = {.lex_state = 2},
  [239] = {.lex_state = 176},
  [240] = {.lex_state = 176},
  [241] = {.lex_state = 176},
  [242] = {.lex_state = 176},
  [243] = {.lex_state = 176},
  [244] = {.lex_state = 176},
  [245] = {.lex_state = 176},
  [246] = {.lex_state = 176},
  [247] = {.lex_state = 176},
  [248] = {.lex_state = 176},
  [249] = {.lex_state = 176},
  [250] = {.lex_state = 176},
  [251] = {.lex_state = 176},
  [252] = {.lex_state = 176},
  [253] = {.lex_state = 176},
  [254] = {.lex_state = 176},
  [255] = {.lex_state = 176},
  [256] = {.lex_state = 176},
  [257] = {.lex_state = 176},
  [258] = {.lex_state = 176},
  [259] = {.lex_state = 2},
  [260] = {.lex_state = 2},
  [261] = {.lex_state = 2},
  [262] = {.lex_state = 176},
  [263] = {.lex_state = 176},
  [264] = {.lex_state = 176},
  [265] = {.lex_state = 176},
  [266] = {.lex_state = 176},
  [267] = {.lex_state = 176},
  [268] = {.lex_state = 176},
  [269] = {.lex_state = 176},
  [270] = {.lex_state = 176},
  [271] = {.lex_state = 176},
  [272] = {.lex_state = 176},
  [273] = {.lex_state = 176},
  [274] = {.lex_state = 2},
  [275] = {.lex_state = 176},
  [276] = {.lex_state = 2},
  [277] = {.lex_state = 176},
  [278] = {.lex_state = 2},
  [279] = {.lex_state = 176},
  [280] = {.lex_state = 2},
  [281] = {.lex_state = 1},
  [282] = {.lex_state = 176},
  [283] = {.lex_state = 176},
  [284] = {.lex_state = 176},
  [285] = {.lex_state = 2},
  [286] = {.lex_state = 176},
  [287] = {.lex_state = 2},
  [288] = {.lex_state = 2},
  [289] = {.lex_state = 176},
  [290] = {.lex_state = 176},
  [291] = {.lex_state = 176},
  [292] = {.lex_state = 176},
  [293] = {.lex_state = 176},
  [294] = {.lex_state = 176},
  [295] = {.lex_state = 176},
  [296] = {.lex_state = 176},
  [297] = {.lex_state = 176},
  [298] = {.lex_state = 176},
  [299] = {.lex_state = 176},
  [300] = {.lex_state = 176},
  [301] = {.lex_state = 176},
  [302] = {.lex_state = 176},
  [303] = {.lex_state = 2},
  [304] = {.lex_state = 176},
  [305] = {.lex_state = 176},
  [306] = {.lex_state = 176},
  [307] = {.lex_state = 176},
  [308] = {.lex_state = 176},
  [309] = {.lex_state = 176},
  [310] = {.lex_state = 176},
  [311] = {.lex_state = 176},
  [312] = {.lex_state = 176},
  [313] = {.lex_state = 176},
  [314] = {.lex_state = 176},
  [315] = {.lex_state = 176},
  [316] = {.lex_state = 176},
  [317] = {.lex_state = 2},
  [318] = {.lex_state = 176},
  [319] = {.lex_state = 176},
  [320] = {.lex_state = 176},
  [321] = {.lex_state = 2},
  [322] = {.lex_state = 176},
  [323] = {.lex_state = 2},
  [324] = {.lex_state = 176},
  [325] = {.lex_state = 176},
  [326] = {.lex_state = 176},
  [327] = {.lex_state = 2},
  [328] = {.lex_state = 176},
  [329] = {.lex_state = 176},
  [330] = {.lex_state = 176},
  [331] = {.lex_state = 176},
  [332] = {.lex_state = 176},
  [333] = {.lex_state = 2},
  [334] = {.lex_state = 1},
  [335] = {.lex_state = 176},
  [336] = {.lex_state = 176, .external_lex_state = 4},
  [337] = {.lex_state = 176},
  [338] = {.lex_state = 2},
  [339] = {.lex_state = 176},
  [340] = {.lex_state = 176},
  [341] = {.lex_state = 176},
  [342] = {.lex_state = 176},
  [343] = {.lex_state = 176},
  [344] = {.lex_state = 176},
  [345] = {.lex_state = 176},
  [346] = {.lex_state = 176},
  [347] = {.lex_state = 2},
  [348] = {.lex_state = 176},
  [349] = {.lex_state = 2},
  [350] = {.lex_state = 2},
  [351] = {.lex_state = 2},
  [352] = {.lex_state = 2},
  [353] = {.lex_state = 2},
  [354] = {.lex_state = 2},
  [355] = {.lex_state = 374},
  [356] = {.lex_state = 2},
  [357] = {.lex_state = 176},
  [358] = {.lex_state = 176},
  [359] = {.lex_state = 176},
  [360] = {.lex_state = 176},
  [361] = {.lex_state = 176},
  [362] = {.lex_state = 176},
  [363] = {.lex_state = 2},
  [364] = {.lex_state = 2},
  [365] = {.lex_state = 2},
  [366] = {.lex_state = 176},
  [367] = {(TSStateId)(-1),},
  [368] = {(TSStateId)(-1),},
  [369] = {(TSStateId)(-1),},
  [370] = {(TSStateId)(-1),},
  [371] = {(TSStateId)(-1),},
  [372] = {(TSStateId)(-1),},
};

static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
  [STATE(0)] = {
    [sym_line_comment] = STATE(0),
    [sym_block_comment] = STATE(0),
    [ts_builtin_sym_end] = ACTIONS(1),
    [anon_sym_COLON] = ACTIONS(1),
    [anon_sym_SLASH] = ACTIONS(1),
    [anon_sym_AT] = ACTIONS(1),
    [anon_sym_package] = ACTIONS(1),
    [anon_sym_SEMI] = ACTIONS(1),
    [anon_sym_use] = ACTIONS(1),
    [anon_sym_as] = ACTIONS(1),
    [sym__valid_semver] = ACTIONS(1),
    [anon_sym_world] = ACTIONS(1),
    [anon_sym_LBRACE] = ACTIONS(1),
    [anon_sym_RBRACE] = ACTIONS(1),
    [anon_sym_export] = ACTIONS(1),
    [anon_sym_import] = ACTIONS(1),
    [anon_sym_interface] = ACTIONS(1),
    [anon_sym_include] = ACTIONS(1),
    [anon_sym_with] = ACTIONS(1),
    [anon_sym_COMMA] = ACTIONS(1),
    [anon_sym_func] = ACTIONS(1),
    [anon_sym_LPAREN] = ACTIONS(1),
    [anon_sym_RPAREN] = ACTIONS(1),
    [anon_sym_DASH_GT] = ACTIONS(1),
    [anon_sym_DOT] = ACTIONS(1),
    [anon_sym_type] = ACTIONS(1),
    [anon_sym_EQ] = ACTIONS(1),
    [anon_sym_record] = ACTIONS(1),
    [anon_sym_flags] = ACTIONS(1),
    [anon_sym_variant] = ACTIONS(1),
    [anon_sym_enum] = ACTIONS(1),
    [anon_sym_resource] = ACTIONS(1),
    [anon_sym_static] = ACTIONS(1),
    [anon_sym_constructor] = ACTIONS(1),
    [anon_sym_u8] = ACTIONS(1),
    [anon_sym_u16] = ACTIONS(1),
    [anon_sym_u32] = ACTIONS(1),
    [anon_sym_u64] = ACTIONS(1),
    [anon_sym_s8] = ACTIONS(1),
    [anon_sym_s16] = ACTIONS(1),
    [anon_sym_s32] = ACTIONS(1),
    [anon_sym_s64] = ACTIONS(1),
    [anon_sym_f32] = ACTIONS(1),
    [anon_sym_f64] = ACTIONS(1),
    [anon_sym_char] = ACTIONS(1),
    [anon_sym_bool] = ACTIONS(1),
    [anon_sym_string] = ACTIONS(1),
    [anon_sym_tuple] = ACTIONS(1),
    [anon_sym_LT] = ACTIONS(1),
    [anon_sym_GT] = ACTIONS(1),
    [sym_uint] = ACTIONS(1),
    [anon_sym_list] = ACTIONS(1),
    [anon_sym_option] = ACTIONS(1),
    [anon_sym_result] = ACTIONS(1),
    [anon_sym__] = ACTIONS(1),
    [anon_sym_borrow] = ACTIONS(1),
    [anon_sym_future] = ACTIONS(1),
    [anon_sym_stream] = ACTIONS(1),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_SLASH2] = ACTIONS(1),
    [anon_sym_SLASH2] = ACTIONS(1),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_STAR_SLASH] = ACTIONS(1),
    [anon_sym_unstable] = ACTIONS(1),
    [anon_sym_feature] = ACTIONS(1),
    [anon_sym_since] = ACTIONS(1),
    [anon_sym_deprecated] = ACTIONS(1),
    [anon_sym_version] = ACTIONS(1),
    [sym__block_comment_content] = ACTIONS(1),
    [sym__block_doc_comment_marker] = ACTIONS(1),
    [sym__error_sentinel] = ACTIONS(1),
    [sym__line_doc_content] = ACTIONS(1),
  },
  [STATE(1)] = {
    [sym_source_file] = STATE(282),
    [sym__statement] = STATE(110),
    [sym_package_decl] = STATE(98),
    [sym_toplevel_use_item] = STATE(98),
    [sym_world_item] = STATE(98),
    [sym_interface_item] = STATE(98),
    [sym_line_comment] = STATE(1),
    [sym_block_comment] = STATE(1),
    [aux_sym__gate] = STATE(89),
    [sym__gate_item] = STATE(37),
    [sym_unstable_gate] = STATE(36),
    [sym_since_gate] = STATE(36),
    [sym_deprecated_gate] = STATE(36),
    [aux_sym_source_file_repeat1] = STATE(28),
    [ts_builtin_sym_end] = ACTIONS(7),
    [anon_sym_AT] = ACTIONS(9),
    [anon_sym_package] = ACTIONS(11),
    [anon_sym_use] = ACTIONS(13),
    [anon_sym_world] = ACTIONS(15),
    [anon_sym_interface] = ACTIONS(17),
    [anon_sym_SLASH_SLASH] = ACTIONS(19),
    [anon_sym_SLASH_STAR] = ACTIONS(21),
  },
};

static const uint16_t ts_small_parse_table[] = {
  [0] = 15,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(29), 1,
      anon_sym_GT,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(236), 1,
      sym_ty,
    STATE(2), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [65] = 21,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(43), 1,
      anon_sym_AT,
    ACTIONS(46), 1,
      anon_sym_use,
    ACTIONS(49), 1,
      anon_sym_RBRACE,
    ACTIONS(51), 1,
      anon_sym_export,
    ACTIONS(54), 1,
      anon_sym_import,
    ACTIONS(57), 1,
      anon_sym_include,
    ACTIONS(60), 1,
      anon_sym_type,
    ACTIONS(63), 1,
      anon_sym_record,
    ACTIONS(66), 1,
      anon_sym_flags,
    ACTIONS(69), 1,
      anon_sym_variant,
    ACTIONS(72), 1,
      anon_sym_enum,
    ACTIONS(75), 1,
      anon_sym_resource,
    STATE(21), 1,
      aux_sym__gate,
    STATE(37), 1,
      sym__gate_item,
    STATE(44), 1,
      sym__world_items,
    STATE(3), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__world_body_repeat1,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(54), 5,
      sym_export_item,
      sym_import_item,
      sym_include_item,
      sym__typedef_item,
      sym_use_item,
    STATE(55), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [142] = 22,
    ACTIONS(9), 1,
      anon_sym_AT,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(78), 1,
      anon_sym_use,
    ACTIONS(80), 1,
      anon_sym_RBRACE,
    ACTIONS(82), 1,
      anon_sym_export,
    ACTIONS(84), 1,
      anon_sym_import,
    ACTIONS(86), 1,
      anon_sym_include,
    ACTIONS(88), 1,
      anon_sym_type,
    ACTIONS(90), 1,
      anon_sym_record,
    ACTIONS(92), 1,
      anon_sym_flags,
    ACTIONS(94), 1,
      anon_sym_variant,
    ACTIONS(96), 1,
      anon_sym_enum,
    ACTIONS(98), 1,
      anon_sym_resource,
    STATE(5), 1,
      aux_sym__world_body_repeat1,
    STATE(21), 1,
      aux_sym__gate,
    STATE(37), 1,
      sym__gate_item,
    STATE(44), 1,
      sym__world_items,
    STATE(4), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(54), 5,
      sym_export_item,
      sym_import_item,
      sym_include_item,
      sym__typedef_item,
      sym_use_item,
    STATE(55), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [221] = 22,
    ACTIONS(9), 1,
      anon_sym_AT,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(78), 1,
      anon_sym_use,
    ACTIONS(82), 1,
      anon_sym_export,
    ACTIONS(84), 1,
      anon_sym_import,
    ACTIONS(86), 1,
      anon_sym_include,
    ACTIONS(88), 1,
      anon_sym_type,
    ACTIONS(90), 1,
      anon_sym_record,
    ACTIONS(92), 1,
      anon_sym_flags,
    ACTIONS(94), 1,
      anon_sym_variant,
    ACTIONS(96), 1,
      anon_sym_enum,
    ACTIONS(98), 1,
      anon_sym_resource,
    ACTIONS(100), 1,
      anon_sym_RBRACE,
    STATE(3), 1,
      aux_sym__world_body_repeat1,
    STATE(21), 1,
      aux_sym__gate,
    STATE(37), 1,
      sym__gate_item,
    STATE(44), 1,
      sym__world_items,
    STATE(5), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(54), 5,
      sym_export_item,
      sym_import_item,
      sym_include_item,
      sym__typedef_item,
      sym_use_item,
    STATE(55), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [300] = 15,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(164), 1,
      sym_ty,
    STATE(298), 1,
      sym_tuple_list,
    STATE(6), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [365] = 15,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    ACTIONS(102), 1,
      anon_sym__,
    STATE(210), 1,
      sym_ty,
    STATE(7), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [430] = 15,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    ACTIONS(104), 1,
      anon_sym_LPAREN,
    STATE(267), 1,
      sym_ty,
    STATE(8), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [495] = 15,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    ACTIONS(106), 1,
      anon_sym_GT,
    STATE(236), 1,
      sym_ty,
    STATE(9), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [560] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(341), 1,
      sym_ty,
    STATE(10), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [622] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(297), 1,
      sym_ty,
    STATE(11), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [684] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(209), 1,
      sym_ty,
    STATE(12), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [746] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(304), 1,
      sym_ty,
    STATE(13), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [808] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(315), 1,
      sym_ty,
    STATE(14), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [870] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(335), 1,
      sym_ty,
    STATE(15), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [932] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(316), 1,
      sym_ty,
    STATE(16), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [994] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(211), 1,
      sym_ty,
    STATE(17), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [1056] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(302), 1,
      sym_ty,
    STATE(18), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [1118] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(236), 1,
      sym_ty,
    STATE(19), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [1180] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(23), 1,
      sym_id,
    ACTIONS(27), 1,
      anon_sym_tuple,
    ACTIONS(31), 1,
      anon_sym_list,
    ACTIONS(33), 1,
      anon_sym_option,
    ACTIONS(35), 1,
      anon_sym_result,
    ACTIONS(37), 1,
      anon_sym_borrow,
    ACTIONS(39), 1,
      anon_sym_future,
    ACTIONS(41), 1,
      anon_sym_stream,
    STATE(232), 1,
      sym_ty,
    STATE(20), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(125), 7,
      sym_tuple,
      sym_list,
      sym_option,
      sym_result,
      sym_handle,
      sym_future,
      sym_stream,
    ACTIONS(25), 13,
      anon_sym_u8,
      anon_sym_u16,
      anon_sym_u32,
      anon_sym_u64,
      anon_sym_s8,
      anon_sym_s16,
      anon_sym_s32,
      anon_sym_s64,
      anon_sym_f32,
      anon_sym_f64,
      anon_sym_char,
      anon_sym_bool,
      anon_sym_string,
  [1242] = 19,
    ACTIONS(9), 1,
      anon_sym_AT,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(78), 1,
      anon_sym_use,
    ACTIONS(82), 1,
      anon_sym_export,
    ACTIONS(84), 1,
      anon_sym_import,
    ACTIONS(86), 1,
      anon_sym_include,
    ACTIONS(88), 1,
      anon_sym_type,
    ACTIONS(90), 1,
      anon_sym_record,
    ACTIONS(92), 1,
      anon_sym_flags,
    ACTIONS(94), 1,
      anon_sym_variant,
    ACTIONS(96), 1,
      anon_sym_enum,
    ACTIONS(98), 1,
      anon_sym_resource,
    STATE(26), 1,
      aux_sym__gate,
    STATE(37), 1,
      sym__gate_item,
    STATE(21), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(63), 5,
      sym_export_item,
      sym_import_item,
      sym_include_item,
      sym__typedef_item,
      sym_use_item,
    STATE(55), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [1312] = 20,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(108), 1,
      anon_sym_AT,
    ACTIONS(110), 1,
      anon_sym_use,
    ACTIONS(112), 1,
      sym_id,
    ACTIONS(114), 1,
      anon_sym_RBRACE,
    ACTIONS(116), 1,
      anon_sym_type,
    ACTIONS(118), 1,
      anon_sym_record,
    ACTIONS(120), 1,
      anon_sym_flags,
    ACTIONS(122), 1,
      anon_sym_variant,
    ACTIONS(124), 1,
      anon_sym_enum,
    ACTIONS(126), 1,
      anon_sym_resource,
    STATE(23), 1,
      aux_sym__interface_body_repeat1,
    STATE(25), 1,
      aux_sym__gate,
    STATE(66), 1,
      sym__interface_items,
    STATE(84), 1,
      sym__gate_item,
    STATE(22), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(67), 3,
      sym__typedef_item,
      sym_func_item,
      sym_use_item,
    STATE(83), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(65), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [1383] = 20,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(108), 1,
      anon_sym_AT,
    ACTIONS(110), 1,
      anon_sym_use,
    ACTIONS(112), 1,
      sym_id,
    ACTIONS(116), 1,
      anon_sym_type,
    ACTIONS(118), 1,
      anon_sym_record,
    ACTIONS(120), 1,
      anon_sym_flags,
    ACTIONS(122), 1,
      anon_sym_variant,
    ACTIONS(124), 1,
      anon_sym_enum,
    ACTIONS(126), 1,
      anon_sym_resource,
    ACTIONS(128), 1,
      anon_sym_RBRACE,
    STATE(24), 1,
      aux_sym__interface_body_repeat1,
    STATE(25), 1,
      aux_sym__gate,
    STATE(66), 1,
      sym__interface_items,
    STATE(84), 1,
      sym__gate_item,
    STATE(23), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(67), 3,
      sym__typedef_item,
      sym_func_item,
      sym_use_item,
    STATE(83), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(65), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [1454] = 19,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(130), 1,
      anon_sym_AT,
    ACTIONS(133), 1,
      anon_sym_use,
    ACTIONS(136), 1,
      sym_id,
    ACTIONS(139), 1,
      anon_sym_RBRACE,
    ACTIONS(141), 1,
      anon_sym_type,
    ACTIONS(144), 1,
      anon_sym_record,
    ACTIONS(147), 1,
      anon_sym_flags,
    ACTIONS(150), 1,
      anon_sym_variant,
    ACTIONS(153), 1,
      anon_sym_enum,
    ACTIONS(156), 1,
      anon_sym_resource,
    STATE(25), 1,
      aux_sym__gate,
    STATE(66), 1,
      sym__interface_items,
    STATE(84), 1,
      sym__gate_item,
    STATE(24), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__interface_body_repeat1,
    STATE(67), 3,
      sym__typedef_item,
      sym_func_item,
      sym_use_item,
    STATE(83), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(65), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [1523] = 17,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(108), 1,
      anon_sym_AT,
    ACTIONS(110), 1,
      anon_sym_use,
    ACTIONS(112), 1,
      sym_id,
    ACTIONS(116), 1,
      anon_sym_type,
    ACTIONS(118), 1,
      anon_sym_record,
    ACTIONS(120), 1,
      anon_sym_flags,
    ACTIONS(122), 1,
      anon_sym_variant,
    ACTIONS(124), 1,
      anon_sym_enum,
    ACTIONS(126), 1,
      anon_sym_resource,
    STATE(32), 1,
      aux_sym__gate,
    STATE(84), 1,
      sym__gate_item,
    STATE(25), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(64), 3,
      sym__typedef_item,
      sym_func_item,
      sym_use_item,
    STATE(83), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(65), 6,
      sym_type_item,
      sym_record_item,
      sym_flags_items,
      sym_variant_items,
      sym_enum_items,
      sym_resource_item,
  [1585] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(159), 1,
      anon_sym_AT,
    STATE(37), 1,
      sym__gate_item,
    STATE(26), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__gate,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    ACTIONS(162), 12,
      anon_sym_use,
      anon_sym_world,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1622] = 14,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(164), 1,
      ts_builtin_sym_end,
    ACTIONS(166), 1,
      anon_sym_AT,
    ACTIONS(169), 1,
      anon_sym_package,
    ACTIONS(172), 1,
      anon_sym_use,
    ACTIONS(175), 1,
      anon_sym_world,
    ACTIONS(178), 1,
      anon_sym_interface,
    STATE(37), 1,
      sym__gate_item,
    STATE(89), 1,
      aux_sym__gate,
    STATE(110), 1,
      sym__statement,
    STATE(27), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym_source_file_repeat1,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(98), 4,
      sym_package_decl,
      sym_toplevel_use_item,
      sym_world_item,
      sym_interface_item,
  [1672] = 15,
    ACTIONS(9), 1,
      anon_sym_AT,
    ACTIONS(11), 1,
      anon_sym_package,
    ACTIONS(13), 1,
      anon_sym_use,
    ACTIONS(15), 1,
      anon_sym_world,
    ACTIONS(17), 1,
      anon_sym_interface,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(181), 1,
      ts_builtin_sym_end,
    STATE(27), 1,
      aux_sym_source_file_repeat1,
    STATE(37), 1,
      sym__gate_item,
    STATE(89), 1,
      aux_sym__gate,
    STATE(110), 1,
      sym__statement,
    STATE(28), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    STATE(98), 4,
      sym_package_decl,
      sym_toplevel_use_item,
      sym_world_item,
      sym_interface_item,
  [1724] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(29), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(183), 16,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1753] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(30), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(185), 16,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1782] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_LBRACE,
    STATE(49), 1,
      sym__resource_body,
    STATE(31), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(187), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1816] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(193), 1,
      anon_sym_AT,
    STATE(84), 1,
      sym__gate_item,
    STATE(32), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__gate,
    STATE(83), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
    ACTIONS(196), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1849] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(33), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(198), 13,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_world,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1875] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(34), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(200), 13,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_world,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1901] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(35), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(202), 13,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_world,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1927] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(36), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(204), 13,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_world,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1953] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(37), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(206), 13,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_world,
      anon_sym_export,
      anon_sym_import,
      anon_sym_interface,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [1979] = 8,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(208), 1,
      anon_sym_SEMI,
    ACTIONS(212), 1,
      anon_sym_LBRACE,
    STATE(74), 1,
      sym__resource_body,
    ACTIONS(187), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(38), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(210), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2013] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(39), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(214), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2038] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(40), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(216), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2063] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(41), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(218), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2088] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(42), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(220), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2113] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(43), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(222), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2138] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(44), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2163] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(45), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(226), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2188] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(46), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(228), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2213] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(47), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(230), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2238] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(48), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(232), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2263] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(49), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(234), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2288] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(50), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(236), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2313] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(51), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(238), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2338] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(52), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(240), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2363] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(53), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(242), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2388] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(54), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(244), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2413] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(55), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(246), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2438] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(56), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(248), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2463] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(57), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(250), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2488] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(58), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(252), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2513] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(59), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(254), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2538] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(60), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(256), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2563] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(61), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(258), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2588] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(62), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(260), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2613] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(63), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(262), 12,
      anon_sym_AT,
      anon_sym_use,
      anon_sym_RBRACE,
      anon_sym_export,
      anon_sym_import,
      anon_sym_include,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2638] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(264), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(64), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(266), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2663] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(246), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(65), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(268), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2688] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(270), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(66), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(272), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2713] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(274), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(67), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(276), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2738] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(278), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(68), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(280), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2763] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(258), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(69), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(282), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2788] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(226), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(70), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(284), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2813] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(228), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(71), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(286), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2838] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(230), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(72), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(288), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2863] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(232), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(73), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(290), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2888] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(234), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(74), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(292), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2913] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(242), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(75), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(294), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2938] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(214), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(76), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(296), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2963] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(250), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(77), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(298), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [2988] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(252), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(78), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(300), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3013] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(254), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(79), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(302), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3038] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(256), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(80), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(304), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3063] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(260), 2,
      anon_sym_AT,
      anon_sym_RBRACE,
    STATE(81), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(306), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3088] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(308), 1,
      anon_sym_SLASH,
    ACTIONS(310), 1,
      anon_sym_AT,
    STATE(88), 1,
      aux_sym_package_decl_repeat2,
    STATE(92), 1,
      sym__uri_tail,
    STATE(142), 1,
      sym__version,
    STATE(82), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(312), 4,
      anon_sym_SEMI,
      anon_sym_as,
      anon_sym_with,
      anon_sym_DOT,
  [3120] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(204), 1,
      anon_sym_AT,
    STATE(83), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(314), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3144] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(206), 1,
      anon_sym_AT,
    STATE(84), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(316), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3168] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(202), 1,
      anon_sym_AT,
    STATE(85), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(318), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3192] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(198), 1,
      anon_sym_AT,
    STATE(86), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(320), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3216] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(200), 1,
      anon_sym_AT,
    STATE(87), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(322), 8,
      anon_sym_use,
      sym_id,
      anon_sym_type,
      anon_sym_record,
      anon_sym_flags,
      anon_sym_variant,
      anon_sym_enum,
      anon_sym_resource,
  [3240] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(324), 1,
      anon_sym_SLASH,
    STATE(92), 1,
      sym__uri_tail,
    STATE(88), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym_package_decl_repeat2,
    ACTIONS(327), 5,
      anon_sym_AT,
      anon_sym_SEMI,
      anon_sym_as,
      anon_sym_with,
      anon_sym_DOT,
  [3265] = 9,
    ACTIONS(9), 1,
      anon_sym_AT,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(329), 1,
      anon_sym_world,
    ACTIONS(331), 1,
      anon_sym_interface,
    STATE(26), 1,
      aux_sym__gate,
    STATE(37), 1,
      sym__gate_item,
    STATE(89), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(36), 3,
      sym_unstable_gate,
      sym_since_gate,
      sym_deprecated_gate,
  [3296] = 10,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(308), 1,
      anon_sym_SLASH,
    ACTIONS(310), 1,
      anon_sym_AT,
    ACTIONS(333), 1,
      anon_sym_COLON,
    ACTIONS(335), 1,
      anon_sym_SEMI,
    STATE(92), 1,
      sym__uri_tail,
    STATE(112), 1,
      aux_sym_package_decl_repeat2,
    STATE(284), 1,
      sym__version,
    STATE(90), 2,
      sym_line_comment,
      sym_block_comment,
  [3328] = 8,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(337), 1,
      sym_id,
    ACTIONS(340), 1,
      anon_sym_RBRACE,
    ACTIONS(342), 1,
      anon_sym_constructor,
    STATE(176), 1,
      sym_func_item,
    STATE(177), 1,
      sym_resource_method,
    STATE(91), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__resource_body_repeat1,
  [3355] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(345), 1,
      anon_sym_SLASH,
    STATE(92), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(347), 5,
      anon_sym_AT,
      anon_sym_SEMI,
      anon_sym_as,
      anon_sym_with,
      anon_sym_DOT,
  [3376] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(93), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(349), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3395] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(351), 1,
      anon_sym_SLASH,
    STATE(94), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(353), 5,
      anon_sym_AT,
      anon_sym_SEMI,
      anon_sym_as,
      anon_sym_with,
      anon_sym_DOT,
  [3416] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(95), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(355), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3435] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(357), 1,
      sym_id,
    ACTIONS(359), 1,
      anon_sym_RBRACE,
    ACTIONS(361), 1,
      anon_sym_constructor,
    STATE(109), 1,
      aux_sym__resource_body_repeat1,
    STATE(176), 1,
      sym_func_item,
    STATE(177), 1,
      sym_resource_method,
    STATE(96), 2,
      sym_line_comment,
      sym_block_comment,
  [3464] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(97), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(363), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3483] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(98), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(365), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3502] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(99), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(367), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3521] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(100), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(369), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3540] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(101), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(371), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3559] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(102), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(373), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3578] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(103), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(375), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3597] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(379), 1,
      anon_sym_LT,
    STATE(104), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(377), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [3618] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(383), 1,
      anon_sym_LT,
    STATE(105), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(381), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [3639] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(106), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(385), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3658] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(389), 1,
      anon_sym_LT,
    STATE(107), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(387), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [3679] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(391), 1,
      sym_id,
    ACTIONS(393), 1,
      anon_sym_interface,
    ACTIONS(395), 1,
      anon_sym_async,
    ACTIONS(397), 1,
      anon_sym_func,
    STATE(51), 1,
      sym_extern_type,
    STATE(268), 1,
      sym_func_type,
    STATE(108), 2,
      sym_line_comment,
      sym_block_comment,
  [3708] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(357), 1,
      sym_id,
    ACTIONS(361), 1,
      anon_sym_constructor,
    ACTIONS(399), 1,
      anon_sym_RBRACE,
    STATE(91), 1,
      aux_sym__resource_body_repeat1,
    STATE(176), 1,
      sym_func_item,
    STATE(177), 1,
      sym_resource_method,
    STATE(109), 2,
      sym_line_comment,
      sym_block_comment,
  [3737] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(110), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(401), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3756] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(111), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(403), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3775] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(308), 1,
      anon_sym_SLASH,
    ACTIONS(310), 1,
      anon_sym_AT,
    ACTIONS(405), 1,
      anon_sym_SEMI,
    STATE(88), 1,
      aux_sym_package_decl_repeat2,
    STATE(92), 1,
      sym__uri_tail,
    STATE(299), 1,
      sym__version,
    STATE(112), 2,
      sym_line_comment,
      sym_block_comment,
  [3804] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(113), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(407), 6,
      ts_builtin_sym_end,
      anon_sym_AT,
      anon_sym_package,
      anon_sym_use,
      anon_sym_world,
      anon_sym_interface,
  [3823] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(357), 1,
      sym_id,
    ACTIONS(361), 1,
      anon_sym_constructor,
    ACTIONS(409), 1,
      anon_sym_RBRACE,
    STATE(115), 1,
      aux_sym__resource_body_repeat1,
    STATE(176), 1,
      sym_func_item,
    STATE(177), 1,
      sym_resource_method,
    STATE(114), 2,
      sym_line_comment,
      sym_block_comment,
  [3852] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(357), 1,
      sym_id,
    ACTIONS(361), 1,
      anon_sym_constructor,
    ACTIONS(411), 1,
      anon_sym_RBRACE,
    STATE(91), 1,
      aux_sym__resource_body_repeat1,
    STATE(176), 1,
      sym_func_item,
    STATE(177), 1,
      sym_resource_method,
    STATE(115), 2,
      sym_line_comment,
      sym_block_comment,
  [3881] = 9,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(391), 1,
      sym_id,
    ACTIONS(393), 1,
      anon_sym_interface,
    ACTIONS(395), 1,
      anon_sym_async,
    ACTIONS(397), 1,
      anon_sym_func,
    STATE(50), 1,
      sym_extern_type,
    STATE(268), 1,
      sym_func_type,
    STATE(116), 2,
      sym_line_comment,
      sym_block_comment,
  [3910] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(117), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(413), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [3928] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(118), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(415), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [3946] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(119), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(417), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [3964] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(120), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(419), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [3982] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(121), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(421), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [4000] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(122), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(423), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [4018] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(123), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(425), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [4036] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(333), 1,
      anon_sym_COLON,
    STATE(124), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(427), 4,
      anon_sym_SEMI,
      anon_sym_as,
      anon_sym_with,
      anon_sym_DOT,
  [4056] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(125), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(423), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [4074] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(126), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(429), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [4092] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(127), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(431), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [4110] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(128), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(433), 5,
      anon_sym_SEMI,
      anon_sym_RBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_GT,
  [4128] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(435), 1,
      sym_id,
    ACTIONS(437), 1,
      anon_sym_RPAREN,
    STATE(158), 1,
      sym_named_type,
    STATE(269), 1,
      sym__named_type_list,
    STATE(129), 2,
      sym_line_comment,
      sym_block_comment,
  [4151] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(439), 1,
      sym_id,
    STATE(159), 1,
      aux_sym_package_decl_repeat1,
    STATE(303), 1,
      sym__uri_head,
    STATE(361), 1,
      sym_use_path,
    STATE(130), 2,
      sym_line_comment,
      sym_block_comment,
  [4174] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(441), 1,
      sym_id,
    STATE(145), 1,
      sym_use_names_item,
    STATE(234), 1,
      sym_alias_item,
    STATE(300), 1,
      sym__use_names_list,
    STATE(131), 2,
      sym_line_comment,
      sym_block_comment,
  [4197] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(439), 1,
      sym_id,
    STATE(159), 1,
      aux_sym_package_decl_repeat1,
    STATE(303), 1,
      sym__uri_head,
    STATE(308), 1,
      sym_use_path,
    STATE(132), 2,
      sym_line_comment,
      sym_block_comment,
  [4220] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(443), 1,
      sym_id,
    STATE(159), 1,
      aux_sym_package_decl_repeat1,
    STATE(303), 1,
      sym__uri_head,
    STATE(310), 1,
      sym_use_path,
    STATE(133), 2,
      sym_line_comment,
      sym_block_comment,
  [4243] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(445), 1,
      sym_id,
    STATE(159), 1,
      aux_sym_package_decl_repeat1,
    STATE(303), 1,
      sym__uri_head,
    STATE(312), 1,
      sym_use_path,
    STATE(134), 2,
      sym_line_comment,
      sym_block_comment,
  [4266] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(439), 1,
      sym_id,
    STATE(159), 1,
      aux_sym_package_decl_repeat1,
    STATE(241), 1,
      sym_use_path,
    STATE(303), 1,
      sym__uri_head,
    STATE(135), 2,
      sym_line_comment,
      sym_block_comment,
  [4289] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(447), 1,
      anon_sym_async,
    ACTIONS(449), 1,
      anon_sym_func,
    ACTIONS(451), 1,
      anon_sym_static,
    STATE(339), 1,
      sym_func_type,
    STATE(136), 2,
      sym_line_comment,
      sym_block_comment,
  [4312] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(441), 1,
      sym_id,
    ACTIONS(453), 1,
      anon_sym_RBRACE,
    STATE(223), 1,
      sym_use_names_item,
    STATE(234), 1,
      sym_alias_item,
    STATE(137), 2,
      sym_line_comment,
      sym_block_comment,
  [4335] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(439), 1,
      sym_id,
    STATE(159), 1,
      aux_sym_package_decl_repeat1,
    STATE(206), 1,
      sym_use_path,
    STATE(303), 1,
      sym__uri_head,
    STATE(138), 2,
      sym_line_comment,
      sym_block_comment,
  [4358] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(435), 1,
      sym_id,
    ACTIONS(455), 1,
      anon_sym_RPAREN,
    STATE(158), 1,
      sym_named_type,
    STATE(295), 1,
      sym__named_type_list,
    STATE(139), 2,
      sym_line_comment,
      sym_block_comment,
  [4381] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(441), 1,
      sym_id,
    ACTIONS(457), 1,
      anon_sym_RBRACE,
    STATE(223), 1,
      sym_use_names_item,
    STATE(234), 1,
      sym_alias_item,
    STATE(140), 2,
      sym_line_comment,
      sym_block_comment,
  [4404] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(141), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(459), 4,
      anon_sym_SEMI,
      anon_sym_as,
      anon_sym_with,
      anon_sym_DOT,
  [4421] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    STATE(142), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(461), 4,
      anon_sym_SEMI,
      anon_sym_as,
      anon_sym_with,
      anon_sym_DOT,
  [4438] = 7,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(308), 1,
      anon_sym_SLASH,
    ACTIONS(333), 1,
      anon_sym_COLON,
    STATE(82), 1,
      aux_sym_package_decl_repeat2,
    STATE(92), 1,
      sym__uri_tail,
    STATE(143), 2,
      sym_line_comment,
      sym_block_comment,
  [4461] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(463), 1,
      sym_id,
    ACTIONS(465), 1,
      anon_sym_RBRACE,
    STATE(212), 1,
      sym_record_field,
    STATE(144), 2,
      sym_line_comment,
      sym_block_comment,
  [4481] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(467), 1,
      anon_sym_RBRACE,
    ACTIONS(469), 1,
      anon_sym_COMMA,
    STATE(161), 1,
      aux_sym__use_names_list_repeat1,
    STATE(145), 2,
      sym_line_comment,
      sym_block_comment,
  [4501] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(471), 1,
      anon_sym_RBRACE,
    ACTIONS(473), 1,
      anon_sym_COMMA,
    STATE(150), 1,
      aux_sym__record_fields_repeat1,
    STATE(146), 2,
      sym_line_comment,
      sym_block_comment,
  [4521] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(475), 1,
      anon_sym_RBRACE,
    ACTIONS(477), 1,
      anon_sym_COMMA,
    STATE(151), 1,
      aux_sym__flags_fields_repeat1,
    STATE(147), 2,
      sym_line_comment,
      sym_block_comment,
  [4541] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(479), 1,
      anon_sym_RBRACE,
    ACTIONS(481), 1,
      anon_sym_COMMA,
    STATE(163), 1,
      aux_sym__include_names_list_repeat1,
    STATE(148), 2,
      sym_line_comment,
      sym_block_comment,
  [4561] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(463), 1,
      sym_id,
    ACTIONS(483), 1,
      anon_sym_RBRACE,
    STATE(212), 1,
      sym_record_field,
    STATE(149), 2,
      sym_line_comment,
      sym_block_comment,
  [4581] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(483), 1,
      anon_sym_RBRACE,
    ACTIONS(485), 1,
      anon_sym_COMMA,
    STATE(166), 1,
      aux_sym__record_fields_repeat1,
    STATE(150), 2,
      sym_line_comment,
      sym_block_comment,
  [4601] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(487), 1,
      anon_sym_RBRACE,
    ACTIONS(489), 1,
      anon_sym_COMMA,
    STATE(168), 1,
      aux_sym__flags_fields_repeat1,
    STATE(151), 2,
      sym_line_comment,
      sym_block_comment,
  [4621] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(491), 1,
      sym_id,
    ACTIONS(493), 1,
      anon_sym_RBRACE,
    STATE(215), 1,
      sym_variant_case,
    STATE(152), 2,
      sym_line_comment,
      sym_block_comment,
  [4641] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(493), 1,
      anon_sym_RBRACE,
    ACTIONS(495), 1,
      anon_sym_COMMA,
    STATE(170), 1,
      aux_sym__variant_cases_repeat1,
    STATE(153), 2,
      sym_line_comment,
      sym_block_comment,
  [4661] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(497), 1,
      anon_sym_RBRACE,
    ACTIONS(499), 1,
      anon_sym_COMMA,
    STATE(171), 1,
      aux_sym__enum_cases_repeat1,
    STATE(154), 2,
      sym_line_comment,
      sym_block_comment,
  [4681] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(501), 1,
      sym_id,
    STATE(193), 1,
      aux_sym_package_decl_repeat1,
    STATE(303), 1,
      sym__uri_head,
    STATE(155), 2,
      sym_line_comment,
      sym_block_comment,
  [4701] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(505), 1,
      anon_sym_LPAREN,
    ACTIONS(503), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(156), 2,
      sym_line_comment,
      sym_block_comment,
  [4719] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(507), 1,
      anon_sym_SEMI,
    ACTIONS(509), 1,
      anon_sym_DASH_GT,
    STATE(357), 1,
      sym_result_list,
    STATE(157), 2,
      sym_line_comment,
      sym_block_comment,
  [4739] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(511), 1,
      anon_sym_COMMA,
    ACTIONS(513), 1,
      anon_sym_RPAREN,
    STATE(175), 1,
      aux_sym__named_type_list_repeat1,
    STATE(158), 2,
      sym_line_comment,
      sym_block_comment,
  [4759] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(515), 1,
      sym_id,
    STATE(193), 1,
      aux_sym_package_decl_repeat1,
    STATE(303), 1,
      sym__uri_head,
    STATE(159), 2,
      sym_line_comment,
      sym_block_comment,
  [4779] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(517), 1,
      anon_sym_RBRACE,
    ACTIONS(519), 1,
      anon_sym_COMMA,
    STATE(153), 1,
      aux_sym__variant_cases_repeat1,
    STATE(160), 2,
      sym_line_comment,
      sym_block_comment,
  [4799] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(453), 1,
      anon_sym_RBRACE,
    ACTIONS(521), 1,
      anon_sym_COMMA,
    STATE(178), 1,
      aux_sym__use_names_list_repeat1,
    STATE(161), 2,
      sym_line_comment,
      sym_block_comment,
  [4819] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(523), 1,
      sym_id,
    ACTIONS(525), 1,
      anon_sym_RBRACE,
    STATE(226), 1,
      sym_include_names_item,
    STATE(162), 2,
      sym_line_comment,
      sym_block_comment,
  [4839] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(525), 1,
      anon_sym_RBRACE,
    ACTIONS(527), 1,
      anon_sym_COMMA,
    STATE(180), 1,
      aux_sym__include_names_list_repeat1,
    STATE(163), 2,
      sym_line_comment,
      sym_block_comment,
  [4859] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(529), 1,
      anon_sym_COMMA,
    ACTIONS(531), 1,
      anon_sym_GT,
    STATE(181), 1,
      aux_sym_tuple_list_repeat1,
    STATE(164), 2,
      sym_line_comment,
      sym_block_comment,
  [4879] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(533), 1,
      anon_sym_RBRACE,
    ACTIONS(535), 1,
      anon_sym_COMMA,
    STATE(154), 1,
      aux_sym__enum_cases_repeat1,
    STATE(165), 2,
      sym_line_comment,
      sym_block_comment,
  [4899] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(537), 1,
      anon_sym_RBRACE,
    ACTIONS(539), 1,
      anon_sym_COMMA,
    STATE(166), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__record_fields_repeat1,
  [4917] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(542), 1,
      sym_id,
    STATE(155), 1,
      aux_sym_package_decl_repeat1,
    STATE(303), 1,
      sym__uri_head,
    STATE(167), 2,
      sym_line_comment,
      sym_block_comment,
  [4937] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(544), 1,
      anon_sym_RBRACE,
    ACTIONS(546), 1,
      anon_sym_COMMA,
    STATE(168), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__flags_fields_repeat1,
  [4955] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(491), 1,
      sym_id,
    ACTIONS(549), 1,
      anon_sym_RBRACE,
    STATE(215), 1,
      sym_variant_case,
    STATE(169), 2,
      sym_line_comment,
      sym_block_comment,
  [4975] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(551), 1,
      anon_sym_RBRACE,
    ACTIONS(553), 1,
      anon_sym_COMMA,
    STATE(170), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__variant_cases_repeat1,
  [4993] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(556), 1,
      anon_sym_RBRACE,
    ACTIONS(558), 1,
      anon_sym_COMMA,
    STATE(171), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__enum_cases_repeat1,
  [5011] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(463), 1,
      sym_id,
    STATE(146), 1,
      sym_record_field,
    STATE(320), 1,
      sym__record_fields,
    STATE(172), 2,
      sym_line_comment,
      sym_block_comment,
  [5031] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(563), 1,
      anon_sym_RBRACE,
    ACTIONS(561), 2,
      sym_id,
      anon_sym_constructor,
    STATE(173), 2,
      sym_line_comment,
      sym_block_comment,
  [5049] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(435), 1,
      sym_id,
    ACTIONS(565), 1,
      anon_sym_RPAREN,
    STATE(233), 1,
      sym_named_type,
    STATE(174), 2,
      sym_line_comment,
      sym_block_comment,
  [5069] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(565), 1,
      anon_sym_RPAREN,
    ACTIONS(567), 1,
      anon_sym_COMMA,
    STATE(185), 1,
      aux_sym__named_type_list_repeat1,
    STATE(175), 2,
      sym_line_comment,
      sym_block_comment,
  [5089] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(571), 1,
      anon_sym_RBRACE,
    ACTIONS(569), 2,
      sym_id,
      anon_sym_constructor,
    STATE(176), 2,
      sym_line_comment,
      sym_block_comment,
  [5107] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      anon_sym_RBRACE,
    ACTIONS(573), 2,
      sym_id,
      anon_sym_constructor,
    STATE(177), 2,
      sym_line_comment,
      sym_block_comment,
  [5125] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      anon_sym_RBRACE,
    ACTIONS(579), 1,
      anon_sym_COMMA,
    STATE(178), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__use_names_list_repeat1,
  [5143] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(523), 1,
      sym_id,
    ACTIONS(582), 1,
      anon_sym_RBRACE,
    STATE(226), 1,
      sym_include_names_item,
    STATE(179), 2,
      sym_line_comment,
      sym_block_comment,
  [5163] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(584), 1,
      anon_sym_RBRACE,
    ACTIONS(586), 1,
      anon_sym_COMMA,
    STATE(180), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__include_names_list_repeat1,
  [5181] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(106), 1,
      anon_sym_GT,
    ACTIONS(589), 1,
      anon_sym_COMMA,
    STATE(187), 1,
      aux_sym_tuple_list_repeat1,
    STATE(181), 2,
      sym_line_comment,
      sym_block_comment,
  [5201] = 6,
    ACTIONS(3), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(591), 1,
      anon_sym_SLASH_SLASH2,
    ACTIONS(593), 1,
      anon_sym_SLASH2,
    ACTIONS(595), 1,
      aux_sym_line_comment_token2,
    STATE(182), 2,
      sym_line_comment,
      sym_block_comment,
  [5221] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(491), 1,
      sym_id,
    STATE(160), 1,
      sym_variant_case,
    STATE(348), 1,
      sym__variant_cases,
    STATE(183), 2,
      sym_line_comment,
      sym_block_comment,
  [5241] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(435), 1,
      sym_id,
    ACTIONS(597), 1,
      anon_sym_RPAREN,
    STATE(233), 1,
      sym_named_type,
    STATE(184), 2,
      sym_line_comment,
      sym_block_comment,
  [5261] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(599), 1,
      anon_sym_COMMA,
    ACTIONS(602), 1,
      anon_sym_RPAREN,
    STATE(185), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym__named_type_list_repeat1,
  [5279] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(441), 1,
      sym_id,
    STATE(223), 1,
      sym_use_names_item,
    STATE(234), 1,
      sym_alias_item,
    STATE(186), 2,
      sym_line_comment,
      sym_block_comment,
  [5299] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(604), 1,
      anon_sym_COMMA,
    ACTIONS(607), 1,
      anon_sym_GT,
    STATE(187), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym_tuple_list_repeat1,
  [5317] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(611), 1,
      anon_sym_RBRACE,
    ACTIONS(609), 2,
      sym_id,
      anon_sym_constructor,
    STATE(188), 2,
      sym_line_comment,
      sym_block_comment,
  [5335] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(509), 1,
      anon_sym_DASH_GT,
    ACTIONS(613), 1,
      anon_sym_SEMI,
    STATE(273), 1,
      sym_result_list,
    STATE(189), 2,
      sym_line_comment,
      sym_block_comment,
  [5355] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(278), 1,
      anon_sym_RBRACE,
    ACTIONS(280), 2,
      sym_id,
      anon_sym_constructor,
    STATE(190), 2,
      sym_line_comment,
      sym_block_comment,
  [5373] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(447), 1,
      anon_sym_async,
    ACTIONS(449), 1,
      anon_sym_func,
    STATE(307), 1,
      sym_func_type,
    STATE(191), 2,
      sym_line_comment,
      sym_block_comment,
  [5393] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(615), 1,
      anon_sym_STAR_SLASH,
    ACTIONS(617), 1,
      sym__block_comment_content,
    ACTIONS(619), 1,
      sym__block_doc_comment_marker,
    STATE(192), 2,
      sym_line_comment,
      sym_block_comment,
  [5413] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(621), 1,
      sym_id,
    STATE(303), 1,
      sym__uri_head,
    STATE(193), 3,
      sym_line_comment,
      sym_block_comment,
      aux_sym_package_decl_repeat1,
  [5431] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(624), 1,
      anon_sym_unstable,
    ACTIONS(626), 1,
      anon_sym_since,
    ACTIONS(628), 1,
      anon_sym_deprecated,
    STATE(194), 2,
      sym_line_comment,
      sym_block_comment,
  [5451] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(523), 1,
      sym_id,
    STATE(148), 1,
      sym_include_names_item,
    STATE(325), 1,
      sym__include_names_list,
    STATE(195), 2,
      sym_line_comment,
      sym_block_comment,
  [5471] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(463), 1,
      sym_id,
    STATE(146), 1,
      sym_record_field,
    STATE(342), 1,
      sym__record_fields,
    STATE(196), 2,
      sym_line_comment,
      sym_block_comment,
  [5491] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(491), 1,
      sym_id,
    STATE(160), 1,
      sym_variant_case,
    STATE(344), 1,
      sym__variant_cases,
    STATE(197), 2,
      sym_line_comment,
      sym_block_comment,
  [5511] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(630), 1,
      anon_sym_unstable,
    ACTIONS(632), 1,
      anon_sym_since,
    ACTIONS(634), 1,
      anon_sym_deprecated,
    STATE(198), 2,
      sym_line_comment,
      sym_block_comment,
  [5531] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(636), 1,
      anon_sym_as,
    ACTIONS(638), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(199), 2,
      sym_line_comment,
      sym_block_comment,
  [5549] = 6,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(447), 1,
      anon_sym_async,
    ACTIONS(449), 1,
      anon_sym_func,
    STATE(289), 1,
      sym_func_type,
    STATE(200), 2,
      sym_line_comment,
      sym_block_comment,
  [5569] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(640), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(201), 2,
      sym_line_comment,
      sym_block_comment,
  [5584] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(642), 1,
      anon_sym_LBRACE,
    STATE(56), 1,
      sym__interface_body,
    STATE(202), 2,
      sym_line_comment,
      sym_block_comment,
  [5601] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(487), 1,
      anon_sym_RBRACE,
    ACTIONS(644), 1,
      sym_id,
    STATE(203), 2,
      sym_line_comment,
      sym_block_comment,
  [5618] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(646), 1,
      anon_sym_LBRACE,
    STATE(106), 1,
      sym__world_body,
    STATE(204), 2,
      sym_line_comment,
      sym_block_comment,
  [5635] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(497), 1,
      anon_sym_RBRACE,
    ACTIONS(648), 1,
      sym_id,
    STATE(205), 2,
      sym_line_comment,
      sym_block_comment,
  [5652] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      anon_sym_SEMI,
    ACTIONS(652), 1,
      anon_sym_as,
    STATE(206), 2,
      sym_line_comment,
      sym_block_comment,
  [5669] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(654), 2,
      anon_sym_SEMI,
      anon_sym_DASH_GT,
    STATE(207), 2,
      sym_line_comment,
      sym_block_comment,
  [5684] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(646), 1,
      anon_sym_LBRACE,
    STATE(103), 1,
      sym__world_body,
    STATE(208), 2,
      sym_line_comment,
      sym_block_comment,
  [5701] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(656), 1,
      anon_sym_COMMA,
    ACTIONS(658), 1,
      anon_sym_GT,
    STATE(209), 2,
      sym_line_comment,
      sym_block_comment,
  [5718] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(660), 1,
      anon_sym_COMMA,
    ACTIONS(662), 1,
      anon_sym_GT,
    STATE(210), 2,
      sym_line_comment,
      sym_block_comment,
  [5735] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(664), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(211), 2,
      sym_line_comment,
      sym_block_comment,
  [5750] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(537), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(212), 2,
      sym_line_comment,
      sym_block_comment,
  [5765] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(644), 1,
      sym_id,
    ACTIONS(666), 1,
      anon_sym_RBRACE,
    STATE(213), 2,
      sym_line_comment,
      sym_block_comment,
  [5782] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(642), 1,
      anon_sym_LBRACE,
    STATE(111), 1,
      sym__interface_body,
    STATE(214), 2,
      sym_line_comment,
      sym_block_comment,
  [5799] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(551), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(215), 2,
      sym_line_comment,
      sym_block_comment,
  [5814] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(668), 1,
      sym_id,
    STATE(337), 1,
      sym__flags_fields,
    STATE(216), 2,
      sym_line_comment,
      sym_block_comment,
  [5831] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(670), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(217), 2,
      sym_line_comment,
      sym_block_comment,
  [5846] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(648), 1,
      sym_id,
    ACTIONS(672), 1,
      anon_sym_RBRACE,
    STATE(218), 2,
      sym_line_comment,
      sym_block_comment,
  [5863] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(642), 1,
      anon_sym_LBRACE,
    STATE(99), 1,
      sym__interface_body,
    STATE(219), 2,
      sym_line_comment,
      sym_block_comment,
  [5880] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(674), 2,
      anon_sym_SEMI,
      anon_sym_DASH_GT,
    STATE(220), 2,
      sym_line_comment,
      sym_block_comment,
  [5895] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(676), 1,
      anon_sym_STAR_SLASH,
    ACTIONS(678), 1,
      sym__block_comment_content,
    STATE(221), 2,
      sym_line_comment,
      sym_block_comment,
  [5912] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(680), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(222), 2,
      sym_line_comment,
      sym_block_comment,
  [5927] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(223), 2,
      sym_line_comment,
      sym_block_comment,
  [5942] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_LPAREN,
    STATE(346), 1,
      sym_param_list,
    STATE(224), 2,
      sym_line_comment,
      sym_block_comment,
  [5959] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(684), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(225), 2,
      sym_line_comment,
      sym_block_comment,
  [5974] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(584), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(226), 2,
      sym_line_comment,
      sym_block_comment,
  [5989] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(686), 1,
      sym_id,
    STATE(264), 1,
      sym__enum_cases,
    STATE(227), 2,
      sym_line_comment,
      sym_block_comment,
  [6006] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_LPAREN,
    STATE(157), 1,
      sym_param_list,
    STATE(228), 2,
      sym_line_comment,
      sym_block_comment,
  [6023] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(686), 1,
      sym_id,
    STATE(345), 1,
      sym__enum_cases,
    STATE(229), 2,
      sym_line_comment,
      sym_block_comment,
  [6040] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(688), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(230), 2,
      sym_line_comment,
      sym_block_comment,
  [6055] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(491), 1,
      sym_id,
    STATE(215), 1,
      sym_variant_case,
    STATE(231), 2,
      sym_line_comment,
      sym_block_comment,
  [6072] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(690), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    STATE(232), 2,
      sym_line_comment,
      sym_block_comment,
  [6087] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(602), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    STATE(233), 2,
      sym_line_comment,
      sym_block_comment,
  [6102] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(638), 2,
      anon_sym_RBRACE,
      anon_sym_COMMA,
    STATE(234), 2,
      sym_line_comment,
      sym_block_comment,
  [6117] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(523), 1,
      sym_id,
    STATE(226), 1,
      sym_include_names_item,
    STATE(235), 2,
      sym_line_comment,
      sym_block_comment,
  [6134] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(607), 2,
      anon_sym_COMMA,
      anon_sym_GT,
    STATE(236), 2,
      sym_line_comment,
      sym_block_comment,
  [6149] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_LPAREN,
    STATE(189), 1,
      sym_param_list,
    STATE(237), 2,
      sym_line_comment,
      sym_block_comment,
  [6166] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(435), 1,
      sym_id,
    STATE(233), 1,
      sym_named_type,
    STATE(238), 2,
      sym_line_comment,
      sym_block_comment,
  [6183] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(427), 1,
      anon_sym_SEMI,
    ACTIONS(692), 1,
      anon_sym_COLON,
    STATE(239), 2,
      sym_line_comment,
      sym_block_comment,
  [6200] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(427), 1,
      anon_sym_SEMI,
    ACTIONS(694), 1,
      anon_sym_COLON,
    STATE(240), 2,
      sym_line_comment,
      sym_block_comment,
  [6217] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(696), 1,
      anon_sym_SEMI,
    ACTIONS(698), 1,
      anon_sym_with,
    STATE(241), 2,
      sym_line_comment,
      sym_block_comment,
  [6234] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(700), 1,
      anon_sym_LBRACE,
    STATE(45), 1,
      sym__record_body,
    STATE(242), 2,
      sym_line_comment,
      sym_block_comment,
  [6251] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(702), 1,
      anon_sym_LBRACE,
    STATE(46), 1,
      sym__flags_body,
    STATE(243), 2,
      sym_line_comment,
      sym_block_comment,
  [6268] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(704), 1,
      anon_sym_LBRACE,
    STATE(47), 1,
      sym__variant_body,
    STATE(244), 2,
      sym_line_comment,
      sym_block_comment,
  [6285] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(706), 1,
      anon_sym_LBRACE,
    STATE(48), 1,
      sym__enum_body,
    STATE(245), 2,
      sym_line_comment,
      sym_block_comment,
  [6302] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(708), 1,
      anon_sym_feature,
    STATE(275), 1,
      sym__feature_field,
    STATE(246), 2,
      sym_line_comment,
      sym_block_comment,
  [6319] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(710), 1,
      anon_sym_version,
    STATE(292), 1,
      sym__version_field,
    STATE(247), 2,
      sym_line_comment,
      sym_block_comment,
  [6336] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(710), 1,
      anon_sym_version,
    STATE(322), 1,
      sym__version_field,
    STATE(248), 2,
      sym_line_comment,
      sym_block_comment,
  [6353] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(712), 1,
      anon_sym_LBRACE,
    STATE(52), 1,
      sym__include_names_body,
    STATE(249), 2,
      sym_line_comment,
      sym_block_comment,
  [6370] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(714), 1,
      anon_sym_LBRACE,
    STATE(70), 1,
      sym__record_body,
    STATE(250), 2,
      sym_line_comment,
      sym_block_comment,
  [6387] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(716), 1,
      anon_sym_LBRACE,
    STATE(71), 1,
      sym__flags_body,
    STATE(251), 2,
      sym_line_comment,
      sym_block_comment,
  [6404] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(718), 1,
      anon_sym_LBRACE,
    STATE(72), 1,
      sym__variant_body,
    STATE(252), 2,
      sym_line_comment,
      sym_block_comment,
  [6421] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(720), 1,
      anon_sym_LBRACE,
    STATE(73), 1,
      sym__enum_body,
    STATE(253), 2,
      sym_line_comment,
      sym_block_comment,
  [6438] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(722), 1,
      anon_sym_LBRACE,
    STATE(326), 1,
      sym__use_names_body,
    STATE(254), 2,
      sym_line_comment,
      sym_block_comment,
  [6455] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(708), 1,
      anon_sym_feature,
    STATE(330), 1,
      sym__feature_field,
    STATE(255), 2,
      sym_line_comment,
      sym_block_comment,
  [6472] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(710), 1,
      anon_sym_version,
    STATE(331), 1,
      sym__version_field,
    STATE(256), 2,
      sym_line_comment,
      sym_block_comment,
  [6489] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(710), 1,
      anon_sym_version,
    STATE(332), 1,
      sym__version_field,
    STATE(257), 2,
      sym_line_comment,
      sym_block_comment,
  [6506] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(722), 1,
      anon_sym_LBRACE,
    STATE(340), 1,
      sym__use_names_body,
    STATE(258), 2,
      sym_line_comment,
      sym_block_comment,
  [6523] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(668), 1,
      sym_id,
    STATE(343), 1,
      sym__flags_fields,
    STATE(259), 2,
      sym_line_comment,
      sym_block_comment,
  [6540] = 5,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(463), 1,
      sym_id,
    STATE(212), 1,
      sym_record_field,
    STATE(260), 2,
      sym_line_comment,
      sym_block_comment,
  [6557] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(724), 1,
      sym_id,
    STATE(261), 2,
      sym_line_comment,
      sym_block_comment,
  [6571] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(726), 1,
      anon_sym_LPAREN,
    STATE(262), 2,
      sym_line_comment,
      sym_block_comment,
  [6585] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(728), 1,
      anon_sym_LT,
    STATE(263), 2,
      sym_line_comment,
      sym_block_comment,
  [6599] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(730), 1,
      anon_sym_RBRACE,
    STATE(264), 2,
      sym_line_comment,
      sym_block_comment,
  [6613] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(732), 1,
      anon_sym_COLON,
    STATE(265), 2,
      sym_line_comment,
      sym_block_comment,
  [6627] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(734), 1,
      anon_sym_COLON,
    STATE(266), 2,
      sym_line_comment,
      sym_block_comment,
  [6641] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(736), 1,
      anon_sym_SEMI,
    STATE(267), 2,
      sym_line_comment,
      sym_block_comment,
  [6655] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(738), 1,
      anon_sym_SEMI,
    STATE(268), 2,
      sym_line_comment,
      sym_block_comment,
  [6669] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(740), 1,
      anon_sym_RPAREN,
    STATE(269), 2,
      sym_line_comment,
      sym_block_comment,
  [6683] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(742), 1,
      anon_sym_LT,
    STATE(270), 2,
      sym_line_comment,
      sym_block_comment,
  [6697] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(744), 1,
      anon_sym_EQ,
    STATE(271), 2,
      sym_line_comment,
      sym_block_comment,
  [6711] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(746), 1,
      anon_sym_LT,
    STATE(272), 2,
      sym_line_comment,
      sym_block_comment,
  [6725] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(507), 1,
      anon_sym_SEMI,
    STATE(273), 2,
      sym_line_comment,
      sym_block_comment,
  [6739] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(748), 1,
      sym_id,
    STATE(274), 2,
      sym_line_comment,
      sym_block_comment,
  [6753] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(750), 1,
      anon_sym_RPAREN,
    STATE(275), 2,
      sym_line_comment,
      sym_block_comment,
  [6767] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(752), 1,
      sym_id,
    STATE(276), 2,
      sym_line_comment,
      sym_block_comment,
  [6781] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(754), 1,
      anon_sym_SEMI,
    STATE(277), 2,
      sym_line_comment,
      sym_block_comment,
  [6795] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(756), 1,
      sym_id,
    STATE(278), 2,
      sym_line_comment,
      sym_block_comment,
  [6809] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(758), 1,
      sym_uint,
    STATE(279), 2,
      sym_line_comment,
      sym_block_comment,
  [6823] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(760), 1,
      sym_id,
    STATE(280), 2,
      sym_line_comment,
      sym_block_comment,
  [6837] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(762), 1,
      sym__valid_semver,
    STATE(281), 2,
      sym_line_comment,
      sym_block_comment,
  [6851] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(764), 1,
      ts_builtin_sym_end,
    STATE(282), 2,
      sym_line_comment,
      sym_block_comment,
  [6865] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(766), 1,
      anon_sym_EQ,
    STATE(283), 2,
      sym_line_comment,
      sym_block_comment,
  [6879] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(405), 1,
      anon_sym_SEMI,
    STATE(284), 2,
      sym_line_comment,
      sym_block_comment,
  [6893] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(644), 1,
      sym_id,
    STATE(285), 2,
      sym_line_comment,
      sym_block_comment,
  [6907] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(768), 1,
      anon_sym_LT,
    STATE(286), 2,
      sym_line_comment,
      sym_block_comment,
  [6921] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(770), 1,
      sym_id,
    STATE(287), 2,
      sym_line_comment,
      sym_block_comment,
  [6935] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(648), 1,
      sym_id,
    STATE(288), 2,
      sym_line_comment,
      sym_block_comment,
  [6949] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(772), 1,
      anon_sym_SEMI,
    STATE(289), 2,
      sym_line_comment,
      sym_block_comment,
  [6963] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(333), 1,
      anon_sym_COLON,
    STATE(290), 2,
      sym_line_comment,
      sym_block_comment,
  [6977] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(676), 1,
      anon_sym_STAR_SLASH,
    STATE(291), 2,
      sym_line_comment,
      sym_block_comment,
  [6991] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(774), 1,
      anon_sym_RPAREN,
    STATE(292), 2,
      sym_line_comment,
      sym_block_comment,
  [7005] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(776), 1,
      anon_sym_func,
    STATE(293), 2,
      sym_line_comment,
      sym_block_comment,
  [7019] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(778), 1,
      anon_sym_SEMI,
    STATE(294), 2,
      sym_line_comment,
      sym_block_comment,
  [7033] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(780), 1,
      anon_sym_RPAREN,
    STATE(295), 2,
      sym_line_comment,
      sym_block_comment,
  [7047] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(782), 1,
      anon_sym_SEMI,
    STATE(296), 2,
      sym_line_comment,
      sym_block_comment,
  [7061] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(784), 1,
      anon_sym_SEMI,
    STATE(297), 2,
      sym_line_comment,
      sym_block_comment,
  [7075] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(786), 1,
      anon_sym_GT,
    STATE(298), 2,
      sym_line_comment,
      sym_block_comment,
  [7089] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(788), 1,
      anon_sym_SEMI,
    STATE(299), 2,
      sym_line_comment,
      sym_block_comment,
  [7103] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(790), 1,
      anon_sym_RBRACE,
    STATE(300), 2,
      sym_line_comment,
      sym_block_comment,
  [7117] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(792), 1,
      anon_sym_GT,
    STATE(301), 2,
      sym_line_comment,
      sym_block_comment,
  [7131] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(794), 1,
      anon_sym_GT,
    STATE(302), 2,
      sym_line_comment,
      sym_block_comment,
  [7145] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      sym_id,
    STATE(303), 2,
      sym_line_comment,
      sym_block_comment,
  [7159] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(798), 1,
      anon_sym_GT,
    STATE(304), 2,
      sym_line_comment,
      sym_block_comment,
  [7173] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(800), 1,
      anon_sym_SEMI,
    STATE(305), 2,
      sym_line_comment,
      sym_block_comment,
  [7187] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(802), 1,
      anon_sym_STAR_SLASH,
    STATE(306), 2,
      sym_line_comment,
      sym_block_comment,
  [7201] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(804), 1,
      anon_sym_SEMI,
    STATE(307), 2,
      sym_line_comment,
      sym_block_comment,
  [7215] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(806), 1,
      anon_sym_DOT,
    STATE(308), 2,
      sym_line_comment,
      sym_block_comment,
  [7229] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(660), 1,
      anon_sym_COMMA,
    STATE(309), 2,
      sym_line_comment,
      sym_block_comment,
  [7243] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(808), 1,
      anon_sym_SEMI,
    STATE(310), 2,
      sym_line_comment,
      sym_block_comment,
  [7257] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(810), 1,
      anon_sym_COLON,
    STATE(311), 2,
      sym_line_comment,
      sym_block_comment,
  [7271] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(812), 1,
      anon_sym_SEMI,
    STATE(312), 2,
      sym_line_comment,
      sym_block_comment,
  [7285] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(814), 1,
      anon_sym_LPAREN,
    STATE(313), 2,
      sym_line_comment,
      sym_block_comment,
  [7299] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(816), 1,
      anon_sym_EQ,
    STATE(314), 2,
      sym_line_comment,
      sym_block_comment,
  [7313] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(818), 1,
      anon_sym_GT,
    STATE(315), 2,
      sym_line_comment,
      sym_block_comment,
  [7327] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(820), 1,
      anon_sym_GT,
    STATE(316), 2,
      sym_line_comment,
      sym_block_comment,
  [7341] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(822), 1,
      sym_id,
    STATE(317), 2,
      sym_line_comment,
      sym_block_comment,
  [7355] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(824), 1,
      anon_sym_LPAREN,
    STATE(318), 2,
      sym_line_comment,
      sym_block_comment,
  [7369] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(826), 1,
      anon_sym_COLON,
    STATE(319), 2,
      sym_line_comment,
      sym_block_comment,
  [7383] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(828), 1,
      anon_sym_RBRACE,
    STATE(320), 2,
      sym_line_comment,
      sym_block_comment,
  [7397] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(830), 1,
      sym_id,
    STATE(321), 2,
      sym_line_comment,
      sym_block_comment,
  [7411] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(832), 1,
      anon_sym_RPAREN,
    STATE(322), 2,
      sym_line_comment,
      sym_block_comment,
  [7425] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(834), 1,
      sym_id,
    STATE(323), 2,
      sym_line_comment,
      sym_block_comment,
  [7439] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(836), 1,
      anon_sym_as,
    STATE(324), 2,
      sym_line_comment,
      sym_block_comment,
  [7453] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(838), 1,
      anon_sym_RBRACE,
    STATE(325), 2,
      sym_line_comment,
      sym_block_comment,
  [7467] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(840), 1,
      anon_sym_SEMI,
    STATE(326), 2,
      sym_line_comment,
      sym_block_comment,
  [7481] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(842), 1,
      sym_id,
    STATE(327), 2,
      sym_line_comment,
      sym_block_comment,
  [7495] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(844), 1,
      anon_sym_RPAREN,
    STATE(328), 2,
      sym_line_comment,
      sym_block_comment,
  [7509] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(846), 1,
      anon_sym_RPAREN,
    STATE(329), 2,
      sym_line_comment,
      sym_block_comment,
  [7523] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(848), 1,
      anon_sym_RPAREN,
    STATE(330), 2,
      sym_line_comment,
      sym_block_comment,
  [7537] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(850), 1,
      anon_sym_RPAREN,
    STATE(331), 2,
      sym_line_comment,
      sym_block_comment,
  [7551] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(852), 1,
      anon_sym_RPAREN,
    STATE(332), 2,
      sym_line_comment,
      sym_block_comment,
  [7565] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(854), 1,
      sym_id,
    STATE(333), 2,
      sym_line_comment,
      sym_block_comment,
  [7579] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(856), 1,
      sym__valid_semver,
    STATE(334), 2,
      sym_line_comment,
      sym_block_comment,
  [7593] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(858), 1,
      anon_sym_RPAREN,
    STATE(335), 2,
      sym_line_comment,
      sym_block_comment,
  [7607] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(860), 1,
      sym__line_doc_content,
    STATE(336), 2,
      sym_line_comment,
      sym_block_comment,
  [7621] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(862), 1,
      anon_sym_RBRACE,
    STATE(337), 2,
      sym_line_comment,
      sym_block_comment,
  [7635] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(864), 1,
      sym_id,
    STATE(338), 2,
      sym_line_comment,
      sym_block_comment,
  [7649] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(866), 1,
      anon_sym_SEMI,
    STATE(339), 2,
      sym_line_comment,
      sym_block_comment,
  [7663] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(868), 1,
      anon_sym_SEMI,
    STATE(340), 2,
      sym_line_comment,
      sym_block_comment,
  [7677] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(870), 1,
      anon_sym_SEMI,
    STATE(341), 2,
      sym_line_comment,
      sym_block_comment,
  [7691] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(872), 1,
      anon_sym_RBRACE,
    STATE(342), 2,
      sym_line_comment,
      sym_block_comment,
  [7705] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(874), 1,
      anon_sym_RBRACE,
    STATE(343), 2,
      sym_line_comment,
      sym_block_comment,
  [7719] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(876), 1,
      anon_sym_RBRACE,
    STATE(344), 2,
      sym_line_comment,
      sym_block_comment,
  [7733] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(878), 1,
      anon_sym_RBRACE,
    STATE(345), 2,
      sym_line_comment,
      sym_block_comment,
  [7747] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(880), 1,
      anon_sym_SEMI,
    STATE(346), 2,
      sym_line_comment,
      sym_block_comment,
  [7761] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(882), 1,
      sym_id,
    STATE(347), 2,
      sym_line_comment,
      sym_block_comment,
  [7775] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(884), 1,
      anon_sym_RBRACE,
    STATE(348), 2,
      sym_line_comment,
      sym_block_comment,
  [7789] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(886), 1,
      sym_id,
    STATE(349), 2,
      sym_line_comment,
      sym_block_comment,
  [7803] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(888), 1,
      sym_id,
    STATE(350), 2,
      sym_line_comment,
      sym_block_comment,
  [7817] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(890), 1,
      sym_id,
    STATE(351), 2,
      sym_line_comment,
      sym_block_comment,
  [7831] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(892), 1,
      sym_id,
    STATE(352), 2,
      sym_line_comment,
      sym_block_comment,
  [7845] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(894), 1,
      sym_id,
    STATE(353), 2,
      sym_line_comment,
      sym_block_comment,
  [7859] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(896), 1,
      sym_id,
    STATE(354), 2,
      sym_line_comment,
      sym_block_comment,
  [7873] = 4,
    ACTIONS(3), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(898), 1,
      aux_sym_line_comment_token1,
    STATE(355), 2,
      sym_line_comment,
      sym_block_comment,
  [7887] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(900), 1,
      sym_id,
    STATE(356), 2,
      sym_line_comment,
      sym_block_comment,
  [7901] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(902), 1,
      anon_sym_SEMI,
    STATE(357), 2,
      sym_line_comment,
      sym_block_comment,
  [7915] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(904), 1,
      anon_sym_LPAREN,
    STATE(358), 2,
      sym_line_comment,
      sym_block_comment,
  [7929] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(906), 1,
      anon_sym_LPAREN,
    STATE(359), 2,
      sym_line_comment,
      sym_block_comment,
  [7943] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(908), 1,
      anon_sym_LPAREN,
    STATE(360), 2,
      sym_line_comment,
      sym_block_comment,
  [7957] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(910), 1,
      anon_sym_DOT,
    STATE(361), 2,
      sym_line_comment,
      sym_block_comment,
  [7971] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(912), 1,
      anon_sym_EQ,
    STATE(362), 2,
      sym_line_comment,
      sym_block_comment,
  [7985] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(914), 1,
      sym_id,
    STATE(363), 2,
      sym_line_comment,
      sym_block_comment,
  [7999] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(916), 1,
      sym_id,
    STATE(364), 2,
      sym_line_comment,
      sym_block_comment,
  [8013] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(918), 1,
      sym_id,
    STATE(365), 2,
      sym_line_comment,
      sym_block_comment,
  [8027] = 4,
    ACTIONS(19), 1,
      anon_sym_SLASH_SLASH,
    ACTIONS(21), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(920), 1,
      anon_sym_GT,
    STATE(366), 2,
      sym_line_comment,
      sym_block_comment,
  [8041] = 1,
    ACTIONS(922), 1,
      ts_builtin_sym_end,
  [8045] = 1,
    ACTIONS(924), 1,
      ts_builtin_sym_end,
  [8049] = 1,
    ACTIONS(926), 1,
      ts_builtin_sym_end,
  [8053] = 1,
    ACTIONS(928), 1,
      ts_builtin_sym_end,
  [8057] = 1,
    ACTIONS(930), 1,
      ts_builtin_sym_end,
  [8061] = 1,
    ACTIONS(932), 1,
      ts_builtin_sym_end,
};

static const uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(2)] = 0,
  [SMALL_STATE(3)] = 65,
  [SMALL_STATE(4)] = 142,
  [SMALL_STATE(5)] = 221,
  [SMALL_STATE(6)] = 300,
  [SMALL_STATE(7)] = 365,
  [SMALL_STATE(8)] = 430,
  [SMALL_STATE(9)] = 495,
  [SMALL_STATE(10)] = 560,
  [SMALL_STATE(11)] = 622,
  [SMALL_STATE(12)] = 684,
  [SMALL_STATE(13)] = 746,
  [SMALL_STATE(14)] = 808,
  [SMALL_STATE(15)] = 870,
  [SMALL_STATE(16)] = 932,
  [SMALL_STATE(17)] = 994,
  [SMALL_STATE(18)] = 1056,
  [SMALL_STATE(19)] = 1118,
  [SMALL_STATE(20)] = 1180,
  [SMALL_STATE(21)] = 1242,
  [SMALL_STATE(22)] = 1312,
  [SMALL_STATE(23)] = 1383,
  [SMALL_STATE(24)] = 1454,
  [SMALL_STATE(25)] = 1523,
  [SMALL_STATE(26)] = 1585,
  [SMALL_STATE(27)] = 1622,
  [SMALL_STATE(28)] = 1672,
  [SMALL_STATE(29)] = 1724,
  [SMALL_STATE(30)] = 1753,
  [SMALL_STATE(31)] = 1782,
  [SMALL_STATE(32)] = 1816,
  [SMALL_STATE(33)] = 1849,
  [SMALL_STATE(34)] = 1875,
  [SMALL_STATE(35)] = 1901,
  [SMALL_STATE(36)] = 1927,
  [SMALL_STATE(37)] = 1953,
  [SMALL_STATE(38)] = 1979,
  [SMALL_STATE(39)] = 2013,
  [SMALL_STATE(40)] = 2038,
  [SMALL_STATE(41)] = 2063,
  [SMALL_STATE(42)] = 2088,
  [SMALL_STATE(43)] = 2113,
  [SMALL_STATE(44)] = 2138,
  [SMALL_STATE(45)] = 2163,
  [SMALL_STATE(46)] = 2188,
  [SMALL_STATE(47)] = 2213,
  [SMALL_STATE(48)] = 2238,
  [SMALL_STATE(49)] = 2263,
  [SMALL_STATE(50)] = 2288,
  [SMALL_STATE(51)] = 2313,
  [SMALL_STATE(52)] = 2338,
  [SMALL_STATE(53)] = 2363,
  [SMALL_STATE(54)] = 2388,
  [SMALL_STATE(55)] = 2413,
  [SMALL_STATE(56)] = 2438,
  [SMALL_STATE(57)] = 2463,
  [SMALL_STATE(58)] = 2488,
  [SMALL_STATE(59)] = 2513,
  [SMALL_STATE(60)] = 2538,
  [SMALL_STATE(61)] = 2563,
  [SMALL_STATE(62)] = 2588,
  [SMALL_STATE(63)] = 2613,
  [SMALL_STATE(64)] = 2638,
  [SMALL_STATE(65)] = 2663,
  [SMALL_STATE(66)] = 2688,
  [SMALL_STATE(67)] = 2713,
  [SMALL_STATE(68)] = 2738,
  [SMALL_STATE(69)] = 2763,
  [SMALL_STATE(70)] = 2788,
  [SMALL_STATE(71)] = 2813,
  [SMALL_STATE(72)] = 2838,
  [SMALL_STATE(73)] = 2863,
  [SMALL_STATE(74)] = 2888,
  [SMALL_STATE(75)] = 2913,
  [SMALL_STATE(76)] = 2938,
  [SMALL_STATE(77)] = 2963,
  [SMALL_STATE(78)] = 2988,
  [SMALL_STATE(79)] = 3013,
  [SMALL_STATE(80)] = 3038,
  [SMALL_STATE(81)] = 3063,
  [SMALL_STATE(82)] = 3088,
  [SMALL_STATE(83)] = 3120,
  [SMALL_STATE(84)] = 3144,
  [SMALL_STATE(85)] = 3168,
  [SMALL_STATE(86)] = 3192,
  [SMALL_STATE(87)] = 3216,
  [SMALL_STATE(88)] = 3240,
  [SMALL_STATE(89)] = 3265,
  [SMALL_STATE(90)] = 3296,
  [SMALL_STATE(91)] = 3328,
  [SMALL_STATE(92)] = 3355,
  [SMALL_STATE(93)] = 3376,
  [SMALL_STATE(94)] = 3395,
  [SMALL_STATE(95)] = 3416,
  [SMALL_STATE(96)] = 3435,
  [SMALL_STATE(97)] = 3464,
  [SMALL_STATE(98)] = 3483,
  [SMALL_STATE(99)] = 3502,
  [SMALL_STATE(100)] = 3521,
  [SMALL_STATE(101)] = 3540,
  [SMALL_STATE(102)] = 3559,
  [SMALL_STATE(103)] = 3578,
  [SMALL_STATE(104)] = 3597,
  [SMALL_STATE(105)] = 3618,
  [SMALL_STATE(106)] = 3639,
  [SMALL_STATE(107)] = 3658,
  [SMALL_STATE(108)] = 3679,
  [SMALL_STATE(109)] = 3708,
  [SMALL_STATE(110)] = 3737,
  [SMALL_STATE(111)] = 3756,
  [SMALL_STATE(112)] = 3775,
  [SMALL_STATE(113)] = 3804,
  [SMALL_STATE(114)] = 3823,
  [SMALL_STATE(115)] = 3852,
  [SMALL_STATE(116)] = 3881,
  [SMALL_STATE(117)] = 3910,
  [SMALL_STATE(118)] = 3928,
  [SMALL_STATE(119)] = 3946,
  [SMALL_STATE(120)] = 3964,
  [SMALL_STATE(121)] = 3982,
  [SMALL_STATE(122)] = 4000,
  [SMALL_STATE(123)] = 4018,
  [SMALL_STATE(124)] = 4036,
  [SMALL_STATE(125)] = 4056,
  [SMALL_STATE(126)] = 4074,
  [SMALL_STATE(127)] = 4092,
  [SMALL_STATE(128)] = 4110,
  [SMALL_STATE(129)] = 4128,
  [SMALL_STATE(130)] = 4151,
  [SMALL_STATE(131)] = 4174,
  [SMALL_STATE(132)] = 4197,
  [SMALL_STATE(133)] = 4220,
  [SMALL_STATE(134)] = 4243,
  [SMALL_STATE(135)] = 4266,
  [SMALL_STATE(136)] = 4289,
  [SMALL_STATE(137)] = 4312,
  [SMALL_STATE(138)] = 4335,
  [SMALL_STATE(139)] = 4358,
  [SMALL_STATE(140)] = 4381,
  [SMALL_STATE(141)] = 4404,
  [SMALL_STATE(142)] = 4421,
  [SMALL_STATE(143)] = 4438,
  [SMALL_STATE(144)] = 4461,
  [SMALL_STATE(145)] = 4481,
  [SMALL_STATE(146)] = 4501,
  [SMALL_STATE(147)] = 4521,
  [SMALL_STATE(148)] = 4541,
  [SMALL_STATE(149)] = 4561,
  [SMALL_STATE(150)] = 4581,
  [SMALL_STATE(151)] = 4601,
  [SMALL_STATE(152)] = 4621,
  [SMALL_STATE(153)] = 4641,
  [SMALL_STATE(154)] = 4661,
  [SMALL_STATE(155)] = 4681,
  [SMALL_STATE(156)] = 4701,
  [SMALL_STATE(157)] = 4719,
  [SMALL_STATE(158)] = 4739,
  [SMALL_STATE(159)] = 4759,
  [SMALL_STATE(160)] = 4779,
  [SMALL_STATE(161)] = 4799,
  [SMALL_STATE(162)] = 4819,
  [SMALL_STATE(163)] = 4839,
  [SMALL_STATE(164)] = 4859,
  [SMALL_STATE(165)] = 4879,
  [SMALL_STATE(166)] = 4899,
  [SMALL_STATE(167)] = 4917,
  [SMALL_STATE(168)] = 4937,
  [SMALL_STATE(169)] = 4955,
  [SMALL_STATE(170)] = 4975,
  [SMALL_STATE(171)] = 4993,
  [SMALL_STATE(172)] = 5011,
  [SMALL_STATE(173)] = 5031,
  [SMALL_STATE(174)] = 5049,
  [SMALL_STATE(175)] = 5069,
  [SMALL_STATE(176)] = 5089,
  [SMALL_STATE(177)] = 5107,
  [SMALL_STATE(178)] = 5125,
  [SMALL_STATE(179)] = 5143,
  [SMALL_STATE(180)] = 5163,
  [SMALL_STATE(181)] = 5181,
  [SMALL_STATE(182)] = 5201,
  [SMALL_STATE(183)] = 5221,
  [SMALL_STATE(184)] = 5241,
  [SMALL_STATE(185)] = 5261,
  [SMALL_STATE(186)] = 5279,
  [SMALL_STATE(187)] = 5299,
  [SMALL_STATE(188)] = 5317,
  [SMALL_STATE(189)] = 5335,
  [SMALL_STATE(190)] = 5355,
  [SMALL_STATE(191)] = 5373,
  [SMALL_STATE(192)] = 5393,
  [SMALL_STATE(193)] = 5413,
  [SMALL_STATE(194)] = 5431,
  [SMALL_STATE(195)] = 5451,
  [SMALL_STATE(196)] = 5471,
  [SMALL_STATE(197)] = 5491,
  [SMALL_STATE(198)] = 5511,
  [SMALL_STATE(199)] = 5531,
  [SMALL_STATE(200)] = 5549,
  [SMALL_STATE(201)] = 5569,
  [SMALL_STATE(202)] = 5584,
  [SMALL_STATE(203)] = 5601,
  [SMALL_STATE(204)] = 5618,
  [SMALL_STATE(205)] = 5635,
  [SMALL_STATE(206)] = 5652,
  [SMALL_STATE(207)] = 5669,
  [SMALL_STATE(208)] = 5684,
  [SMALL_STATE(209)] = 5701,
  [SMALL_STATE(210)] = 5718,
  [SMALL_STATE(211)] = 5735,
  [SMALL_STATE(212)] = 5750,
  [SMALL_STATE(213)] = 5765,
  [SMALL_STATE(214)] = 5782,
  [SMALL_STATE(215)] = 5799,
  [SMALL_STATE(216)] = 5814,
  [SMALL_STATE(217)] = 5831,
  [SMALL_STATE(218)] = 5846,
  [SMALL_STATE(219)] = 5863,
  [SMALL_STATE(220)] = 5880,
  [SMALL_STATE(221)] = 5895,
  [SMALL_STATE(222)] = 5912,
  [SMALL_STATE(223)] = 5927,
  [SMALL_STATE(224)] = 5942,
  [SMALL_STATE(225)] = 5959,
  [SMALL_STATE(226)] = 5974,
  [SMALL_STATE(227)] = 5989,
  [SMALL_STATE(228)] = 6006,
  [SMALL_STATE(229)] = 6023,
  [SMALL_STATE(230)] = 6040,
  [SMALL_STATE(231)] = 6055,
  [SMALL_STATE(232)] = 6072,
  [SMALL_STATE(233)] = 6087,
  [SMALL_STATE(234)] = 6102,
  [SMALL_STATE(235)] = 6117,
  [SMALL_STATE(236)] = 6134,
  [SMALL_STATE(237)] = 6149,
  [SMALL_STATE(238)] = 6166,
  [SMALL_STATE(239)] = 6183,
  [SMALL_STATE(240)] = 6200,
  [SMALL_STATE(241)] = 6217,
  [SMALL_STATE(242)] = 6234,
  [SMALL_STATE(243)] = 6251,
  [SMALL_STATE(244)] = 6268,
  [SMALL_STATE(245)] = 6285,
  [SMALL_STATE(246)] = 6302,
  [SMALL_STATE(247)] = 6319,
  [SMALL_STATE(248)] = 6336,
  [SMALL_STATE(249)] = 6353,
  [SMALL_STATE(250)] = 6370,
  [SMALL_STATE(251)] = 6387,
  [SMALL_STATE(252)] = 6404,
  [SMALL_STATE(253)] = 6421,
  [SMALL_STATE(254)] = 6438,
  [SMALL_STATE(255)] = 6455,
  [SMALL_STATE(256)] = 6472,
  [SMALL_STATE(257)] = 6489,
  [SMALL_STATE(258)] = 6506,
  [SMALL_STATE(259)] = 6523,
  [SMALL_STATE(260)] = 6540,
  [SMALL_STATE(261)] = 6557,
  [SMALL_STATE(262)] = 6571,
  [SMALL_STATE(263)] = 6585,
  [SMALL_STATE(264)] = 6599,
  [SMALL_STATE(265)] = 6613,
  [SMALL_STATE(266)] = 6627,
  [SMALL_STATE(267)] = 6641,
  [SMALL_STATE(268)] = 6655,
  [SMALL_STATE(269)] = 6669,
  [SMALL_STATE(270)] = 6683,
  [SMALL_STATE(271)] = 6697,
  [SMALL_STATE(272)] = 6711,
  [SMALL_STATE(273)] = 6725,
  [SMALL_STATE(274)] = 6739,
  [SMALL_STATE(275)] = 6753,
  [SMALL_STATE(276)] = 6767,
  [SMALL_STATE(277)] = 6781,
  [SMALL_STATE(278)] = 6795,
  [SMALL_STATE(279)] = 6809,
  [SMALL_STATE(280)] = 6823,
  [SMALL_STATE(281)] = 6837,
  [SMALL_STATE(282)] = 6851,
  [SMALL_STATE(283)] = 6865,
  [SMALL_STATE(284)] = 6879,
  [SMALL_STATE(285)] = 6893,
  [SMALL_STATE(286)] = 6907,
  [SMALL_STATE(287)] = 6921,
  [SMALL_STATE(288)] = 6935,
  [SMALL_STATE(289)] = 6949,
  [SMALL_STATE(290)] = 6963,
  [SMALL_STATE(291)] = 6977,
  [SMALL_STATE(292)] = 6991,
  [SMALL_STATE(293)] = 7005,
  [SMALL_STATE(294)] = 7019,
  [SMALL_STATE(295)] = 7033,
  [SMALL_STATE(296)] = 7047,
  [SMALL_STATE(297)] = 7061,
  [SMALL_STATE(298)] = 7075,
  [SMALL_STATE(299)] = 7089,
  [SMALL_STATE(300)] = 7103,
  [SMALL_STATE(301)] = 7117,
  [SMALL_STATE(302)] = 7131,
  [SMALL_STATE(303)] = 7145,
  [SMALL_STATE(304)] = 7159,
  [SMALL_STATE(305)] = 7173,
  [SMALL_STATE(306)] = 7187,
  [SMALL_STATE(307)] = 7201,
  [SMALL_STATE(308)] = 7215,
  [SMALL_STATE(309)] = 7229,
  [SMALL_STATE(310)] = 7243,
  [SMALL_STATE(311)] = 7257,
  [SMALL_STATE(312)] = 7271,
  [SMALL_STATE(313)] = 7285,
  [SMALL_STATE(314)] = 7299,
  [SMALL_STATE(315)] = 7313,
  [SMALL_STATE(316)] = 7327,
  [SMALL_STATE(317)] = 7341,
  [SMALL_STATE(318)] = 7355,
  [SMALL_STATE(319)] = 7369,
  [SMALL_STATE(320)] = 7383,
  [SMALL_STATE(321)] = 7397,
  [SMALL_STATE(322)] = 7411,
  [SMALL_STATE(323)] = 7425,
  [SMALL_STATE(324)] = 7439,
  [SMALL_STATE(325)] = 7453,
  [SMALL_STATE(326)] = 7467,
  [SMALL_STATE(327)] = 7481,
  [SMALL_STATE(328)] = 7495,
  [SMALL_STATE(329)] = 7509,
  [SMALL_STATE(330)] = 7523,
  [SMALL_STATE(331)] = 7537,
  [SMALL_STATE(332)] = 7551,
  [SMALL_STATE(333)] = 7565,
  [SMALL_STATE(334)] = 7579,
  [SMALL_STATE(335)] = 7593,
  [SMALL_STATE(336)] = 7607,
  [SMALL_STATE(337)] = 7621,
  [SMALL_STATE(338)] = 7635,
  [SMALL_STATE(339)] = 7649,
  [SMALL_STATE(340)] = 7663,
  [SMALL_STATE(341)] = 7677,
  [SMALL_STATE(342)] = 7691,
  [SMALL_STATE(343)] = 7705,
  [SMALL_STATE(344)] = 7719,
  [SMALL_STATE(345)] = 7733,
  [SMALL_STATE(346)] = 7747,
  [SMALL_STATE(347)] = 7761,
  [SMALL_STATE(348)] = 7775,
  [SMALL_STATE(349)] = 7789,
  [SMALL_STATE(350)] = 7803,
  [SMALL_STATE(351)] = 7817,
  [SMALL_STATE(352)] = 7831,
  [SMALL_STATE(353)] = 7845,
  [SMALL_STATE(354)] = 7859,
  [SMALL_STATE(355)] = 7873,
  [SMALL_STATE(356)] = 7887,
  [SMALL_STATE(357)] = 7901,
  [SMALL_STATE(358)] = 7915,
  [SMALL_STATE(359)] = 7929,
  [SMALL_STATE(360)] = 7943,
  [SMALL_STATE(361)] = 7957,
  [SMALL_STATE(362)] = 7971,
  [SMALL_STATE(363)] = 7985,
  [SMALL_STATE(364)] = 7999,
  [SMALL_STATE(365)] = 8013,
  [SMALL_STATE(366)] = 8027,
  [SMALL_STATE(367)] = 8041,
  [SMALL_STATE(368)] = 8045,
  [SMALL_STATE(369)] = 8049,
  [SMALL_STATE(370)] = 8053,
  [SMALL_STATE(371)] = 8057,
  [SMALL_STATE(372)] = 8061,
};

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(182),
  [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192),
  [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167),
  [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
  [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321),
  [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347),
  [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182),
  [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192),
  [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122),
  [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125),
  [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(263),
  [29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple_list, 3, 0, 0),
  [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(270),
  [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(272),
  [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104),
  [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286),
  [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105),
  [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107),
  [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(194),
  [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(132),
  [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0),
  [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(133),
  [54] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(134),
  [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
  [60] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(327),
  [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(353),
  [66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(354),
  [69] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(356),
  [72] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(364),
  [75] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 2, 0, 0), SHIFT_REPEAT(351),
  [78] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
  [80] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
  [82] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
  [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
  [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
  [88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327),
  [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353),
  [92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354),
  [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
  [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364),
  [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351),
  [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
  [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309),
  [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
  [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple_list, 2, 0, 0),
  [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198),
  [110] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130),
  [112] = {.entry = {.count = 1, .reusable = false}}, SHIFT(311),
  [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
  [116] = {.entry = {.count = 1, .reusable = false}}, SHIFT(365),
  [118] = {.entry = {.count = 1, .reusable = false}}, SHIFT(349),
  [120] = {.entry = {.count = 1, .reusable = false}}, SHIFT(350),
  [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(261),
  [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(352),
  [126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333),
  [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
  [130] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(198),
  [133] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(130),
  [136] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(311),
  [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0),
  [141] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(365),
  [144] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(349),
  [147] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(350),
  [150] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(261),
  [153] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(352),
  [156] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 2, 0, 0), SHIFT_REPEAT(333),
  [159] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__gate, 2, 0, 0), SHIFT_REPEAT(194),
  [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__gate, 2, 0, 0),
  [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0),
  [166] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(194),
  [169] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(167),
  [172] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [175] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(321),
  [178] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(347),
  [181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
  [183] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__interface_body, 3, 0, 0),
  [185] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__interface_body, 2, 0, 0),
  [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_resource_item, 2, 0, 2),
  [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
  [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
  [193] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__gate, 2, 0, 0), SHIFT_REPEAT(198),
  [196] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__gate, 2, 0, 0),
  [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_since_gate, 5, 0, 0),
  [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_deprecated_gate, 5, 0, 0),
  [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unstable_gate, 5, 0, 5),
  [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__gate_item, 1, 0, 0),
  [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__gate, 1, 0, 0),
  [208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
  [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_resource_item, 2, 0, 2),
  [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
  [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_item, 5, 0, 0),
  [216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__include_names_body, 3, 0, 0),
  [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_export_item, 3, 0, 0),
  [220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_item, 3, 0, 0),
  [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_include_item, 3, 0, 0),
  [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__world_body_repeat1, 1, 0, 0),
  [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_item, 3, 0, 2),
  [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_flags_items, 3, 0, 2),
  [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variant_items, 3, 0, 2),
  [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_items, 3, 0, 2),
  [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_resource_item, 3, 0, 2),
  [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_export_item, 4, 0, 2),
  [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_item, 4, 0, 2),
  [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_include_item, 4, 0, 0),
  [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__resource_body, 2, 0, 0),
  [244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__world_items, 1, 0, 0),
  [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__typedef_item, 1, 0, 0),
  [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_extern_type, 2, 0, 0),
  [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_item, 5, 0, 11),
  [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__record_body, 3, 0, 0),
  [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__flags_body, 3, 0, 0),
  [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variant_body, 3, 0, 0),
  [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__enum_body, 3, 0, 0),
  [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__resource_body, 3, 0, 0),
  [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__world_items, 2, 0, 0),
  [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__interface_items, 2, 0, 0),
  [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__interface_items, 2, 0, 0),
  [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__typedef_item, 1, 0, 0),
  [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__interface_body_repeat1, 1, 0, 0),
  [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__interface_body_repeat1, 1, 0, 0),
  [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__interface_items, 1, 0, 0),
  [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__interface_items, 1, 0, 0),
  [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_func_item, 4, 0, 9),
  [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_func_item, 4, 0, 9),
  [282] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__enum_body, 3, 0, 0),
  [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_item, 3, 0, 2),
  [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_flags_items, 3, 0, 2),
  [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variant_items, 3, 0, 2),
  [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_enum_items, 3, 0, 2),
  [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_resource_item, 3, 0, 2),
  [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__resource_body, 2, 0, 0),
  [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use_item, 5, 0, 0),
  [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_item, 5, 0, 11),
  [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__record_body, 3, 0, 0),
  [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__flags_body, 3, 0, 0),
  [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__variant_body, 3, 0, 0),
  [306] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__resource_body, 3, 0, 0),
  [308] = {.entry = {.count = 1, .reusable = false}}, SHIFT(317),
  [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334),
  [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_path, 3, 0, 0),
  [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__gate_item, 1, 0, 0),
  [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__gate, 1, 0, 0),
  [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unstable_gate, 5, 0, 5),
  [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_since_gate, 5, 0, 0),
  [322] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_deprecated_gate, 5, 0, 0),
  [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_package_decl_repeat2, 2, 0, 0), SHIFT_REPEAT(317),
  [327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_package_decl_repeat2, 2, 0, 0),
  [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276),
  [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280),
  [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323),
  [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [337] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__resource_body_repeat1, 2, 0, 0), SHIFT_REPEAT(265),
  [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__resource_body_repeat1, 2, 0, 0),
  [342] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__resource_body_repeat1, 2, 0, 0), SHIFT_REPEAT(224),
  [345] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_package_decl_repeat2, 1, 0, 0),
  [347] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_package_decl_repeat2, 1, 0, 0),
  [349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_package_decl, 4, 0, 0),
  [351] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__uri_tail, 2, 0, 0),
  [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__uri_tail, 2, 0, 0),
  [355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_package_decl, 5, 0, 0),
  [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265),
  [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(224),
  [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_package_decl, 6, 0, 0),
  [365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 1, 0, 0),
  [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interface_item, 3, 0, 2),
  [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_toplevel_use_item, 3, 0, 0),
  [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__world_body, 3, 0, 0),
  [373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_toplevel_use_item, 5, 0, 6),
  [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_world_item, 3, 0, 2),
  [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_result, 1, 0, 0),
  [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
  [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_future, 1, 0, 0),
  [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
  [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_world_item, 4, 0, 4),
  [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_stream, 1, 0, 0),
  [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
  [391] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__uri_head, 2, 0, 0),
  [393] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202),
  [395] = {.entry = {.count = 1, .reusable = false}}, SHIFT(293),
  [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(237),
  [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
  [401] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 1, 0, 0),
  [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interface_item, 4, 0, 4),
  [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
  [407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__world_body, 2, 0, 0),
  [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
  [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
  [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple, 4, 0, 0),
  [415] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_future, 4, 0, 0),
  [417] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_stream, 4, 0, 0),
  [419] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_option, 4, 0, 0),
  [421] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 4, 0, 0),
  [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ty, 1, 0, 0),
  [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 6, 0, 16),
  [427] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_path, 1, 0, 0),
  [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_result, 6, 0, 0),
  [431] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_result, 4, 0, 0),
  [433] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_handle, 4, 0, 0),
  [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266),
  [437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207),
  [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199),
  [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239),
  [445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240),
  [447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293),
  [449] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237),
  [451] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200),
  [453] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__use_names_list, 2, 0, 0),
  [455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294),
  [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__use_names_list, 3, 0, 0),
  [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__version, 2, 0, 0),
  [461] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_path, 4, 0, 0),
  [463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319),
  [465] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__record_fields, 3, 0, 0),
  [467] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__use_names_list, 1, 0, 0),
  [469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
  [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__record_fields, 1, 0, 0),
  [473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
  [475] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__flags_fields, 1, 0, 8),
  [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203),
  [479] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__include_names_list, 1, 0, 0),
  [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
  [483] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__record_fields, 2, 0, 0),
  [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
  [487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__flags_fields, 2, 0, 8),
  [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213),
  [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156),
  [493] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variant_cases, 2, 0, 0),
  [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169),
  [497] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__enum_cases, 2, 0, 10),
  [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218),
  [501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
  [503] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variant_case, 1, 0, 9),
  [505] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
  [507] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_func_type, 3, 0, 0),
  [509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
  [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
  [513] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__named_type_list, 1, 0, 0),
  [515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143),
  [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variant_cases, 1, 0, 0),
  [519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152),
  [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
  [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324),
  [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__include_names_list, 2, 0, 0),
  [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179),
  [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
  [531] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple_list, 1, 0, 0),
  [533] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__enum_cases, 1, 0, 10),
  [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
  [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__record_fields_repeat1, 2, 0, 0),
  [539] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__record_fields_repeat1, 2, 0, 0), SHIFT_REPEAT(260),
  [542] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290),
  [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__flags_fields_repeat1, 2, 0, 0),
  [546] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__flags_fields_repeat1, 2, 0, 0), SHIFT_REPEAT(285),
  [549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variant_cases, 3, 0, 0),
  [551] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variant_cases_repeat1, 2, 0, 0),
  [553] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__variant_cases_repeat1, 2, 0, 0), SHIFT_REPEAT(231),
  [556] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__enum_cases_repeat1, 2, 0, 0),
  [558] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__enum_cases_repeat1, 2, 0, 0), SHIFT_REPEAT(288),
  [561] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_resource_method, 3, 0, 0),
  [563] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_resource_method, 3, 0, 0),
  [565] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__named_type_list, 2, 0, 0),
  [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184),
  [569] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_resource_method, 1, 0, 0),
  [571] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_resource_method, 1, 0, 0),
  [573] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__resource_body_repeat1, 1, 0, 0),
  [575] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__resource_body_repeat1, 1, 0, 0),
  [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__use_names_list_repeat1, 2, 0, 0),
  [579] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__use_names_list_repeat1, 2, 0, 0), SHIFT_REPEAT(186),
  [582] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__include_names_list, 3, 0, 0),
  [584] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__include_names_list_repeat1, 2, 0, 0),
  [586] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__include_names_list_repeat1, 2, 0, 0), SHIFT_REPEAT(235),
  [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
  [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355),
  [593] = {.entry = {.count = 1, .reusable = false}}, SHIFT(336),
  [595] = {.entry = {.count = 1, .reusable = false}}, SHIFT(368),
  [597] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__named_type_list, 3, 0, 0),
  [599] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__named_type_list_repeat1, 2, 0, 0), SHIFT_REPEAT(238),
  [602] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__named_type_list_repeat1, 2, 0, 0),
  [604] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_tuple_list_repeat1, 2, 0, 0), SHIFT_REPEAT(19),
  [607] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_tuple_list_repeat1, 2, 0, 0),
  [609] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_resource_method, 5, 0, 0),
  [611] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_resource_method, 5, 0, 0),
  [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_func_type, 2, 0, 0),
  [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(369),
  [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291),
  [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221),
  [621] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_package_decl_repeat1, 2, 0, 0), SHIFT_REPEAT(290),
  [624] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313),
  [626] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318),
  [628] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262),
  [630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358),
  [632] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359),
  [634] = {.entry = {.count = 1, .reusable = true}}, SHIFT(360),
  [636] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274),
  [638] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_names_item, 1, 0, 0),
  [640] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__flags_fields_repeat1, 2, 0, 13),
  [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
  [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217),
  [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
  [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338),
  [654] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 2, 0, 0),
  [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279),
  [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
  [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
  [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
  [664] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_field, 3, 0, 12),
  [666] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__flags_fields, 3, 0, 8),
  [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
  [670] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__enum_cases_repeat1, 2, 0, 14),
  [672] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__enum_cases, 3, 0, 10),
  [674] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 3, 0, 0),
  [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367),
  [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306),
  [680] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alias_item, 3, 0, 15),
  [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
  [684] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_include_names_item, 3, 0, 0),
  [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165),
  [688] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variant_case, 4, 0, 12),
  [690] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_type, 3, 0, 12),
  [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
  [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
  [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
  [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249),
  [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216),
  [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183),
  [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227),
  [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271),
  [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283),
  [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
  [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
  [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259),
  [718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
  [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229),
  [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
  [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252),
  [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248),
  [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
  [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
  [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
  [736] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_result_list, 2, 0, 0),
  [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
  [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220),
  [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278),
  [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
  [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222),
  [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
  [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204),
  [754] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__use_names_body, 3, 0, 0),
  [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328),
  [758] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301),
  [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214),
  [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329),
  [764] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [766] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281),
  [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363),
  [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225),
  [772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188),
  [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
  [776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228),
  [778] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_result_list, 3, 0, 0),
  [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305),
  [782] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
  [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [786] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
  [788] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
  [790] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277),
  [792] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
  [794] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
  [796] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_package_decl_repeat1, 1, 0, 0),
  [798] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
  [800] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_result_list, 4, 0, 0),
  [802] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
  [804] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
  [806] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254),
  [808] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
  [810] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191),
  [812] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
  [814] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246),
  [816] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
  [818] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [820] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
  [822] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
  [824] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247),
  [826] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
  [828] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
  [830] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208),
  [832] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
  [834] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__uri_head, 2, 0, 0),
  [836] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287),
  [838] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
  [840] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
  [842] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314),
  [844] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__feature_field, 3, 0, 7),
  [846] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__version_field, 3, 0, 0),
  [848] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
  [850] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
  [852] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
  [854] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
  [856] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
  [858] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230),
  [860] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370),
  [862] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
  [864] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296),
  [866] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190),
  [868] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
  [870] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
  [872] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
  [874] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
  [876] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
  [878] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69),
  [880] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
  [882] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219),
  [884] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [886] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250),
  [888] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251),
  [890] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
  [892] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
  [894] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242),
  [896] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243),
  [898] = {.entry = {.count = 1, .reusable = false}}, SHIFT(372),
  [900] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244),
  [902] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_func_type, 4, 0, 0),
  [904] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255),
  [906] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256),
  [908] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257),
  [910] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258),
  [912] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
  [914] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366),
  [916] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245),
  [918] = {.entry = {.count = 1, .reusable = true}}, SHIFT(362),
  [920] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
  [922] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_comment, 3, 0, 0),
  [924] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_line_comment, 2, 0, 0),
  [926] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_comment, 2, 0, 0),
  [928] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_line_comment, 3, 0, 1),
  [930] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_comment, 4, 0, 3),
  [932] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_line_comment, 3, 0, 0),
};

enum ts_external_scanner_symbol_identifiers {
  ts_external_token__block_comment_content = 0,
  ts_external_token__block_doc_comment_marker = 1,
  ts_external_token__error_sentinel = 2,
  ts_external_token__line_doc_content = 3,
};

static const TSSymbol ts_external_scanner_symbol_map[EXTERNAL_TOKEN_COUNT] = {
  [ts_external_token__block_comment_content] = sym__block_comment_content,
  [ts_external_token__block_doc_comment_marker] = sym__block_doc_comment_marker,
  [ts_external_token__error_sentinel] = sym__error_sentinel,
  [ts_external_token__line_doc_content] = sym__line_doc_content,
};

static const bool ts_external_scanner_states[5][EXTERNAL_TOKEN_COUNT] = {
  [1] = {
    [ts_external_token__block_comment_content] = true,
    [ts_external_token__block_doc_comment_marker] = true,
    [ts_external_token__error_sentinel] = true,
    [ts_external_token__line_doc_content] = true,
  },
  [2] = {
    [ts_external_token__block_comment_content] = true,
    [ts_external_token__block_doc_comment_marker] = true,
  },
  [3] = {
    [ts_external_token__block_comment_content] = true,
  },
  [4] = {
    [ts_external_token__line_doc_content] = true,
  },
};

#ifdef __cplusplus
extern "C" {
#endif
void *tree_sitter_wit_external_scanner_create(void);
void tree_sitter_wit_external_scanner_destroy(void *);
bool tree_sitter_wit_external_scanner_scan(void *, TSLexer *, const bool *);
unsigned tree_sitter_wit_external_scanner_serialize(void *, char *);
void tree_sitter_wit_external_scanner_deserialize(void *, const char *, unsigned);

#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_wit(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,
    .field_names = ts_field_names,
    .field_map_slices = ts_field_map_slices,
    .field_map_entries = ts_field_map_entries,
    .supertype_map_slices = ts_supertype_map_slices,
    .supertype_map_entries = ts_supertype_map_entries,
    .supertype_symbols = ts_supertype_symbols,
    .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,
    .external_scanner = {
      &ts_external_scanner_states[0][0],
      ts_external_scanner_symbol_map,
      tree_sitter_wit_external_scanner_create,
      tree_sitter_wit_external_scanner_destroy,
      tree_sitter_wit_external_scanner_scan,
      tree_sitter_wit_external_scanner_serialize,
      tree_sitter_wit_external_scanner_deserialize,
    },
    .primary_state_ids = ts_primary_state_ids,
    .name = "wit",
    .max_reserved_word_set_size = 0,
    .metadata = {
      .major_version = 1,
      .minor_version = 2,
      .patch_version = 0,
    },
  };
  return &language;
}
#ifdef __cplusplus
}
#endif