#include <tree_sitter/parser.h>

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

#define LANGUAGE_VERSION 12
#define STATE_COUNT 402
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 75
#define ALIAS_COUNT 4
#define TOKEN_COUNT 44
#define EXTERNAL_TOKEN_COUNT 6
#define FIELD_COUNT 19
#define MAX_ALIAS_SEQUENCE_LENGTH 11

enum {
  sym__identifier_without_operators = 1,
  sym_comment = 2,
  anon_sym_declare = 3,
  anon_sym_COLON_COLON = 4,
  anon_sym_import = 5,
  anon_sym_LBRACE = 6,
  anon_sym_COMMA = 7,
  anon_sym_RBRACE = 8,
  anon_sym_from = 9,
  anon_sym_as = 10,
  sym__operator = 11,
  anon_sym_LT_COLON = 12,
  anon_sym_LPAREN = 13,
  anon_sym_SEMI = 14,
  anon_sym_RPAREN = 15,
  anon_sym_LT = 16,
  anon_sym_GT = 17,
  anon_sym_DASH_GT = 18,
  anon_sym_AMP = 19,
  anon_sym_PIPE = 20,
  anon_sym_BSLASH = 21,
  anon_sym_if = 22,
  anon_sym_then = 23,
  anon_sym_else = 24,
  anon_sym_COLON = 25,
  anon_sym_LBRACK = 26,
  anon_sym_in = 27,
  anon_sym_RBRACK = 28,
  anon_sym_LPAREN_RPAREN = 29,
  anon_sym_keyof = 30,
  sym_type = 31,
  anon_sym_false = 32,
  anon_sym_true = 33,
  sym__decimal = 34,
  sym__integer = 35,
  anon_sym_r_SLASH = 36,
  anon_sym_SLASH = 37,
  sym__newline = 38,
  sym__indent = 39,
  sym__dedent = 40,
  sym__string_start = 41,
  sym__string_content = 42,
  sym__string_end = 43,
  sym_program = 44,
  sym_declaration = 45,
  sym_declaration_member = 46,
  sym_import = 47,
  sym__import_body = 48,
  sym_import_type = 49,
  sym_identifier = 50,
  sym__type = 51,
  sym_parametric_type = 52,
  sym_curried_type = 53,
  sym_intersection_type = 54,
  sym_union_type = 55,
  sym_subtraction_type = 56,
  sym_conditional_type = 57,
  sym_struct_type = 58,
  sym_member_type = 59,
  sym_map_type = 60,
  sym_tuple_type = 61,
  sym_list_type = 62,
  sym_tagged_type = 63,
  sym_keyof = 64,
  sym_type_group = 65,
  sym_raw_string = 66,
  aux_sym_program_repeat1 = 67,
  aux_sym_declaration_repeat1 = 68,
  aux_sym__import_body_repeat1 = 69,
  aux_sym_type_variable_declaration_repeat1 = 70,
  aux_sym_parametric_type_repeat1 = 71,
  aux_sym_struct_type_repeat1 = 72,
  aux_sym_tuple_type_repeat1 = 73,
  aux_sym_raw_string_repeat1 = 74,
  alias_sym_identifier_pattern_name = 75,
  alias_sym_shorthand_member_identifier = 76,
  alias_sym_type_variable = 77,
  alias_sym_type_variable_declaration_name = 78,
};

static const char *ts_symbol_names[] = {
  [ts_builtin_sym_end] = "end",
  [sym__identifier_without_operators] = "_identifier_without_operators",
  [sym_comment] = "comment",
  [anon_sym_declare] = "declare",
  [anon_sym_COLON_COLON] = "::",
  [anon_sym_import] = "import",
  [anon_sym_LBRACE] = "{",
  [anon_sym_COMMA] = ",",
  [anon_sym_RBRACE] = "}",
  [anon_sym_from] = "from",
  [anon_sym_as] = "as",
  [sym__operator] = "_operator",
  [anon_sym_LT_COLON] = "<:",
  [anon_sym_LPAREN] = "(",
  [anon_sym_SEMI] = ";",
  [anon_sym_RPAREN] = ")",
  [anon_sym_LT] = "<",
  [anon_sym_GT] = ">",
  [anon_sym_DASH_GT] = "->",
  [anon_sym_AMP] = "&",
  [anon_sym_PIPE] = "|",
  [anon_sym_BSLASH] = "\\",
  [anon_sym_if] = "if",
  [anon_sym_then] = "then",
  [anon_sym_else] = "else",
  [anon_sym_COLON] = ":",
  [anon_sym_LBRACK] = "[",
  [anon_sym_in] = "in",
  [anon_sym_RBRACK] = "]",
  [anon_sym_LPAREN_RPAREN] = "()",
  [anon_sym_keyof] = "keyof",
  [sym_type] = "type",
  [anon_sym_false] = "false",
  [anon_sym_true] = "true",
  [sym__decimal] = "_decimal",
  [sym__integer] = "_integer",
  [anon_sym_r_SLASH] = "r/",
  [anon_sym_SLASH] = "/",
  [sym__newline] = "_newline",
  [sym__indent] = "_indent",
  [sym__dedent] = "_dedent",
  [sym__string_start] = "_string_start",
  [sym__string_content] = "_string_content",
  [sym__string_end] = "_string_end",
  [sym_program] = "program",
  [sym_declaration] = "declaration",
  [sym_declaration_member] = "declaration_member",
  [sym_import] = "import",
  [sym__import_body] = "_import_body",
  [sym_import_type] = "import_type",
  [sym_identifier] = "identifier",
  [sym__type] = "_type",
  [sym_parametric_type] = "parametric_type",
  [sym_curried_type] = "curried_type",
  [sym_intersection_type] = "intersection_type",
  [sym_union_type] = "union_type",
  [sym_subtraction_type] = "subtraction_type",
  [sym_conditional_type] = "conditional_type",
  [sym_struct_type] = "struct_type",
  [sym_member_type] = "member_type",
  [sym_map_type] = "map_type",
  [sym_tuple_type] = "tuple_type",
  [sym_list_type] = "list_type",
  [sym_tagged_type] = "tagged_type",
  [sym_keyof] = "keyof",
  [sym_type_group] = "type_group",
  [sym_raw_string] = "raw_string",
  [aux_sym_program_repeat1] = "program_repeat1",
  [aux_sym_declaration_repeat1] = "declaration_repeat1",
  [aux_sym__import_body_repeat1] = "_import_body_repeat1",
  [aux_sym_type_variable_declaration_repeat1] = "type_variable_declaration_repeat1",
  [aux_sym_parametric_type_repeat1] = "parametric_type_repeat1",
  [aux_sym_struct_type_repeat1] = "struct_type_repeat1",
  [aux_sym_tuple_type_repeat1] = "tuple_type_repeat1",
  [aux_sym_raw_string_repeat1] = "raw_string_repeat1",
  [alias_sym_identifier_pattern_name] = "identifier_pattern_name",
  [alias_sym_shorthand_member_identifier] = "shorthand_member_identifier",
  [alias_sym_type_variable] = "type_variable",
  [alias_sym_type_variable_declaration_name] = "type_variable_declaration_name",
};

static TSSymbol ts_symbol_map[] = {
  [ts_builtin_sym_end] = ts_builtin_sym_end,
  [sym__identifier_without_operators] = sym__identifier_without_operators,
  [sym_comment] = sym_comment,
  [anon_sym_declare] = anon_sym_declare,
  [anon_sym_COLON_COLON] = anon_sym_COLON_COLON,
  [anon_sym_import] = anon_sym_import,
  [anon_sym_LBRACE] = anon_sym_LBRACE,
  [anon_sym_COMMA] = anon_sym_COMMA,
  [anon_sym_RBRACE] = anon_sym_RBRACE,
  [anon_sym_from] = anon_sym_from,
  [anon_sym_as] = anon_sym_as,
  [sym__operator] = sym__operator,
  [anon_sym_LT_COLON] = anon_sym_LT_COLON,
  [anon_sym_LPAREN] = anon_sym_LPAREN,
  [anon_sym_SEMI] = anon_sym_SEMI,
  [anon_sym_RPAREN] = anon_sym_RPAREN,
  [anon_sym_LT] = anon_sym_LT,
  [anon_sym_GT] = anon_sym_GT,
  [anon_sym_DASH_GT] = anon_sym_DASH_GT,
  [anon_sym_AMP] = anon_sym_AMP,
  [anon_sym_PIPE] = anon_sym_PIPE,
  [anon_sym_BSLASH] = anon_sym_BSLASH,
  [anon_sym_if] = anon_sym_if,
  [anon_sym_then] = anon_sym_then,
  [anon_sym_else] = anon_sym_else,
  [anon_sym_COLON] = anon_sym_COLON,
  [anon_sym_LBRACK] = anon_sym_LBRACK,
  [anon_sym_in] = anon_sym_in,
  [anon_sym_RBRACK] = anon_sym_RBRACK,
  [anon_sym_LPAREN_RPAREN] = anon_sym_LPAREN_RPAREN,
  [anon_sym_keyof] = anon_sym_keyof,
  [sym_type] = sym_type,
  [anon_sym_false] = anon_sym_false,
  [anon_sym_true] = anon_sym_true,
  [sym__decimal] = sym__decimal,
  [sym__integer] = sym__integer,
  [anon_sym_r_SLASH] = anon_sym_r_SLASH,
  [anon_sym_SLASH] = anon_sym_SLASH,
  [sym__newline] = sym__newline,
  [sym__indent] = sym__indent,
  [sym__dedent] = sym__dedent,
  [sym__string_start] = sym__string_start,
  [sym__string_content] = sym__string_content,
  [sym__string_end] = sym__string_end,
  [sym_program] = sym_program,
  [sym_declaration] = sym_declaration,
  [sym_declaration_member] = sym_declaration_member,
  [sym_import] = sym_import,
  [sym__import_body] = sym__import_body,
  [sym_import_type] = sym_import_type,
  [sym_identifier] = sym_identifier,
  [sym__type] = sym__type,
  [sym_parametric_type] = sym_parametric_type,
  [sym_curried_type] = sym_curried_type,
  [sym_intersection_type] = sym_intersection_type,
  [sym_union_type] = sym_union_type,
  [sym_subtraction_type] = sym_subtraction_type,
  [sym_conditional_type] = sym_conditional_type,
  [sym_struct_type] = sym_struct_type,
  [sym_member_type] = sym_member_type,
  [sym_map_type] = sym_map_type,
  [sym_tuple_type] = sym_tuple_type,
  [sym_list_type] = sym_list_type,
  [sym_tagged_type] = sym_tagged_type,
  [sym_keyof] = sym_keyof,
  [sym_type_group] = sym_type_group,
  [sym_raw_string] = sym_raw_string,
  [aux_sym_program_repeat1] = aux_sym_program_repeat1,
  [aux_sym_declaration_repeat1] = aux_sym_declaration_repeat1,
  [aux_sym__import_body_repeat1] = aux_sym__import_body_repeat1,
  [aux_sym_type_variable_declaration_repeat1] = aux_sym_type_variable_declaration_repeat1,
  [aux_sym_parametric_type_repeat1] = aux_sym_parametric_type_repeat1,
  [aux_sym_struct_type_repeat1] = aux_sym_struct_type_repeat1,
  [aux_sym_tuple_type_repeat1] = aux_sym_tuple_type_repeat1,
  [aux_sym_raw_string_repeat1] = aux_sym_raw_string_repeat1,
  [alias_sym_identifier_pattern_name] = alias_sym_identifier_pattern_name,
  [alias_sym_shorthand_member_identifier] = alias_sym_shorthand_member_identifier,
  [alias_sym_type_variable] = alias_sym_type_variable,
  [alias_sym_type_variable_declaration_name] = alias_sym_type_variable_declaration_name,
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [sym__identifier_without_operators] = {
    .visible = false,
    .named = true,
  },
  [sym_comment] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_declare] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_import] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COMMA] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_from] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_as] = {
    .visible = true,
    .named = false,
  },
  [sym__operator] = {
    .visible = false,
    .named = true,
  },
  [anon_sym_LT_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SEMI] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BSLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_if] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_then] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_else] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_in] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LPAREN_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_keyof] = {
    .visible = true,
    .named = false,
  },
  [sym_type] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_false] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_true] = {
    .visible = true,
    .named = false,
  },
  [sym__decimal] = {
    .visible = false,
    .named = true,
  },
  [sym__integer] = {
    .visible = false,
    .named = true,
  },
  [anon_sym_r_SLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH] = {
    .visible = true,
    .named = false,
  },
  [sym__newline] = {
    .visible = false,
    .named = true,
  },
  [sym__indent] = {
    .visible = false,
    .named = true,
  },
  [sym__dedent] = {
    .visible = false,
    .named = true,
  },
  [sym__string_start] = {
    .visible = false,
    .named = true,
  },
  [sym__string_content] = {
    .visible = false,
    .named = true,
  },
  [sym__string_end] = {
    .visible = false,
    .named = true,
  },
  [sym_program] = {
    .visible = true,
    .named = true,
  },
  [sym_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_declaration_member] = {
    .visible = true,
    .named = true,
  },
  [sym_import] = {
    .visible = true,
    .named = true,
  },
  [sym__import_body] = {
    .visible = false,
    .named = true,
  },
  [sym_import_type] = {
    .visible = true,
    .named = true,
  },
  [sym_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym__type] = {
    .visible = false,
    .named = true,
  },
  [sym_parametric_type] = {
    .visible = true,
    .named = true,
  },
  [sym_curried_type] = {
    .visible = true,
    .named = true,
  },
  [sym_intersection_type] = {
    .visible = true,
    .named = true,
  },
  [sym_union_type] = {
    .visible = true,
    .named = true,
  },
  [sym_subtraction_type] = {
    .visible = true,
    .named = true,
  },
  [sym_conditional_type] = {
    .visible = true,
    .named = true,
  },
  [sym_struct_type] = {
    .visible = true,
    .named = true,
  },
  [sym_member_type] = {
    .visible = true,
    .named = true,
  },
  [sym_map_type] = {
    .visible = true,
    .named = true,
  },
  [sym_tuple_type] = {
    .visible = true,
    .named = true,
  },
  [sym_list_type] = {
    .visible = true,
    .named = true,
  },
  [sym_tagged_type] = {
    .visible = true,
    .named = true,
  },
  [sym_keyof] = {
    .visible = true,
    .named = true,
  },
  [sym_type_group] = {
    .visible = true,
    .named = true,
  },
  [sym_raw_string] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_program_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_declaration_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__import_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_type_variable_declaration_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_parametric_type_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_struct_type_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_tuple_type_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_raw_string_repeat1] = {
    .visible = false,
    .named = false,
  },
  [alias_sym_identifier_pattern_name] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_shorthand_member_identifier] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_type_variable] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_type_variable_declaration_name] = {
    .visible = true,
    .named = true,
  },
};

enum {
  field_alternative = 1,
  field_argument = 2,
  field_as = 3,
  field_consequence = 4,
  field_constraint = 5,
  field_declaration = 6,
  field_element = 7,
  field_from = 8,
  field_import = 9,
  field_key = 10,
  field_left = 11,
  field_member = 12,
  field_name = 13,
  field_property = 14,
  field_right = 15,
  field_source = 16,
  field_to = 17,
  field_type = 18,
  field_value = 19,
};

static const char *ts_field_names[] = {
  [0] = NULL,
  [field_alternative] = "alternative",
  [field_argument] = "argument",
  [field_as] = "as",
  [field_consequence] = "consequence",
  [field_constraint] = "constraint",
  [field_declaration] = "declaration",
  [field_element] = "element",
  [field_from] = "from",
  [field_import] = "import",
  [field_key] = "key",
  [field_left] = "left",
  [field_member] = "member",
  [field_name] = "name",
  [field_property] = "property",
  [field_right] = "right",
  [field_source] = "source",
  [field_to] = "to",
  [field_type] = "type",
  [field_value] = "value",
};

static const TSFieldMapSlice ts_field_map_slices[41] = {
  [1] = {.index = 0, .length = 1},
  [2] = {.index = 1, .length = 1},
  [3] = {.index = 2, .length = 2},
  [4] = {.index = 4, .length = 2},
  [5] = {.index = 6, .length = 2},
  [6] = {.index = 8, .length = 1},
  [7] = {.index = 9, .length = 1},
  [8] = {.index = 10, .length = 2},
  [9] = {.index = 12, .length = 1},
  [10] = {.index = 13, .length = 2},
  [11] = {.index = 15, .length = 2},
  [12] = {.index = 17, .length = 2},
  [13] = {.index = 19, .length = 1},
  [15] = {.index = 20, .length = 2},
  [16] = {.index = 22, .length = 3},
  [17] = {.index = 25, .length = 1},
  [18] = {.index = 26, .length = 1},
  [19] = {.index = 27, .length = 1},
  [20] = {.index = 28, .length = 1},
  [21] = {.index = 29, .length = 2},
  [22] = {.index = 29, .length = 2},
  [23] = {.index = 31, .length = 2},
  [24] = {.index = 29, .length = 2},
  [25] = {.index = 29, .length = 2},
  [26] = {.index = 33, .length = 2},
  [27] = {.index = 35, .length = 2},
  [28] = {.index = 37, .length = 2},
  [29] = {.index = 39, .length = 2},
  [30] = {.index = 41, .length = 2},
  [31] = {.index = 43, .length = 2},
  [32] = {.index = 45, .length = 1},
  [33] = {.index = 46, .length = 3},
  [34] = {.index = 49, .length = 2},
  [35] = {.index = 51, .length = 2},
  [36] = {.index = 53, .length = 1},
  [37] = {.index = 54, .length = 2},
  [38] = {.index = 56, .length = 4},
  [39] = {.index = 60, .length = 3},
  [40] = {.index = 63, .length = 5},
};

static const TSFieldMapEntry ts_field_map_entries[] = {
  [0] =
    {field_declaration, 0},
  [1] =
    {field_import, 0},
  [2] =
    {field_import, 1, .inherited = true},
    {field_source, 1, .inherited = true},
  [4] =
    {field_declaration, 1},
    {field_import, 0, .inherited = true},
  [6] =
    {field_import, 0, .inherited = true},
    {field_import, 1, .inherited = true},
  [8] =
    {field_as, 0},
  [9] =
    {field_member, 0},
  [10] =
    {field_as, 2},
    {field_name, 0},
  [12] =
    {field_import, 1},
  [13] =
    {field_member, 4, .inherited = true},
    {field_name, 1},
  [15] =
    {field_member, 0, .inherited = true},
    {field_member, 1, .inherited = true},
  [17] =
    {field_import, 1},
    {field_source, 4},
  [19] =
    {field_name, 0},
  [20] =
    {field_name, 0},
    {field_type, 2},
  [22] =
    {field_import, 1},
    {field_import, 2, .inherited = true},
    {field_source, 5},
  [25] =
    {field_type, 1},
  [26] =
    {field_member, 1},
  [27] =
    {field_name, 1},
  [28] =
    {field_element, 1},
  [29] =
    {field_left, 0},
    {field_right, 2},
  [31] =
    {field_from, 0},
    {field_to, 2},
  [33] =
    {field_key, 0},
    {field_value, 2},
  [35] =
    {field_member, 1},
    {field_member, 2, .inherited = true},
  [37] =
    {field_element, 1},
    {field_element, 2, .inherited = true},
  [39] =
    {field_element, 0, .inherited = true},
    {field_element, 1, .inherited = true},
  [41] =
    {field_name, 1},
    {field_type, 3},
  [43] =
    {field_argument, 2},
    {field_name, 0},
  [45] =
    {field_argument, 1},
  [46] =
    {field_argument, 2},
    {field_argument, 3, .inherited = true},
    {field_name, 0},
  [49] =
    {field_argument, 0, .inherited = true},
    {field_argument, 1, .inherited = true},
  [51] =
    {field_key, 2},
    {field_value, 5},
  [53] =
    {field_constraint, 1},
  [54] =
    {field_constraint, 0, .inherited = true},
    {field_constraint, 1, .inherited = true},
  [56] =
    {field_alternative, 7},
    {field_consequence, 5},
    {field_constraint, 3},
    {field_type, 1},
  [60] =
    {field_key, 4},
    {field_property, 2},
    {field_value, 7},
  [63] =
    {field_alternative, 10},
    {field_consequence, 8},
    {field_constraint, 4},
    {field_constraint, 5, .inherited = true},
    {field_type, 1},
};

static TSSymbol ts_alias_sequences[41][MAX_ALIAS_SEQUENCE_LENGTH] = {
  [0] = {0},
  [14] = {
    [0] = alias_sym_type_variable,
  },
  [15] = {
    [0] = alias_sym_identifier_pattern_name,
  },
  [21] = {
    [0] = alias_sym_type_variable,
    [2] = alias_sym_type_variable,
  },
  [22] = {
    [0] = alias_sym_type_variable,
  },
  [25] = {
    [2] = alias_sym_type_variable,
  },
  [26] = {
    [0] = alias_sym_shorthand_member_identifier,
  },
  [39] = {
    [2] = alias_sym_type_variable_declaration_name,
  },
};

static uint16_t ts_non_terminal_alias_map[] = {
  sym_identifier, 5,
    sym_identifier,
    alias_sym_identifier_pattern_name,
    alias_sym_shorthand_member_identifier,
    alias_sym_type_variable,
    alias_sym_type_variable_declaration_name,
  0,
};

static inline bool sym__operator_character_set_5(int32_t lookahead) {
  return
    lookahead == '!' ||
    ('$' <= lookahead && lookahead <= '&') ||
    lookahead == '*' ||
    lookahead == '+' ||
    ('-' <= lookahead && lookahead <= '/') ||
    ('<' <= lookahead && lookahead <= '@') ||
    lookahead == '\\' ||
    lookahead == '^' ||
    lookahead == '|' ||
    lookahead == '~';
}

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (eof) ADVANCE(29);
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == ')') ADVANCE(43);
      if (lookahead == ',') ADVANCE(33);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == '/') ADVANCE(71);
      if (lookahead == '0') ADVANCE(65);
      if (lookahead == ':') ADVANCE(58);
      if (lookahead == ';') ADVANCE(42);
      if (lookahead == '<') ADVANCE(45);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '>') ADVANCE(48);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '\\') ADVANCE(56);
      if (lookahead == ']') ADVANCE(60);
      if (lookahead == '_') ADVANCE(24);
      if (lookahead == 'r') ADVANCE(36);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '}') ADVANCE(34);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(0)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          ('*' <= lookahead && lookahead <= '.') ||
          lookahead == '@' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('1' <= lookahead && lookahead <= '9')) ADVANCE(66);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      END_STATE();
    case 1:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == ')') ADVANCE(43);
      if (lookahead == ',') ADVANCE(33);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == ':') ADVANCE(57);
      if (lookahead == ';') ADVANCE(42);
      if (lookahead == '<') ADVANCE(46);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '\\') ADVANCE(56);
      if (lookahead == ']') ADVANCE(60);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '}') ADVANCE(34);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(1)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          ('*' <= lookahead && lookahead <= '/') ||
          lookahead == '>' ||
          lookahead == '@' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 2:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == ')') ADVANCE(43);
      if (lookahead == ',') ADVANCE(33);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == ':') ADVANCE(13);
      if (lookahead == ';') ADVANCE(42);
      if (lookahead == '<') ADVANCE(46);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == ']') ADVANCE(60);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '}') ADVANCE(34);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(2)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          ('*' <= lookahead && lookahead <= '/') ||
          lookahead == '>' ||
          lookahead == '@' ||
          ('\\' <= lookahead && lookahead <= '^') ||
          lookahead == '~') ADVANCE(39);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 3:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == ',') ADVANCE(33);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == '<') ADVANCE(46);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '>') ADVANCE(48);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '\\') ADVANCE(56);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(3)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          ('*' <= lookahead && lookahead <= '/') ||
          lookahead == '@' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 4:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == ',') ADVANCE(33);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == '<') ADVANCE(46);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '>') ADVANCE(48);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(4)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          ('*' <= lookahead && lookahead <= '/') ||
          lookahead == '@' ||
          lookahead == '\\' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 5:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == '<') ADVANCE(45);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '\\') ADVANCE(56);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(5)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          lookahead == '*' ||
          lookahead == '+' ||
          lookahead == '.' ||
          lookahead == '/' ||
          lookahead == '>' ||
          lookahead == '@' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 6:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == '<') ADVANCE(45);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(6)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          lookahead == '*' ||
          lookahead == '+' ||
          lookahead == '.' ||
          lookahead == '/' ||
          lookahead == '>' ||
          lookahead == '@' ||
          lookahead == '\\' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 7:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '\\') ADVANCE(56);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(7)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          lookahead == '*' ||
          lookahead == '+' ||
          lookahead == '.' ||
          lookahead == '/' ||
          ('<' <= lookahead && lookahead <= '>') ||
          lookahead == '@' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 8:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(52);
      if (lookahead == '-') ADVANCE(38);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '|') ADVANCE(54);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(8)
      if (lookahead == '!' ||
          lookahead == '$' ||
          lookahead == '%' ||
          lookahead == '*' ||
          lookahead == '+' ||
          lookahead == '.' ||
          lookahead == '/' ||
          ('<' <= lookahead && lookahead <= '>') ||
          lookahead == '@' ||
          lookahead == '\\' ||
          lookahead == '^' ||
          lookahead == '~') ADVANCE(39);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 9:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '&') ADVANCE(51);
      if (lookahead == ')') ADVANCE(43);
      if (lookahead == ',') ADVANCE(33);
      if (lookahead == '-') ADVANCE(15);
      if (lookahead == ':') ADVANCE(58);
      if (lookahead == ';') ADVANCE(42);
      if (lookahead == '<') ADVANCE(44);
      if (lookahead == '>') ADVANCE(47);
      if (lookahead == '\\') ADVANCE(55);
      if (lookahead == ']') ADVANCE(60);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '|') ADVANCE(53);
      if (lookahead == '}') ADVANCE(34);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(9)
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 10:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '(') ADVANCE(41);
      if (lookahead == ')') ADVANCE(43);
      if (lookahead == '<') ADVANCE(46);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '{') ADVANCE(32);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(10)
      if (lookahead == '!' ||
          ('$' <= lookahead && lookahead <= '&') ||
          lookahead == '*' ||
          lookahead == '+' ||
          ('-' <= lookahead && lookahead <= '/') ||
          lookahead == '>' ||
          lookahead == '@' ||
          lookahead == '\\' ||
          lookahead == '^' ||
          lookahead == '|' ||
          lookahead == '~') ADVANCE(39);
      if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(62);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 11:
      if (lookahead == '#') ADVANCE(30);
      if (lookahead == '=') ADVANCE(14);
      if (lookahead == '[') ADVANCE(59);
      if (lookahead == '_') ADVANCE(28);
      if (lookahead == '}') ADVANCE(34);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(11)
      if (lookahead == '!' ||
          ('$' <= lookahead && lookahead <= '&') ||
          lookahead == '*' ||
          lookahead == '+' ||
          ('-' <= lookahead && lookahead <= '/') ||
          ('<' <= lookahead && lookahead <= '>') ||
          lookahead == '@' ||
          lookahead == '\\' ||
          lookahead == '^' ||
          ('|' <= lookahead && lookahead <= '~')) ADVANCE(39);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 12:
      if (lookahead == '-') ADVANCE(20);
      if (lookahead == '_') ADVANCE(26);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(64);
      END_STATE();
    case 13:
      if (lookahead == ':') ADVANCE(31);
      END_STATE();
    case 14:
      if (lookahead == '=') ADVANCE(39);
      END_STATE();
    case 15:
      if (lookahead == '>') ADVANCE(49);
      END_STATE();
    case 16:
      if (lookahead == '_') ADVANCE(21);
      if (lookahead == '0' ||
          lookahead == '1') ADVANCE(67);
      END_STATE();
    case 17:
      if (lookahead == '_') ADVANCE(22);
      if (('0' <= lookahead && lookahead <= '7')) ADVANCE(68);
      END_STATE();
    case 18:
      if (lookahead == '_') ADVANCE(27);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'F') ||
          ('a' <= lookahead && lookahead <= 'f')) ADVANCE(69);
      END_STATE();
    case 19:
      if (lookahead == '_') ADVANCE(25);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(63);
      END_STATE();
    case 20:
      if (lookahead == '_') ADVANCE(26);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(64);
      END_STATE();
    case 21:
      if (lookahead == '0' ||
          lookahead == '1') ADVANCE(67);
      END_STATE();
    case 22:
      if (('0' <= lookahead && lookahead <= '7')) ADVANCE(68);
      END_STATE();
    case 23:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(66);
      END_STATE();
    case 24:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(66);
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 25:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(63);
      END_STATE();
    case 26:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(64);
      END_STATE();
    case 27:
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'F') ||
          ('a' <= lookahead && lookahead <= 'f')) ADVANCE(69);
      END_STATE();
    case 28:
      if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 29:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 30:
      ACCEPT_TOKEN(sym_comment);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(30);
      END_STATE();
    case 31:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      END_STATE();
    case 32:
      ACCEPT_TOKEN(anon_sym_LBRACE);
      END_STATE();
    case 33:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 34:
      ACCEPT_TOKEN(anon_sym_RBRACE);
      END_STATE();
    case 35:
      ACCEPT_TOKEN(sym__identifier_without_operators);
      END_STATE();
    case 36:
      ACCEPT_TOKEN(sym__identifier_without_operators);
      if (lookahead == '!' ||
          lookahead == '?') ADVANCE(35);
      if (lookahead == '/') ADVANCE(70);
      if (('0' <= lookahead && lookahead <= '9') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 37:
      ACCEPT_TOKEN(sym__identifier_without_operators);
      if (lookahead == '!' ||
          lookahead == '?') ADVANCE(35);
      if (('0' <= lookahead && lookahead <= '9') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(37);
      END_STATE();
    case 38:
      ACCEPT_TOKEN(sym__operator);
      if (lookahead == '>') ADVANCE(50);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 39:
      ACCEPT_TOKEN(sym__operator);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 40:
      ACCEPT_TOKEN(anon_sym_LT_COLON);
      END_STATE();
    case 41:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      if (lookahead == ')') ADVANCE(61);
      END_STATE();
    case 42:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 43:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 44:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == ':') ADVANCE(40);
      END_STATE();
    case 45:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == ':') ADVANCE(40);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 46:
      ACCEPT_TOKEN(anon_sym_LT);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 47:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 48:
      ACCEPT_TOKEN(anon_sym_GT);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 49:
      ACCEPT_TOKEN(anon_sym_DASH_GT);
      END_STATE();
    case 50:
      ACCEPT_TOKEN(anon_sym_DASH_GT);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 51:
      ACCEPT_TOKEN(anon_sym_AMP);
      END_STATE();
    case 52:
      ACCEPT_TOKEN(anon_sym_AMP);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 53:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 54:
      ACCEPT_TOKEN(anon_sym_PIPE);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 55:
      ACCEPT_TOKEN(anon_sym_BSLASH);
      END_STATE();
    case 56:
      ACCEPT_TOKEN(anon_sym_BSLASH);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    case 57:
      ACCEPT_TOKEN(anon_sym_COLON);
      END_STATE();
    case 58:
      ACCEPT_TOKEN(anon_sym_COLON);
      if (lookahead == ':') ADVANCE(31);
      END_STATE();
    case 59:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 60:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 61:
      ACCEPT_TOKEN(anon_sym_LPAREN_RPAREN);
      END_STATE();
    case 62:
      ACCEPT_TOKEN(sym_type);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(62);
      END_STATE();
    case 63:
      ACCEPT_TOKEN(sym__decimal);
      if (lookahead == '_') ADVANCE(25);
      if (lookahead == 'e') ADVANCE(12);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(63);
      END_STATE();
    case 64:
      ACCEPT_TOKEN(sym__decimal);
      if (lookahead == '_') ADVANCE(26);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(64);
      END_STATE();
    case 65:
      ACCEPT_TOKEN(sym__integer);
      if (lookahead == '.') ADVANCE(19);
      if (lookahead == '_') ADVANCE(23);
      if (lookahead == 'b') ADVANCE(16);
      if (lookahead == 'e') ADVANCE(12);
      if (lookahead == 'o') ADVANCE(17);
      if (lookahead == 'x') ADVANCE(18);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(66);
      END_STATE();
    case 66:
      ACCEPT_TOKEN(sym__integer);
      if (lookahead == '.') ADVANCE(19);
      if (lookahead == '_') ADVANCE(23);
      if (lookahead == 'e') ADVANCE(12);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(66);
      END_STATE();
    case 67:
      ACCEPT_TOKEN(sym__integer);
      if (lookahead == '_') ADVANCE(21);
      if (lookahead == '0' ||
          lookahead == '1') ADVANCE(67);
      END_STATE();
    case 68:
      ACCEPT_TOKEN(sym__integer);
      if (lookahead == '_') ADVANCE(22);
      if (('0' <= lookahead && lookahead <= '7')) ADVANCE(68);
      END_STATE();
    case 69:
      ACCEPT_TOKEN(sym__integer);
      if (lookahead == '_') ADVANCE(27);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'F') ||
          ('a' <= lookahead && lookahead <= 'f')) ADVANCE(69);
      END_STATE();
    case 70:
      ACCEPT_TOKEN(anon_sym_r_SLASH);
      END_STATE();
    case 71:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (sym__operator_character_set_5(lookahead)) ADVANCE(39);
      END_STATE();
    default:
      return false;
  }
}

static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (lookahead == 'a') ADVANCE(1);
      if (lookahead == 'd') ADVANCE(2);
      if (lookahead == 'e') ADVANCE(3);
      if (lookahead == 'f') ADVANCE(4);
      if (lookahead == 'i') ADVANCE(5);
      if (lookahead == 'k') ADVANCE(6);
      if (lookahead == 't') ADVANCE(7);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(0)
      END_STATE();
    case 1:
      if (lookahead == 's') ADVANCE(8);
      END_STATE();
    case 2:
      if (lookahead == 'e') ADVANCE(9);
      END_STATE();
    case 3:
      if (lookahead == 'l') ADVANCE(10);
      END_STATE();
    case 4:
      if (lookahead == 'a') ADVANCE(11);
      if (lookahead == 'r') ADVANCE(12);
      END_STATE();
    case 5:
      if (lookahead == 'f') ADVANCE(13);
      if (lookahead == 'm') ADVANCE(14);
      if (lookahead == 'n') ADVANCE(15);
      END_STATE();
    case 6:
      if (lookahead == 'e') ADVANCE(16);
      END_STATE();
    case 7:
      if (lookahead == 'h') ADVANCE(17);
      if (lookahead == 'r') ADVANCE(18);
      END_STATE();
    case 8:
      ACCEPT_TOKEN(anon_sym_as);
      END_STATE();
    case 9:
      if (lookahead == 'c') ADVANCE(19);
      END_STATE();
    case 10:
      if (lookahead == 's') ADVANCE(20);
      END_STATE();
    case 11:
      if (lookahead == 'l') ADVANCE(21);
      END_STATE();
    case 12:
      if (lookahead == 'o') ADVANCE(22);
      END_STATE();
    case 13:
      ACCEPT_TOKEN(anon_sym_if);
      END_STATE();
    case 14:
      if (lookahead == 'p') ADVANCE(23);
      END_STATE();
    case 15:
      ACCEPT_TOKEN(anon_sym_in);
      END_STATE();
    case 16:
      if (lookahead == 'y') ADVANCE(24);
      END_STATE();
    case 17:
      if (lookahead == 'e') ADVANCE(25);
      END_STATE();
    case 18:
      if (lookahead == 'u') ADVANCE(26);
      END_STATE();
    case 19:
      if (lookahead == 'l') ADVANCE(27);
      END_STATE();
    case 20:
      if (lookahead == 'e') ADVANCE(28);
      END_STATE();
    case 21:
      if (lookahead == 's') ADVANCE(29);
      END_STATE();
    case 22:
      if (lookahead == 'm') ADVANCE(30);
      END_STATE();
    case 23:
      if (lookahead == 'o') ADVANCE(31);
      END_STATE();
    case 24:
      if (lookahead == 'o') ADVANCE(32);
      END_STATE();
    case 25:
      if (lookahead == 'n') ADVANCE(33);
      END_STATE();
    case 26:
      if (lookahead == 'e') ADVANCE(34);
      END_STATE();
    case 27:
      if (lookahead == 'a') ADVANCE(35);
      END_STATE();
    case 28:
      ACCEPT_TOKEN(anon_sym_else);
      END_STATE();
    case 29:
      if (lookahead == 'e') ADVANCE(36);
      END_STATE();
    case 30:
      ACCEPT_TOKEN(anon_sym_from);
      END_STATE();
    case 31:
      if (lookahead == 'r') ADVANCE(37);
      END_STATE();
    case 32:
      if (lookahead == 'f') ADVANCE(38);
      END_STATE();
    case 33:
      ACCEPT_TOKEN(anon_sym_then);
      END_STATE();
    case 34:
      ACCEPT_TOKEN(anon_sym_true);
      END_STATE();
    case 35:
      if (lookahead == 'r') ADVANCE(39);
      END_STATE();
    case 36:
      ACCEPT_TOKEN(anon_sym_false);
      END_STATE();
    case 37:
      if (lookahead == 't') ADVANCE(40);
      END_STATE();
    case 38:
      ACCEPT_TOKEN(anon_sym_keyof);
      END_STATE();
    case 39:
      if (lookahead == 'e') ADVANCE(41);
      END_STATE();
    case 40:
      ACCEPT_TOKEN(anon_sym_import);
      END_STATE();
    case 41:
      ACCEPT_TOKEN(anon_sym_declare);
      END_STATE();
    default:
      return false;
  }
}

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

enum {
  ts_external_token__newline = 0,
  ts_external_token__indent = 1,
  ts_external_token__dedent = 2,
  ts_external_token__string_start = 3,
  ts_external_token__string_content = 4,
  ts_external_token__string_end = 5,
};

static TSSymbol ts_external_scanner_symbol_map[EXTERNAL_TOKEN_COUNT] = {
  [ts_external_token__newline] = sym__newline,
  [ts_external_token__indent] = sym__indent,
  [ts_external_token__dedent] = sym__dedent,
  [ts_external_token__string_start] = sym__string_start,
  [ts_external_token__string_content] = sym__string_content,
  [ts_external_token__string_end] = sym__string_end,
};

static bool ts_external_scanner_states[7][EXTERNAL_TOKEN_COUNT] = {
  [1] = {
    [ts_external_token__newline] = true,
    [ts_external_token__indent] = true,
    [ts_external_token__dedent] = true,
    [ts_external_token__string_start] = true,
    [ts_external_token__string_content] = true,
    [ts_external_token__string_end] = true,
  },
  [2] = {
    [ts_external_token__dedent] = true,
  },
  [3] = {
    [ts_external_token__string_content] = true,
    [ts_external_token__string_end] = true,
  },
  [4] = {
    [ts_external_token__string_start] = true,
  },
  [5] = {
    [ts_external_token__indent] = true,
  },
  [6] = {
    [ts_external_token__newline] = true,
  },
};

static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
  [0] = {
    [ts_builtin_sym_end] = ACTIONS(1),
    [sym__identifier_without_operators] = ACTIONS(1),
    [sym_comment] = ACTIONS(3),
    [anon_sym_declare] = ACTIONS(1),
    [anon_sym_COLON_COLON] = ACTIONS(1),
    [anon_sym_import] = ACTIONS(1),
    [anon_sym_LBRACE] = ACTIONS(1),
    [anon_sym_COMMA] = ACTIONS(1),
    [anon_sym_RBRACE] = ACTIONS(1),
    [anon_sym_from] = ACTIONS(1),
    [anon_sym_as] = ACTIONS(1),
    [sym__operator] = ACTIONS(1),
    [anon_sym_LT_COLON] = ACTIONS(1),
    [anon_sym_LPAREN] = ACTIONS(1),
    [anon_sym_SEMI] = ACTIONS(1),
    [anon_sym_RPAREN] = ACTIONS(1),
    [anon_sym_LT] = ACTIONS(1),
    [anon_sym_GT] = ACTIONS(1),
    [anon_sym_DASH_GT] = ACTIONS(1),
    [anon_sym_AMP] = ACTIONS(1),
    [anon_sym_PIPE] = ACTIONS(1),
    [anon_sym_BSLASH] = ACTIONS(1),
    [anon_sym_if] = ACTIONS(1),
    [anon_sym_then] = ACTIONS(1),
    [anon_sym_else] = ACTIONS(1),
    [anon_sym_COLON] = ACTIONS(1),
    [anon_sym_LBRACK] = ACTIONS(1),
    [anon_sym_in] = ACTIONS(1),
    [anon_sym_RBRACK] = ACTIONS(1),
    [anon_sym_LPAREN_RPAREN] = ACTIONS(1),
    [anon_sym_keyof] = ACTIONS(1),
    [sym_type] = ACTIONS(1),
    [anon_sym_false] = ACTIONS(1),
    [anon_sym_true] = ACTIONS(1),
    [sym__decimal] = ACTIONS(1),
    [sym__integer] = ACTIONS(1),
    [anon_sym_r_SLASH] = ACTIONS(1),
    [anon_sym_SLASH] = ACTIONS(1),
    [sym__newline] = ACTIONS(1),
    [sym__indent] = ACTIONS(1),
    [sym__dedent] = ACTIONS(1),
    [sym__string_start] = ACTIONS(1),
    [sym__string_content] = ACTIONS(1),
    [sym__string_end] = ACTIONS(1),
  },
  [1] = {
    [sym_program] = STATE(399),
    [sym_declaration] = STATE(397),
    [sym_import] = STATE(362),
    [aux_sym_program_repeat1] = STATE(247),
    [sym_comment] = ACTIONS(3),
    [anon_sym_declare] = ACTIONS(5),
    [anon_sym_import] = ACTIONS(7),
  },
};

static uint16_t ts_small_parse_table[] = {
  [0] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_LT,
    ACTIONS(21), 1,
      anon_sym_if,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(27), 1,
      anon_sym_keyof,
    ACTIONS(29), 1,
      sym_type,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    ACTIONS(13), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
    ACTIONS(19), 6,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
    STATE(139), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [66] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    ACTIONS(13), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
    ACTIONS(19), 5,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_then,
      anon_sym_else,
    STATE(139), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [133] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(13), 1,
      anon_sym_COMMA,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(37), 1,
      anon_sym_LT,
    ACTIONS(39), 1,
      anon_sym_if,
    ACTIONS(41), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    ACTIONS(19), 5,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
    STATE(139), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [194] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(13), 1,
      anon_sym_COMMA,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    ACTIONS(19), 4,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
    STATE(139), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [256] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym__dedent,
    ACTIONS(51), 1,
      anon_sym_LBRACE,
    ACTIONS(53), 1,
      anon_sym_LPAREN,
    ACTIONS(55), 1,
      anon_sym_LT,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(59), 1,
      anon_sym_LBRACK,
    ACTIONS(61), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(63), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(170), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    ACTIONS(19), 4,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
    STATE(183), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [316] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(13), 1,
      anon_sym_LT_COLON,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(67), 1,
      anon_sym_LT,
    ACTIONS(69), 1,
      anon_sym_if,
    ACTIONS(71), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    ACTIONS(19), 4,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
    STATE(139), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [376] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym__dedent,
    ACTIONS(65), 1,
      sym_type,
    ACTIONS(73), 1,
      anon_sym_LBRACE,
    ACTIONS(75), 1,
      anon_sym_LPAREN,
    ACTIONS(77), 1,
      anon_sym_LT,
    ACTIONS(79), 1,
      anon_sym_if,
    ACTIONS(81), 1,
      anon_sym_LBRACK,
    ACTIONS(83), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(85), 1,
      anon_sym_keyof,
    STATE(187), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(189), 2,
      sym_parametric_type,
      sym_union_type,
    ACTIONS(19), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
    STATE(212), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [437] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(13), 1,
      anon_sym_LT_COLON,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    ACTIONS(19), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
    STATE(139), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [498] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(161), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [554] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(199), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [610] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(166), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [666] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(95), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(197), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [722] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(167), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [778] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(168), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [834] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(160), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [890] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(162), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [946] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(164), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1002] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(93), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(165), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1058] = 14,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(97), 1,
      anon_sym_RPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(217), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1114] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(234), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1167] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(283), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1220] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(257), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1273] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(258), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1326] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(259), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1379] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(260), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1432] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(263), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1485] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(269), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1538] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_LT,
    ACTIONS(21), 1,
      anon_sym_if,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(27), 1,
      anon_sym_keyof,
    ACTIONS(29), 1,
      sym_type,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(149), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1589] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(65), 1,
      sym_type,
    ACTIONS(73), 1,
      anon_sym_LBRACE,
    ACTIONS(75), 1,
      anon_sym_LPAREN,
    ACTIONS(77), 1,
      anon_sym_LT,
    ACTIONS(79), 1,
      anon_sym_if,
    ACTIONS(81), 1,
      anon_sym_LBRACK,
    ACTIONS(83), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(85), 1,
      anon_sym_keyof,
    STATE(187), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(189), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(213), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1642] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(253), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1695] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_LT,
    ACTIONS(21), 1,
      anon_sym_if,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(27), 1,
      anon_sym_keyof,
    ACTIONS(29), 1,
      sym_type,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(153), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1746] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_LT,
    ACTIONS(21), 1,
      anon_sym_if,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(27), 1,
      anon_sym_keyof,
    ACTIONS(29), 1,
      sym_type,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(148), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1797] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_LT,
    ACTIONS(21), 1,
      anon_sym_if,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(27), 1,
      anon_sym_keyof,
    ACTIONS(29), 1,
      sym_type,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(154), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1848] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(51), 1,
      anon_sym_LBRACE,
    ACTIONS(53), 1,
      anon_sym_LPAREN,
    ACTIONS(55), 1,
      anon_sym_LT,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(59), 1,
      anon_sym_LBRACK,
    ACTIONS(61), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(63), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(170), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(185), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1899] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(51), 1,
      anon_sym_LBRACE,
    ACTIONS(53), 1,
      anon_sym_LPAREN,
    ACTIONS(55), 1,
      anon_sym_LT,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(59), 1,
      anon_sym_LBRACK,
    ACTIONS(61), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(63), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(170), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(188), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [1950] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(198), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(270), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2003] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(51), 1,
      anon_sym_LBRACE,
    ACTIONS(53), 1,
      anon_sym_LPAREN,
    ACTIONS(55), 1,
      anon_sym_LT,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(59), 1,
      anon_sym_LBRACK,
    ACTIONS(61), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(63), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(170), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(180), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2054] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(51), 1,
      anon_sym_LBRACE,
    ACTIONS(53), 1,
      anon_sym_LPAREN,
    ACTIONS(55), 1,
      anon_sym_LT,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(59), 1,
      anon_sym_LBRACK,
    ACTIONS(61), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(63), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(170), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(179), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2105] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(51), 1,
      anon_sym_LBRACE,
    ACTIONS(53), 1,
      anon_sym_LPAREN,
    ACTIONS(55), 1,
      anon_sym_LT,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(59), 1,
      anon_sym_LBRACK,
    ACTIONS(61), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(63), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(170), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(173), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2156] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(159), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2209] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(273), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2262] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(200), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(276), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2315] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(99), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(277), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2368] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(271), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2421] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(274), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2474] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(101), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(279), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2527] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(65), 1,
      sym_type,
    ACTIONS(73), 1,
      anon_sym_LBRACE,
    ACTIONS(75), 1,
      anon_sym_LPAREN,
    ACTIONS(77), 1,
      anon_sym_LT,
    ACTIONS(79), 1,
      anon_sym_if,
    ACTIONS(81), 1,
      anon_sym_LBRACK,
    ACTIONS(83), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(85), 1,
      anon_sym_keyof,
    STATE(187), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(189), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(218), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2580] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(158), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2633] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_LT,
    ACTIONS(21), 1,
      anon_sym_if,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(27), 1,
      anon_sym_keyof,
    ACTIONS(29), 1,
      sym_type,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(147), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2684] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(103), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(280), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2737] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(135), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(133), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(327), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2790] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(105), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(281), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2843] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(107), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(284), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2896] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(219), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(291), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [2949] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(135), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(133), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(310), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3002] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(143), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(136), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(310), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3055] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(109), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(297), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3108] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(135), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(133), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(332), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3161] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(143), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(136), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(332), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3214] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(111), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(275), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3267] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(295), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3320] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(296), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3373] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(231), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3426] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(169), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(190), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(336), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3479] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(65), 1,
      sym_type,
    ACTIONS(73), 1,
      anon_sym_LBRACE,
    ACTIONS(75), 1,
      anon_sym_LPAREN,
    ACTIONS(77), 1,
      anon_sym_LT,
    ACTIONS(79), 1,
      anon_sym_if,
    ACTIONS(81), 1,
      anon_sym_LBRACK,
    ACTIONS(83), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(85), 1,
      anon_sym_keyof,
    STATE(187), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(189), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(233), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3532] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(65), 1,
      sym_type,
    ACTIONS(73), 1,
      anon_sym_LBRACE,
    ACTIONS(75), 1,
      anon_sym_LPAREN,
    ACTIONS(77), 1,
      anon_sym_LT,
    ACTIONS(79), 1,
      anon_sym_if,
    ACTIONS(81), 1,
      anon_sym_LBRACK,
    ACTIONS(83), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(85), 1,
      anon_sym_keyof,
    STATE(187), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(189), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(232), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3585] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(51), 1,
      anon_sym_LBRACE,
    ACTIONS(53), 1,
      anon_sym_LPAREN,
    ACTIONS(55), 1,
      anon_sym_LT,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(59), 1,
      anon_sym_LBRACK,
    ACTIONS(61), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(63), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(170), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(191), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3636] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(65), 1,
      sym_type,
    STATE(192), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(193), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(336), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3689] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(300), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3742] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(301), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3795] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(242), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3848] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(37), 1,
      anon_sym_LT,
    ACTIONS(39), 1,
      anon_sym_if,
    ACTIONS(41), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(221), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3899] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(37), 1,
      anon_sym_LT,
    ACTIONS(39), 1,
      anon_sym_if,
    ACTIONS(41), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(224), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [3950] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(37), 1,
      anon_sym_LT,
    ACTIONS(39), 1,
      anon_sym_if,
    ACTIONS(41), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(226), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4001] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(251), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4054] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(37), 1,
      anon_sym_LT,
    ACTIONS(39), 1,
      anon_sym_if,
    ACTIONS(41), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(227), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4105] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(37), 1,
      anon_sym_LT,
    ACTIONS(39), 1,
      anon_sym_if,
    ACTIONS(41), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(220), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4156] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    ACTIONS(113), 1,
      anon_sym_LPAREN,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(290), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4209] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(237), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4262] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(236), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4315] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_LT,
    ACTIONS(21), 1,
      anon_sym_if,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(27), 1,
      anon_sym_keyof,
    ACTIONS(29), 1,
      sym_type,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(151), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4366] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(37), 1,
      anon_sym_LT,
    ACTIONS(39), 1,
      anon_sym_if,
    ACTIONS(41), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(196), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4417] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(156), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4470] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(235), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4523] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(238), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4576] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(157), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4629] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(143), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(136), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(327), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4682] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(155), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4735] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(286), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4788] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(293), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4841] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(292), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4894] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(289), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [4947] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(288), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5000] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(67), 1,
      anon_sym_LT,
    ACTIONS(69), 1,
      anon_sym_if,
    ACTIONS(71), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(252), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5051] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(67), 1,
      anon_sym_LT,
    ACTIONS(69), 1,
      anon_sym_if,
    ACTIONS(71), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(250), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5102] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(67), 1,
      anon_sym_LT,
    ACTIONS(69), 1,
      anon_sym_if,
    ACTIONS(71), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(246), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5153] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(67), 1,
      anon_sym_LT,
    ACTIONS(69), 1,
      anon_sym_if,
    ACTIONS(71), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(243), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5204] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(67), 1,
      anon_sym_LT,
    ACTIONS(69), 1,
      anon_sym_if,
    ACTIONS(71), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(239), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5255] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(287), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5308] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(240), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5361] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(255), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5414] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(285), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5467] = 12,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(67), 1,
      anon_sym_LT,
    ACTIONS(69), 1,
      anon_sym_if,
    ACTIONS(71), 1,
      anon_sym_keyof,
    STATE(142), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(244), 14,
      sym__type,
      sym_parametric_type,
      sym_curried_type,
      sym_intersection_type,
      sym_union_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5518] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(278), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5571] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(43), 1,
      anon_sym_LT,
    ACTIONS(45), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_keyof,
    STATE(203), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(202), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(204), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5624] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(268), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5677] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(256), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5730] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(261), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5783] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(282), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5836] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(87), 1,
      anon_sym_LT,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(91), 1,
      anon_sym_keyof,
    STATE(241), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(245), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(272), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5889] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(303), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5942] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(249), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [5995] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(305), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6048] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(306), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6101] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(264), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6154] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(304), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6207] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(302), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6260] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(299), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6313] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(298), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6366] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(65), 1,
      sym_type,
    ACTIONS(73), 1,
      anon_sym_LBRACE,
    ACTIONS(75), 1,
      anon_sym_LPAREN,
    ACTIONS(77), 1,
      anon_sym_LT,
    ACTIONS(79), 1,
      anon_sym_if,
    ACTIONS(81), 1,
      anon_sym_LBRACK,
    ACTIONS(83), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(85), 1,
      anon_sym_keyof,
    STATE(187), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(189), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(208), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6419] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(65), 1,
      sym_type,
    ACTIONS(73), 1,
      anon_sym_LBRACE,
    ACTIONS(75), 1,
      anon_sym_LPAREN,
    ACTIONS(77), 1,
      anon_sym_LT,
    ACTIONS(79), 1,
      anon_sym_if,
    ACTIONS(81), 1,
      anon_sym_LBRACK,
    ACTIONS(83), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(85), 1,
      anon_sym_keyof,
    STATE(187), 1,
      sym_identifier,
    ACTIONS(49), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(189), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(211), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6472] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(262), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6525] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(266), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6578] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(267), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6631] = 13,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_LBRACE,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(23), 1,
      anon_sym_LBRACK,
    ACTIONS(25), 1,
      anon_sym_LPAREN_RPAREN,
    ACTIONS(29), 1,
      sym_type,
    ACTIONS(31), 1,
      anon_sym_LT,
    ACTIONS(33), 1,
      anon_sym_if,
    ACTIONS(35), 1,
      anon_sym_keyof,
    STATE(152), 1,
      sym_identifier,
    ACTIONS(9), 2,
      sym__identifier_without_operators,
      sym__operator,
    STATE(150), 2,
      sym_parametric_type,
      sym_union_type,
    STATE(265), 12,
      sym__type,
      sym_curried_type,
      sym_intersection_type,
      sym_subtraction_type,
      sym_conditional_type,
      sym_struct_type,
      sym_map_type,
      sym_tuple_type,
      sym_list_type,
      sym_tagged_type,
      sym_keyof,
      sym_type_group,
  [6684] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(117), 1,
      anon_sym_COLON,
    ACTIONS(115), 15,
      anon_sym_COLON_COLON,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_in,
      anon_sym_RBRACK,
  [6708] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(121), 1,
      anon_sym_LT,
    ACTIONS(119), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6730] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(123), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6749] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(125), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6768] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(127), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6787] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(129), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6806] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(135), 1,
      anon_sym_BSLASH,
    ACTIONS(133), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
    ACTIONS(131), 9,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6829] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(137), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6848] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(143), 1,
      anon_sym_BSLASH,
    ACTIONS(141), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
    ACTIONS(139), 9,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6871] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(135), 1,
      anon_sym_BSLASH,
    ACTIONS(133), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
    ACTIONS(145), 9,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6894] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(147), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6913] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(149), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6932] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(151), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6951] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(153), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6970] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(155), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [6989] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(141), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7008] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(143), 1,
      anon_sym_BSLASH,
    ACTIONS(141), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
    ACTIONS(157), 9,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7031] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(159), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7050] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(161), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7069] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(163), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_LT_COLON,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7088] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(167), 1,
      anon_sym_DASH_GT,
    ACTIONS(169), 1,
      anon_sym_AMP,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(165), 8,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7111] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(167), 1,
      anon_sym_DASH_GT,
    ACTIONS(169), 1,
      anon_sym_AMP,
    ACTIONS(173), 9,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7132] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(167), 1,
      anon_sym_DASH_GT,
    ACTIONS(169), 1,
      anon_sym_AMP,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(175), 8,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7155] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(135), 1,
      anon_sym_BSLASH,
    ACTIONS(133), 10,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7174] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(167), 1,
      anon_sym_DASH_GT,
    ACTIONS(169), 1,
      anon_sym_AMP,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(177), 8,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7197] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(143), 1,
      anon_sym_BSLASH,
    ACTIONS(141), 10,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7216] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(167), 1,
      anon_sym_DASH_GT,
    ACTIONS(169), 1,
      anon_sym_AMP,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(179), 8,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7239] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(167), 1,
      anon_sym_DASH_GT,
    ACTIONS(169), 1,
      anon_sym_AMP,
    ACTIONS(181), 9,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_PIPE,
      anon_sym_BSLASH,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7260] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(175), 7,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7282] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(173), 8,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_PIPE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7302] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(181), 8,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_PIPE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7322] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(179), 7,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7344] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(165), 7,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [7366] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
    STATE(342), 1,
      aux_sym_type_variable_declaration_repeat1,
  [7394] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(338), 1,
      aux_sym_type_variable_declaration_repeat1,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
  [7422] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(311), 1,
      aux_sym_type_variable_declaration_repeat1,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
  [7450] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(195), 1,
      anon_sym_LT,
    ACTIONS(119), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(193), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7468] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(333), 1,
      aux_sym_type_variable_declaration_repeat1,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
  [7496] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(322), 1,
      aux_sym_type_variable_declaration_repeat1,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
  [7524] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(313), 1,
      aux_sym_type_variable_declaration_repeat1,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
  [7552] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
    STATE(343), 1,
      aux_sym_type_variable_declaration_repeat1,
  [7580] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
    STATE(350), 1,
      aux_sym_type_variable_declaration_repeat1,
  [7608] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(197), 1,
      sym__operator,
    ACTIONS(201), 1,
      anon_sym_BSLASH,
    ACTIONS(157), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(199), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [7627] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(141), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(199), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7642] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(147), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(203), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7657] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(149), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(205), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7672] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(209), 1,
      anon_sym_DASH_GT,
    ACTIONS(211), 1,
      anon_sym_AMP,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(175), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(207), 2,
      sym__operator,
      anon_sym_BSLASH,
  [7693] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(129), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(215), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7708] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(159), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(217), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7723] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(161), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(219), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7738] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(163), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(221), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7753] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(125), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(223), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7768] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(209), 1,
      anon_sym_DASH_GT,
    ACTIONS(211), 1,
      anon_sym_AMP,
    ACTIONS(181), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(225), 3,
      sym__operator,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7787] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(209), 1,
      anon_sym_DASH_GT,
    ACTIONS(211), 1,
      anon_sym_AMP,
    ACTIONS(173), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(227), 3,
      sym__operator,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7806] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(123), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(229), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7821] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(127), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(231), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7836] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(151), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(233), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7851] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(155), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(235), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7866] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(209), 1,
      anon_sym_DASH_GT,
    ACTIONS(211), 1,
      anon_sym_AMP,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(179), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(237), 2,
      sym__operator,
      anon_sym_BSLASH,
  [7887] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(137), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(239), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [7902] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(241), 1,
      anon_sym_BSLASH,
    ACTIONS(141), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(199), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [7919] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(209), 1,
      anon_sym_DASH_GT,
    ACTIONS(211), 1,
      anon_sym_AMP,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(165), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(243), 2,
      sym__operator,
      anon_sym_BSLASH,
  [7940] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(247), 1,
      anon_sym_BSLASH,
    ACTIONS(133), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(245), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [7957] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(249), 1,
      sym__operator,
    ACTIONS(251), 1,
      anon_sym_BSLASH,
    ACTIONS(145), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(245), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [7976] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(209), 1,
      anon_sym_DASH_GT,
    ACTIONS(211), 1,
      anon_sym_AMP,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(177), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(253), 2,
      sym__operator,
      anon_sym_BSLASH,
  [7997] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(201), 1,
      anon_sym_BSLASH,
    ACTIONS(255), 1,
      sym__operator,
    ACTIONS(139), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(199), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8016] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(251), 1,
      anon_sym_BSLASH,
    ACTIONS(257), 1,
      sym__operator,
    ACTIONS(131), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(245), 3,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8035] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(115), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(117), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [8050] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(153), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(259), 5,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [8065] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(261), 1,
      anon_sym_DASH_GT,
    ACTIONS(263), 1,
      anon_sym_AMP,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(177), 3,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_BSLASH,
  [8083] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(267), 1,
      anon_sym_RPAREN,
    STATE(316), 1,
      aux_sym_tuple_type_repeat1,
  [8105] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(143), 1,
      anon_sym_BSLASH,
    ACTIONS(269), 1,
      anon_sym_in,
    ACTIONS(141), 4,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_RBRACK,
  [8121] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(191), 1,
      anon_sym_RPAREN,
    STATE(340), 1,
      aux_sym_tuple_type_repeat1,
  [8143] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(143), 1,
      anon_sym_BSLASH,
    ACTIONS(271), 1,
      anon_sym_in,
    ACTIONS(141), 4,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_RBRACK,
  [8159] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(275), 1,
      sym__dedent,
    STATE(205), 1,
      aux_sym_declaration_repeat1,
    STATE(308), 1,
      sym_declaration_member,
    STATE(386), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [8179] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(277), 1,
      anon_sym_BSLASH,
    ACTIONS(133), 5,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8193] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(279), 1,
      anon_sym_BSLASH,
    ACTIONS(141), 5,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8207] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(281), 1,
      anon_sym_COMMA,
    ACTIONS(283), 1,
      anon_sym_GT,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    STATE(341), 1,
      aux_sym_parametric_type_repeat1,
  [8229] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(292), 1,
      sym__dedent,
    STATE(205), 1,
      aux_sym_declaration_repeat1,
    STATE(308), 1,
      sym_declaration_member,
    STATE(386), 1,
      sym_identifier,
    ACTIONS(289), 2,
      sym__identifier_without_operators,
      sym__operator,
  [8249] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(294), 1,
      anon_sym_RBRACE,
    ACTIONS(296), 1,
      anon_sym_LBRACK,
    STATE(307), 1,
      sym_member_type,
    STATE(370), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [8269] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(127), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(231), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8283] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(237), 1,
      sym__operator,
    ACTIONS(298), 1,
      anon_sym_DASH_GT,
    ACTIONS(300), 1,
      anon_sym_AMP,
    ACTIONS(179), 2,
      sym__dedent,
      sym__identifier_without_operators,
  [8303] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(137), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(239), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8317] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(129), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(215), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8331] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(243), 1,
      sym__operator,
    ACTIONS(298), 1,
      anon_sym_DASH_GT,
    ACTIONS(300), 1,
      anon_sym_AMP,
    ACTIONS(165), 2,
      sym__dedent,
      sym__identifier_without_operators,
  [8351] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(151), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(233), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8365] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(298), 1,
      anon_sym_DASH_GT,
    ACTIONS(300), 1,
      anon_sym_AMP,
    ACTIONS(304), 1,
      sym__operator,
    ACTIONS(302), 2,
      sym__dedent,
      sym__identifier_without_operators,
  [8385] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(147), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(203), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8399] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(149), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(205), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8413] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(123), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(229), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8427] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(306), 1,
      anon_sym_RPAREN,
    STATE(315), 1,
      aux_sym_tuple_type_repeat1,
  [8449] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(207), 1,
      sym__operator,
    ACTIONS(213), 1,
      anon_sym_PIPE,
    ACTIONS(298), 1,
      anon_sym_DASH_GT,
    ACTIONS(300), 1,
      anon_sym_AMP,
    ACTIONS(175), 2,
      sym__dedent,
      sym__identifier_without_operators,
  [8469] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(143), 1,
      anon_sym_BSLASH,
    ACTIONS(308), 1,
      anon_sym_in,
    ACTIONS(141), 4,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
      anon_sym_RBRACK,
  [8485] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(261), 1,
      anon_sym_DASH_GT,
    ACTIONS(263), 1,
      anon_sym_AMP,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(175), 3,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_BSLASH,
  [8503] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(261), 1,
      anon_sym_DASH_GT,
    ACTIONS(263), 1,
      anon_sym_AMP,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(165), 3,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_BSLASH,
  [8521] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(310), 1,
      anon_sym_RBRACE,
    ACTIONS(312), 1,
      anon_sym_LBRACK,
    STATE(321), 1,
      sym_member_type,
    STATE(370), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [8541] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(161), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(219), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8555] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(261), 1,
      anon_sym_DASH_GT,
    ACTIONS(263), 1,
      anon_sym_AMP,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(179), 3,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_BSLASH,
  [8573] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(314), 1,
      anon_sym_RBRACE,
    ACTIONS(316), 1,
      anon_sym_LBRACK,
    STATE(318), 1,
      sym_member_type,
    STATE(370), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [8593] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(261), 1,
      anon_sym_DASH_GT,
    ACTIONS(263), 1,
      anon_sym_AMP,
    ACTIONS(173), 4,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [8609] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(261), 1,
      anon_sym_DASH_GT,
    ACTIONS(263), 1,
      anon_sym_AMP,
    ACTIONS(181), 4,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [8625] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(163), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(221), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8639] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(125), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(223), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8653] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(155), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(235), 4,
      sym__operator,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8667] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(281), 1,
      anon_sym_COMMA,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    ACTIONS(318), 1,
      anon_sym_GT,
    STATE(328), 1,
      aux_sym_parametric_type_repeat1,
  [8689] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(298), 1,
      anon_sym_DASH_GT,
    ACTIONS(300), 1,
      anon_sym_AMP,
    ACTIONS(173), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(227), 2,
      sym__operator,
      anon_sym_PIPE,
  [8707] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(298), 1,
      anon_sym_DASH_GT,
    ACTIONS(300), 1,
      anon_sym_AMP,
    ACTIONS(181), 2,
      sym__dedent,
      sym__identifier_without_operators,
    ACTIONS(225), 2,
      sym__operator,
      anon_sym_PIPE,
  [8725] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    ACTIONS(181), 3,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_PIPE,
  [8740] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    ACTIONS(173), 3,
      anon_sym_COMMA,
      anon_sym_GT,
      anon_sym_PIPE,
  [8755] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    ACTIONS(179), 2,
      anon_sym_COMMA,
      anon_sym_GT,
  [8772] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    ACTIONS(165), 2,
      anon_sym_COMMA,
      anon_sym_GT,
  [8789] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    ACTIONS(175), 2,
      anon_sym_COMMA,
      anon_sym_GT,
  [8806] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(320), 1,
      anon_sym_DASH_GT,
    ACTIONS(322), 1,
      anon_sym_AMP,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(175), 2,
      anon_sym_LT_COLON,
      anon_sym_BSLASH,
  [8823] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(265), 1,
      anon_sym_PIPE,
    ACTIONS(285), 1,
      anon_sym_DASH_GT,
    ACTIONS(287), 1,
      anon_sym_AMP,
    ACTIONS(326), 2,
      anon_sym_COMMA,
      anon_sym_GT,
  [8840] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(328), 1,
      anon_sym_BSLASH,
    ACTIONS(141), 4,
      anon_sym_LT_COLON,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8853] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(330), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [8870] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(320), 1,
      anon_sym_DASH_GT,
    ACTIONS(322), 1,
      anon_sym_AMP,
    ACTIONS(181), 3,
      anon_sym_LT_COLON,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [8885] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(320), 1,
      anon_sym_DASH_GT,
    ACTIONS(322), 1,
      anon_sym_AMP,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(177), 2,
      anon_sym_LT_COLON,
      anon_sym_BSLASH,
  [8902] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(332), 1,
      anon_sym_BSLASH,
    ACTIONS(133), 4,
      anon_sym_LT_COLON,
      anon_sym_DASH_GT,
      anon_sym_AMP,
      anon_sym_PIPE,
  [8915] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(320), 1,
      anon_sym_DASH_GT,
    ACTIONS(322), 1,
      anon_sym_AMP,
    ACTIONS(173), 3,
      anon_sym_LT_COLON,
      anon_sym_PIPE,
      anon_sym_BSLASH,
  [8930] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(5), 1,
      anon_sym_declare,
    ACTIONS(7), 1,
      anon_sym_import,
    STATE(254), 1,
      aux_sym_program_repeat1,
    STATE(362), 1,
      sym_import,
    STATE(400), 1,
      sym_declaration,
  [8949] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(201), 1,
      aux_sym_declaration_repeat1,
    STATE(308), 1,
      sym_declaration_member,
    STATE(386), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [8966] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(334), 2,
      anon_sym_SEMI,
      anon_sym_RPAREN,
  [8983] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(320), 1,
      anon_sym_DASH_GT,
    ACTIONS(322), 1,
      anon_sym_AMP,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(179), 2,
      anon_sym_LT_COLON,
      anon_sym_BSLASH,
  [9000] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(336), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [9017] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(320), 1,
      anon_sym_DASH_GT,
    ACTIONS(322), 1,
      anon_sym_AMP,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(165), 2,
      anon_sym_LT_COLON,
      anon_sym_BSLASH,
  [9034] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(338), 1,
      anon_sym_RBRACK,
  [9050] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(340), 1,
      anon_sym_declare,
    ACTIONS(342), 1,
      anon_sym_import,
    STATE(254), 1,
      aux_sym_program_repeat1,
    STATE(362), 1,
      sym_import,
  [9066] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(345), 1,
      anon_sym_RBRACK,
  [9082] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(347), 1,
      anon_sym_LT_COLON,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
  [9098] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(353), 1,
      anon_sym_LT_COLON,
  [9114] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(355), 1,
      anon_sym_LT_COLON,
  [9130] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(357), 1,
      anon_sym_LT_COLON,
  [9146] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(359), 1,
      anon_sym_LT_COLON,
  [9162] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(361), 1,
      anon_sym_RBRACE,
  [9178] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(363), 1,
      anon_sym_else,
  [9194] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(365), 1,
      anon_sym_LT_COLON,
  [9210] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(367), 1,
      anon_sym_RBRACE,
  [9226] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(369), 1,
      anon_sym_else,
  [9242] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(371), 1,
      anon_sym_else,
  [9258] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(373), 1,
      anon_sym_RBRACE,
  [9274] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(375), 1,
      anon_sym_else,
  [9290] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(377), 1,
      anon_sym_LT_COLON,
  [9306] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(379), 1,
      anon_sym_RBRACK,
  [9322] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(381), 1,
      anon_sym_LT_COLON,
  [9338] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(175), 1,
      anon_sym_LT_COLON,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
  [9354] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(383), 1,
      anon_sym_RBRACK,
  [9370] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(385), 1,
      anon_sym_RBRACK,
  [9386] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(387), 1,
      anon_sym_then,
  [9402] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(389), 1,
      anon_sym_RBRACK,
  [9418] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(391), 1,
      anon_sym_then,
  [9434] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(393), 1,
      anon_sym_RBRACE,
  [9450] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(395), 1,
      anon_sym_then,
  [9466] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(397), 1,
      anon_sym_then,
  [9482] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(399), 1,
      anon_sym_then,
  [9498] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(181), 2,
      anon_sym_LT_COLON,
      anon_sym_PIPE,
  [9512] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
    ACTIONS(173), 2,
      anon_sym_LT_COLON,
      anon_sym_PIPE,
  [9526] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(401), 1,
      anon_sym_then,
  [9542] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(179), 1,
      anon_sym_LT_COLON,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
  [9558] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(403), 1,
      anon_sym_RBRACK,
  [9574] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(165), 1,
      anon_sym_LT_COLON,
    ACTIONS(324), 1,
      anon_sym_PIPE,
    ACTIONS(349), 1,
      anon_sym_DASH_GT,
    ACTIONS(351), 1,
      anon_sym_AMP,
  [9590] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(405), 1,
      anon_sym_else,
  [9606] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(407), 1,
      anon_sym_else,
  [9622] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(409), 1,
      anon_sym_then,
  [9638] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(411), 1,
      anon_sym_RBRACK,
  [9654] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(413), 1,
      anon_sym_else,
  [9670] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(415), 1,
      anon_sym_else,
  [9686] = 4,
    ACTIONS(3), 1,
      sym_comment,
    STATE(360), 1,
      sym_member_type,
    STATE(370), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [9700] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(417), 1,
      anon_sym_else,
  [9716] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(419), 1,
      anon_sym_else,
  [9732] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(421), 1,
      anon_sym_then,
  [9748] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(423), 1,
      anon_sym_RBRACK,
  [9764] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(425), 1,
      anon_sym_RBRACE,
  [9780] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(427), 1,
      anon_sym_else,
  [9796] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(429), 1,
      anon_sym_else,
  [9812] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(431), 1,
      anon_sym_else,
  [9828] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(433), 1,
      anon_sym_else,
  [9844] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(435), 1,
      anon_sym_RBRACE,
  [9860] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(437), 1,
      anon_sym_else,
  [9876] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(439), 1,
      anon_sym_else,
  [9892] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(441), 1,
      anon_sym_COMMA,
    ACTIONS(443), 1,
      anon_sym_RBRACE,
    STATE(319), 1,
      aux_sym_struct_type_repeat1,
  [9905] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(445), 3,
      sym__dedent,
      sym__identifier_without_operators,
      sym__operator,
  [9914] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(369), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [9925] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(265), 1,
      anon_sym_PIPE,
  [9938] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(447), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [9951] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(374), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [9962] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(449), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [9975] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(451), 1,
      anon_sym_COMMA,
    ACTIONS(454), 1,
      anon_sym_RBRACE,
    STATE(314), 1,
      aux_sym__import_body_repeat1,
  [9988] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(456), 1,
      anon_sym_RPAREN,
    STATE(326), 1,
      aux_sym_tuple_type_repeat1,
  [10001] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(458), 1,
      anon_sym_RPAREN,
    STATE(326), 1,
      aux_sym_tuple_type_repeat1,
  [10014] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(441), 1,
      anon_sym_COMMA,
    ACTIONS(460), 1,
      anon_sym_RBRACE,
    STATE(325), 1,
      aux_sym_struct_type_repeat1,
  [10027] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(441), 1,
      anon_sym_COMMA,
    ACTIONS(462), 1,
      anon_sym_RBRACE,
    STATE(331), 1,
      aux_sym_struct_type_repeat1,
  [10040] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(441), 1,
      anon_sym_COMMA,
    ACTIONS(464), 1,
      anon_sym_RBRACE,
    STATE(325), 1,
      aux_sym_struct_type_repeat1,
  [10053] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(466), 1,
      anon_sym_COMMA,
    ACTIONS(468), 1,
      anon_sym_RBRACE,
    STATE(314), 1,
      aux_sym__import_body_repeat1,
  [10066] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(441), 1,
      anon_sym_COMMA,
    ACTIONS(470), 1,
      anon_sym_RBRACE,
    STATE(317), 1,
      aux_sym_struct_type_repeat1,
  [10079] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(472), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [10092] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(474), 1,
      sym__string_content,
    ACTIONS(476), 1,
      sym__string_end,
    STATE(351), 1,
      aux_sym_raw_string_repeat1,
  [10105] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(466), 1,
      anon_sym_COMMA,
    ACTIONS(478), 1,
      anon_sym_RBRACE,
    STATE(320), 1,
      aux_sym__import_body_repeat1,
  [10118] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(480), 1,
      anon_sym_COMMA,
    ACTIONS(483), 1,
      anon_sym_RBRACE,
    STATE(325), 1,
      aux_sym_struct_type_repeat1,
  [10131] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(485), 1,
      anon_sym_COMMA,
    ACTIONS(488), 1,
      anon_sym_RPAREN,
    STATE(326), 1,
      aux_sym_tuple_type_repeat1,
  [10144] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(171), 1,
      anon_sym_PIPE,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
  [10157] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(281), 1,
      anon_sym_COMMA,
    ACTIONS(490), 1,
      anon_sym_GT,
    STATE(334), 1,
      aux_sym_parametric_type_repeat1,
  [10170] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(390), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [10181] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(492), 1,
      sym__string_content,
    ACTIONS(495), 1,
      sym__string_end,
    STATE(330), 1,
      aux_sym_raw_string_repeat1,
  [10194] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(441), 1,
      anon_sym_COMMA,
    ACTIONS(497), 1,
      anon_sym_RBRACE,
    STATE(325), 1,
      aux_sym_struct_type_repeat1,
  [10207] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(324), 1,
      anon_sym_PIPE,
  [10220] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(499), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [10233] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(501), 1,
      anon_sym_COMMA,
    ACTIONS(504), 1,
      anon_sym_GT,
    STATE(334), 1,
      aux_sym_parametric_type_repeat1,
  [10246] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(506), 1,
      sym__string_content,
    ACTIONS(508), 1,
      sym__string_end,
    STATE(330), 1,
      aux_sym_raw_string_repeat1,
  [10259] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(183), 1,
      anon_sym_DASH_GT,
    ACTIONS(185), 1,
      anon_sym_AMP,
    ACTIONS(510), 1,
      anon_sym_PIPE,
  [10272] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(382), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [10283] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(512), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [10296] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(516), 1,
      anon_sym_as,
    ACTIONS(514), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [10307] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(187), 1,
      anon_sym_COMMA,
    ACTIONS(518), 1,
      anon_sym_RPAREN,
    STATE(326), 1,
      aux_sym_tuple_type_repeat1,
  [10320] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(281), 1,
      anon_sym_COMMA,
    ACTIONS(520), 1,
      anon_sym_GT,
    STATE(334), 1,
      aux_sym_parametric_type_repeat1,
  [10333] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(522), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [10346] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(524), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [10359] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(384), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [10370] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(387), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [10381] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(526), 1,
      anon_sym_SEMI,
    ACTIONS(529), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [10394] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(367), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [10405] = 3,
    ACTIONS(3), 1,
      sym_comment,
    STATE(393), 1,
      sym_identifier,
    ACTIONS(273), 2,
      sym__identifier_without_operators,
      sym__operator,
  [10416] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(531), 1,
      sym__string_content,
    ACTIONS(533), 1,
      sym__string_end,
    STATE(335), 1,
      aux_sym_raw_string_repeat1,
  [10429] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(189), 1,
      anon_sym_SEMI,
    ACTIONS(535), 1,
      anon_sym_RPAREN,
    STATE(346), 1,
      aux_sym_type_variable_declaration_repeat1,
  [10442] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(506), 1,
      sym__string_content,
    ACTIONS(537), 1,
      sym__string_end,
    STATE(330), 1,
      aux_sym_raw_string_repeat1,
  [10455] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(539), 2,
      anon_sym_declare,
      anon_sym_import,
  [10463] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(541), 1,
      sym__string_start,
    STATE(358), 1,
      sym_raw_string,
  [10473] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(543), 2,
      anon_sym_declare,
      anon_sym_import,
  [10481] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(541), 1,
      sym__string_start,
    STATE(352), 1,
      sym_raw_string,
  [10491] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(545), 2,
      anon_sym_declare,
      anon_sym_import,
  [10499] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(547), 1,
      sym_type,
    STATE(324), 1,
      sym_import_type,
  [10509] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(549), 2,
      anon_sym_declare,
      anon_sym_import,
  [10517] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(551), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [10525] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(553), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [10533] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(555), 2,
      anon_sym_declare,
      anon_sym_import,
  [10541] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(557), 2,
      anon_sym_declare,
      anon_sym_import,
  [10549] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(547), 1,
      sym_type,
    STATE(365), 1,
      sym_import_type,
  [10559] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(559), 1,
      sym__string_start,
    STATE(388), 1,
      sym_raw_string,
  [10569] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(561), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [10577] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(563), 1,
      anon_sym_LBRACE,
    STATE(361), 1,
      sym__import_body,
  [10587] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(565), 1,
      anon_sym_GT,
  [10594] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(567), 1,
      anon_sym_then,
  [10601] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(569), 1,
      anon_sym_GT,
  [10608] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(571), 1,
      anon_sym_COLON,
  [10615] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(573), 1,
      sym__indent,
  [10622] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(543), 1,
      sym__newline,
  [10629] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(575), 1,
      ts_builtin_sym_end,
  [10636] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(577), 1,
      anon_sym_GT,
  [10643] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(579), 1,
      anon_sym_COLON,
  [10650] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(581), 1,
      anon_sym_COLON,
  [10657] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(583), 1,
      anon_sym_from,
  [10664] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(585), 1,
      anon_sym_then,
  [10671] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(587), 1,
      anon_sym_then,
  [10678] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(589), 1,
      anon_sym_then,
  [10685] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(591), 1,
      anon_sym_COLON,
  [10692] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(593), 1,
      anon_sym_GT,
  [10699] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(595), 1,
      anon_sym_then,
  [10706] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(597), 1,
      anon_sym_GT,
  [10713] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(599), 1,
      anon_sym_then,
  [10720] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(601), 1,
      anon_sym_COLON_COLON,
  [10727] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(603), 1,
      anon_sym_GT,
  [10734] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(605), 1,
      sym__newline,
  [10741] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(607), 1,
      anon_sym_then,
  [10748] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(609), 1,
      anon_sym_GT,
  [10755] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(545), 1,
      sym__newline,
  [10762] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(611), 1,
      anon_sym_COLON,
  [10769] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(613), 1,
      anon_sym_GT,
  [10776] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(615), 1,
      anon_sym_from,
  [10783] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(617), 1,
      anon_sym_COLON,
  [10790] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(619), 1,
      anon_sym_then,
  [10797] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(621), 1,
      ts_builtin_sym_end,
  [10804] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(623), 1,
      sym_type,
  [10811] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(625), 1,
      ts_builtin_sym_end,
  [10818] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(627), 1,
      ts_builtin_sym_end,
  [10825] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(629), 1,
      anon_sym_COLON,
};

static uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(2)] = 0,
  [SMALL_STATE(3)] = 66,
  [SMALL_STATE(4)] = 133,
  [SMALL_STATE(5)] = 194,
  [SMALL_STATE(6)] = 256,
  [SMALL_STATE(7)] = 316,
  [SMALL_STATE(8)] = 376,
  [SMALL_STATE(9)] = 437,
  [SMALL_STATE(10)] = 498,
  [SMALL_STATE(11)] = 554,
  [SMALL_STATE(12)] = 610,
  [SMALL_STATE(13)] = 666,
  [SMALL_STATE(14)] = 722,
  [SMALL_STATE(15)] = 778,
  [SMALL_STATE(16)] = 834,
  [SMALL_STATE(17)] = 890,
  [SMALL_STATE(18)] = 946,
  [SMALL_STATE(19)] = 1002,
  [SMALL_STATE(20)] = 1058,
  [SMALL_STATE(21)] = 1114,
  [SMALL_STATE(22)] = 1167,
  [SMALL_STATE(23)] = 1220,
  [SMALL_STATE(24)] = 1273,
  [SMALL_STATE(25)] = 1326,
  [SMALL_STATE(26)] = 1379,
  [SMALL_STATE(27)] = 1432,
  [SMALL_STATE(28)] = 1485,
  [SMALL_STATE(29)] = 1538,
  [SMALL_STATE(30)] = 1589,
  [SMALL_STATE(31)] = 1642,
  [SMALL_STATE(32)] = 1695,
  [SMALL_STATE(33)] = 1746,
  [SMALL_STATE(34)] = 1797,
  [SMALL_STATE(35)] = 1848,
  [SMALL_STATE(36)] = 1899,
  [SMALL_STATE(37)] = 1950,
  [SMALL_STATE(38)] = 2003,
  [SMALL_STATE(39)] = 2054,
  [SMALL_STATE(40)] = 2105,
  [SMALL_STATE(41)] = 2156,
  [SMALL_STATE(42)] = 2209,
  [SMALL_STATE(43)] = 2262,
  [SMALL_STATE(44)] = 2315,
  [SMALL_STATE(45)] = 2368,
  [SMALL_STATE(46)] = 2421,
  [SMALL_STATE(47)] = 2474,
  [SMALL_STATE(48)] = 2527,
  [SMALL_STATE(49)] = 2580,
  [SMALL_STATE(50)] = 2633,
  [SMALL_STATE(51)] = 2684,
  [SMALL_STATE(52)] = 2737,
  [SMALL_STATE(53)] = 2790,
  [SMALL_STATE(54)] = 2843,
  [SMALL_STATE(55)] = 2896,
  [SMALL_STATE(56)] = 2949,
  [SMALL_STATE(57)] = 3002,
  [SMALL_STATE(58)] = 3055,
  [SMALL_STATE(59)] = 3108,
  [SMALL_STATE(60)] = 3161,
  [SMALL_STATE(61)] = 3214,
  [SMALL_STATE(62)] = 3267,
  [SMALL_STATE(63)] = 3320,
  [SMALL_STATE(64)] = 3373,
  [SMALL_STATE(65)] = 3426,
  [SMALL_STATE(66)] = 3479,
  [SMALL_STATE(67)] = 3532,
  [SMALL_STATE(68)] = 3585,
  [SMALL_STATE(69)] = 3636,
  [SMALL_STATE(70)] = 3689,
  [SMALL_STATE(71)] = 3742,
  [SMALL_STATE(72)] = 3795,
  [SMALL_STATE(73)] = 3848,
  [SMALL_STATE(74)] = 3899,
  [SMALL_STATE(75)] = 3950,
  [SMALL_STATE(76)] = 4001,
  [SMALL_STATE(77)] = 4054,
  [SMALL_STATE(78)] = 4105,
  [SMALL_STATE(79)] = 4156,
  [SMALL_STATE(80)] = 4209,
  [SMALL_STATE(81)] = 4262,
  [SMALL_STATE(82)] = 4315,
  [SMALL_STATE(83)] = 4366,
  [SMALL_STATE(84)] = 4417,
  [SMALL_STATE(85)] = 4470,
  [SMALL_STATE(86)] = 4523,
  [SMALL_STATE(87)] = 4576,
  [SMALL_STATE(88)] = 4629,
  [SMALL_STATE(89)] = 4682,
  [SMALL_STATE(90)] = 4735,
  [SMALL_STATE(91)] = 4788,
  [SMALL_STATE(92)] = 4841,
  [SMALL_STATE(93)] = 4894,
  [SMALL_STATE(94)] = 4947,
  [SMALL_STATE(95)] = 5000,
  [SMALL_STATE(96)] = 5051,
  [SMALL_STATE(97)] = 5102,
  [SMALL_STATE(98)] = 5153,
  [SMALL_STATE(99)] = 5204,
  [SMALL_STATE(100)] = 5255,
  [SMALL_STATE(101)] = 5308,
  [SMALL_STATE(102)] = 5361,
  [SMALL_STATE(103)] = 5414,
  [SMALL_STATE(104)] = 5467,
  [SMALL_STATE(105)] = 5518,
  [SMALL_STATE(106)] = 5571,
  [SMALL_STATE(107)] = 5624,
  [SMALL_STATE(108)] = 5677,
  [SMALL_STATE(109)] = 5730,
  [SMALL_STATE(110)] = 5783,
  [SMALL_STATE(111)] = 5836,
  [SMALL_STATE(112)] = 5889,
  [SMALL_STATE(113)] = 5942,
  [SMALL_STATE(114)] = 5995,
  [SMALL_STATE(115)] = 6048,
  [SMALL_STATE(116)] = 6101,
  [SMALL_STATE(117)] = 6154,
  [SMALL_STATE(118)] = 6207,
  [SMALL_STATE(119)] = 6260,
  [SMALL_STATE(120)] = 6313,
  [SMALL_STATE(121)] = 6366,
  [SMALL_STATE(122)] = 6419,
  [SMALL_STATE(123)] = 6472,
  [SMALL_STATE(124)] = 6525,
  [SMALL_STATE(125)] = 6578,
  [SMALL_STATE(126)] = 6631,
  [SMALL_STATE(127)] = 6684,
  [SMALL_STATE(128)] = 6708,
  [SMALL_STATE(129)] = 6730,
  [SMALL_STATE(130)] = 6749,
  [SMALL_STATE(131)] = 6768,
  [SMALL_STATE(132)] = 6787,
  [SMALL_STATE(133)] = 6806,
  [SMALL_STATE(134)] = 6829,
  [SMALL_STATE(135)] = 6848,
  [SMALL_STATE(136)] = 6871,
  [SMALL_STATE(137)] = 6894,
  [SMALL_STATE(138)] = 6913,
  [SMALL_STATE(139)] = 6932,
  [SMALL_STATE(140)] = 6951,
  [SMALL_STATE(141)] = 6970,
  [SMALL_STATE(142)] = 6989,
  [SMALL_STATE(143)] = 7008,
  [SMALL_STATE(144)] = 7031,
  [SMALL_STATE(145)] = 7050,
  [SMALL_STATE(146)] = 7069,
  [SMALL_STATE(147)] = 7088,
  [SMALL_STATE(148)] = 7111,
  [SMALL_STATE(149)] = 7132,
  [SMALL_STATE(150)] = 7155,
  [SMALL_STATE(151)] = 7174,
  [SMALL_STATE(152)] = 7197,
  [SMALL_STATE(153)] = 7216,
  [SMALL_STATE(154)] = 7239,
  [SMALL_STATE(155)] = 7260,
  [SMALL_STATE(156)] = 7282,
  [SMALL_STATE(157)] = 7302,
  [SMALL_STATE(158)] = 7322,
  [SMALL_STATE(159)] = 7344,
  [SMALL_STATE(160)] = 7366,
  [SMALL_STATE(161)] = 7394,
  [SMALL_STATE(162)] = 7422,
  [SMALL_STATE(163)] = 7450,
  [SMALL_STATE(164)] = 7468,
  [SMALL_STATE(165)] = 7496,
  [SMALL_STATE(166)] = 7524,
  [SMALL_STATE(167)] = 7552,
  [SMALL_STATE(168)] = 7580,
  [SMALL_STATE(169)] = 7608,
  [SMALL_STATE(170)] = 7627,
  [SMALL_STATE(171)] = 7642,
  [SMALL_STATE(172)] = 7657,
  [SMALL_STATE(173)] = 7672,
  [SMALL_STATE(174)] = 7693,
  [SMALL_STATE(175)] = 7708,
  [SMALL_STATE(176)] = 7723,
  [SMALL_STATE(177)] = 7738,
  [SMALL_STATE(178)] = 7753,
  [SMALL_STATE(179)] = 7768,
  [SMALL_STATE(180)] = 7787,
  [SMALL_STATE(181)] = 7806,
  [SMALL_STATE(182)] = 7821,
  [SMALL_STATE(183)] = 7836,
  [SMALL_STATE(184)] = 7851,
  [SMALL_STATE(185)] = 7866,
  [SMALL_STATE(186)] = 7887,
  [SMALL_STATE(187)] = 7902,
  [SMALL_STATE(188)] = 7919,
  [SMALL_STATE(189)] = 7940,
  [SMALL_STATE(190)] = 7957,
  [SMALL_STATE(191)] = 7976,
  [SMALL_STATE(192)] = 7997,
  [SMALL_STATE(193)] = 8016,
  [SMALL_STATE(194)] = 8035,
  [SMALL_STATE(195)] = 8050,
  [SMALL_STATE(196)] = 8065,
  [SMALL_STATE(197)] = 8083,
  [SMALL_STATE(198)] = 8105,
  [SMALL_STATE(199)] = 8121,
  [SMALL_STATE(200)] = 8143,
  [SMALL_STATE(201)] = 8159,
  [SMALL_STATE(202)] = 8179,
  [SMALL_STATE(203)] = 8193,
  [SMALL_STATE(204)] = 8207,
  [SMALL_STATE(205)] = 8229,
  [SMALL_STATE(206)] = 8249,
  [SMALL_STATE(207)] = 8269,
  [SMALL_STATE(208)] = 8283,
  [SMALL_STATE(209)] = 8303,
  [SMALL_STATE(210)] = 8317,
  [SMALL_STATE(211)] = 8331,
  [SMALL_STATE(212)] = 8351,
  [SMALL_STATE(213)] = 8365,
  [SMALL_STATE(214)] = 8385,
  [SMALL_STATE(215)] = 8399,
  [SMALL_STATE(216)] = 8413,
  [SMALL_STATE(217)] = 8427,
  [SMALL_STATE(218)] = 8449,
  [SMALL_STATE(219)] = 8469,
  [SMALL_STATE(220)] = 8485,
  [SMALL_STATE(221)] = 8503,
  [SMALL_STATE(222)] = 8521,
  [SMALL_STATE(223)] = 8541,
  [SMALL_STATE(224)] = 8555,
  [SMALL_STATE(225)] = 8573,
  [SMALL_STATE(226)] = 8593,
  [SMALL_STATE(227)] = 8609,
  [SMALL_STATE(228)] = 8625,
  [SMALL_STATE(229)] = 8639,
  [SMALL_STATE(230)] = 8653,
  [SMALL_STATE(231)] = 8667,
  [SMALL_STATE(232)] = 8689,
  [SMALL_STATE(233)] = 8707,
  [SMALL_STATE(234)] = 8725,
  [SMALL_STATE(235)] = 8740,
  [SMALL_STATE(236)] = 8755,
  [SMALL_STATE(237)] = 8772,
  [SMALL_STATE(238)] = 8789,
  [SMALL_STATE(239)] = 8806,
  [SMALL_STATE(240)] = 8823,
  [SMALL_STATE(241)] = 8840,
  [SMALL_STATE(242)] = 8853,
  [SMALL_STATE(243)] = 8870,
  [SMALL_STATE(244)] = 8885,
  [SMALL_STATE(245)] = 8902,
  [SMALL_STATE(246)] = 8915,
  [SMALL_STATE(247)] = 8930,
  [SMALL_STATE(248)] = 8949,
  [SMALL_STATE(249)] = 8966,
  [SMALL_STATE(250)] = 8983,
  [SMALL_STATE(251)] = 9000,
  [SMALL_STATE(252)] = 9017,
  [SMALL_STATE(253)] = 9034,
  [SMALL_STATE(254)] = 9050,
  [SMALL_STATE(255)] = 9066,
  [SMALL_STATE(256)] = 9082,
  [SMALL_STATE(257)] = 9098,
  [SMALL_STATE(258)] = 9114,
  [SMALL_STATE(259)] = 9130,
  [SMALL_STATE(260)] = 9146,
  [SMALL_STATE(261)] = 9162,
  [SMALL_STATE(262)] = 9178,
  [SMALL_STATE(263)] = 9194,
  [SMALL_STATE(264)] = 9210,
  [SMALL_STATE(265)] = 9226,
  [SMALL_STATE(266)] = 9242,
  [SMALL_STATE(267)] = 9258,
  [SMALL_STATE(268)] = 9274,
  [SMALL_STATE(269)] = 9290,
  [SMALL_STATE(270)] = 9306,
  [SMALL_STATE(271)] = 9322,
  [SMALL_STATE(272)] = 9338,
  [SMALL_STATE(273)] = 9354,
  [SMALL_STATE(274)] = 9370,
  [SMALL_STATE(275)] = 9386,
  [SMALL_STATE(276)] = 9402,
  [SMALL_STATE(277)] = 9418,
  [SMALL_STATE(278)] = 9434,
  [SMALL_STATE(279)] = 9450,
  [SMALL_STATE(280)] = 9466,
  [SMALL_STATE(281)] = 9482,
  [SMALL_STATE(282)] = 9498,
  [SMALL_STATE(283)] = 9512,
  [SMALL_STATE(284)] = 9526,
  [SMALL_STATE(285)] = 9542,
  [SMALL_STATE(286)] = 9558,
  [SMALL_STATE(287)] = 9574,
  [SMALL_STATE(288)] = 9590,
  [SMALL_STATE(289)] = 9606,
  [SMALL_STATE(290)] = 9622,
  [SMALL_STATE(291)] = 9638,
  [SMALL_STATE(292)] = 9654,
  [SMALL_STATE(293)] = 9670,
  [SMALL_STATE(294)] = 9686,
  [SMALL_STATE(295)] = 9700,
  [SMALL_STATE(296)] = 9716,
  [SMALL_STATE(297)] = 9732,
  [SMALL_STATE(298)] = 9748,
  [SMALL_STATE(299)] = 9764,
  [SMALL_STATE(300)] = 9780,
  [SMALL_STATE(301)] = 9796,
  [SMALL_STATE(302)] = 9812,
  [SMALL_STATE(303)] = 9828,
  [SMALL_STATE(304)] = 9844,
  [SMALL_STATE(305)] = 9860,
  [SMALL_STATE(306)] = 9876,
  [SMALL_STATE(307)] = 9892,
  [SMALL_STATE(308)] = 9905,
  [SMALL_STATE(309)] = 9914,
  [SMALL_STATE(310)] = 9925,
  [SMALL_STATE(311)] = 9938,
  [SMALL_STATE(312)] = 9951,
  [SMALL_STATE(313)] = 9962,
  [SMALL_STATE(314)] = 9975,
  [SMALL_STATE(315)] = 9988,
  [SMALL_STATE(316)] = 10001,
  [SMALL_STATE(317)] = 10014,
  [SMALL_STATE(318)] = 10027,
  [SMALL_STATE(319)] = 10040,
  [SMALL_STATE(320)] = 10053,
  [SMALL_STATE(321)] = 10066,
  [SMALL_STATE(322)] = 10079,
  [SMALL_STATE(323)] = 10092,
  [SMALL_STATE(324)] = 10105,
  [SMALL_STATE(325)] = 10118,
  [SMALL_STATE(326)] = 10131,
  [SMALL_STATE(327)] = 10144,
  [SMALL_STATE(328)] = 10157,
  [SMALL_STATE(329)] = 10170,
  [SMALL_STATE(330)] = 10181,
  [SMALL_STATE(331)] = 10194,
  [SMALL_STATE(332)] = 10207,
  [SMALL_STATE(333)] = 10220,
  [SMALL_STATE(334)] = 10233,
  [SMALL_STATE(335)] = 10246,
  [SMALL_STATE(336)] = 10259,
  [SMALL_STATE(337)] = 10272,
  [SMALL_STATE(338)] = 10283,
  [SMALL_STATE(339)] = 10296,
  [SMALL_STATE(340)] = 10307,
  [SMALL_STATE(341)] = 10320,
  [SMALL_STATE(342)] = 10333,
  [SMALL_STATE(343)] = 10346,
  [SMALL_STATE(344)] = 10359,
  [SMALL_STATE(345)] = 10370,
  [SMALL_STATE(346)] = 10381,
  [SMALL_STATE(347)] = 10394,
  [SMALL_STATE(348)] = 10405,
  [SMALL_STATE(349)] = 10416,
  [SMALL_STATE(350)] = 10429,
  [SMALL_STATE(351)] = 10442,
  [SMALL_STATE(352)] = 10455,
  [SMALL_STATE(353)] = 10463,
  [SMALL_STATE(354)] = 10473,
  [SMALL_STATE(355)] = 10481,
  [SMALL_STATE(356)] = 10491,
  [SMALL_STATE(357)] = 10499,
  [SMALL_STATE(358)] = 10509,
  [SMALL_STATE(359)] = 10517,
  [SMALL_STATE(360)] = 10525,
  [SMALL_STATE(361)] = 10533,
  [SMALL_STATE(362)] = 10541,
  [SMALL_STATE(363)] = 10549,
  [SMALL_STATE(364)] = 10559,
  [SMALL_STATE(365)] = 10569,
  [SMALL_STATE(366)] = 10577,
  [SMALL_STATE(367)] = 10587,
  [SMALL_STATE(368)] = 10594,
  [SMALL_STATE(369)] = 10601,
  [SMALL_STATE(370)] = 10608,
  [SMALL_STATE(371)] = 10615,
  [SMALL_STATE(372)] = 10622,
  [SMALL_STATE(373)] = 10629,
  [SMALL_STATE(374)] = 10636,
  [SMALL_STATE(375)] = 10643,
  [SMALL_STATE(376)] = 10650,
  [SMALL_STATE(377)] = 10657,
  [SMALL_STATE(378)] = 10664,
  [SMALL_STATE(379)] = 10671,
  [SMALL_STATE(380)] = 10678,
  [SMALL_STATE(381)] = 10685,
  [SMALL_STATE(382)] = 10692,
  [SMALL_STATE(383)] = 10699,
  [SMALL_STATE(384)] = 10706,
  [SMALL_STATE(385)] = 10713,
  [SMALL_STATE(386)] = 10720,
  [SMALL_STATE(387)] = 10727,
  [SMALL_STATE(388)] = 10734,
  [SMALL_STATE(389)] = 10741,
  [SMALL_STATE(390)] = 10748,
  [SMALL_STATE(391)] = 10755,
  [SMALL_STATE(392)] = 10762,
  [SMALL_STATE(393)] = 10769,
  [SMALL_STATE(394)] = 10776,
  [SMALL_STATE(395)] = 10783,
  [SMALL_STATE(396)] = 10790,
  [SMALL_STATE(397)] = 10797,
  [SMALL_STATE(398)] = 10804,
  [SMALL_STATE(399)] = 10811,
  [SMALL_STATE(400)] = 10818,
  [SMALL_STATE(401)] = 10825,
};

static TSParseActionEntry ts_parse_actions[] = {
  [0] = {.entry = {.count = 0, .reusable = false}},
  [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
  [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(),
  [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364),
  [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366),
  [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225),
  [13] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tagged_type, 3, .production_id = 19),
  [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11),
  [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345),
  [19] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tagged_type, 3, .production_id = 19),
  [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24),
  [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
  [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
  [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
  [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(329),
  [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28),
  [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89),
  [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(337),
  [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108),
  [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78),
  [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(309),
  [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26),
  [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86),
  [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(194),
  [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222),
  [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13),
  [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(347),
  [57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25),
  [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
  [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
  [63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
  [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
  [67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(344),
  [69] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23),
  [71] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99),
  [73] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206),
  [75] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20),
  [77] = {.entry = {.count = 1, .reusable = false}}, SHIFT(312),
  [79] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45),
  [81] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
  [83] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210),
  [85] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48),
  [87] = {.entry = {.count = 1, .reusable = false}}, SHIFT(348),
  [89] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27),
  [91] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111),
  [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
  [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215),
  [99] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12),
  [101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19),
  [103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18),
  [105] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10),
  [107] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
  [109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
  [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14),
  [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17),
  [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1),
  [117] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1),
  [119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parametric_type, 1, .production_id = 13),
  [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106),
  [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_struct_type, 4, .production_id = 27),
  [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_type, 3, .production_id = 20),
  [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple_type, 4, .production_id = 28),
  [129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple_type, 1),
  [131] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subtraction_type, 3, .production_id = 24),
  [133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type, 1),
  [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
  [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_type, 9, .production_id = 39),
  [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subtraction_type, 3, .production_id = 25),
  [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__type, 1, .production_id = 14),
  [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
  [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subtraction_type, 3, .production_id = 22),
  [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_struct_type, 2),
  [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tuple_type, 2),
  [151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tagged_type, 4, .production_id = 30),
  [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parametric_type, 4, .production_id = 31),
  [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_type, 7, .production_id = 35),
  [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subtraction_type, 3, .production_id = 21),
  [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parametric_type, 5, .production_id = 33),
  [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_struct_type, 3, .production_id = 18),
  [163] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_group, 3, .production_id = 17),
  [165] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_conditional_type, 11, .production_id = 40),
  [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
  [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
  [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
  [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_intersection_type, 3, .production_id = 24),
  [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_keyof, 2, .production_id = 17),
  [177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_union_type, 3, .production_id = 24),
  [179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_conditional_type, 8, .production_id = 38),
  [181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_curried_type, 3, .production_id = 23),
  [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
  [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
  [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
  [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
  [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
  [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parametric_type, 1, .production_id = 13),
  [195] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64),
  [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subtraction_type, 3, .production_id = 21),
  [199] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__type, 1, .production_id = 14),
  [201] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88),
  [203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_struct_type, 2),
  [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple_type, 2),
  [207] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_keyof, 2, .production_id = 17),
  [209] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39),
  [211] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38),
  [213] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68),
  [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple_type, 1),
  [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parametric_type, 5, .production_id = 33),
  [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_struct_type, 3, .production_id = 18),
  [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_group, 3, .production_id = 17),
  [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list_type, 3, .production_id = 20),
  [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_curried_type, 3, .production_id = 23),
  [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_intersection_type, 3, .production_id = 24),
  [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_struct_type, 4, .production_id = 27),
  [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tuple_type, 4, .production_id = 28),
  [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tagged_type, 4, .production_id = 30),
  [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map_type, 7, .production_id = 35),
  [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_conditional_type, 8, .production_id = 38),
  [239] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map_type, 9, .production_id = 39),
  [241] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65),
  [243] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_conditional_type, 11, .production_id = 40),
  [245] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__type, 1),
  [247] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
  [249] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subtraction_type, 3, .production_id = 22),
  [251] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52),
  [253] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_union_type, 3, .production_id = 24),
  [255] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subtraction_type, 3, .production_id = 25),
  [257] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subtraction_type, 3, .production_id = 24),
  [259] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parametric_type, 4, .production_id = 31),
  [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
  [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
  [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
  [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177),
  [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
  [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
  [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
  [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373),
  [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
  [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
  [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
  [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
  [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
  [289] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_declaration_repeat1, 2, .production_id = 11), SHIFT_REPEAT(127),
  [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat1, 2, .production_id = 11),
  [294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214),
  [296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
  [298] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66),
  [300] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67),
  [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration_member, 3, .production_id = 15),
  [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration_member, 3, .production_id = 15),
  [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228),
  [308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
  [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
  [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
  [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
  [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
  [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
  [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
  [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
  [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
  [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parametric_type_repeat1, 2, .production_id = 32),
  [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member_type, 3, .production_id = 26),
  [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
  [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_variable_declaration_repeat1, 2, .production_id = 36),
  [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_tuple_type_repeat1, 2, .production_id = 20),
  [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(395),
  [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, .production_id = 5),
  [342] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, .production_id = 5), SHIFT_REPEAT(366),
  [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
  [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
  [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110),
  [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
  [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
  [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
  [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
  [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
  [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
  [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209),
  [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
  [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
  [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
  [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
  [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
  [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(392),
  [381] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
  [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(376),
  [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229),
  [387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
  [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(375),
  [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
  [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230),
  [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
  [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
  [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
  [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381),
  [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
  [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
  [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
  [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(401),
  [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
  [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
  [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
  [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
  [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
  [423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178),
  [425] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184),
  [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
  [429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
  [431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
  [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
  [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
  [437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
  [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
  [441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294),
  [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223),
  [445] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_declaration_repeat1, 1, .production_id = 7),
  [447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368),
  [449] = {.entry = {.count = 1, .reusable = true}}, SHIFT(378),
  [451] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__import_body_repeat1, 2, .production_id = 5), SHIFT_REPEAT(363),
  [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__import_body_repeat1, 2, .production_id = 5),
  [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207),
  [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182),
  [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181),
  [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
  [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216),
  [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363),
  [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377),
  [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176),
  [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(380),
  [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351),
  [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372),
  [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(394),
  [480] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_struct_type_repeat1, 2, .production_id = 11), SHIFT_REPEAT(294),
  [483] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_struct_type_repeat1, 2, .production_id = 11),
  [485] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_tuple_type_repeat1, 2, .production_id = 29), SHIFT_REPEAT(76),
  [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_tuple_type_repeat1, 2, .production_id = 29),
  [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175),
  [492] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_raw_string_repeat1, 2), SHIFT_REPEAT(330),
  [495] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_raw_string_repeat1, 2),
  [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
  [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383),
  [501] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parametric_type_repeat1, 2, .production_id = 34), SHIFT_REPEAT(101),
  [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parametric_type_repeat1, 2, .production_id = 34),
  [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330),
  [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
  [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
  [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(385),
  [514] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_type, 1, .production_id = 6),
  [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(398),
  [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
  [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
  [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(389),
  [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(379),
  [526] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_variable_declaration_repeat1, 2, .production_id = 37), SHIFT_REPEAT(113),
  [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_variable_declaration_repeat1, 2, .production_id = 37),
  [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335),
  [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354),
  [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(396),
  [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(391),
  [539] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__import_body, 5, .production_id = 12),
  [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349),
  [543] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_raw_string, 2),
  [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_raw_string, 3),
  [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339),
  [549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__import_body, 6, .production_id = 16),
  [551] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_type, 3, .production_id = 8),
  [553] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_struct_type_repeat1, 2, .production_id = 18),
  [555] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 2, .production_id = 3),
  [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 1, .production_id = 2),
  [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323),
  [561] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__import_body_repeat1, 2, .production_id = 9),
  [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357),
  [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
  [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
  [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248),
  [575] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 6, .production_id = 10),
  [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
  [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
  [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
  [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353),
  [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
  [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
  [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
  [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
  [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
  [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
  [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
  [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
  [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
  [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
  [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
  [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
  [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
  [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355),
  [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
  [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [621] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_program, 1, .production_id = 1),
  [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359),
  [625] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_program, 2, .production_id = 4),
  [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
};

#ifdef __cplusplus
extern "C" {
#endif
void *tree_sitter_dtn_external_scanner_create(void);
void tree_sitter_dtn_external_scanner_destroy(void *);
bool tree_sitter_dtn_external_scanner_scan(void *, TSLexer *, const bool *);
unsigned tree_sitter_dtn_external_scanner_serialize(void *, char *);
void tree_sitter_dtn_external_scanner_deserialize(void *, const char *, unsigned);

#ifdef _WIN32
#define extern __declspec(dllexport)
#endif

extern const TSLanguage *tree_sitter_dtn(void) {
  static TSLanguage language = {
    .version = LANGUAGE_VERSION,
    .symbol_count = SYMBOL_COUNT,
    .alias_count = ALIAS_COUNT,
    .token_count = TOKEN_COUNT,
    .external_token_count = EXTERNAL_TOKEN_COUNT,
    .symbol_names = ts_symbol_names,
    .symbol_metadata = ts_symbol_metadata,
    .parse_table = (const uint16_t *)ts_parse_table,
    .parse_actions = ts_parse_actions,
    .lex_modes = ts_lex_modes,
    .alias_sequences = (const TSSymbol *)ts_alias_sequences,
    .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
    .lex_fn = ts_lex,
    .keyword_lex_fn = ts_lex_keywords,
    .keyword_capture_token = sym__identifier_without_operators,
    .external_scanner = {
      (const bool *)ts_external_scanner_states,
      ts_external_scanner_symbol_map,
      tree_sitter_dtn_external_scanner_create,
      tree_sitter_dtn_external_scanner_destroy,
      tree_sitter_dtn_external_scanner_scan,
      tree_sitter_dtn_external_scanner_serialize,
      tree_sitter_dtn_external_scanner_deserialize,
    },
    .field_count = FIELD_COUNT,
    .field_map_slices = (const TSFieldMapSlice *)ts_field_map_slices,
    .field_map_entries = (const TSFieldMapEntry *)ts_field_map_entries,
    .field_names = ts_field_names,
    .large_state_count = LARGE_STATE_COUNT,
    .small_parse_table = (const uint16_t *)ts_small_parse_table,
    .small_parse_table_map = (const uint32_t *)ts_small_parse_table_map,
    .public_symbol_map = ts_symbol_map,
    .alias_map = ts_non_terminal_alias_map,
    .state_count = STATE_COUNT,
  };
  return &language;
}
#ifdef __cplusplus
}
#endif
