/* Automatically @generated by tree-sitter */

#include "tree_sitter/parser.h"

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

#define LANGUAGE_VERSION 15
#define STATE_COUNT 454
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 183
#define ALIAS_COUNT 0
#define TOKEN_COUNT 82
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 25
#define MAX_ALIAS_SEQUENCE_LENGTH 9
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 33
#define SUPERTYPE_COUNT 0

enum ts_symbol_identifiers {
  sym_identifier = 1,
  sym_line_comment = 2,
  sym_block_comment = 3,
  anon_sym_use = 4,
  anon_sym_COLON_COLON = 5,
  anon_sym_LBRACE = 6,
  anon_sym_COMMA = 7,
  anon_sym_RBRACE = 8,
  anon_sym_STAR = 9,
  anon_sym_SEMI = 10,
  anon_sym_character = 11,
  anon_sym_COLON = 12,
  anon_sym_from = 13,
  anon_sym_template = 14,
  anon_sym_strict = 15,
  anon_sym_uses = 16,
  anon_sym_behaviors = 17,
  anon_sym_schedule = 18,
  anon_sym_schedules = 19,
  anon_sym_LBRACK = 20,
  anon_sym_RBRACK = 21,
  anon_sym_include = 22,
  anon_sym_DOT = 23,
  sym_integer = 24,
  sym_float = 25,
  sym_string = 26,
  anon_sym_true = 27,
  anon_sym_false = 28,
  anon_sym_DOT_DOT = 29,
  sym_time = 30,
  sym_duration = 31,
  anon_sym_AT = 32,
  anon_sym_remove = 33,
  anon_sym_append = 34,
  aux_sym_prose_block_token1 = 35,
  sym_prose_marker = 36,
  sym_prose_content = 37,
  anon_sym_life_arc = 38,
  anon_sym_requires = 39,
  anon_sym_state = 40,
  anon_sym_on = 41,
  anon_sym_enter = 42,
  anon_sym_DASH_GT = 43,
  anon_sym_modifies = 44,
  anon_sym_block = 45,
  anon_sym_override = 46,
  anon_sym_recurrence = 47,
  anon_sym_behavior = 48,
  anon_sym_choose = 49,
  anon_sym_then = 50,
  anon_sym_if = 51,
  anon_sym_when = 52,
  anon_sym_LPAREN = 53,
  anon_sym_RPAREN = 54,
  anon_sym_repeat = 55,
  anon_sym_invert = 56,
  anon_sym_retry = 57,
  anon_sym_timeout = 58,
  anon_sym_cooldown = 59,
  anon_sym_succeed_always = 60,
  anon_sym_fail_always = 61,
  anon_sym_institution = 62,
  anon_sym_relationship = 63,
  anon_sym_as = 64,
  anon_sym_location = 65,
  anon_sym_species = 66,
  anon_sym_enum = 67,
  anon_sym_concept = 68,
  anon_sym_sub_concept = 69,
  sym_any_type = 70,
  anon_sym_definition = 71,
  anon_sym_or = 72,
  anon_sym_is = 73,
  anon_sym_and = 74,
  anon_sym_not = 75,
  anon_sym_GT = 76,
  anon_sym_GT_EQ = 77,
  anon_sym_LT = 78,
  anon_sym_LT_EQ = 79,
  anon_sym_self = 80,
  anon_sym_other = 81,
  sym_source_file = 82,
  sym_declaration = 83,
  sym_use_declaration = 84,
  sym_path = 85,
  sym_path_segments = 86,
  sym_character_declaration = 87,
  sym_character_body = 88,
  sym_template_clause = 89,
  sym_template_declaration = 90,
  sym_template_body = 91,
  sym_uses_behaviors = 92,
  sym_uses_schedule = 93,
  sym_include = 94,
  sym_field = 95,
  sym_dotted_path = 96,
  sym_value = 97,
  sym_boolean = 98,
  sym_range = 99,
  sym_list = 100,
  sym_object = 101,
  sym_block = 102,
  sym_override = 103,
  sym_override_op = 104,
  sym_prose_block = 105,
  sym_life_arc_declaration = 106,
  sym_requires_clause = 107,
  sym_required_field = 108,
  sym_state_block = 109,
  sym_state_body = 110,
  sym_on_enter = 111,
  sym_transition = 112,
  sym_schedule_declaration = 113,
  sym_schedule_body = 114,
  sym_schedule_block = 115,
  sym_override_block = 116,
  sym_recurrence_block = 117,
  sym_time_range = 118,
  sym_block_field = 119,
  sym_behavior_declaration = 120,
  sym_behavior_body = 121,
  sym_behavior_node = 122,
  sym_selector_node = 123,
  sym_sequence_node = 124,
  sym_condition_node = 125,
  sym_if_decorator_node = 126,
  sym_repeat_node = 127,
  sym_decorator_node = 128,
  sym_decorator_keyword = 129,
  sym_decorator_params = 130,
  sym_action_node = 131,
  sym_action_param = 132,
  sym_subtree_node = 133,
  sym_institution_declaration = 134,
  sym_relationship_declaration = 135,
  sym_relationship_body = 136,
  sym_participant = 137,
  sym_location_declaration = 138,
  sym_species_declaration = 139,
  sym_species_body = 140,
  sym_species_field = 141,
  sym_enum_declaration = 142,
  sym_concept_declaration = 143,
  sym_sub_concept = 144,
  sym_sub_concept_enum_body = 145,
  sym_sub_concept_record_body = 146,
  sym_sub_concept_field = 147,
  sym_definition = 148,
  sym_variant_pattern = 149,
  sym_field_condition = 150,
  sym_is_condition = 151,
  sym_is_value = 152,
  sym_expression = 153,
  sym_or_expression = 154,
  sym_and_expression = 155,
  sym_not_expression = 156,
  sym_comparison = 157,
  sym_field_access = 158,
  sym_primary_expression = 159,
  aux_sym_source_file_repeat1 = 160,
  aux_sym_use_declaration_repeat1 = 161,
  aux_sym_path_segments_repeat1 = 162,
  aux_sym_character_body_repeat1 = 163,
  aux_sym_template_body_repeat1 = 164,
  aux_sym_dotted_path_repeat1 = 165,
  aux_sym_list_repeat1 = 166,
  aux_sym_override_repeat1 = 167,
  aux_sym_life_arc_declaration_repeat1 = 168,
  aux_sym_requires_clause_repeat1 = 169,
  aux_sym_state_body_repeat1 = 170,
  aux_sym_schedule_body_repeat1 = 171,
  aux_sym_schedule_block_repeat1 = 172,
  aux_sym_recurrence_block_repeat1 = 173,
  aux_sym_selector_node_repeat1 = 174,
  aux_sym_action_node_repeat1 = 175,
  aux_sym_relationship_body_repeat1 = 176,
  aux_sym_species_body_repeat1 = 177,
  aux_sym_species_body_repeat2 = 178,
  aux_sym_sub_concept_record_body_repeat1 = 179,
  aux_sym_definition_repeat1 = 180,
  aux_sym_variant_pattern_repeat1 = 181,
  aux_sym_is_condition_repeat1 = 182,
};

static const char * const ts_symbol_names[] = {
  [ts_builtin_sym_end] = "end",
  [sym_identifier] = "identifier",
  [sym_line_comment] = "line_comment",
  [sym_block_comment] = "block_comment",
  [anon_sym_use] = "use",
  [anon_sym_COLON_COLON] = "::",
  [anon_sym_LBRACE] = "{",
  [anon_sym_COMMA] = ",",
  [anon_sym_RBRACE] = "}",
  [anon_sym_STAR] = "*",
  [anon_sym_SEMI] = ";",
  [anon_sym_character] = "character",
  [anon_sym_COLON] = ":",
  [anon_sym_from] = "from",
  [anon_sym_template] = "template",
  [anon_sym_strict] = "strict",
  [anon_sym_uses] = "uses",
  [anon_sym_behaviors] = "behaviors",
  [anon_sym_schedule] = "schedule",
  [anon_sym_schedules] = "schedules",
  [anon_sym_LBRACK] = "[",
  [anon_sym_RBRACK] = "]",
  [anon_sym_include] = "include",
  [anon_sym_DOT] = ".",
  [sym_integer] = "integer",
  [sym_float] = "float",
  [sym_string] = "string",
  [anon_sym_true] = "true",
  [anon_sym_false] = "false",
  [anon_sym_DOT_DOT] = "..",
  [sym_time] = "time",
  [sym_duration] = "duration",
  [anon_sym_AT] = "@",
  [anon_sym_remove] = "remove",
  [anon_sym_append] = "append",
  [aux_sym_prose_block_token1] = "prose_block_token1",
  [sym_prose_marker] = "prose_marker",
  [sym_prose_content] = "prose_content",
  [anon_sym_life_arc] = "life_arc",
  [anon_sym_requires] = "requires",
  [anon_sym_state] = "state",
  [anon_sym_on] = "on",
  [anon_sym_enter] = "enter",
  [anon_sym_DASH_GT] = "->",
  [anon_sym_modifies] = "modifies",
  [anon_sym_block] = "block",
  [anon_sym_override] = "override",
  [anon_sym_recurrence] = "recurrence",
  [anon_sym_behavior] = "behavior",
  [anon_sym_choose] = "choose",
  [anon_sym_then] = "then",
  [anon_sym_if] = "if",
  [anon_sym_when] = "when",
  [anon_sym_LPAREN] = "(",
  [anon_sym_RPAREN] = ")",
  [anon_sym_repeat] = "repeat",
  [anon_sym_invert] = "invert",
  [anon_sym_retry] = "retry",
  [anon_sym_timeout] = "timeout",
  [anon_sym_cooldown] = "cooldown",
  [anon_sym_succeed_always] = "succeed_always",
  [anon_sym_fail_always] = "fail_always",
  [anon_sym_institution] = "institution",
  [anon_sym_relationship] = "relationship",
  [anon_sym_as] = "as",
  [anon_sym_location] = "location",
  [anon_sym_species] = "species",
  [anon_sym_enum] = "enum",
  [anon_sym_concept] = "concept",
  [anon_sym_sub_concept] = "sub_concept",
  [sym_any_type] = "any_type",
  [anon_sym_definition] = "definition",
  [anon_sym_or] = "or",
  [anon_sym_is] = "is",
  [anon_sym_and] = "and",
  [anon_sym_not] = "not",
  [anon_sym_GT] = ">",
  [anon_sym_GT_EQ] = ">=",
  [anon_sym_LT] = "<",
  [anon_sym_LT_EQ] = "<=",
  [anon_sym_self] = "self",
  [anon_sym_other] = "other",
  [sym_source_file] = "source_file",
  [sym_declaration] = "declaration",
  [sym_use_declaration] = "use_declaration",
  [sym_path] = "path",
  [sym_path_segments] = "path_segments",
  [sym_character_declaration] = "character_declaration",
  [sym_character_body] = "character_body",
  [sym_template_clause] = "template_clause",
  [sym_template_declaration] = "template_declaration",
  [sym_template_body] = "template_body",
  [sym_uses_behaviors] = "uses_behaviors",
  [sym_uses_schedule] = "uses_schedule",
  [sym_include] = "include",
  [sym_field] = "field",
  [sym_dotted_path] = "dotted_path",
  [sym_value] = "value",
  [sym_boolean] = "boolean",
  [sym_range] = "range",
  [sym_list] = "list",
  [sym_object] = "object",
  [sym_block] = "block",
  [sym_override] = "override",
  [sym_override_op] = "override_op",
  [sym_prose_block] = "prose_block",
  [sym_life_arc_declaration] = "life_arc_declaration",
  [sym_requires_clause] = "requires_clause",
  [sym_required_field] = "required_field",
  [sym_state_block] = "state_block",
  [sym_state_body] = "state_body",
  [sym_on_enter] = "on_enter",
  [sym_transition] = "transition",
  [sym_schedule_declaration] = "schedule_declaration",
  [sym_schedule_body] = "schedule_body",
  [sym_schedule_block] = "schedule_block",
  [sym_override_block] = "override_block",
  [sym_recurrence_block] = "recurrence_block",
  [sym_time_range] = "time_range",
  [sym_block_field] = "block_field",
  [sym_behavior_declaration] = "behavior_declaration",
  [sym_behavior_body] = "behavior_body",
  [sym_behavior_node] = "behavior_node",
  [sym_selector_node] = "selector_node",
  [sym_sequence_node] = "sequence_node",
  [sym_condition_node] = "condition_node",
  [sym_if_decorator_node] = "if_decorator_node",
  [sym_repeat_node] = "repeat_node",
  [sym_decorator_node] = "decorator_node",
  [sym_decorator_keyword] = "decorator_keyword",
  [sym_decorator_params] = "decorator_params",
  [sym_action_node] = "action_node",
  [sym_action_param] = "action_param",
  [sym_subtree_node] = "subtree_node",
  [sym_institution_declaration] = "institution_declaration",
  [sym_relationship_declaration] = "relationship_declaration",
  [sym_relationship_body] = "relationship_body",
  [sym_participant] = "participant",
  [sym_location_declaration] = "location_declaration",
  [sym_species_declaration] = "species_declaration",
  [sym_species_body] = "species_body",
  [sym_species_field] = "species_field",
  [sym_enum_declaration] = "enum_declaration",
  [sym_concept_declaration] = "concept_declaration",
  [sym_sub_concept] = "sub_concept",
  [sym_sub_concept_enum_body] = "sub_concept_enum_body",
  [sym_sub_concept_record_body] = "sub_concept_record_body",
  [sym_sub_concept_field] = "sub_concept_field",
  [sym_definition] = "definition",
  [sym_variant_pattern] = "variant_pattern",
  [sym_field_condition] = "field_condition",
  [sym_is_condition] = "is_condition",
  [sym_is_value] = "is_value",
  [sym_expression] = "expression",
  [sym_or_expression] = "or_expression",
  [sym_and_expression] = "and_expression",
  [sym_not_expression] = "not_expression",
  [sym_comparison] = "comparison",
  [sym_field_access] = "field_access",
  [sym_primary_expression] = "primary_expression",
  [aux_sym_source_file_repeat1] = "source_file_repeat1",
  [aux_sym_use_declaration_repeat1] = "use_declaration_repeat1",
  [aux_sym_path_segments_repeat1] = "path_segments_repeat1",
  [aux_sym_character_body_repeat1] = "character_body_repeat1",
  [aux_sym_template_body_repeat1] = "template_body_repeat1",
  [aux_sym_dotted_path_repeat1] = "dotted_path_repeat1",
  [aux_sym_list_repeat1] = "list_repeat1",
  [aux_sym_override_repeat1] = "override_repeat1",
  [aux_sym_life_arc_declaration_repeat1] = "life_arc_declaration_repeat1",
  [aux_sym_requires_clause_repeat1] = "requires_clause_repeat1",
  [aux_sym_state_body_repeat1] = "state_body_repeat1",
  [aux_sym_schedule_body_repeat1] = "schedule_body_repeat1",
  [aux_sym_schedule_block_repeat1] = "schedule_block_repeat1",
  [aux_sym_recurrence_block_repeat1] = "recurrence_block_repeat1",
  [aux_sym_selector_node_repeat1] = "selector_node_repeat1",
  [aux_sym_action_node_repeat1] = "action_node_repeat1",
  [aux_sym_relationship_body_repeat1] = "relationship_body_repeat1",
  [aux_sym_species_body_repeat1] = "species_body_repeat1",
  [aux_sym_species_body_repeat2] = "species_body_repeat2",
  [aux_sym_sub_concept_record_body_repeat1] = "sub_concept_record_body_repeat1",
  [aux_sym_definition_repeat1] = "definition_repeat1",
  [aux_sym_variant_pattern_repeat1] = "variant_pattern_repeat1",
  [aux_sym_is_condition_repeat1] = "is_condition_repeat1",
};

static const TSSymbol ts_symbol_map[] = {
  [ts_builtin_sym_end] = ts_builtin_sym_end,
  [sym_identifier] = sym_identifier,
  [sym_line_comment] = sym_line_comment,
  [sym_block_comment] = sym_block_comment,
  [anon_sym_use] = anon_sym_use,
  [anon_sym_COLON_COLON] = anon_sym_COLON_COLON,
  [anon_sym_LBRACE] = anon_sym_LBRACE,
  [anon_sym_COMMA] = anon_sym_COMMA,
  [anon_sym_RBRACE] = anon_sym_RBRACE,
  [anon_sym_STAR] = anon_sym_STAR,
  [anon_sym_SEMI] = anon_sym_SEMI,
  [anon_sym_character] = anon_sym_character,
  [anon_sym_COLON] = anon_sym_COLON,
  [anon_sym_from] = anon_sym_from,
  [anon_sym_template] = anon_sym_template,
  [anon_sym_strict] = anon_sym_strict,
  [anon_sym_uses] = anon_sym_uses,
  [anon_sym_behaviors] = anon_sym_behaviors,
  [anon_sym_schedule] = anon_sym_schedule,
  [anon_sym_schedules] = anon_sym_schedules,
  [anon_sym_LBRACK] = anon_sym_LBRACK,
  [anon_sym_RBRACK] = anon_sym_RBRACK,
  [anon_sym_include] = anon_sym_include,
  [anon_sym_DOT] = anon_sym_DOT,
  [sym_integer] = sym_integer,
  [sym_float] = sym_float,
  [sym_string] = sym_string,
  [anon_sym_true] = anon_sym_true,
  [anon_sym_false] = anon_sym_false,
  [anon_sym_DOT_DOT] = anon_sym_DOT_DOT,
  [sym_time] = sym_time,
  [sym_duration] = sym_duration,
  [anon_sym_AT] = anon_sym_AT,
  [anon_sym_remove] = anon_sym_remove,
  [anon_sym_append] = anon_sym_append,
  [aux_sym_prose_block_token1] = aux_sym_prose_block_token1,
  [sym_prose_marker] = sym_prose_marker,
  [sym_prose_content] = sym_prose_content,
  [anon_sym_life_arc] = anon_sym_life_arc,
  [anon_sym_requires] = anon_sym_requires,
  [anon_sym_state] = anon_sym_state,
  [anon_sym_on] = anon_sym_on,
  [anon_sym_enter] = anon_sym_enter,
  [anon_sym_DASH_GT] = anon_sym_DASH_GT,
  [anon_sym_modifies] = anon_sym_modifies,
  [anon_sym_block] = anon_sym_block,
  [anon_sym_override] = anon_sym_override,
  [anon_sym_recurrence] = anon_sym_recurrence,
  [anon_sym_behavior] = anon_sym_behavior,
  [anon_sym_choose] = anon_sym_choose,
  [anon_sym_then] = anon_sym_then,
  [anon_sym_if] = anon_sym_if,
  [anon_sym_when] = anon_sym_when,
  [anon_sym_LPAREN] = anon_sym_LPAREN,
  [anon_sym_RPAREN] = anon_sym_RPAREN,
  [anon_sym_repeat] = anon_sym_repeat,
  [anon_sym_invert] = anon_sym_invert,
  [anon_sym_retry] = anon_sym_retry,
  [anon_sym_timeout] = anon_sym_timeout,
  [anon_sym_cooldown] = anon_sym_cooldown,
  [anon_sym_succeed_always] = anon_sym_succeed_always,
  [anon_sym_fail_always] = anon_sym_fail_always,
  [anon_sym_institution] = anon_sym_institution,
  [anon_sym_relationship] = anon_sym_relationship,
  [anon_sym_as] = anon_sym_as,
  [anon_sym_location] = anon_sym_location,
  [anon_sym_species] = anon_sym_species,
  [anon_sym_enum] = anon_sym_enum,
  [anon_sym_concept] = anon_sym_concept,
  [anon_sym_sub_concept] = anon_sym_sub_concept,
  [sym_any_type] = sym_any_type,
  [anon_sym_definition] = anon_sym_definition,
  [anon_sym_or] = anon_sym_or,
  [anon_sym_is] = anon_sym_is,
  [anon_sym_and] = anon_sym_and,
  [anon_sym_not] = anon_sym_not,
  [anon_sym_GT] = anon_sym_GT,
  [anon_sym_GT_EQ] = anon_sym_GT_EQ,
  [anon_sym_LT] = anon_sym_LT,
  [anon_sym_LT_EQ] = anon_sym_LT_EQ,
  [anon_sym_self] = anon_sym_self,
  [anon_sym_other] = anon_sym_other,
  [sym_source_file] = sym_source_file,
  [sym_declaration] = sym_declaration,
  [sym_use_declaration] = sym_use_declaration,
  [sym_path] = sym_path,
  [sym_path_segments] = sym_path_segments,
  [sym_character_declaration] = sym_character_declaration,
  [sym_character_body] = sym_character_body,
  [sym_template_clause] = sym_template_clause,
  [sym_template_declaration] = sym_template_declaration,
  [sym_template_body] = sym_template_body,
  [sym_uses_behaviors] = sym_uses_behaviors,
  [sym_uses_schedule] = sym_uses_schedule,
  [sym_include] = sym_include,
  [sym_field] = sym_field,
  [sym_dotted_path] = sym_dotted_path,
  [sym_value] = sym_value,
  [sym_boolean] = sym_boolean,
  [sym_range] = sym_range,
  [sym_list] = sym_list,
  [sym_object] = sym_object,
  [sym_block] = sym_block,
  [sym_override] = sym_override,
  [sym_override_op] = sym_override_op,
  [sym_prose_block] = sym_prose_block,
  [sym_life_arc_declaration] = sym_life_arc_declaration,
  [sym_requires_clause] = sym_requires_clause,
  [sym_required_field] = sym_required_field,
  [sym_state_block] = sym_state_block,
  [sym_state_body] = sym_state_body,
  [sym_on_enter] = sym_on_enter,
  [sym_transition] = sym_transition,
  [sym_schedule_declaration] = sym_schedule_declaration,
  [sym_schedule_body] = sym_schedule_body,
  [sym_schedule_block] = sym_schedule_block,
  [sym_override_block] = sym_override_block,
  [sym_recurrence_block] = sym_recurrence_block,
  [sym_time_range] = sym_time_range,
  [sym_block_field] = sym_block_field,
  [sym_behavior_declaration] = sym_behavior_declaration,
  [sym_behavior_body] = sym_behavior_body,
  [sym_behavior_node] = sym_behavior_node,
  [sym_selector_node] = sym_selector_node,
  [sym_sequence_node] = sym_sequence_node,
  [sym_condition_node] = sym_condition_node,
  [sym_if_decorator_node] = sym_if_decorator_node,
  [sym_repeat_node] = sym_repeat_node,
  [sym_decorator_node] = sym_decorator_node,
  [sym_decorator_keyword] = sym_decorator_keyword,
  [sym_decorator_params] = sym_decorator_params,
  [sym_action_node] = sym_action_node,
  [sym_action_param] = sym_action_param,
  [sym_subtree_node] = sym_subtree_node,
  [sym_institution_declaration] = sym_institution_declaration,
  [sym_relationship_declaration] = sym_relationship_declaration,
  [sym_relationship_body] = sym_relationship_body,
  [sym_participant] = sym_participant,
  [sym_location_declaration] = sym_location_declaration,
  [sym_species_declaration] = sym_species_declaration,
  [sym_species_body] = sym_species_body,
  [sym_species_field] = sym_species_field,
  [sym_enum_declaration] = sym_enum_declaration,
  [sym_concept_declaration] = sym_concept_declaration,
  [sym_sub_concept] = sym_sub_concept,
  [sym_sub_concept_enum_body] = sym_sub_concept_enum_body,
  [sym_sub_concept_record_body] = sym_sub_concept_record_body,
  [sym_sub_concept_field] = sym_sub_concept_field,
  [sym_definition] = sym_definition,
  [sym_variant_pattern] = sym_variant_pattern,
  [sym_field_condition] = sym_field_condition,
  [sym_is_condition] = sym_is_condition,
  [sym_is_value] = sym_is_value,
  [sym_expression] = sym_expression,
  [sym_or_expression] = sym_or_expression,
  [sym_and_expression] = sym_and_expression,
  [sym_not_expression] = sym_not_expression,
  [sym_comparison] = sym_comparison,
  [sym_field_access] = sym_field_access,
  [sym_primary_expression] = sym_primary_expression,
  [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1,
  [aux_sym_use_declaration_repeat1] = aux_sym_use_declaration_repeat1,
  [aux_sym_path_segments_repeat1] = aux_sym_path_segments_repeat1,
  [aux_sym_character_body_repeat1] = aux_sym_character_body_repeat1,
  [aux_sym_template_body_repeat1] = aux_sym_template_body_repeat1,
  [aux_sym_dotted_path_repeat1] = aux_sym_dotted_path_repeat1,
  [aux_sym_list_repeat1] = aux_sym_list_repeat1,
  [aux_sym_override_repeat1] = aux_sym_override_repeat1,
  [aux_sym_life_arc_declaration_repeat1] = aux_sym_life_arc_declaration_repeat1,
  [aux_sym_requires_clause_repeat1] = aux_sym_requires_clause_repeat1,
  [aux_sym_state_body_repeat1] = aux_sym_state_body_repeat1,
  [aux_sym_schedule_body_repeat1] = aux_sym_schedule_body_repeat1,
  [aux_sym_schedule_block_repeat1] = aux_sym_schedule_block_repeat1,
  [aux_sym_recurrence_block_repeat1] = aux_sym_recurrence_block_repeat1,
  [aux_sym_selector_node_repeat1] = aux_sym_selector_node_repeat1,
  [aux_sym_action_node_repeat1] = aux_sym_action_node_repeat1,
  [aux_sym_relationship_body_repeat1] = aux_sym_relationship_body_repeat1,
  [aux_sym_species_body_repeat1] = aux_sym_species_body_repeat1,
  [aux_sym_species_body_repeat2] = aux_sym_species_body_repeat2,
  [aux_sym_sub_concept_record_body_repeat1] = aux_sym_sub_concept_record_body_repeat1,
  [aux_sym_definition_repeat1] = aux_sym_definition_repeat1,
  [aux_sym_variant_pattern_repeat1] = aux_sym_variant_pattern_repeat1,
  [aux_sym_is_condition_repeat1] = aux_sym_is_condition_repeat1,
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [sym_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_line_comment] = {
    .visible = true,
    .named = true,
  },
  [sym_block_comment] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_use] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON_COLON] = {
    .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_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SEMI] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_character] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_from] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_template] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_strict] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_uses] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_behaviors] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_schedule] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_schedules] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_include] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOT] = {
    .visible = true,
    .named = false,
  },
  [sym_integer] = {
    .visible = true,
    .named = true,
  },
  [sym_float] = {
    .visible = true,
    .named = true,
  },
  [sym_string] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_true] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_false] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOT_DOT] = {
    .visible = true,
    .named = false,
  },
  [sym_time] = {
    .visible = true,
    .named = true,
  },
  [sym_duration] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_AT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_remove] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_append] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_prose_block_token1] = {
    .visible = false,
    .named = false,
  },
  [sym_prose_marker] = {
    .visible = true,
    .named = true,
  },
  [sym_prose_content] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_life_arc] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_requires] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_state] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_on] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_enter] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_modifies] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_block] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_override] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_recurrence] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_behavior] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_choose] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_then] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_if] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_when] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_repeat] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_invert] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_retry] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_timeout] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_cooldown] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_succeed_always] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fail_always] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_institution] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_relationship] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_as] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_location] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_species] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_enum] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_concept] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_sub_concept] = {
    .visible = true,
    .named = false,
  },
  [sym_any_type] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_definition] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_or] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_is] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_and] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_not] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_self] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_other] = {
    .visible = true,
    .named = false,
  },
  [sym_source_file] = {
    .visible = true,
    .named = true,
  },
  [sym_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_use_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_path] = {
    .visible = true,
    .named = true,
  },
  [sym_path_segments] = {
    .visible = true,
    .named = true,
  },
  [sym_character_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_character_body] = {
    .visible = true,
    .named = true,
  },
  [sym_template_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_template_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_template_body] = {
    .visible = true,
    .named = true,
  },
  [sym_uses_behaviors] = {
    .visible = true,
    .named = true,
  },
  [sym_uses_schedule] = {
    .visible = true,
    .named = true,
  },
  [sym_include] = {
    .visible = true,
    .named = true,
  },
  [sym_field] = {
    .visible = true,
    .named = true,
  },
  [sym_dotted_path] = {
    .visible = true,
    .named = true,
  },
  [sym_value] = {
    .visible = true,
    .named = true,
  },
  [sym_boolean] = {
    .visible = true,
    .named = true,
  },
  [sym_range] = {
    .visible = true,
    .named = true,
  },
  [sym_list] = {
    .visible = true,
    .named = true,
  },
  [sym_object] = {
    .visible = true,
    .named = true,
  },
  [sym_block] = {
    .visible = true,
    .named = true,
  },
  [sym_override] = {
    .visible = true,
    .named = true,
  },
  [sym_override_op] = {
    .visible = true,
    .named = true,
  },
  [sym_prose_block] = {
    .visible = true,
    .named = true,
  },
  [sym_life_arc_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_requires_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_required_field] = {
    .visible = true,
    .named = true,
  },
  [sym_state_block] = {
    .visible = true,
    .named = true,
  },
  [sym_state_body] = {
    .visible = true,
    .named = true,
  },
  [sym_on_enter] = {
    .visible = true,
    .named = true,
  },
  [sym_transition] = {
    .visible = true,
    .named = true,
  },
  [sym_schedule_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_schedule_body] = {
    .visible = true,
    .named = true,
  },
  [sym_schedule_block] = {
    .visible = true,
    .named = true,
  },
  [sym_override_block] = {
    .visible = true,
    .named = true,
  },
  [sym_recurrence_block] = {
    .visible = true,
    .named = true,
  },
  [sym_time_range] = {
    .visible = true,
    .named = true,
  },
  [sym_block_field] = {
    .visible = true,
    .named = true,
  },
  [sym_behavior_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_behavior_body] = {
    .visible = true,
    .named = true,
  },
  [sym_behavior_node] = {
    .visible = true,
    .named = true,
  },
  [sym_selector_node] = {
    .visible = true,
    .named = true,
  },
  [sym_sequence_node] = {
    .visible = true,
    .named = true,
  },
  [sym_condition_node] = {
    .visible = true,
    .named = true,
  },
  [sym_if_decorator_node] = {
    .visible = true,
    .named = true,
  },
  [sym_repeat_node] = {
    .visible = true,
    .named = true,
  },
  [sym_decorator_node] = {
    .visible = true,
    .named = true,
  },
  [sym_decorator_keyword] = {
    .visible = true,
    .named = true,
  },
  [sym_decorator_params] = {
    .visible = true,
    .named = true,
  },
  [sym_action_node] = {
    .visible = true,
    .named = true,
  },
  [sym_action_param] = {
    .visible = true,
    .named = true,
  },
  [sym_subtree_node] = {
    .visible = true,
    .named = true,
  },
  [sym_institution_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_relationship_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_relationship_body] = {
    .visible = true,
    .named = true,
  },
  [sym_participant] = {
    .visible = true,
    .named = true,
  },
  [sym_location_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_species_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_species_body] = {
    .visible = true,
    .named = true,
  },
  [sym_species_field] = {
    .visible = true,
    .named = true,
  },
  [sym_enum_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_concept_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_sub_concept] = {
    .visible = true,
    .named = true,
  },
  [sym_sub_concept_enum_body] = {
    .visible = true,
    .named = true,
  },
  [sym_sub_concept_record_body] = {
    .visible = true,
    .named = true,
  },
  [sym_sub_concept_field] = {
    .visible = true,
    .named = true,
  },
  [sym_definition] = {
    .visible = true,
    .named = true,
  },
  [sym_variant_pattern] = {
    .visible = true,
    .named = true,
  },
  [sym_field_condition] = {
    .visible = true,
    .named = true,
  },
  [sym_is_condition] = {
    .visible = true,
    .named = true,
  },
  [sym_is_value] = {
    .visible = true,
    .named = true,
  },
  [sym_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_or_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_and_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_not_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_comparison] = {
    .visible = true,
    .named = true,
  },
  [sym_field_access] = {
    .visible = true,
    .named = true,
  },
  [sym_primary_expression] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_source_file_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_use_declaration_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_path_segments_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_character_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_template_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_dotted_path_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_override_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_life_arc_declaration_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_requires_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_state_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_schedule_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_schedule_block_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_recurrence_block_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_selector_node_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_action_node_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_relationship_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_species_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_species_body_repeat2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sub_concept_record_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_definition_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_variant_pattern_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_is_condition_repeat1] = {
    .visible = false,
    .named = false,
  },
};

enum ts_field_identifiers {
  field_body = 1,
  field_child = 2,
  field_condition = 3,
  field_content = 4,
  field_day = 5,
  field_decorator = 6,
  field_end = 7,
  field_field = 8,
  field_label = 9,
  field_marker = 10,
  field_modifies = 11,
  field_name = 12,
  field_operator = 13,
  field_params = 14,
  field_parent = 15,
  field_requires = 16,
  field_root = 17,
  field_species = 18,
  field_start = 19,
  field_tag = 20,
  field_target = 21,
  field_template = 22,
  field_time_range = 23,
  field_type = 24,
  field_value = 25,
};

static const char * const ts_field_names[] = {
  [0] = NULL,
  [field_body] = "body",
  [field_child] = "child",
  [field_condition] = "condition",
  [field_content] = "content",
  [field_day] = "day",
  [field_decorator] = "decorator",
  [field_end] = "end",
  [field_field] = "field",
  [field_label] = "label",
  [field_marker] = "marker",
  [field_modifies] = "modifies",
  [field_name] = "name",
  [field_operator] = "operator",
  [field_params] = "params",
  [field_parent] = "parent",
  [field_requires] = "requires",
  [field_root] = "root",
  [field_species] = "species",
  [field_start] = "start",
  [field_tag] = "tag",
  [field_target] = "target",
  [field_template] = "template",
  [field_time_range] = "time_range",
  [field_type] = "type",
  [field_value] = "value",
};

static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
  [1] = {.index = 0, .length = 1},
  [2] = {.index = 1, .length = 2},
  [3] = {.index = 3, .length = 3},
  [4] = {.index = 6, .length = 2},
  [5] = {.index = 8, .length = 3},
  [6] = {.index = 11, .length = 3},
  [7] = {.index = 14, .length = 2},
  [8] = {.index = 16, .length = 1},
  [9] = {.index = 17, .length = 2},
  [10] = {.index = 19, .length = 4},
  [11] = {.index = 23, .length = 3},
  [12] = {.index = 26, .length = 1},
  [13] = {.index = 27, .length = 4},
  [14] = {.index = 31, .length = 2},
  [15] = {.index = 33, .length = 1},
  [16] = {.index = 34, .length = 1},
  [17] = {.index = 35, .length = 2},
  [18] = {.index = 37, .length = 3},
  [19] = {.index = 40, .length = 4},
  [20] = {.index = 44, .length = 2},
  [21] = {.index = 46, .length = 1},
  [22] = {.index = 47, .length = 1},
  [23] = {.index = 48, .length = 3},
  [24] = {.index = 51, .length = 1},
  [25] = {.index = 52, .length = 2},
  [26] = {.index = 54, .length = 2},
  [27] = {.index = 56, .length = 2},
  [28] = {.index = 58, .length = 2},
  [29] = {.index = 60, .length = 2},
  [30] = {.index = 62, .length = 4},
  [31] = {.index = 66, .length = 2},
  [32] = {.index = 68, .length = 6},
};

static const TSFieldMapEntry ts_field_map_entries[] = {
  [0] =
    {field_name, 1},
  [1] =
    {field_body, 2},
    {field_name, 1},
  [3] =
    {field_body, 3},
    {field_name, 1},
    {field_template, 2},
  [6] =
    {field_body, 3},
    {field_name, 1},
  [8] =
    {field_body, 4},
    {field_name, 1},
    {field_species, 3},
  [11] =
    {field_body, 4},
    {field_modifies, 3},
    {field_name, 1},
  [14] =
    {field_name, 1},
    {field_requires, 2},
  [16] =
    {field_root, 1},
  [17] =
    {field_name, 0},
    {field_value, 2},
  [19] =
    {field_body, 5},
    {field_name, 1},
    {field_species, 3},
    {field_template, 4},
  [23] =
    {field_body, 5},
    {field_name, 1},
    {field_species, 3},
  [26] =
    {field_root, 2},
  [27] =
    {field_content, 2},
    {field_end, 3},
    {field_marker, 0},
    {field_tag, 1},
  [31] =
    {field_name, 0},
    {field_type, 2},
  [33] =
    {field_condition, 2},
  [34] =
    {field_child, 2},
  [35] =
    {field_child, 2},
    {field_decorator, 0},
  [37] =
    {field_body, 5},
    {field_name, 3},
    {field_parent, 1},
  [40] =
    {field_content, 3},
    {field_end, 4},
    {field_marker, 0},
    {field_tag, 1},
  [44] =
    {field_name, 1},
    {field_time_range, 3},
  [46] =
    {field_label, 1},
  [47] =
    {field_operator, 1},
  [48] =
    {field_child, 3},
    {field_decorator, 0},
    {field_params, 1},
  [51] =
    {field_name, 0},
  [52] =
    {field_end, 2},
    {field_start, 0},
  [54] =
    {field_condition, 2},
    {field_name, 0},
  [56] =
    {field_day, 3},
    {field_name, 1},
  [58] =
    {field_condition, 1},
    {field_target, 3},
  [60] =
    {field_child, 5},
    {field_condition, 2},
  [62] =
    {field_child, 5},
    {field_params, 1},
    {field_params, 2},
    {field_params, 3},
  [66] =
    {field_field, 0},
    {field_value, 2},
  [68] =
    {field_child, 7},
    {field_params, 1},
    {field_params, 2},
    {field_params, 3},
    {field_params, 4},
    {field_params, 5},
};

static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
  [0] = {0},
};

static const uint16_t ts_non_terminal_alias_map[] = {
  0,
};

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

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (eof) ADVANCE(25);
      ADVANCE_MAP(
        '"', 2,
        '(', 76,
        ')', 77,
        '*', 37,
        ',', 35,
        '-', 9,
        '.', 43,
        '/', 4,
        ':', 39,
        ';', 38,
        '<', 80,
        '>', 78,
        '@', 56,
        '[', 40,
        ']', 41,
        '{', 34,
        '}', 36,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(45);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(82);
      END_STATE();
    case 1:
      ADVANCE_MAP(
        '"', 2,
        '(', 76,
        ')', 77,
        ',', 35,
        '-', 9,
        '.', 42,
        '/', 4,
        ':', 39,
        ';', 38,
        '<', 80,
        '>', 78,
        ']', 41,
        '{', 34,
        '}', 36,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(47);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(82);
      END_STATE();
    case 2:
      if (lookahead == '"') ADVANCE(51);
      if (lookahead == '\\') ADVANCE(23);
      if (lookahead != 0) ADVANCE(2);
      END_STATE();
    case 3:
      if (lookahead == ')') ADVANCE(77);
      if (lookahead == ',') ADVANCE(35);
      if (lookahead == '-') ADVANCE(10);
      if (lookahead == '.') ADVANCE(15);
      if (lookahead == '/') ADVANCE(4);
      if (lookahead == ']') ADVANCE(41);
      if (lookahead == '}') ADVANCE(36);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(3);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(48);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(82);
      END_STATE();
    case 4:
      if (lookahead == '*') ADVANCE(6);
      if (lookahead == '/') ADVANCE(29);
      END_STATE();
    case 5:
      if (lookahead == '*') ADVANCE(5);
      if (lookahead == '/') ADVANCE(30);
      if (lookahead != 0) ADVANCE(6);
      END_STATE();
    case 6:
      if (lookahead == '*') ADVANCE(5);
      if (lookahead != 0) ADVANCE(6);
      END_STATE();
    case 7:
      if (lookahead == '*') ADVANCE(71);
      if (lookahead == '-') ADVANCE(6);
      if (lookahead != 0) ADVANCE(72);
      END_STATE();
    case 8:
      if (lookahead == '*') ADVANCE(71);
      if (lookahead == '-') ADVANCE(7);
      if (lookahead != 0) ADVANCE(72);
      END_STATE();
    case 9:
      if (lookahead == '-') ADVANCE(11);
      if (lookahead == '>') ADVANCE(75);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(47);
      END_STATE();
    case 10:
      if (lookahead == '-') ADVANCE(11);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49);
      END_STATE();
    case 11:
      if (lookahead == '-') ADVANCE(69);
      END_STATE();
    case 12:
      if (lookahead == '-') ADVANCE(13);
      if (lookahead == '/') ADVANCE(70);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(73);
      if (lookahead != 0) ADVANCE(74);
      END_STATE();
    case 13:
      if (lookahead == '-') ADVANCE(24);
      if (lookahead != 0) ADVANCE(74);
      END_STATE();
    case 14:
      if (lookahead == '-') ADVANCE(20);
      if (lookahead == '/') ADVANCE(4);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(14);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49);
      END_STATE();
    case 15:
      if (lookahead == '.') ADVANCE(52);
      END_STATE();
    case 16:
      if (lookahead == 'd' ||
          lookahead == 'h' ||
          lookahead == 'm' ||
          lookahead == 's') ADVANCE(55);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(16);
      END_STATE();
    case 17:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(50);
      END_STATE();
    case 18:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(54);
      END_STATE();
    case 19:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(53);
      END_STATE();
    case 20:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49);
      END_STATE();
    case 21:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(18);
      END_STATE();
    case 22:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(19);
      END_STATE();
    case 23:
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(2);
      END_STATE();
    case 24:
      if (lookahead != 0 &&
          lookahead != '-') ADVANCE(74);
      END_STATE();
    case 25:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 26:
      ACCEPT_TOKEN(sym_line_comment);
      if (lookahead == '-') ADVANCE(29);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(28);
      END_STATE();
    case 27:
      ACCEPT_TOKEN(sym_line_comment);
      if (lookahead == '-') ADVANCE(26);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(28);
      END_STATE();
    case 28:
      ACCEPT_TOKEN(sym_line_comment);
      if (lookahead == '-') ADVANCE(27);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(28);
      END_STATE();
    case 29:
      ACCEPT_TOKEN(sym_line_comment);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(29);
      END_STATE();
    case 30:
      ACCEPT_TOKEN(sym_block_comment);
      END_STATE();
    case 31:
      ACCEPT_TOKEN(sym_block_comment);
      if (lookahead == '-') ADVANCE(67);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(65);
      END_STATE();
    case 32:
      ACCEPT_TOKEN(sym_block_comment);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(68);
      END_STATE();
    case 33:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      END_STATE();
    case 34:
      ACCEPT_TOKEN(anon_sym_LBRACE);
      END_STATE();
    case 35:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 36:
      ACCEPT_TOKEN(anon_sym_RBRACE);
      END_STATE();
    case 37:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 38:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 39:
      ACCEPT_TOKEN(anon_sym_COLON);
      if (lookahead == ':') ADVANCE(33);
      END_STATE();
    case 40:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 41:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 42:
      ACCEPT_TOKEN(anon_sym_DOT);
      END_STATE();
    case 43:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (lookahead == '.') ADVANCE(52);
      END_STATE();
    case 44:
      ACCEPT_TOKEN(sym_integer);
      if (lookahead == '.') ADVANCE(17);
      if (lookahead == ':') ADVANCE(21);
      if (lookahead == 'd' ||
          lookahead == 'h' ||
          lookahead == 'm' ||
          lookahead == 's') ADVANCE(55);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(46);
      END_STATE();
    case 45:
      ACCEPT_TOKEN(sym_integer);
      if (lookahead == '.') ADVANCE(17);
      if (lookahead == 'd' ||
          lookahead == 'h' ||
          lookahead == 'm' ||
          lookahead == 's') ADVANCE(55);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(44);
      END_STATE();
    case 46:
      ACCEPT_TOKEN(sym_integer);
      if (lookahead == '.') ADVANCE(17);
      if (lookahead == 'd' ||
          lookahead == 'h' ||
          lookahead == 'm' ||
          lookahead == 's') ADVANCE(55);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(46);
      END_STATE();
    case 47:
      ACCEPT_TOKEN(sym_integer);
      if (lookahead == '.') ADVANCE(17);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(47);
      END_STATE();
    case 48:
      ACCEPT_TOKEN(sym_integer);
      if (lookahead == 'd' ||
          lookahead == 'h' ||
          lookahead == 'm' ||
          lookahead == 's') ADVANCE(55);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(48);
      END_STATE();
    case 49:
      ACCEPT_TOKEN(sym_integer);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49);
      END_STATE();
    case 50:
      ACCEPT_TOKEN(sym_float);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(50);
      END_STATE();
    case 51:
      ACCEPT_TOKEN(sym_string);
      END_STATE();
    case 52:
      ACCEPT_TOKEN(anon_sym_DOT_DOT);
      END_STATE();
    case 53:
      ACCEPT_TOKEN(sym_time);
      END_STATE();
    case 54:
      ACCEPT_TOKEN(sym_time);
      if (lookahead == ':') ADVANCE(22);
      END_STATE();
    case 55:
      ACCEPT_TOKEN(sym_duration);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(16);
      END_STATE();
    case 56:
      ACCEPT_TOKEN(anon_sym_AT);
      END_STATE();
    case 57:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '\n') ADVANCE(6);
      if (lookahead == '*') ADVANCE(57);
      if (lookahead == '/') ADVANCE(32);
      if (lookahead != 0) ADVANCE(58);
      END_STATE();
    case 58:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '\n') ADVANCE(6);
      if (lookahead == '*') ADVANCE(57);
      if (lookahead != 0) ADVANCE(58);
      END_STATE();
    case 59:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '\n') ADVANCE(59);
      if (lookahead == '-') ADVANCE(67);
      if (lookahead == '/') ADVANCE(64);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(59);
      if (lookahead != 0) ADVANCE(65);
      END_STATE();
    case 60:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '\n') ADVANCE(72);
      if (lookahead == '*') ADVANCE(62);
      if (lookahead == '-') ADVANCE(58);
      if (lookahead != 0) ADVANCE(63);
      END_STATE();
    case 61:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '\n') ADVANCE(72);
      if (lookahead == '*') ADVANCE(62);
      if (lookahead == '-') ADVANCE(60);
      if (lookahead != 0) ADVANCE(63);
      END_STATE();
    case 62:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '\n') ADVANCE(72);
      if (lookahead == '*') ADVANCE(62);
      if (lookahead == '-') ADVANCE(61);
      if (lookahead == '/') ADVANCE(31);
      if (lookahead != 0) ADVANCE(63);
      END_STATE();
    case 63:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '\n') ADVANCE(72);
      if (lookahead == '*') ADVANCE(62);
      if (lookahead == '-') ADVANCE(61);
      if (lookahead != 0) ADVANCE(63);
      END_STATE();
    case 64:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '*') ADVANCE(63);
      if (lookahead == '-') ADVANCE(67);
      if (lookahead == '/') ADVANCE(28);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(65);
      END_STATE();
    case 65:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '-') ADVANCE(67);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(65);
      END_STATE();
    case 66:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '-') ADVANCE(68);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(65);
      END_STATE();
    case 67:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead == '-') ADVANCE(66);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(65);
      END_STATE();
    case 68:
      ACCEPT_TOKEN(aux_sym_prose_block_token1);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(68);
      END_STATE();
    case 69:
      ACCEPT_TOKEN(sym_prose_marker);
      END_STATE();
    case 70:
      ACCEPT_TOKEN(sym_prose_content);
      if (lookahead == '*') ADVANCE(72);
      if (lookahead == '-') ADVANCE(13);
      if (lookahead == '/') ADVANCE(28);
      if (lookahead != 0) ADVANCE(74);
      END_STATE();
    case 71:
      ACCEPT_TOKEN(sym_prose_content);
      if (lookahead == '*') ADVANCE(71);
      if (lookahead == '-') ADVANCE(8);
      if (lookahead == '/') ADVANCE(30);
      if (lookahead != 0) ADVANCE(72);
      END_STATE();
    case 72:
      ACCEPT_TOKEN(sym_prose_content);
      if (lookahead == '*') ADVANCE(71);
      if (lookahead == '-') ADVANCE(8);
      if (lookahead != 0) ADVANCE(72);
      END_STATE();
    case 73:
      ACCEPT_TOKEN(sym_prose_content);
      if (lookahead == '-') ADVANCE(13);
      if (lookahead == '/') ADVANCE(70);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(73);
      if (lookahead != 0) ADVANCE(74);
      END_STATE();
    case 74:
      ACCEPT_TOKEN(sym_prose_content);
      if (lookahead == '-') ADVANCE(13);
      if (lookahead != 0) ADVANCE(74);
      END_STATE();
    case 75:
      ACCEPT_TOKEN(anon_sym_DASH_GT);
      END_STATE();
    case 76:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 77:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 78:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=') ADVANCE(79);
      END_STATE();
    case 79:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      END_STATE();
    case 80:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=') ADVANCE(81);
      END_STATE();
    case 81:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      END_STATE();
    case 82:
      ACCEPT_TOKEN(sym_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(82);
      END_STATE();
    default:
      return false;
  }
}

static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      ADVANCE_MAP(
        'a', 1,
        'b', 2,
        'c', 3,
        'd', 4,
        'e', 5,
        'f', 6,
        'i', 7,
        'l', 8,
        'm', 9,
        'n', 10,
        'o', 11,
        'r', 12,
        's', 13,
        't', 14,
        'u', 15,
        'w', 16,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      END_STATE();
    case 1:
      if (lookahead == 'n') ADVANCE(17);
      if (lookahead == 'p') ADVANCE(18);
      if (lookahead == 's') ADVANCE(19);
      END_STATE();
    case 2:
      if (lookahead == 'e') ADVANCE(20);
      if (lookahead == 'l') ADVANCE(21);
      END_STATE();
    case 3:
      if (lookahead == 'h') ADVANCE(22);
      if (lookahead == 'o') ADVANCE(23);
      END_STATE();
    case 4:
      if (lookahead == 'e') ADVANCE(24);
      END_STATE();
    case 5:
      if (lookahead == 'n') ADVANCE(25);
      END_STATE();
    case 6:
      if (lookahead == 'a') ADVANCE(26);
      if (lookahead == 'r') ADVANCE(27);
      END_STATE();
    case 7:
      if (lookahead == 'f') ADVANCE(28);
      if (lookahead == 'n') ADVANCE(29);
      if (lookahead == 's') ADVANCE(30);
      END_STATE();
    case 8:
      if (lookahead == 'i') ADVANCE(31);
      if (lookahead == 'o') ADVANCE(32);
      END_STATE();
    case 9:
      if (lookahead == 'o') ADVANCE(33);
      END_STATE();
    case 10:
      if (lookahead == 'o') ADVANCE(34);
      END_STATE();
    case 11:
      if (lookahead == 'n') ADVANCE(35);
      if (lookahead == 'r') ADVANCE(36);
      if (lookahead == 't') ADVANCE(37);
      if (lookahead == 'v') ADVANCE(38);
      END_STATE();
    case 12:
      if (lookahead == 'e') ADVANCE(39);
      END_STATE();
    case 13:
      if (lookahead == 'c') ADVANCE(40);
      if (lookahead == 'e') ADVANCE(41);
      if (lookahead == 'p') ADVANCE(42);
      if (lookahead == 't') ADVANCE(43);
      if (lookahead == 'u') ADVANCE(44);
      END_STATE();
    case 14:
      if (lookahead == 'e') ADVANCE(45);
      if (lookahead == 'h') ADVANCE(46);
      if (lookahead == 'i') ADVANCE(47);
      if (lookahead == 'r') ADVANCE(48);
      END_STATE();
    case 15:
      if (lookahead == 's') ADVANCE(49);
      END_STATE();
    case 16:
      if (lookahead == 'h') ADVANCE(50);
      END_STATE();
    case 17:
      if (lookahead == 'd') ADVANCE(51);
      if (lookahead == 'y') ADVANCE(52);
      END_STATE();
    case 18:
      if (lookahead == 'p') ADVANCE(53);
      END_STATE();
    case 19:
      ACCEPT_TOKEN(anon_sym_as);
      END_STATE();
    case 20:
      if (lookahead == 'h') ADVANCE(54);
      END_STATE();
    case 21:
      if (lookahead == 'o') ADVANCE(55);
      END_STATE();
    case 22:
      if (lookahead == 'a') ADVANCE(56);
      if (lookahead == 'o') ADVANCE(57);
      END_STATE();
    case 23:
      if (lookahead == 'n') ADVANCE(58);
      if (lookahead == 'o') ADVANCE(59);
      END_STATE();
    case 24:
      if (lookahead == 'f') ADVANCE(60);
      END_STATE();
    case 25:
      if (lookahead == 't') ADVANCE(61);
      if (lookahead == 'u') ADVANCE(62);
      END_STATE();
    case 26:
      if (lookahead == 'i') ADVANCE(63);
      if (lookahead == 'l') ADVANCE(64);
      END_STATE();
    case 27:
      if (lookahead == 'o') ADVANCE(65);
      END_STATE();
    case 28:
      ACCEPT_TOKEN(anon_sym_if);
      END_STATE();
    case 29:
      if (lookahead == 'c') ADVANCE(66);
      if (lookahead == 's') ADVANCE(67);
      if (lookahead == 'v') ADVANCE(68);
      END_STATE();
    case 30:
      ACCEPT_TOKEN(anon_sym_is);
      END_STATE();
    case 31:
      if (lookahead == 'f') ADVANCE(69);
      END_STATE();
    case 32:
      if (lookahead == 'c') ADVANCE(70);
      END_STATE();
    case 33:
      if (lookahead == 'd') ADVANCE(71);
      END_STATE();
    case 34:
      if (lookahead == 't') ADVANCE(72);
      END_STATE();
    case 35:
      ACCEPT_TOKEN(anon_sym_on);
      END_STATE();
    case 36:
      ACCEPT_TOKEN(anon_sym_or);
      END_STATE();
    case 37:
      if (lookahead == 'h') ADVANCE(73);
      END_STATE();
    case 38:
      if (lookahead == 'e') ADVANCE(74);
      END_STATE();
    case 39:
      if (lookahead == 'c') ADVANCE(75);
      if (lookahead == 'l') ADVANCE(76);
      if (lookahead == 'm') ADVANCE(77);
      if (lookahead == 'p') ADVANCE(78);
      if (lookahead == 'q') ADVANCE(79);
      if (lookahead == 't') ADVANCE(80);
      END_STATE();
    case 40:
      if (lookahead == 'h') ADVANCE(81);
      END_STATE();
    case 41:
      if (lookahead == 'l') ADVANCE(82);
      END_STATE();
    case 42:
      if (lookahead == 'e') ADVANCE(83);
      END_STATE();
    case 43:
      if (lookahead == 'a') ADVANCE(84);
      if (lookahead == 'r') ADVANCE(85);
      END_STATE();
    case 44:
      if (lookahead == 'b') ADVANCE(86);
      if (lookahead == 'c') ADVANCE(87);
      END_STATE();
    case 45:
      if (lookahead == 'm') ADVANCE(88);
      END_STATE();
    case 46:
      if (lookahead == 'e') ADVANCE(89);
      END_STATE();
    case 47:
      if (lookahead == 'm') ADVANCE(90);
      END_STATE();
    case 48:
      if (lookahead == 'u') ADVANCE(91);
      END_STATE();
    case 49:
      if (lookahead == 'e') ADVANCE(92);
      END_STATE();
    case 50:
      if (lookahead == 'e') ADVANCE(93);
      END_STATE();
    case 51:
      ACCEPT_TOKEN(anon_sym_and);
      END_STATE();
    case 52:
      ACCEPT_TOKEN(sym_any_type);
      END_STATE();
    case 53:
      if (lookahead == 'e') ADVANCE(94);
      END_STATE();
    case 54:
      if (lookahead == 'a') ADVANCE(95);
      END_STATE();
    case 55:
      if (lookahead == 'c') ADVANCE(96);
      END_STATE();
    case 56:
      if (lookahead == 'r') ADVANCE(97);
      END_STATE();
    case 57:
      if (lookahead == 'o') ADVANCE(98);
      END_STATE();
    case 58:
      if (lookahead == 'c') ADVANCE(99);
      END_STATE();
    case 59:
      if (lookahead == 'l') ADVANCE(100);
      END_STATE();
    case 60:
      if (lookahead == 'i') ADVANCE(101);
      END_STATE();
    case 61:
      if (lookahead == 'e') ADVANCE(102);
      END_STATE();
    case 62:
      if (lookahead == 'm') ADVANCE(103);
      END_STATE();
    case 63:
      if (lookahead == 'l') ADVANCE(104);
      END_STATE();
    case 64:
      if (lookahead == 's') ADVANCE(105);
      END_STATE();
    case 65:
      if (lookahead == 'm') ADVANCE(106);
      END_STATE();
    case 66:
      if (lookahead == 'l') ADVANCE(107);
      END_STATE();
    case 67:
      if (lookahead == 't') ADVANCE(108);
      END_STATE();
    case 68:
      if (lookahead == 'e') ADVANCE(109);
      END_STATE();
    case 69:
      if (lookahead == 'e') ADVANCE(110);
      END_STATE();
    case 70:
      if (lookahead == 'a') ADVANCE(111);
      END_STATE();
    case 71:
      if (lookahead == 'i') ADVANCE(112);
      END_STATE();
    case 72:
      ACCEPT_TOKEN(anon_sym_not);
      END_STATE();
    case 73:
      if (lookahead == 'e') ADVANCE(113);
      END_STATE();
    case 74:
      if (lookahead == 'r') ADVANCE(114);
      END_STATE();
    case 75:
      if (lookahead == 'u') ADVANCE(115);
      END_STATE();
    case 76:
      if (lookahead == 'a') ADVANCE(116);
      END_STATE();
    case 77:
      if (lookahead == 'o') ADVANCE(117);
      END_STATE();
    case 78:
      if (lookahead == 'e') ADVANCE(118);
      END_STATE();
    case 79:
      if (lookahead == 'u') ADVANCE(119);
      END_STATE();
    case 80:
      if (lookahead == 'r') ADVANCE(120);
      END_STATE();
    case 81:
      if (lookahead == 'e') ADVANCE(121);
      END_STATE();
    case 82:
      if (lookahead == 'f') ADVANCE(122);
      END_STATE();
    case 83:
      if (lookahead == 'c') ADVANCE(123);
      END_STATE();
    case 84:
      if (lookahead == 't') ADVANCE(124);
      END_STATE();
    case 85:
      if (lookahead == 'i') ADVANCE(125);
      END_STATE();
    case 86:
      if (lookahead == '_') ADVANCE(126);
      END_STATE();
    case 87:
      if (lookahead == 'c') ADVANCE(127);
      END_STATE();
    case 88:
      if (lookahead == 'p') ADVANCE(128);
      END_STATE();
    case 89:
      if (lookahead == 'n') ADVANCE(129);
      END_STATE();
    case 90:
      if (lookahead == 'e') ADVANCE(130);
      END_STATE();
    case 91:
      if (lookahead == 'e') ADVANCE(131);
      END_STATE();
    case 92:
      ACCEPT_TOKEN(anon_sym_use);
      if (lookahead == 's') ADVANCE(132);
      END_STATE();
    case 93:
      if (lookahead == 'n') ADVANCE(133);
      END_STATE();
    case 94:
      if (lookahead == 'n') ADVANCE(134);
      END_STATE();
    case 95:
      if (lookahead == 'v') ADVANCE(135);
      END_STATE();
    case 96:
      if (lookahead == 'k') ADVANCE(136);
      END_STATE();
    case 97:
      if (lookahead == 'a') ADVANCE(137);
      END_STATE();
    case 98:
      if (lookahead == 's') ADVANCE(138);
      END_STATE();
    case 99:
      if (lookahead == 'e') ADVANCE(139);
      END_STATE();
    case 100:
      if (lookahead == 'd') ADVANCE(140);
      END_STATE();
    case 101:
      if (lookahead == 'n') ADVANCE(141);
      END_STATE();
    case 102:
      if (lookahead == 'r') ADVANCE(142);
      END_STATE();
    case 103:
      ACCEPT_TOKEN(anon_sym_enum);
      END_STATE();
    case 104:
      if (lookahead == '_') ADVANCE(143);
      END_STATE();
    case 105:
      if (lookahead == 'e') ADVANCE(144);
      END_STATE();
    case 106:
      ACCEPT_TOKEN(anon_sym_from);
      END_STATE();
    case 107:
      if (lookahead == 'u') ADVANCE(145);
      END_STATE();
    case 108:
      if (lookahead == 'i') ADVANCE(146);
      END_STATE();
    case 109:
      if (lookahead == 'r') ADVANCE(147);
      END_STATE();
    case 110:
      if (lookahead == '_') ADVANCE(148);
      END_STATE();
    case 111:
      if (lookahead == 't') ADVANCE(149);
      END_STATE();
    case 112:
      if (lookahead == 'f') ADVANCE(150);
      END_STATE();
    case 113:
      if (lookahead == 'r') ADVANCE(151);
      END_STATE();
    case 114:
      if (lookahead == 'r') ADVANCE(152);
      END_STATE();
    case 115:
      if (lookahead == 'r') ADVANCE(153);
      END_STATE();
    case 116:
      if (lookahead == 't') ADVANCE(154);
      END_STATE();
    case 117:
      if (lookahead == 'v') ADVANCE(155);
      END_STATE();
    case 118:
      if (lookahead == 'a') ADVANCE(156);
      END_STATE();
    case 119:
      if (lookahead == 'i') ADVANCE(157);
      END_STATE();
    case 120:
      if (lookahead == 'y') ADVANCE(158);
      END_STATE();
    case 121:
      if (lookahead == 'd') ADVANCE(159);
      END_STATE();
    case 122:
      ACCEPT_TOKEN(anon_sym_self);
      END_STATE();
    case 123:
      if (lookahead == 'i') ADVANCE(160);
      END_STATE();
    case 124:
      if (lookahead == 'e') ADVANCE(161);
      END_STATE();
    case 125:
      if (lookahead == 'c') ADVANCE(162);
      END_STATE();
    case 126:
      if (lookahead == 'c') ADVANCE(163);
      END_STATE();
    case 127:
      if (lookahead == 'e') ADVANCE(164);
      END_STATE();
    case 128:
      if (lookahead == 'l') ADVANCE(165);
      END_STATE();
    case 129:
      ACCEPT_TOKEN(anon_sym_then);
      END_STATE();
    case 130:
      if (lookahead == 'o') ADVANCE(166);
      END_STATE();
    case 131:
      ACCEPT_TOKEN(anon_sym_true);
      END_STATE();
    case 132:
      ACCEPT_TOKEN(anon_sym_uses);
      END_STATE();
    case 133:
      ACCEPT_TOKEN(anon_sym_when);
      END_STATE();
    case 134:
      if (lookahead == 'd') ADVANCE(167);
      END_STATE();
    case 135:
      if (lookahead == 'i') ADVANCE(168);
      END_STATE();
    case 136:
      ACCEPT_TOKEN(anon_sym_block);
      END_STATE();
    case 137:
      if (lookahead == 'c') ADVANCE(169);
      END_STATE();
    case 138:
      if (lookahead == 'e') ADVANCE(170);
      END_STATE();
    case 139:
      if (lookahead == 'p') ADVANCE(171);
      END_STATE();
    case 140:
      if (lookahead == 'o') ADVANCE(172);
      END_STATE();
    case 141:
      if (lookahead == 'i') ADVANCE(173);
      END_STATE();
    case 142:
      ACCEPT_TOKEN(anon_sym_enter);
      END_STATE();
    case 143:
      if (lookahead == 'a') ADVANCE(174);
      END_STATE();
    case 144:
      ACCEPT_TOKEN(anon_sym_false);
      END_STATE();
    case 145:
      if (lookahead == 'd') ADVANCE(175);
      END_STATE();
    case 146:
      if (lookahead == 't') ADVANCE(176);
      END_STATE();
    case 147:
      if (lookahead == 't') ADVANCE(177);
      END_STATE();
    case 148:
      if (lookahead == 'a') ADVANCE(178);
      END_STATE();
    case 149:
      if (lookahead == 'i') ADVANCE(179);
      END_STATE();
    case 150:
      if (lookahead == 'i') ADVANCE(180);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_other);
      END_STATE();
    case 152:
      if (lookahead == 'i') ADVANCE(181);
      END_STATE();
    case 153:
      if (lookahead == 'r') ADVANCE(182);
      END_STATE();
    case 154:
      if (lookahead == 'i') ADVANCE(183);
      END_STATE();
    case 155:
      if (lookahead == 'e') ADVANCE(184);
      END_STATE();
    case 156:
      if (lookahead == 't') ADVANCE(185);
      END_STATE();
    case 157:
      if (lookahead == 'r') ADVANCE(186);
      END_STATE();
    case 158:
      ACCEPT_TOKEN(anon_sym_retry);
      END_STATE();
    case 159:
      if (lookahead == 'u') ADVANCE(187);
      END_STATE();
    case 160:
      if (lookahead == 'e') ADVANCE(188);
      END_STATE();
    case 161:
      ACCEPT_TOKEN(anon_sym_state);
      END_STATE();
    case 162:
      if (lookahead == 't') ADVANCE(189);
      END_STATE();
    case 163:
      if (lookahead == 'o') ADVANCE(190);
      END_STATE();
    case 164:
      if (lookahead == 'e') ADVANCE(191);
      END_STATE();
    case 165:
      if (lookahead == 'a') ADVANCE(192);
      END_STATE();
    case 166:
      if (lookahead == 'u') ADVANCE(193);
      END_STATE();
    case 167:
      ACCEPT_TOKEN(anon_sym_append);
      END_STATE();
    case 168:
      if (lookahead == 'o') ADVANCE(194);
      END_STATE();
    case 169:
      if (lookahead == 't') ADVANCE(195);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(anon_sym_choose);
      END_STATE();
    case 171:
      if (lookahead == 't') ADVANCE(196);
      END_STATE();
    case 172:
      if (lookahead == 'w') ADVANCE(197);
      END_STATE();
    case 173:
      if (lookahead == 't') ADVANCE(198);
      END_STATE();
    case 174:
      if (lookahead == 'l') ADVANCE(199);
      END_STATE();
    case 175:
      if (lookahead == 'e') ADVANCE(200);
      END_STATE();
    case 176:
      if (lookahead == 'u') ADVANCE(201);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(anon_sym_invert);
      END_STATE();
    case 178:
      if (lookahead == 'r') ADVANCE(202);
      END_STATE();
    case 179:
      if (lookahead == 'o') ADVANCE(203);
      END_STATE();
    case 180:
      if (lookahead == 'e') ADVANCE(204);
      END_STATE();
    case 181:
      if (lookahead == 'd') ADVANCE(205);
      END_STATE();
    case 182:
      if (lookahead == 'e') ADVANCE(206);
      END_STATE();
    case 183:
      if (lookahead == 'o') ADVANCE(207);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(anon_sym_remove);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(anon_sym_repeat);
      END_STATE();
    case 186:
      if (lookahead == 'e') ADVANCE(208);
      END_STATE();
    case 187:
      if (lookahead == 'l') ADVANCE(209);
      END_STATE();
    case 188:
      if (lookahead == 's') ADVANCE(210);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(anon_sym_strict);
      END_STATE();
    case 190:
      if (lookahead == 'n') ADVANCE(211);
      END_STATE();
    case 191:
      if (lookahead == 'd') ADVANCE(212);
      END_STATE();
    case 192:
      if (lookahead == 't') ADVANCE(213);
      END_STATE();
    case 193:
      if (lookahead == 't') ADVANCE(214);
      END_STATE();
    case 194:
      if (lookahead == 'r') ADVANCE(215);
      END_STATE();
    case 195:
      if (lookahead == 'e') ADVANCE(216);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(anon_sym_concept);
      END_STATE();
    case 197:
      if (lookahead == 'n') ADVANCE(217);
      END_STATE();
    case 198:
      if (lookahead == 'i') ADVANCE(218);
      END_STATE();
    case 199:
      if (lookahead == 'w') ADVANCE(219);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(anon_sym_include);
      END_STATE();
    case 201:
      if (lookahead == 't') ADVANCE(220);
      END_STATE();
    case 202:
      if (lookahead == 'c') ADVANCE(221);
      END_STATE();
    case 203:
      if (lookahead == 'n') ADVANCE(222);
      END_STATE();
    case 204:
      if (lookahead == 's') ADVANCE(223);
      END_STATE();
    case 205:
      if (lookahead == 'e') ADVANCE(224);
      END_STATE();
    case 206:
      if (lookahead == 'n') ADVANCE(225);
      END_STATE();
    case 207:
      if (lookahead == 'n') ADVANCE(226);
      END_STATE();
    case 208:
      if (lookahead == 's') ADVANCE(227);
      END_STATE();
    case 209:
      if (lookahead == 'e') ADVANCE(228);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(anon_sym_species);
      END_STATE();
    case 211:
      if (lookahead == 'c') ADVANCE(229);
      END_STATE();
    case 212:
      if (lookahead == '_') ADVANCE(230);
      END_STATE();
    case 213:
      if (lookahead == 'e') ADVANCE(231);
      END_STATE();
    case 214:
      ACCEPT_TOKEN(anon_sym_timeout);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(anon_sym_behavior);
      if (lookahead == 's') ADVANCE(232);
      END_STATE();
    case 216:
      if (lookahead == 'r') ADVANCE(233);
      END_STATE();
    case 217:
      ACCEPT_TOKEN(anon_sym_cooldown);
      END_STATE();
    case 218:
      if (lookahead == 'o') ADVANCE(234);
      END_STATE();
    case 219:
      if (lookahead == 'a') ADVANCE(235);
      END_STATE();
    case 220:
      if (lookahead == 'i') ADVANCE(236);
      END_STATE();
    case 221:
      ACCEPT_TOKEN(anon_sym_life_arc);
      END_STATE();
    case 222:
      ACCEPT_TOKEN(anon_sym_location);
      END_STATE();
    case 223:
      ACCEPT_TOKEN(anon_sym_modifies);
      END_STATE();
    case 224:
      ACCEPT_TOKEN(anon_sym_override);
      END_STATE();
    case 225:
      if (lookahead == 'c') ADVANCE(237);
      END_STATE();
    case 226:
      if (lookahead == 's') ADVANCE(238);
      END_STATE();
    case 227:
      ACCEPT_TOKEN(anon_sym_requires);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(anon_sym_schedule);
      if (lookahead == 's') ADVANCE(239);
      END_STATE();
    case 229:
      if (lookahead == 'e') ADVANCE(240);
      END_STATE();
    case 230:
      if (lookahead == 'a') ADVANCE(241);
      END_STATE();
    case 231:
      ACCEPT_TOKEN(anon_sym_template);
      END_STATE();
    case 232:
      ACCEPT_TOKEN(anon_sym_behaviors);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(anon_sym_character);
      END_STATE();
    case 234:
      if (lookahead == 'n') ADVANCE(242);
      END_STATE();
    case 235:
      if (lookahead == 'y') ADVANCE(243);
      END_STATE();
    case 236:
      if (lookahead == 'o') ADVANCE(244);
      END_STATE();
    case 237:
      if (lookahead == 'e') ADVANCE(245);
      END_STATE();
    case 238:
      if (lookahead == 'h') ADVANCE(246);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(anon_sym_schedules);
      END_STATE();
    case 240:
      if (lookahead == 'p') ADVANCE(247);
      END_STATE();
    case 241:
      if (lookahead == 'l') ADVANCE(248);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(anon_sym_definition);
      END_STATE();
    case 243:
      if (lookahead == 's') ADVANCE(249);
      END_STATE();
    case 244:
      if (lookahead == 'n') ADVANCE(250);
      END_STATE();
    case 245:
      ACCEPT_TOKEN(anon_sym_recurrence);
      END_STATE();
    case 246:
      if (lookahead == 'i') ADVANCE(251);
      END_STATE();
    case 247:
      if (lookahead == 't') ADVANCE(252);
      END_STATE();
    case 248:
      if (lookahead == 'w') ADVANCE(253);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(anon_sym_fail_always);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(anon_sym_institution);
      END_STATE();
    case 251:
      if (lookahead == 'p') ADVANCE(254);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(anon_sym_sub_concept);
      END_STATE();
    case 253:
      if (lookahead == 'a') ADVANCE(255);
      END_STATE();
    case 254:
      ACCEPT_TOKEN(anon_sym_relationship);
      END_STATE();
    case 255:
      if (lookahead == 'y') ADVANCE(256);
      END_STATE();
    case 256:
      if (lookahead == 's') ADVANCE(257);
      END_STATE();
    case 257:
      ACCEPT_TOKEN(anon_sym_succeed_always);
      END_STATE();
    default:
      return false;
  }
}

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

static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
  [STATE(0)] = {
    [ts_builtin_sym_end] = ACTIONS(1),
    [sym_identifier] = ACTIONS(1),
    [sym_line_comment] = ACTIONS(3),
    [sym_block_comment] = ACTIONS(3),
    [anon_sym_use] = ACTIONS(1),
    [anon_sym_COLON_COLON] = ACTIONS(1),
    [anon_sym_LBRACE] = ACTIONS(1),
    [anon_sym_COMMA] = ACTIONS(1),
    [anon_sym_RBRACE] = ACTIONS(1),
    [anon_sym_STAR] = ACTIONS(1),
    [anon_sym_SEMI] = ACTIONS(1),
    [anon_sym_character] = ACTIONS(1),
    [anon_sym_COLON] = ACTIONS(1),
    [anon_sym_from] = ACTIONS(1),
    [anon_sym_template] = ACTIONS(1),
    [anon_sym_strict] = ACTIONS(1),
    [anon_sym_uses] = ACTIONS(1),
    [anon_sym_behaviors] = ACTIONS(1),
    [anon_sym_schedule] = ACTIONS(1),
    [anon_sym_schedules] = ACTIONS(1),
    [anon_sym_LBRACK] = ACTIONS(1),
    [anon_sym_RBRACK] = ACTIONS(1),
    [anon_sym_include] = ACTIONS(1),
    [anon_sym_DOT] = ACTIONS(1),
    [sym_integer] = ACTIONS(1),
    [sym_float] = ACTIONS(1),
    [sym_string] = ACTIONS(1),
    [anon_sym_true] = ACTIONS(1),
    [anon_sym_false] = ACTIONS(1),
    [anon_sym_DOT_DOT] = ACTIONS(1),
    [sym_time] = ACTIONS(1),
    [sym_duration] = ACTIONS(1),
    [anon_sym_AT] = ACTIONS(1),
    [anon_sym_remove] = ACTIONS(1),
    [anon_sym_append] = ACTIONS(1),
    [sym_prose_marker] = ACTIONS(1),
    [anon_sym_life_arc] = ACTIONS(1),
    [anon_sym_requires] = ACTIONS(1),
    [anon_sym_state] = ACTIONS(1),
    [anon_sym_on] = ACTIONS(1),
    [anon_sym_enter] = ACTIONS(1),
    [anon_sym_DASH_GT] = ACTIONS(1),
    [anon_sym_modifies] = ACTIONS(1),
    [anon_sym_block] = ACTIONS(1),
    [anon_sym_override] = ACTIONS(1),
    [anon_sym_recurrence] = ACTIONS(1),
    [anon_sym_behavior] = ACTIONS(1),
    [anon_sym_choose] = ACTIONS(1),
    [anon_sym_then] = ACTIONS(1),
    [anon_sym_if] = ACTIONS(1),
    [anon_sym_when] = ACTIONS(1),
    [anon_sym_LPAREN] = ACTIONS(1),
    [anon_sym_RPAREN] = ACTIONS(1),
    [anon_sym_repeat] = ACTIONS(1),
    [anon_sym_invert] = ACTIONS(1),
    [anon_sym_retry] = ACTIONS(1),
    [anon_sym_timeout] = ACTIONS(1),
    [anon_sym_cooldown] = ACTIONS(1),
    [anon_sym_succeed_always] = ACTIONS(1),
    [anon_sym_fail_always] = ACTIONS(1),
    [anon_sym_institution] = ACTIONS(1),
    [anon_sym_relationship] = ACTIONS(1),
    [anon_sym_as] = ACTIONS(1),
    [anon_sym_location] = ACTIONS(1),
    [anon_sym_species] = ACTIONS(1),
    [anon_sym_enum] = ACTIONS(1),
    [anon_sym_concept] = ACTIONS(1),
    [anon_sym_sub_concept] = ACTIONS(1),
    [sym_any_type] = ACTIONS(1),
    [anon_sym_definition] = ACTIONS(1),
    [anon_sym_or] = ACTIONS(1),
    [anon_sym_is] = ACTIONS(1),
    [anon_sym_and] = ACTIONS(1),
    [anon_sym_not] = ACTIONS(1),
    [anon_sym_GT] = ACTIONS(1),
    [anon_sym_GT_EQ] = ACTIONS(1),
    [anon_sym_LT] = ACTIONS(1),
    [anon_sym_LT_EQ] = ACTIONS(1),
    [anon_sym_self] = ACTIONS(1),
    [anon_sym_other] = ACTIONS(1),
  },
  [STATE(1)] = {
    [sym_source_file] = STATE(451),
    [sym_declaration] = STATE(11),
    [sym_use_declaration] = STATE(64),
    [sym_character_declaration] = STATE(64),
    [sym_template_declaration] = STATE(64),
    [sym_life_arc_declaration] = STATE(64),
    [sym_schedule_declaration] = STATE(64),
    [sym_behavior_declaration] = STATE(64),
    [sym_institution_declaration] = STATE(64),
    [sym_relationship_declaration] = STATE(64),
    [sym_location_declaration] = STATE(64),
    [sym_species_declaration] = STATE(64),
    [sym_enum_declaration] = STATE(64),
    [sym_concept_declaration] = STATE(64),
    [sym_sub_concept] = STATE(64),
    [sym_definition] = STATE(64),
    [aux_sym_source_file_repeat1] = STATE(11),
    [ts_builtin_sym_end] = ACTIONS(5),
    [sym_line_comment] = ACTIONS(3),
    [sym_block_comment] = ACTIONS(3),
    [anon_sym_use] = ACTIONS(7),
    [anon_sym_character] = ACTIONS(9),
    [anon_sym_template] = ACTIONS(11),
    [anon_sym_schedule] = ACTIONS(13),
    [anon_sym_life_arc] = ACTIONS(15),
    [anon_sym_behavior] = ACTIONS(17),
    [anon_sym_institution] = ACTIONS(19),
    [anon_sym_relationship] = ACTIONS(21),
    [anon_sym_location] = ACTIONS(23),
    [anon_sym_species] = ACTIONS(25),
    [anon_sym_enum] = ACTIONS(27),
    [anon_sym_concept] = ACTIONS(29),
    [anon_sym_sub_concept] = ACTIONS(31),
    [anon_sym_definition] = ACTIONS(33),
  },
};

static const uint16_t ts_small_parse_table[] = {
  [0] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(35), 6,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(37), 34,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_life_arc,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_behavior,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
      sym_identifier,
  [49] = 5,
    ACTIONS(41), 1,
      anon_sym_COLON_COLON,
    STATE(3), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(44), 11,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RBRACK,
      anon_sym_DOT,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(39), 27,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_as,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [102] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(46), 6,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(48), 34,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_life_arc,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_behavior,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
      sym_identifier,
  [151] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(44), 12,
      anon_sym_COLON_COLON,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_RBRACK,
      anon_sym_DOT,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(39), 27,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_as,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [199] = 5,
    ACTIONS(52), 1,
      anon_sym_COLON_COLON,
    STATE(7), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(54), 10,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      anon_sym_DOT,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(50), 27,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_as,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [251] = 5,
    ACTIONS(52), 1,
      anon_sym_COLON_COLON,
    STATE(3), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(58), 10,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      anon_sym_DOT,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(56), 27,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_as,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [303] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(62), 10,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      anon_sym_DOT,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(60), 27,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_as,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [349] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(66), 9,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      anon_sym_DOT,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(64), 26,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [393] = 18,
    ACTIONS(68), 1,
      ts_builtin_sym_end,
    ACTIONS(70), 1,
      anon_sym_use,
    ACTIONS(73), 1,
      anon_sym_character,
    ACTIONS(76), 1,
      anon_sym_template,
    ACTIONS(79), 1,
      anon_sym_schedule,
    ACTIONS(82), 1,
      anon_sym_life_arc,
    ACTIONS(85), 1,
      anon_sym_behavior,
    ACTIONS(88), 1,
      anon_sym_institution,
    ACTIONS(91), 1,
      anon_sym_relationship,
    ACTIONS(94), 1,
      anon_sym_location,
    ACTIONS(97), 1,
      anon_sym_species,
    ACTIONS(100), 1,
      anon_sym_enum,
    ACTIONS(103), 1,
      anon_sym_concept,
    ACTIONS(106), 1,
      anon_sym_sub_concept,
    ACTIONS(109), 1,
      anon_sym_definition,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(10), 2,
      sym_declaration,
      aux_sym_source_file_repeat1,
    STATE(64), 14,
      sym_use_declaration,
      sym_character_declaration,
      sym_template_declaration,
      sym_life_arc_declaration,
      sym_schedule_declaration,
      sym_behavior_declaration,
      sym_institution_declaration,
      sym_relationship_declaration,
      sym_location_declaration,
      sym_species_declaration,
      sym_enum_declaration,
      sym_concept_declaration,
      sym_sub_concept,
      sym_definition,
  [463] = 18,
    ACTIONS(7), 1,
      anon_sym_use,
    ACTIONS(9), 1,
      anon_sym_character,
    ACTIONS(11), 1,
      anon_sym_template,
    ACTIONS(13), 1,
      anon_sym_schedule,
    ACTIONS(15), 1,
      anon_sym_life_arc,
    ACTIONS(17), 1,
      anon_sym_behavior,
    ACTIONS(19), 1,
      anon_sym_institution,
    ACTIONS(21), 1,
      anon_sym_relationship,
    ACTIONS(23), 1,
      anon_sym_location,
    ACTIONS(25), 1,
      anon_sym_species,
    ACTIONS(27), 1,
      anon_sym_enum,
    ACTIONS(29), 1,
      anon_sym_concept,
    ACTIONS(31), 1,
      anon_sym_sub_concept,
    ACTIONS(33), 1,
      anon_sym_definition,
    ACTIONS(112), 1,
      ts_builtin_sym_end,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(10), 2,
      sym_declaration,
      aux_sym_source_file_repeat1,
    STATE(64), 14,
      sym_use_declaration,
      sym_character_declaration,
      sym_template_declaration,
      sym_life_arc_declaration,
      sym_schedule_declaration,
      sym_behavior_declaration,
      sym_institution_declaration,
      sym_relationship_declaration,
      sym_location_declaration,
      sym_species_declaration,
      sym_enum_declaration,
      sym_concept_declaration,
      sym_sub_concept,
      sym_definition,
  [533] = 16,
    ACTIONS(114), 1,
      sym_identifier,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    STATE(41), 1,
      sym_prose_block,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(369), 1,
      sym_dotted_path,
    STATE(403), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(13), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [596] = 16,
    ACTIONS(114), 1,
      sym_identifier,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    STATE(41), 1,
      sym_prose_block,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(365), 1,
      sym_behavior_node,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [659] = 4,
    ACTIONS(136), 1,
      anon_sym_DOT_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(134), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(132), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [697] = 4,
    ACTIONS(138), 1,
      anon_sym_DOT_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(134), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(132), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [735] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(134), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(132), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [770] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(142), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(140), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [805] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(146), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(144), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [840] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(150), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(148), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [875] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(154), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(152), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [910] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(158), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(156), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [945] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(162), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(160), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [980] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(166), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(164), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [1015] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(170), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(168), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [1050] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(174), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(172), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [1085] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(178), 5,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(176), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [1120] = 13,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    ACTIONS(182), 1,
      anon_sym_RBRACE,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(29), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1174] = 13,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    ACTIONS(184), 1,
      anon_sym_RBRACE,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(29), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1228] = 13,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(189), 1,
      anon_sym_RBRACE,
    ACTIONS(191), 1,
      anon_sym_include,
    ACTIONS(194), 1,
      anon_sym_choose,
    ACTIONS(197), 1,
      anon_sym_then,
    ACTIONS(200), 1,
      anon_sym_if,
    ACTIONS(203), 1,
      anon_sym_when,
    ACTIONS(206), 1,
      anon_sym_repeat,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(29), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(209), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1282] = 17,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(212), 1,
      sym_identifier,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(228), 1,
      anon_sym_RPAREN,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(238), 1,
      sym_action_param,
    STATE(324), 1,
      sym_value,
    STATE(385), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1344] = 13,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    ACTIONS(230), 1,
      anon_sym_RBRACE,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(29), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1398] = 17,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(212), 1,
      sym_identifier,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(232), 1,
      anon_sym_RPAREN,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(316), 1,
      sym_action_param,
    STATE(324), 1,
      sym_value,
    STATE(385), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1460] = 17,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(212), 1,
      sym_identifier,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(234), 1,
      anon_sym_RPAREN,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(316), 1,
      sym_action_param,
    STATE(324), 1,
      sym_value,
    STATE(385), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1522] = 13,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    ACTIONS(236), 1,
      anon_sym_RBRACE,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(29), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1576] = 16,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(212), 1,
      sym_identifier,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(316), 1,
      sym_action_param,
    STATE(324), 1,
      sym_value,
    STATE(385), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1635] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(31), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1686] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(27), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1737] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(34), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1788] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(28), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1839] = 15,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(240), 1,
      anon_sym_RBRACK,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(282), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1895] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(244), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(242), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [1927] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(389), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1977] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(380), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [2027] = 15,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_RBRACK,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(323), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2083] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(404), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [2133] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(406), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [2183] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(440), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [2233] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(250), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(248), 21,
      anon_sym_uses,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_state,
      anon_sym_on,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [2265] = 15,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(252), 1,
      anon_sym_RBRACK,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(323), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2321] = 12,
    ACTIONS(116), 1,
      anon_sym_include,
    ACTIONS(120), 1,
      anon_sym_choose,
    ACTIONS(122), 1,
      anon_sym_then,
    ACTIONS(124), 1,
      anon_sym_if,
    ACTIONS(126), 1,
      anon_sym_when,
    ACTIONS(128), 1,
      anon_sym_repeat,
    ACTIONS(180), 1,
      sym_identifier,
    STATE(240), 1,
      sym_decorator_keyword,
    STATE(360), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(130), 6,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(128), 8,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_repeat_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [2371] = 14,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(238), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(315), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2424] = 14,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(238), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(323), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2477] = 14,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(238), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(48), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2530] = 14,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(216), 1,
      anon_sym_LBRACK,
    ACTIONS(218), 1,
      sym_integer,
    ACTIONS(220), 1,
      sym_float,
    ACTIONS(226), 1,
      anon_sym_AT,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(254), 1,
      anon_sym_LBRACE,
    STATE(8), 1,
      sym_path_segments,
    STATE(17), 1,
      sym_block,
    STATE(48), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(222), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(16), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2583] = 8,
    ACTIONS(256), 1,
      sym_identifier,
    ACTIONS(259), 1,
      anon_sym_RBRACE,
    ACTIONS(263), 1,
      sym_prose_marker,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    ACTIONS(261), 14,
      anon_sym_include,
      anon_sym_state,
      anon_sym_on,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
  [2623] = 11,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(270), 1,
      anon_sym_enter,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(156), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2668] = 10,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(146), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2710] = 10,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(143), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2752] = 10,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(158), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2794] = 10,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(139), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2836] = 10,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(156), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2878] = 10,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(162), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2920] = 10,
    ACTIONS(238), 1,
      sym_identifier,
    ACTIONS(272), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(142), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(224), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(268), 2,
      sym_float,
      sym_string,
    STATE(149), 2,
      sym_path,
      sym_boolean,
    ACTIONS(266), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(153), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2962] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(274), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [2984] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(276), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3006] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(278), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3028] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(280), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3050] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(282), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3072] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(284), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3094] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(286), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3116] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(288), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3138] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(290), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3160] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(292), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3182] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(294), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3204] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(296), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3226] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(298), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3248] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(300), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3270] = 4,
    ACTIONS(304), 1,
      anon_sym_RBRACE,
    ACTIONS(306), 1,
      anon_sym_LPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(302), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [3296] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(308), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3318] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(310), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3340] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(312), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3362] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(314), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3384] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(316), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3406] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(318), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3428] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(320), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3450] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(322), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3472] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(324), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3494] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(326), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3516] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(328), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3538] = 4,
    ACTIONS(332), 1,
      anon_sym_LBRACE,
    ACTIONS(334), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(330), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [3564] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(336), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3586] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(338), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3608] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(340), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3630] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(342), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3652] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(344), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3674] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(346), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3696] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(348), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3718] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(350), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3740] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(352), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3762] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(354), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3784] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(356), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3806] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(358), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3828] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(360), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3850] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(362), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3872] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(364), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3894] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(366), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3916] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(368), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3938] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(370), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3960] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(372), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [3982] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(374), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [4004] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(376), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [4026] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(378), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [4048] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(380), 15,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_schedule,
      anon_sym_life_arc,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
      anon_sym_concept,
      anon_sym_sub_concept,
      anon_sym_definition,
  [4070] = 3,
    ACTIONS(384), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(382), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4093] = 3,
    ACTIONS(388), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(386), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4116] = 3,
    ACTIONS(392), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(390), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4139] = 3,
    ACTIONS(396), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(394), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4162] = 3,
    ACTIONS(334), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(330), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4185] = 3,
    ACTIONS(400), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(398), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4208] = 3,
    ACTIONS(404), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(402), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4231] = 3,
    ACTIONS(408), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(406), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4254] = 3,
    ACTIONS(412), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(410), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4277] = 3,
    ACTIONS(416), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(414), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4300] = 3,
    ACTIONS(420), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(418), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4323] = 3,
    ACTIONS(424), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(422), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4346] = 3,
    ACTIONS(428), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(426), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4369] = 3,
    ACTIONS(432), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(430), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4392] = 3,
    ACTIONS(436), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(434), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4415] = 3,
    ACTIONS(440), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(438), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4438] = 3,
    ACTIONS(444), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(442), 13,
      anon_sym_include,
      anon_sym_choose,
      anon_sym_then,
      anon_sym_if,
      anon_sym_when,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
      sym_identifier,
  [4461] = 10,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(448), 1,
      anon_sym_RBRACE,
    ACTIONS(450), 1,
      anon_sym_block,
    ACTIONS(452), 1,
      anon_sym_override,
    ACTIONS(454), 1,
      anon_sym_recurrence,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(132), 5,
      sym_field,
      sym_schedule_block,
      sym_override_block,
      sym_recurrence_block,
      aux_sym_schedule_body_repeat1,
  [4497] = 10,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(450), 1,
      anon_sym_block,
    ACTIONS(452), 1,
      anon_sym_override,
    ACTIONS(454), 1,
      anon_sym_recurrence,
    ACTIONS(456), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(133), 5,
      sym_field,
      sym_schedule_block,
      sym_override_block,
      sym_recurrence_block,
      aux_sym_schedule_body_repeat1,
  [4533] = 10,
    ACTIONS(458), 1,
      sym_identifier,
    ACTIONS(461), 1,
      anon_sym_RBRACE,
    ACTIONS(463), 1,
      sym_prose_marker,
    ACTIONS(466), 1,
      anon_sym_block,
    ACTIONS(469), 1,
      anon_sym_override,
    ACTIONS(472), 1,
      anon_sym_recurrence,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(133), 5,
      sym_field,
      sym_schedule_block,
      sym_override_block,
      sym_recurrence_block,
      aux_sym_schedule_body_repeat1,
  [4569] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(475), 1,
      anon_sym_RBRACE,
    ACTIONS(477), 1,
      anon_sym_uses,
    ACTIONS(479), 1,
      anon_sym_include,
    STATE(41), 1,
      sym_prose_block,
    STATE(452), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(135), 5,
      sym_uses_behaviors,
      sym_uses_schedule,
      sym_include,
      sym_field,
      aux_sym_template_body_repeat1,
  [4602] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(477), 1,
      anon_sym_uses,
    ACTIONS(479), 1,
      anon_sym_include,
    ACTIONS(481), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(452), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(136), 5,
      sym_uses_behaviors,
      sym_uses_schedule,
      sym_include,
      sym_field,
      aux_sym_template_body_repeat1,
  [4635] = 9,
    ACTIONS(483), 1,
      sym_identifier,
    ACTIONS(486), 1,
      anon_sym_RBRACE,
    ACTIONS(488), 1,
      anon_sym_uses,
    ACTIONS(491), 1,
      anon_sym_include,
    ACTIONS(494), 1,
      sym_prose_marker,
    STATE(41), 1,
      sym_prose_block,
    STATE(452), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(136), 5,
      sym_uses_behaviors,
      sym_uses_schedule,
      sym_include,
      sym_field,
      aux_sym_template_body_repeat1,
  [4668] = 10,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(497), 1,
      sym_identifier,
    ACTIONS(499), 1,
      anon_sym_RBRACE,
    STATE(8), 1,
      sym_path_segments,
    STATE(41), 1,
      sym_prose_block,
    STATE(241), 1,
      sym_path,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(165), 2,
      sym_participant,
      aux_sym_relationship_body_repeat1,
    STATE(171), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [4702] = 10,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(501), 1,
      anon_sym_RBRACE,
    ACTIONS(503), 1,
      anon_sym_on,
    STATE(41), 1,
      sym_prose_block,
    STATE(155), 1,
      sym_on_enter,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(145), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(210), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [4736] = 4,
    ACTIONS(505), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(509), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(507), 7,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [4757] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(513), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(511), 8,
      anon_sym_DOT,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [4776] = 10,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(515), 1,
      anon_sym_RBRACE,
    ACTIONS(517), 1,
      anon_sym_remove,
    ACTIONS(519), 1,
      anon_sym_append,
    STATE(41), 1,
      sym_prose_block,
    STATE(192), 1,
      sym_field,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(148), 2,
      sym_override_op,
      aux_sym_override_repeat1,
  [4809] = 5,
    ACTIONS(505), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(525), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(523), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(521), 4,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
  [4832] = 6,
    ACTIONS(505), 1,
      anon_sym_DOT,
    ACTIONS(529), 1,
      anon_sym_and,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(525), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(523), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(527), 3,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
  [4857] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(531), 1,
      anon_sym_RBRACE,
    ACTIONS(533), 1,
      anon_sym_on,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(214), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [4888] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(533), 1,
      anon_sym_on,
    ACTIONS(535), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(219), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [4919] = 5,
    ACTIONS(505), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(525), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(523), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(537), 4,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
  [4942] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(539), 1,
      anon_sym_RBRACE,
    ACTIONS(541), 1,
      anon_sym_state,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(207), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [4973] = 10,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(517), 1,
      anon_sym_remove,
    ACTIONS(519), 1,
      anon_sym_append,
    ACTIONS(543), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(192), 1,
      sym_field,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(151), 2,
      sym_override_op,
      aux_sym_override_repeat1,
  [5006] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(547), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(545), 8,
      anon_sym_DOT,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [5025] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(541), 1,
      anon_sym_state,
    ACTIONS(549), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(152), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(218), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [5056] = 10,
    ACTIONS(551), 1,
      sym_identifier,
    ACTIONS(554), 1,
      anon_sym_RBRACE,
    ACTIONS(556), 1,
      anon_sym_remove,
    ACTIONS(559), 1,
      anon_sym_append,
    ACTIONS(562), 1,
      sym_prose_marker,
    STATE(41), 1,
      sym_prose_block,
    STATE(192), 1,
      sym_field,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(151), 2,
      sym_override_op,
      aux_sym_override_repeat1,
  [5089] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(541), 1,
      anon_sym_state,
    ACTIONS(565), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(206), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [5120] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(569), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(567), 8,
      anon_sym_DOT,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_is,
      anon_sym_and,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [5139] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(541), 1,
      anon_sym_state,
    ACTIONS(571), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(147), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(200), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [5170] = 9,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(446), 1,
      sym_identifier,
    ACTIONS(533), 1,
      anon_sym_on,
    ACTIONS(535), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(144), 2,
      sym_field,
      aux_sym_character_body_repeat1,
    STATE(219), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [5201] = 7,
    ACTIONS(505), 1,
      anon_sym_DOT,
    ACTIONS(529), 1,
      anon_sym_and,
    ACTIONS(573), 1,
      anon_sym_DASH_GT,
    ACTIONS(575), 1,
      anon_sym_or,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(525), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(523), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [5227] = 7,
    ACTIONS(52), 1,
      anon_sym_COLON_COLON,
    ACTIONS(577), 1,
      anon_sym_COLON,
    ACTIONS(579), 1,
      anon_sym_DOT,
    STATE(7), 1,
      aux_sym_path_segments_repeat1,
    STATE(244), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(54), 4,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_as,
  [5253] = 7,
    ACTIONS(505), 1,
      anon_sym_DOT,
    ACTIONS(529), 1,
      anon_sym_and,
    ACTIONS(575), 1,
      anon_sym_or,
    ACTIONS(581), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(525), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(523), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [5279] = 8,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(479), 1,
      anon_sym_include,
    ACTIONS(583), 1,
      sym_identifier,
    ACTIONS(585), 1,
      anon_sym_RBRACE,
    STATE(267), 1,
      sym_prose_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(175), 2,
      sym_include,
      aux_sym_species_body_repeat1,
    STATE(182), 2,
      sym_species_field,
      aux_sym_species_body_repeat2,
  [5307] = 8,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(479), 1,
      anon_sym_include,
    ACTIONS(583), 1,
      sym_identifier,
    ACTIONS(587), 1,
      anon_sym_RBRACE,
    STATE(267), 1,
      sym_prose_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(159), 2,
      sym_include,
      aux_sym_species_body_repeat1,
    STATE(184), 2,
      sym_species_field,
      aux_sym_species_body_repeat2,
  [5335] = 5,
    ACTIONS(593), 1,
      anon_sym_COMMA,
    STATE(161), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(589), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
    ACTIONS(591), 4,
      anon_sym_LBRACE,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
  [5357] = 7,
    ACTIONS(505), 1,
      anon_sym_DOT,
    ACTIONS(529), 1,
      anon_sym_and,
    ACTIONS(575), 1,
      anon_sym_or,
    ACTIONS(596), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(525), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(523), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [5383] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(589), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
    ACTIONS(591), 5,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_RBRACK,
      sym_prose_marker,
  [5400] = 6,
    ACTIONS(598), 1,
      sym_integer,
    ACTIONS(600), 1,
      sym_float,
    ACTIONS(602), 1,
      sym_string,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(604), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(253), 2,
      sym_boolean,
      sym_range,
  [5422] = 6,
    ACTIONS(606), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(241), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(609), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    STATE(165), 2,
      sym_participant,
      aux_sym_relationship_body_repeat1,
  [5444] = 7,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    ACTIONS(613), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(168), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [5468] = 7,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    ACTIONS(615), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [5492] = 7,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    ACTIONS(617), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [5516] = 7,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    ACTIONS(619), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(167), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [5540] = 5,
    ACTIONS(623), 1,
      anon_sym_COMMA,
    STATE(161), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(625), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(621), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [5560] = 7,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    ACTIONS(627), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [5584] = 5,
    ACTIONS(631), 1,
      anon_sym_COMMA,
    STATE(170), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(633), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(629), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [5604] = 7,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    ACTIONS(635), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(174), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [5628] = 7,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    ACTIONS(637), 1,
      anon_sym_RBRACE,
    STATE(41), 1,
      sym_prose_block,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(55), 2,
      sym_field,
      aux_sym_character_body_repeat1,
  [5652] = 5,
    ACTIONS(639), 1,
      sym_identifier,
    ACTIONS(643), 1,
      anon_sym_include,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(641), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    STATE(175), 2,
      sym_include,
      aux_sym_species_body_repeat1,
  [5671] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(648), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(646), 4,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      sym_identifier,
  [5686] = 5,
    ACTIONS(650), 1,
      sym_integer,
    STATE(317), 1,
      sym_boolean,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(604), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(652), 2,
      sym_float,
      sym_string,
  [5705] = 6,
    ACTIONS(654), 1,
      sym_identifier,
    ACTIONS(657), 1,
      anon_sym_RBRACE,
    ACTIONS(659), 1,
      sym_prose_marker,
    STATE(267), 1,
      sym_prose_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(178), 2,
      sym_species_field,
      aux_sym_species_body_repeat2,
  [5726] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(664), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(662), 4,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      sym_identifier,
  [5741] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(668), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(666), 4,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      sym_identifier,
  [5756] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(672), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(670), 4,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      sym_identifier,
  [5771] = 6,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(674), 1,
      sym_identifier,
    ACTIONS(676), 1,
      anon_sym_RBRACE,
    STATE(267), 1,
      sym_prose_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(178), 2,
      sym_species_field,
      aux_sym_species_body_repeat2,
  [5792] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(680), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(678), 4,
      anon_sym_block,
      anon_sym_override,
      anon_sym_recurrence,
      sym_identifier,
  [5807] = 6,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(585), 1,
      anon_sym_RBRACE,
    ACTIONS(674), 1,
      sym_identifier,
    STATE(267), 1,
      sym_prose_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(178), 2,
      sym_species_field,
      aux_sym_species_body_repeat2,
  [5828] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(684), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(682), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [5842] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(46), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(48), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [5856] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(688), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(686), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [5870] = 6,
    ACTIONS(304), 1,
      anon_sym_RBRACE,
    ACTIONS(306), 1,
      anon_sym_LPAREN,
    ACTIONS(579), 1,
      anon_sym_DOT,
    ACTIONS(690), 1,
      anon_sym_COLON,
    STATE(244), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5890] = 4,
    ACTIONS(692), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(621), 2,
      anon_sym_uses,
      anon_sym_include,
    ACTIONS(625), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
  [5906] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(697), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(695), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [5920] = 6,
    ACTIONS(118), 1,
      sym_prose_marker,
    ACTIONS(611), 1,
      sym_identifier,
    STATE(41), 1,
      sym_prose_block,
    STATE(194), 1,
      sym_field,
    STATE(369), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5940] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(701), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(699), 3,
      anon_sym_remove,
      anon_sym_append,
      sym_identifier,
  [5954] = 6,
    ACTIONS(703), 1,
      anon_sym_LBRACE,
    ACTIONS(705), 1,
      anon_sym_COLON,
    ACTIONS(707), 1,
      anon_sym_from,
    STATE(71), 1,
      sym_character_body,
    STATE(336), 1,
      sym_template_clause,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5974] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(711), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(709), 3,
      anon_sym_remove,
      anon_sym_append,
      sym_identifier,
  [5988] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(715), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(713), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [6002] = 5,
    ACTIONS(717), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(241), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(137), 2,
      sym_participant,
      aux_sym_relationship_body_repeat1,
  [6020] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(721), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(719), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [6034] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(35), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(37), 3,
      anon_sym_uses,
      anon_sym_include,
      sym_identifier,
  [6048] = 4,
    ACTIONS(723), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(726), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(728), 2,
      anon_sym_uses,
      anon_sym_include,
  [6064] = 4,
    ACTIONS(539), 1,
      anon_sym_RBRACE,
    ACTIONS(730), 1,
      anon_sym_state,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(208), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [6079] = 5,
    ACTIONS(703), 1,
      anon_sym_LBRACE,
    ACTIONS(707), 1,
      anon_sym_from,
    STATE(99), 1,
      sym_character_body,
    STATE(313), 1,
      sym_template_clause,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6096] = 4,
    ACTIONS(732), 1,
      sym_identifier,
    ACTIONS(734), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(204), 2,
      sym_block_field,
      aux_sym_schedule_block_repeat1,
  [6111] = 4,
    ACTIONS(732), 1,
      sym_identifier,
    ACTIONS(736), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(205), 2,
      sym_block_field,
      aux_sym_schedule_block_repeat1,
  [6126] = 4,
    ACTIONS(732), 1,
      sym_identifier,
    ACTIONS(738), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(211), 2,
      sym_block_field,
      aux_sym_schedule_block_repeat1,
  [6141] = 4,
    ACTIONS(732), 1,
      sym_identifier,
    ACTIONS(740), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(211), 2,
      sym_block_field,
      aux_sym_schedule_block_repeat1,
  [6156] = 4,
    ACTIONS(730), 1,
      anon_sym_state,
    ACTIONS(742), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(208), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [6171] = 4,
    ACTIONS(730), 1,
      anon_sym_state,
    ACTIONS(744), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(208), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [6186] = 4,
    ACTIONS(746), 1,
      anon_sym_RBRACE,
    ACTIONS(748), 1,
      anon_sym_state,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(208), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [6201] = 3,
    ACTIONS(753), 1,
      sym_integer,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(751), 3,
      sym_float,
      sym_string,
      sym_identifier,
  [6214] = 4,
    ACTIONS(535), 1,
      anon_sym_RBRACE,
    ACTIONS(755), 1,
      anon_sym_on,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(221), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [6229] = 4,
    ACTIONS(757), 1,
      sym_identifier,
    ACTIONS(760), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(211), 2,
      sym_block_field,
      aux_sym_schedule_block_repeat1,
  [6244] = 4,
    ACTIONS(762), 1,
      anon_sym_RBRACE,
    ACTIONS(764), 1,
      anon_sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(220), 2,
      sym_schedule_block,
      aux_sym_recurrence_block_repeat1,
  [6259] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(766), 2,
      anon_sym_on,
      sym_identifier,
    ACTIONS(768), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
  [6272] = 4,
    ACTIONS(755), 1,
      anon_sym_on,
    ACTIONS(770), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(221), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [6287] = 4,
    ACTIONS(774), 1,
      anon_sym_or,
    STATE(222), 1,
      aux_sym_is_condition_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(772), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [6302] = 3,
    ACTIONS(138), 1,
      anon_sym_DOT_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(776), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [6315] = 3,
    ACTIONS(136), 1,
      anon_sym_DOT_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(776), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [6328] = 4,
    ACTIONS(565), 1,
      anon_sym_RBRACE,
    ACTIONS(730), 1,
      anon_sym_state,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(208), 2,
      sym_state_block,
      aux_sym_life_arc_declaration_repeat1,
  [6343] = 4,
    ACTIONS(531), 1,
      anon_sym_RBRACE,
    ACTIONS(755), 1,
      anon_sym_on,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(221), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [6358] = 4,
    ACTIONS(778), 1,
      anon_sym_RBRACE,
    ACTIONS(780), 1,
      anon_sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(220), 2,
      sym_schedule_block,
      aux_sym_recurrence_block_repeat1,
  [6373] = 4,
    ACTIONS(783), 1,
      anon_sym_RBRACE,
    ACTIONS(785), 1,
      anon_sym_on,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(221), 2,
      sym_transition,
      aux_sym_state_body_repeat1,
  [6388] = 4,
    ACTIONS(774), 1,
      anon_sym_or,
    STATE(225), 1,
      aux_sym_is_condition_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(788), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [6403] = 4,
    ACTIONS(790), 1,
      sym_identifier,
    STATE(266), 1,
      sym_sub_concept_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(408), 2,
      sym_sub_concept_enum_body,
      sym_sub_concept_record_body,
  [6418] = 5,
    ACTIONS(792), 1,
      anon_sym_LBRACE,
    ACTIONS(794), 1,
      anon_sym_COLON,
    ACTIONS(796), 1,
      anon_sym_strict,
    STATE(89), 1,
      sym_template_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6435] = 4,
    ACTIONS(800), 1,
      anon_sym_or,
    STATE(225), 1,
      aux_sym_is_condition_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(798), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [6450] = 5,
    ACTIONS(803), 1,
      anon_sym_COMMA,
    ACTIONS(805), 1,
      anon_sym_RBRACE,
    ACTIONS(807), 1,
      anon_sym_COLON,
    STATE(239), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6467] = 5,
    ACTIONS(809), 1,
      sym_identifier,
    ACTIONS(811), 1,
      sym_any_type,
    STATE(215), 1,
      sym_is_value,
    STATE(332), 1,
      sym_is_condition,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6484] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(798), 3,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_or,
  [6494] = 4,
    ACTIONS(813), 1,
      sym_identifier,
    ACTIONS(815), 1,
      anon_sym_RBRACE,
    STATE(319), 1,
      sym_sub_concept_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6508] = 4,
    ACTIONS(817), 1,
      anon_sym_COMMA,
    ACTIONS(820), 1,
      anon_sym_RBRACE,
    STATE(230), 1,
      aux_sym_sub_concept_record_body_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6522] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(822), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [6532] = 4,
    ACTIONS(824), 1,
      sym_identifier,
    ACTIONS(826), 1,
      anon_sym_RBRACE,
    STATE(334), 1,
      sym_field_condition,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6546] = 4,
    ACTIONS(826), 1,
      anon_sym_RBRACE,
    ACTIONS(828), 1,
      anon_sym_COMMA,
    STATE(258), 1,
      aux_sym_variant_pattern_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6560] = 4,
    ACTIONS(830), 1,
      anon_sym_COLON,
    ACTIONS(832), 1,
      anon_sym_DOT,
    STATE(234), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6574] = 4,
    ACTIONS(246), 1,
      anon_sym_RBRACK,
    ACTIONS(835), 1,
      anon_sym_COMMA,
    STATE(237), 1,
      aux_sym_list_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6588] = 4,
    ACTIONS(837), 1,
      anon_sym_LBRACE,
    ACTIONS(839), 1,
      anon_sym_COMMA,
    STATE(263), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6602] = 4,
    ACTIONS(841), 1,
      anon_sym_COMMA,
    ACTIONS(844), 1,
      anon_sym_RBRACK,
    STATE(237), 1,
      aux_sym_list_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6616] = 4,
    ACTIONS(846), 1,
      anon_sym_COMMA,
    ACTIONS(848), 1,
      anon_sym_RPAREN,
    STATE(252), 1,
      aux_sym_action_node_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6630] = 4,
    ACTIONS(850), 1,
      anon_sym_COMMA,
    ACTIONS(852), 1,
      anon_sym_RBRACE,
    STATE(161), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6644] = 4,
    ACTIONS(854), 1,
      anon_sym_LBRACE,
    ACTIONS(856), 1,
      anon_sym_LPAREN,
    STATE(437), 1,
      sym_decorator_params,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6658] = 4,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    ACTIONS(858), 1,
      anon_sym_as,
    STATE(231), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6672] = 4,
    ACTIONS(860), 1,
      anon_sym_COMMA,
    ACTIONS(862), 1,
      anon_sym_RBRACK,
    STATE(245), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6686] = 4,
    ACTIONS(864), 1,
      anon_sym_LBRACE,
    ACTIONS(866), 1,
      anon_sym_requires,
    STATE(435), 1,
      sym_requires_clause,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6700] = 4,
    ACTIONS(579), 1,
      anon_sym_DOT,
    ACTIONS(868), 1,
      anon_sym_COLON,
    STATE(234), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6714] = 4,
    ACTIONS(870), 1,
      anon_sym_COMMA,
    ACTIONS(872), 1,
      anon_sym_RBRACK,
    STATE(161), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6728] = 3,
    ACTIONS(876), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(874), 2,
      anon_sym_RBRACE,
      sym_identifier,
  [6740] = 4,
    ACTIONS(54), 1,
      anon_sym_SEMI,
    ACTIONS(878), 1,
      anon_sym_COLON_COLON,
    STATE(265), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6754] = 4,
    ACTIONS(813), 1,
      sym_identifier,
    ACTIONS(881), 1,
      anon_sym_RBRACE,
    STATE(319), 1,
      sym_sub_concept_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6768] = 3,
    ACTIONS(764), 1,
      anon_sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(212), 2,
      sym_schedule_block,
      aux_sym_recurrence_block_repeat1,
  [6780] = 4,
    ACTIONS(883), 1,
      sym_identifier,
    ACTIONS(885), 1,
      anon_sym_RBRACE,
    STATE(286), 1,
      sym_required_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6794] = 4,
    ACTIONS(881), 1,
      anon_sym_RBRACE,
    ACTIONS(887), 1,
      anon_sym_COMMA,
    STATE(230), 1,
      aux_sym_sub_concept_record_body_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6808] = 4,
    ACTIONS(232), 1,
      anon_sym_RPAREN,
    ACTIONS(889), 1,
      anon_sym_COMMA,
    STATE(279), 1,
      aux_sym_action_node_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6822] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(776), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [6832] = 4,
    ACTIONS(891), 1,
      anon_sym_COMMA,
    ACTIONS(894), 1,
      anon_sym_RBRACE,
    STATE(254), 1,
      aux_sym_requires_clause_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6846] = 4,
    ACTIONS(896), 1,
      anon_sym_COMMA,
    ACTIONS(898), 1,
      anon_sym_RBRACE,
    STATE(280), 1,
      aux_sym_requires_clause_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6860] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(900), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [6870] = 4,
    ACTIONS(824), 1,
      sym_identifier,
    ACTIONS(902), 1,
      anon_sym_RBRACE,
    STATE(334), 1,
      sym_field_condition,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6884] = 4,
    ACTIONS(904), 1,
      anon_sym_COMMA,
    ACTIONS(907), 1,
      anon_sym_RBRACE,
    STATE(258), 1,
      aux_sym_variant_pattern_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6898] = 4,
    ACTIONS(717), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(125), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6912] = 4,
    ACTIONS(717), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(353), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6926] = 4,
    ACTIONS(909), 1,
      anon_sym_COMMA,
    ACTIONS(911), 1,
      anon_sym_RBRACE,
    STATE(161), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6940] = 4,
    ACTIONS(792), 1,
      anon_sym_LBRACE,
    ACTIONS(913), 1,
      anon_sym_strict,
    STATE(101), 1,
      sym_template_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6954] = 4,
    ACTIONS(915), 1,
      anon_sym_LBRACE,
    ACTIONS(917), 1,
      anon_sym_COMMA,
    STATE(161), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6968] = 4,
    ACTIONS(919), 1,
      anon_sym_LBRACE,
    ACTIONS(921), 1,
      anon_sym_modifies,
    STATE(97), 1,
      sym_schedule_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6982] = 4,
    ACTIONS(58), 1,
      anon_sym_SEMI,
    ACTIONS(923), 1,
      anon_sym_COLON_COLON,
    STATE(3), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6996] = 4,
    ACTIONS(926), 1,
      anon_sym_COMMA,
    ACTIONS(928), 1,
      anon_sym_RBRACE,
    STATE(251), 1,
      aux_sym_sub_concept_record_body_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7010] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(930), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [7020] = 4,
    ACTIONS(932), 1,
      sym_identifier,
    ACTIONS(934), 1,
      anon_sym_RBRACE,
    STATE(337), 1,
      sym_variant_pattern,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7034] = 4,
    ACTIONS(579), 1,
      anon_sym_DOT,
    ACTIONS(690), 1,
      anon_sym_COLON,
    STATE(244), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7048] = 4,
    ACTIONS(932), 1,
      sym_identifier,
    ACTIONS(936), 1,
      anon_sym_RBRACE,
    STATE(337), 1,
      sym_variant_pattern,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7062] = 4,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    ACTIONS(941), 1,
      anon_sym_RBRACE,
    STATE(271), 1,
      aux_sym_definition_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7076] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(943), 3,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_or,
  [7086] = 4,
    ACTIONS(945), 1,
      anon_sym_behaviors,
    ACTIONS(947), 1,
      anon_sym_schedule,
    ACTIONS(949), 1,
      anon_sym_schedules,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7100] = 4,
    ACTIONS(934), 1,
      anon_sym_RBRACE,
    ACTIONS(951), 1,
      anon_sym_COMMA,
    STATE(271), 1,
      aux_sym_definition_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7114] = 4,
    ACTIONS(953), 1,
      anon_sym_COMMA,
    ACTIONS(955), 1,
      anon_sym_RBRACE,
    STATE(261), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7128] = 4,
    ACTIONS(957), 1,
      anon_sym_COMMA,
    ACTIONS(959), 1,
      anon_sym_RBRACE,
    STATE(274), 1,
      aux_sym_definition_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7142] = 4,
    ACTIONS(883), 1,
      sym_identifier,
    ACTIONS(961), 1,
      anon_sym_RBRACE,
    STATE(286), 1,
      sym_required_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7156] = 4,
    ACTIONS(963), 1,
      anon_sym_COMMA,
    ACTIONS(965), 1,
      anon_sym_RBRACE,
    STATE(161), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7170] = 4,
    ACTIONS(967), 1,
      anon_sym_COMMA,
    ACTIONS(970), 1,
      anon_sym_RPAREN,
    STATE(279), 1,
      aux_sym_action_node_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7184] = 4,
    ACTIONS(961), 1,
      anon_sym_RBRACE,
    ACTIONS(972), 1,
      anon_sym_COMMA,
    STATE(254), 1,
      aux_sym_requires_clause_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7198] = 4,
    ACTIONS(974), 1,
      anon_sym_COMMA,
    ACTIONS(976), 1,
      anon_sym_RBRACE,
    STATE(278), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7212] = 4,
    ACTIONS(978), 1,
      anon_sym_COMMA,
    ACTIONS(980), 1,
      anon_sym_RBRACK,
    STATE(235), 1,
      aux_sym_list_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7226] = 4,
    ACTIONS(982), 1,
      anon_sym_COMMA,
    ACTIONS(984), 1,
      anon_sym_RBRACE,
    STATE(233), 1,
      aux_sym_variant_pattern_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7240] = 3,
    ACTIONS(872), 1,
      anon_sym_RBRACK,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7251] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(988), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7260] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(894), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7269] = 3,
    ACTIONS(990), 1,
      sym_identifier,
    STATE(293), 1,
      sym_path_segments,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7280] = 3,
    ACTIONS(992), 1,
      sym_identifier,
    ACTIONS(994), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7291] = 3,
    ACTIONS(996), 1,
      sym_identifier,
    ACTIONS(998), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7302] = 3,
    ACTIONS(1000), 1,
      anon_sym_LBRACE,
    ACTIONS(1002), 1,
      anon_sym_LPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7313] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1004), 2,
      anon_sym_LBRACE,
      anon_sym_LPAREN,
  [7322] = 3,
    ACTIONS(911), 1,
      anon_sym_RBRACE,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7333] = 3,
    ACTIONS(1006), 1,
      anon_sym_COLON_COLON,
    ACTIONS(1008), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7344] = 3,
    ACTIONS(852), 1,
      anon_sym_RBRACE,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7355] = 3,
    ACTIONS(965), 1,
      anon_sym_RBRACE,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7366] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(830), 2,
      anon_sym_COLON,
      anon_sym_DOT,
  [7375] = 3,
    ACTIONS(1010), 1,
      anon_sym_LBRACE,
    STATE(108), 1,
      sym_behavior_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7386] = 3,
    ACTIONS(932), 1,
      sym_identifier,
    STATE(337), 1,
      sym_variant_pattern,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7397] = 3,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    STATE(109), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7408] = 3,
    ACTIONS(1012), 1,
      anon_sym_LBRACE,
    STATE(110), 1,
      sym_relationship_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7419] = 3,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    STATE(111), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7430] = 3,
    ACTIONS(932), 1,
      sym_identifier,
    STATE(276), 1,
      sym_variant_pattern,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7441] = 3,
    ACTIONS(1014), 1,
      anon_sym_LBRACE,
    STATE(88), 1,
      sym_species_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7452] = 3,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(1016), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7463] = 3,
    ACTIONS(1020), 1,
      aux_sym_prose_block_token1,
    ACTIONS(1022), 1,
      sym_prose_content,
    ACTIONS(1018), 2,
      sym_line_comment,
      sym_block_comment,
  [7474] = 3,
    ACTIONS(1024), 1,
      sym_identifier,
    ACTIONS(1026), 1,
      anon_sym_LBRACK,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7485] = 3,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    STATE(213), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7496] = 3,
    ACTIONS(1028), 1,
      sym_time,
    STATE(202), 1,
      sym_time_range,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7507] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1030), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [7516] = 3,
    ACTIONS(1028), 1,
      sym_time,
    STATE(203), 1,
      sym_time_range,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7527] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1032), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [7536] = 3,
    ACTIONS(883), 1,
      sym_identifier,
    STATE(286), 1,
      sym_required_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7547] = 3,
    ACTIONS(703), 1,
      anon_sym_LBRACE,
    STATE(74), 1,
      sym_character_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7558] = 3,
    ACTIONS(915), 1,
      anon_sym_LBRACE,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7569] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1034), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [7578] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(970), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [7587] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1036), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7596] = 3,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(1038), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7607] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(820), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7616] = 3,
    ACTIONS(1040), 1,
      sym_integer,
    ACTIONS(1042), 1,
      sym_duration,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7627] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1044), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7636] = 3,
    ACTIONS(1046), 1,
      anon_sym_DOT_DOT,
    ACTIONS(1048), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7647] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(844), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [7656] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1050), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [7665] = 3,
    ACTIONS(1052), 1,
      anon_sym_DOT_DOT,
    ACTIONS(1054), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7676] = 3,
    ACTIONS(1056), 1,
      anon_sym_LBRACE,
    ACTIONS(1058), 1,
      anon_sym_STAR,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7687] = 3,
    ACTIONS(214), 1,
      anon_sym_LBRACE,
    STATE(256), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7698] = 3,
    ACTIONS(1060), 1,
      anon_sym_LBRACE,
    STATE(311), 1,
      sym_state_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7709] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1062), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [7718] = 3,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(1064), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7729] = 3,
    ACTIONS(813), 1,
      sym_identifier,
    STATE(319), 1,
      sym_sub_concept_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7740] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1066), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7749] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1068), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7758] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(907), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7767] = 3,
    ACTIONS(824), 1,
      sym_identifier,
    STATE(283), 1,
      sym_field_condition,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7778] = 3,
    ACTIONS(703), 1,
      anon_sym_LBRACE,
    STATE(72), 1,
      sym_character_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7789] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(941), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7798] = 3,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(1070), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7809] = 3,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(1072), 1,
      anon_sym_RBRACK,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7820] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1074), 2,
      anon_sym_RBRACE,
      sym_identifier,
  [7829] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1076), 2,
      anon_sym_RBRACE,
      sym_identifier,
  [7838] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1078), 2,
      anon_sym_RBRACE,
      anon_sym_on,
  [7847] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1080), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [7856] = 3,
    ACTIONS(1082), 1,
      sym_identifier,
    STATE(228), 1,
      sym_is_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7867] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1084), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [7876] = 3,
    ACTIONS(824), 1,
      sym_identifier,
    STATE(334), 1,
      sym_field_condition,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7887] = 3,
    ACTIONS(883), 1,
      sym_identifier,
    STATE(255), 1,
      sym_required_field,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7898] = 3,
    ACTIONS(919), 1,
      anon_sym_LBRACE,
    STATE(104), 1,
      sym_schedule_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7909] = 3,
    ACTIONS(1086), 1,
      sym_integer,
    ACTIONS(1088), 1,
      sym_duration,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7920] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(1090), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [7929] = 3,
    ACTIONS(792), 1,
      anon_sym_LBRACE,
    STATE(79), 1,
      sym_template_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7940] = 3,
    ACTIONS(792), 1,
      anon_sym_LBRACE,
    STATE(75), 1,
      sym_template_body,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7951] = 2,
    ACTIONS(1092), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7959] = 2,
    ACTIONS(1094), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7967] = 2,
    ACTIONS(1096), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7975] = 2,
    ACTIONS(1098), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7983] = 2,
    ACTIONS(1100), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7991] = 2,
    ACTIONS(1102), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [7999] = 2,
    ACTIONS(1104), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8007] = 2,
    ACTIONS(1106), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8015] = 2,
    ACTIONS(1108), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8023] = 2,
    ACTIONS(1110), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8031] = 2,
    ACTIONS(1112), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8039] = 2,
    ACTIONS(1114), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8047] = 2,
    ACTIONS(1116), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8055] = 2,
    ACTIONS(1118), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8063] = 2,
    ACTIONS(1120), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8071] = 2,
    ACTIONS(1122), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8079] = 2,
    ACTIONS(1124), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8087] = 2,
    ACTIONS(1126), 1,
      anon_sym_LPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8095] = 2,
    ACTIONS(1128), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8103] = 2,
    ACTIONS(807), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8111] = 2,
    ACTIONS(1130), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8119] = 2,
    ACTIONS(1132), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8127] = 2,
    ACTIONS(1134), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8135] = 2,
    ACTIONS(1136), 1,
      sym_prose_content,
    ACTIONS(1018), 2,
      sym_line_comment,
      sym_block_comment,
  [8143] = 2,
    ACTIONS(1138), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8151] = 2,
    ACTIONS(1140), 1,
      sym_prose_marker,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8159] = 2,
    ACTIONS(1142), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8167] = 2,
    ACTIONS(1144), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8175] = 2,
    ACTIONS(1146), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8183] = 2,
    ACTIONS(1148), 1,
      anon_sym_LPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8191] = 2,
    ACTIONS(1048), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8199] = 2,
    ACTIONS(1150), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8207] = 2,
    ACTIONS(1152), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8215] = 2,
    ACTIONS(1154), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8223] = 2,
    ACTIONS(1156), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8231] = 2,
    ACTIONS(1158), 1,
      anon_sym_on,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8239] = 2,
    ACTIONS(1160), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8247] = 2,
    ACTIONS(1162), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8255] = 2,
    ACTIONS(1054), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8263] = 2,
    ACTIONS(1164), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8271] = 2,
    ACTIONS(1166), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8279] = 2,
    ACTIONS(1168), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8287] = 2,
    ACTIONS(1170), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8295] = 2,
    ACTIONS(1172), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8303] = 2,
    ACTIONS(1174), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8311] = 2,
    ACTIONS(1176), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8319] = 2,
    ACTIONS(1178), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8327] = 2,
    ACTIONS(1180), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8335] = 2,
    ACTIONS(1182), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8343] = 2,
    ACTIONS(1184), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8351] = 2,
    ACTIONS(1186), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8359] = 2,
    ACTIONS(1188), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8367] = 2,
    ACTIONS(1190), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8375] = 2,
    ACTIONS(1192), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8383] = 2,
    ACTIONS(1194), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8391] = 2,
    ACTIONS(1196), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8399] = 2,
    ACTIONS(1198), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8407] = 2,
    ACTIONS(1200), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8415] = 2,
    ACTIONS(1202), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8423] = 2,
    ACTIONS(1204), 1,
      anon_sym_is,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8431] = 2,
    ACTIONS(1206), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8439] = 2,
    ACTIONS(1208), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8447] = 2,
    ACTIONS(1210), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8455] = 2,
    ACTIONS(1212), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8463] = 2,
    ACTIONS(1214), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8471] = 2,
    ACTIONS(1216), 1,
      sym_time,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8479] = 2,
    ACTIONS(1218), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8487] = 2,
    ACTIONS(1220), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8495] = 2,
    ACTIONS(1222), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8503] = 2,
    ACTIONS(1224), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8511] = 2,
    ACTIONS(1226), 1,
      sym_integer,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8519] = 2,
    ACTIONS(1228), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8527] = 2,
    ACTIONS(1230), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8535] = 2,
    ACTIONS(1232), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8543] = 2,
    ACTIONS(1234), 1,
      sym_prose_marker,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8551] = 2,
    ACTIONS(1236), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8559] = 2,
    ACTIONS(1238), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8567] = 2,
    ACTIONS(1240), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8575] = 2,
    ACTIONS(1242), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8583] = 2,
    ACTIONS(1244), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8591] = 2,
    ACTIONS(1246), 1,
      sym_integer,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8599] = 2,
    ACTIONS(1248), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8607] = 2,
    ACTIONS(1250), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8615] = 2,
    ACTIONS(1246), 1,
      sym_float,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8623] = 2,
    ACTIONS(1252), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8631] = 2,
    ACTIONS(1254), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8639] = 2,
    ACTIONS(1256), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8647] = 2,
    ACTIONS(1258), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8655] = 2,
    ACTIONS(986), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8663] = 2,
    ACTIONS(1260), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8671] = 2,
    ACTIONS(1262), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8679] = 2,
    ACTIONS(1264), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8687] = 2,
    ACTIONS(1266), 1,
      anon_sym_DASH_GT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8695] = 2,
    ACTIONS(1268), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8703] = 2,
    ACTIONS(1270), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8711] = 2,
    ACTIONS(1272), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8719] = 2,
    ACTIONS(1274), 1,
      sym_integer,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8727] = 2,
    ACTIONS(1276), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8735] = 2,
    ACTIONS(1278), 1,
      ts_builtin_sym_end,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8743] = 2,
    ACTIONS(1280), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [8751] = 2,
    ACTIONS(1282), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
};

static const uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(2)] = 0,
  [SMALL_STATE(3)] = 49,
  [SMALL_STATE(4)] = 102,
  [SMALL_STATE(5)] = 151,
  [SMALL_STATE(6)] = 199,
  [SMALL_STATE(7)] = 251,
  [SMALL_STATE(8)] = 303,
  [SMALL_STATE(9)] = 349,
  [SMALL_STATE(10)] = 393,
  [SMALL_STATE(11)] = 463,
  [SMALL_STATE(12)] = 533,
  [SMALL_STATE(13)] = 596,
  [SMALL_STATE(14)] = 659,
  [SMALL_STATE(15)] = 697,
  [SMALL_STATE(16)] = 735,
  [SMALL_STATE(17)] = 770,
  [SMALL_STATE(18)] = 805,
  [SMALL_STATE(19)] = 840,
  [SMALL_STATE(20)] = 875,
  [SMALL_STATE(21)] = 910,
  [SMALL_STATE(22)] = 945,
  [SMALL_STATE(23)] = 980,
  [SMALL_STATE(24)] = 1015,
  [SMALL_STATE(25)] = 1050,
  [SMALL_STATE(26)] = 1085,
  [SMALL_STATE(27)] = 1120,
  [SMALL_STATE(28)] = 1174,
  [SMALL_STATE(29)] = 1228,
  [SMALL_STATE(30)] = 1282,
  [SMALL_STATE(31)] = 1344,
  [SMALL_STATE(32)] = 1398,
  [SMALL_STATE(33)] = 1460,
  [SMALL_STATE(34)] = 1522,
  [SMALL_STATE(35)] = 1576,
  [SMALL_STATE(36)] = 1635,
  [SMALL_STATE(37)] = 1686,
  [SMALL_STATE(38)] = 1737,
  [SMALL_STATE(39)] = 1788,
  [SMALL_STATE(40)] = 1839,
  [SMALL_STATE(41)] = 1895,
  [SMALL_STATE(42)] = 1927,
  [SMALL_STATE(43)] = 1977,
  [SMALL_STATE(44)] = 2027,
  [SMALL_STATE(45)] = 2083,
  [SMALL_STATE(46)] = 2133,
  [SMALL_STATE(47)] = 2183,
  [SMALL_STATE(48)] = 2233,
  [SMALL_STATE(49)] = 2265,
  [SMALL_STATE(50)] = 2321,
  [SMALL_STATE(51)] = 2371,
  [SMALL_STATE(52)] = 2424,
  [SMALL_STATE(53)] = 2477,
  [SMALL_STATE(54)] = 2530,
  [SMALL_STATE(55)] = 2583,
  [SMALL_STATE(56)] = 2623,
  [SMALL_STATE(57)] = 2668,
  [SMALL_STATE(58)] = 2710,
  [SMALL_STATE(59)] = 2752,
  [SMALL_STATE(60)] = 2794,
  [SMALL_STATE(61)] = 2836,
  [SMALL_STATE(62)] = 2878,
  [SMALL_STATE(63)] = 2920,
  [SMALL_STATE(64)] = 2962,
  [SMALL_STATE(65)] = 2984,
  [SMALL_STATE(66)] = 3006,
  [SMALL_STATE(67)] = 3028,
  [SMALL_STATE(68)] = 3050,
  [SMALL_STATE(69)] = 3072,
  [SMALL_STATE(70)] = 3094,
  [SMALL_STATE(71)] = 3116,
  [SMALL_STATE(72)] = 3138,
  [SMALL_STATE(73)] = 3160,
  [SMALL_STATE(74)] = 3182,
  [SMALL_STATE(75)] = 3204,
  [SMALL_STATE(76)] = 3226,
  [SMALL_STATE(77)] = 3248,
  [SMALL_STATE(78)] = 3270,
  [SMALL_STATE(79)] = 3296,
  [SMALL_STATE(80)] = 3318,
  [SMALL_STATE(81)] = 3340,
  [SMALL_STATE(82)] = 3362,
  [SMALL_STATE(83)] = 3384,
  [SMALL_STATE(84)] = 3406,
  [SMALL_STATE(85)] = 3428,
  [SMALL_STATE(86)] = 3450,
  [SMALL_STATE(87)] = 3472,
  [SMALL_STATE(88)] = 3494,
  [SMALL_STATE(89)] = 3516,
  [SMALL_STATE(90)] = 3538,
  [SMALL_STATE(91)] = 3564,
  [SMALL_STATE(92)] = 3586,
  [SMALL_STATE(93)] = 3608,
  [SMALL_STATE(94)] = 3630,
  [SMALL_STATE(95)] = 3652,
  [SMALL_STATE(96)] = 3674,
  [SMALL_STATE(97)] = 3696,
  [SMALL_STATE(98)] = 3718,
  [SMALL_STATE(99)] = 3740,
  [SMALL_STATE(100)] = 3762,
  [SMALL_STATE(101)] = 3784,
  [SMALL_STATE(102)] = 3806,
  [SMALL_STATE(103)] = 3828,
  [SMALL_STATE(104)] = 3850,
  [SMALL_STATE(105)] = 3872,
  [SMALL_STATE(106)] = 3894,
  [SMALL_STATE(107)] = 3916,
  [SMALL_STATE(108)] = 3938,
  [SMALL_STATE(109)] = 3960,
  [SMALL_STATE(110)] = 3982,
  [SMALL_STATE(111)] = 4004,
  [SMALL_STATE(112)] = 4026,
  [SMALL_STATE(113)] = 4048,
  [SMALL_STATE(114)] = 4070,
  [SMALL_STATE(115)] = 4093,
  [SMALL_STATE(116)] = 4116,
  [SMALL_STATE(117)] = 4139,
  [SMALL_STATE(118)] = 4162,
  [SMALL_STATE(119)] = 4185,
  [SMALL_STATE(120)] = 4208,
  [SMALL_STATE(121)] = 4231,
  [SMALL_STATE(122)] = 4254,
  [SMALL_STATE(123)] = 4277,
  [SMALL_STATE(124)] = 4300,
  [SMALL_STATE(125)] = 4323,
  [SMALL_STATE(126)] = 4346,
  [SMALL_STATE(127)] = 4369,
  [SMALL_STATE(128)] = 4392,
  [SMALL_STATE(129)] = 4415,
  [SMALL_STATE(130)] = 4438,
  [SMALL_STATE(131)] = 4461,
  [SMALL_STATE(132)] = 4497,
  [SMALL_STATE(133)] = 4533,
  [SMALL_STATE(134)] = 4569,
  [SMALL_STATE(135)] = 4602,
  [SMALL_STATE(136)] = 4635,
  [SMALL_STATE(137)] = 4668,
  [SMALL_STATE(138)] = 4702,
  [SMALL_STATE(139)] = 4736,
  [SMALL_STATE(140)] = 4757,
  [SMALL_STATE(141)] = 4776,
  [SMALL_STATE(142)] = 4809,
  [SMALL_STATE(143)] = 4832,
  [SMALL_STATE(144)] = 4857,
  [SMALL_STATE(145)] = 4888,
  [SMALL_STATE(146)] = 4919,
  [SMALL_STATE(147)] = 4942,
  [SMALL_STATE(148)] = 4973,
  [SMALL_STATE(149)] = 5006,
  [SMALL_STATE(150)] = 5025,
  [SMALL_STATE(151)] = 5056,
  [SMALL_STATE(152)] = 5089,
  [SMALL_STATE(153)] = 5120,
  [SMALL_STATE(154)] = 5139,
  [SMALL_STATE(155)] = 5170,
  [SMALL_STATE(156)] = 5201,
  [SMALL_STATE(157)] = 5227,
  [SMALL_STATE(158)] = 5253,
  [SMALL_STATE(159)] = 5279,
  [SMALL_STATE(160)] = 5307,
  [SMALL_STATE(161)] = 5335,
  [SMALL_STATE(162)] = 5357,
  [SMALL_STATE(163)] = 5383,
  [SMALL_STATE(164)] = 5400,
  [SMALL_STATE(165)] = 5422,
  [SMALL_STATE(166)] = 5444,
  [SMALL_STATE(167)] = 5468,
  [SMALL_STATE(168)] = 5492,
  [SMALL_STATE(169)] = 5516,
  [SMALL_STATE(170)] = 5540,
  [SMALL_STATE(171)] = 5560,
  [SMALL_STATE(172)] = 5584,
  [SMALL_STATE(173)] = 5604,
  [SMALL_STATE(174)] = 5628,
  [SMALL_STATE(175)] = 5652,
  [SMALL_STATE(176)] = 5671,
  [SMALL_STATE(177)] = 5686,
  [SMALL_STATE(178)] = 5705,
  [SMALL_STATE(179)] = 5726,
  [SMALL_STATE(180)] = 5741,
  [SMALL_STATE(181)] = 5756,
  [SMALL_STATE(182)] = 5771,
  [SMALL_STATE(183)] = 5792,
  [SMALL_STATE(184)] = 5807,
  [SMALL_STATE(185)] = 5828,
  [SMALL_STATE(186)] = 5842,
  [SMALL_STATE(187)] = 5856,
  [SMALL_STATE(188)] = 5870,
  [SMALL_STATE(189)] = 5890,
  [SMALL_STATE(190)] = 5906,
  [SMALL_STATE(191)] = 5920,
  [SMALL_STATE(192)] = 5940,
  [SMALL_STATE(193)] = 5954,
  [SMALL_STATE(194)] = 5974,
  [SMALL_STATE(195)] = 5988,
  [SMALL_STATE(196)] = 6002,
  [SMALL_STATE(197)] = 6020,
  [SMALL_STATE(198)] = 6034,
  [SMALL_STATE(199)] = 6048,
  [SMALL_STATE(200)] = 6064,
  [SMALL_STATE(201)] = 6079,
  [SMALL_STATE(202)] = 6096,
  [SMALL_STATE(203)] = 6111,
  [SMALL_STATE(204)] = 6126,
  [SMALL_STATE(205)] = 6141,
  [SMALL_STATE(206)] = 6156,
  [SMALL_STATE(207)] = 6171,
  [SMALL_STATE(208)] = 6186,
  [SMALL_STATE(209)] = 6201,
  [SMALL_STATE(210)] = 6214,
  [SMALL_STATE(211)] = 6229,
  [SMALL_STATE(212)] = 6244,
  [SMALL_STATE(213)] = 6259,
  [SMALL_STATE(214)] = 6272,
  [SMALL_STATE(215)] = 6287,
  [SMALL_STATE(216)] = 6302,
  [SMALL_STATE(217)] = 6315,
  [SMALL_STATE(218)] = 6328,
  [SMALL_STATE(219)] = 6343,
  [SMALL_STATE(220)] = 6358,
  [SMALL_STATE(221)] = 6373,
  [SMALL_STATE(222)] = 6388,
  [SMALL_STATE(223)] = 6403,
  [SMALL_STATE(224)] = 6418,
  [SMALL_STATE(225)] = 6435,
  [SMALL_STATE(226)] = 6450,
  [SMALL_STATE(227)] = 6467,
  [SMALL_STATE(228)] = 6484,
  [SMALL_STATE(229)] = 6494,
  [SMALL_STATE(230)] = 6508,
  [SMALL_STATE(231)] = 6522,
  [SMALL_STATE(232)] = 6532,
  [SMALL_STATE(233)] = 6546,
  [SMALL_STATE(234)] = 6560,
  [SMALL_STATE(235)] = 6574,
  [SMALL_STATE(236)] = 6588,
  [SMALL_STATE(237)] = 6602,
  [SMALL_STATE(238)] = 6616,
  [SMALL_STATE(239)] = 6630,
  [SMALL_STATE(240)] = 6644,
  [SMALL_STATE(241)] = 6658,
  [SMALL_STATE(242)] = 6672,
  [SMALL_STATE(243)] = 6686,
  [SMALL_STATE(244)] = 6700,
  [SMALL_STATE(245)] = 6714,
  [SMALL_STATE(246)] = 6728,
  [SMALL_STATE(247)] = 6740,
  [SMALL_STATE(248)] = 6754,
  [SMALL_STATE(249)] = 6768,
  [SMALL_STATE(250)] = 6780,
  [SMALL_STATE(251)] = 6794,
  [SMALL_STATE(252)] = 6808,
  [SMALL_STATE(253)] = 6822,
  [SMALL_STATE(254)] = 6832,
  [SMALL_STATE(255)] = 6846,
  [SMALL_STATE(256)] = 6860,
  [SMALL_STATE(257)] = 6870,
  [SMALL_STATE(258)] = 6884,
  [SMALL_STATE(259)] = 6898,
  [SMALL_STATE(260)] = 6912,
  [SMALL_STATE(261)] = 6926,
  [SMALL_STATE(262)] = 6940,
  [SMALL_STATE(263)] = 6954,
  [SMALL_STATE(264)] = 6968,
  [SMALL_STATE(265)] = 6982,
  [SMALL_STATE(266)] = 6996,
  [SMALL_STATE(267)] = 7010,
  [SMALL_STATE(268)] = 7020,
  [SMALL_STATE(269)] = 7034,
  [SMALL_STATE(270)] = 7048,
  [SMALL_STATE(271)] = 7062,
  [SMALL_STATE(272)] = 7076,
  [SMALL_STATE(273)] = 7086,
  [SMALL_STATE(274)] = 7100,
  [SMALL_STATE(275)] = 7114,
  [SMALL_STATE(276)] = 7128,
  [SMALL_STATE(277)] = 7142,
  [SMALL_STATE(278)] = 7156,
  [SMALL_STATE(279)] = 7170,
  [SMALL_STATE(280)] = 7184,
  [SMALL_STATE(281)] = 7198,
  [SMALL_STATE(282)] = 7212,
  [SMALL_STATE(283)] = 7226,
  [SMALL_STATE(284)] = 7240,
  [SMALL_STATE(285)] = 7251,
  [SMALL_STATE(286)] = 7260,
  [SMALL_STATE(287)] = 7269,
  [SMALL_STATE(288)] = 7280,
  [SMALL_STATE(289)] = 7291,
  [SMALL_STATE(290)] = 7302,
  [SMALL_STATE(291)] = 7313,
  [SMALL_STATE(292)] = 7322,
  [SMALL_STATE(293)] = 7333,
  [SMALL_STATE(294)] = 7344,
  [SMALL_STATE(295)] = 7355,
  [SMALL_STATE(296)] = 7366,
  [SMALL_STATE(297)] = 7375,
  [SMALL_STATE(298)] = 7386,
  [SMALL_STATE(299)] = 7397,
  [SMALL_STATE(300)] = 7408,
  [SMALL_STATE(301)] = 7419,
  [SMALL_STATE(302)] = 7430,
  [SMALL_STATE(303)] = 7441,
  [SMALL_STATE(304)] = 7452,
  [SMALL_STATE(305)] = 7463,
  [SMALL_STATE(306)] = 7474,
  [SMALL_STATE(307)] = 7485,
  [SMALL_STATE(308)] = 7496,
  [SMALL_STATE(309)] = 7507,
  [SMALL_STATE(310)] = 7516,
  [SMALL_STATE(311)] = 7527,
  [SMALL_STATE(312)] = 7536,
  [SMALL_STATE(313)] = 7547,
  [SMALL_STATE(314)] = 7558,
  [SMALL_STATE(315)] = 7569,
  [SMALL_STATE(316)] = 7578,
  [SMALL_STATE(317)] = 7587,
  [SMALL_STATE(318)] = 7596,
  [SMALL_STATE(319)] = 7607,
  [SMALL_STATE(320)] = 7616,
  [SMALL_STATE(321)] = 7627,
  [SMALL_STATE(322)] = 7636,
  [SMALL_STATE(323)] = 7647,
  [SMALL_STATE(324)] = 7656,
  [SMALL_STATE(325)] = 7665,
  [SMALL_STATE(326)] = 7676,
  [SMALL_STATE(327)] = 7687,
  [SMALL_STATE(328)] = 7698,
  [SMALL_STATE(329)] = 7709,
  [SMALL_STATE(330)] = 7718,
  [SMALL_STATE(331)] = 7729,
  [SMALL_STATE(332)] = 7740,
  [SMALL_STATE(333)] = 7749,
  [SMALL_STATE(334)] = 7758,
  [SMALL_STATE(335)] = 7767,
  [SMALL_STATE(336)] = 7778,
  [SMALL_STATE(337)] = 7789,
  [SMALL_STATE(338)] = 7798,
  [SMALL_STATE(339)] = 7809,
  [SMALL_STATE(340)] = 7820,
  [SMALL_STATE(341)] = 7829,
  [SMALL_STATE(342)] = 7838,
  [SMALL_STATE(343)] = 7847,
  [SMALL_STATE(344)] = 7856,
  [SMALL_STATE(345)] = 7867,
  [SMALL_STATE(346)] = 7876,
  [SMALL_STATE(347)] = 7887,
  [SMALL_STATE(348)] = 7898,
  [SMALL_STATE(349)] = 7909,
  [SMALL_STATE(350)] = 7920,
  [SMALL_STATE(351)] = 7929,
  [SMALL_STATE(352)] = 7940,
  [SMALL_STATE(353)] = 7951,
  [SMALL_STATE(354)] = 7959,
  [SMALL_STATE(355)] = 7967,
  [SMALL_STATE(356)] = 7975,
  [SMALL_STATE(357)] = 7983,
  [SMALL_STATE(358)] = 7991,
  [SMALL_STATE(359)] = 7999,
  [SMALL_STATE(360)] = 8007,
  [SMALL_STATE(361)] = 8015,
  [SMALL_STATE(362)] = 8023,
  [SMALL_STATE(363)] = 8031,
  [SMALL_STATE(364)] = 8039,
  [SMALL_STATE(365)] = 8047,
  [SMALL_STATE(366)] = 8055,
  [SMALL_STATE(367)] = 8063,
  [SMALL_STATE(368)] = 8071,
  [SMALL_STATE(369)] = 8079,
  [SMALL_STATE(370)] = 8087,
  [SMALL_STATE(371)] = 8095,
  [SMALL_STATE(372)] = 8103,
  [SMALL_STATE(373)] = 8111,
  [SMALL_STATE(374)] = 8119,
  [SMALL_STATE(375)] = 8127,
  [SMALL_STATE(376)] = 8135,
  [SMALL_STATE(377)] = 8143,
  [SMALL_STATE(378)] = 8151,
  [SMALL_STATE(379)] = 8159,
  [SMALL_STATE(380)] = 8167,
  [SMALL_STATE(381)] = 8175,
  [SMALL_STATE(382)] = 8183,
  [SMALL_STATE(383)] = 8191,
  [SMALL_STATE(384)] = 8199,
  [SMALL_STATE(385)] = 8207,
  [SMALL_STATE(386)] = 8215,
  [SMALL_STATE(387)] = 8223,
  [SMALL_STATE(388)] = 8231,
  [SMALL_STATE(389)] = 8239,
  [SMALL_STATE(390)] = 8247,
  [SMALL_STATE(391)] = 8255,
  [SMALL_STATE(392)] = 8263,
  [SMALL_STATE(393)] = 8271,
  [SMALL_STATE(394)] = 8279,
  [SMALL_STATE(395)] = 8287,
  [SMALL_STATE(396)] = 8295,
  [SMALL_STATE(397)] = 8303,
  [SMALL_STATE(398)] = 8311,
  [SMALL_STATE(399)] = 8319,
  [SMALL_STATE(400)] = 8327,
  [SMALL_STATE(401)] = 8335,
  [SMALL_STATE(402)] = 8343,
  [SMALL_STATE(403)] = 8351,
  [SMALL_STATE(404)] = 8359,
  [SMALL_STATE(405)] = 8367,
  [SMALL_STATE(406)] = 8375,
  [SMALL_STATE(407)] = 8383,
  [SMALL_STATE(408)] = 8391,
  [SMALL_STATE(409)] = 8399,
  [SMALL_STATE(410)] = 8407,
  [SMALL_STATE(411)] = 8415,
  [SMALL_STATE(412)] = 8423,
  [SMALL_STATE(413)] = 8431,
  [SMALL_STATE(414)] = 8439,
  [SMALL_STATE(415)] = 8447,
  [SMALL_STATE(416)] = 8455,
  [SMALL_STATE(417)] = 8463,
  [SMALL_STATE(418)] = 8471,
  [SMALL_STATE(419)] = 8479,
  [SMALL_STATE(420)] = 8487,
  [SMALL_STATE(421)] = 8495,
  [SMALL_STATE(422)] = 8503,
  [SMALL_STATE(423)] = 8511,
  [SMALL_STATE(424)] = 8519,
  [SMALL_STATE(425)] = 8527,
  [SMALL_STATE(426)] = 8535,
  [SMALL_STATE(427)] = 8543,
  [SMALL_STATE(428)] = 8551,
  [SMALL_STATE(429)] = 8559,
  [SMALL_STATE(430)] = 8567,
  [SMALL_STATE(431)] = 8575,
  [SMALL_STATE(432)] = 8583,
  [SMALL_STATE(433)] = 8591,
  [SMALL_STATE(434)] = 8599,
  [SMALL_STATE(435)] = 8607,
  [SMALL_STATE(436)] = 8615,
  [SMALL_STATE(437)] = 8623,
  [SMALL_STATE(438)] = 8631,
  [SMALL_STATE(439)] = 8639,
  [SMALL_STATE(440)] = 8647,
  [SMALL_STATE(441)] = 8655,
  [SMALL_STATE(442)] = 8663,
  [SMALL_STATE(443)] = 8671,
  [SMALL_STATE(444)] = 8679,
  [SMALL_STATE(445)] = 8687,
  [SMALL_STATE(446)] = 8695,
  [SMALL_STATE(447)] = 8703,
  [SMALL_STATE(448)] = 8711,
  [SMALL_STATE(449)] = 8719,
  [SMALL_STATE(450)] = 8727,
  [SMALL_STATE(451)] = 8735,
  [SMALL_STATE(452)] = 8743,
  [SMALL_STATE(453)] = 8751,
};

static const TSParseActionEntry ts_parse_actions[] = {
  [0] = {.entry = {.count = 0, .reusable = false}},
  [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
  [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(),
  [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0),
  [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(402),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(416),
  [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(439),
  [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(362),
  [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363),
  [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373),
  [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358),
  [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(375),
  [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(392),
  [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(395),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(397),
  [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(413),
  [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(431),
  [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 2, 0, 0),
  [37] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 2, 0, 0),
  [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_path_segments_repeat1, 2, 0, 0),
  [41] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_segments_repeat1, 2, 0, 0), SHIFT_REPEAT(377),
  [44] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_path_segments_repeat1, 2, 0, 0),
  [46] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3, 0, 0),
  [48] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3, 0, 0),
  [50] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path_segments, 1, 0, 0),
  [52] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377),
  [54] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path_segments, 1, 0, 0),
  [56] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path_segments, 2, 0, 0),
  [58] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path_segments, 2, 0, 0),
  [60] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path, 1, 0, 0),
  [62] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path, 1, 0, 0),
  [64] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1, 0, 0),
  [66] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1, 0, 0),
  [68] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0),
  [70] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(287),
  [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(402),
  [76] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(416),
  [79] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(439),
  [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(362),
  [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(363),
  [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(373),
  [91] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(358),
  [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(375),
  [97] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(392),
  [100] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(395),
  [103] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(397),
  [106] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(413),
  [109] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(431),
  [112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
  [114] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188),
  [116] = {.entry = {.count = 1, .reusable = false}}, SHIFT(259),
  [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359),
  [120] = {.entry = {.count = 1, .reusable = false}}, SHIFT(288),
  [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(289),
  [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(370),
  [126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(382),
  [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(290),
  [130] = {.entry = {.count = 1, .reusable = false}}, SHIFT(291),
  [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1, 0, 0),
  [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1, 0, 0),
  [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(436),
  [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(433),
  [140] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_object, 1, 0, 0),
  [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_object, 1, 0, 0),
  [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prose_block, 5, 0, 19),
  [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prose_block, 5, 0, 19),
  [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range, 3, 0, 0),
  [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range, 3, 0, 0),
  [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2, 0, 0),
  [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2, 0, 0),
  [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3, 0, 0),
  [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3, 0, 0),
  [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 4, 0, 0),
  [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 4, 0, 0),
  [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override, 4, 0, 0),
  [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override, 4, 0, 0),
  [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 5, 0, 0),
  [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 5, 0, 0),
  [172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override, 5, 0, 0),
  [174] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override, 5, 0, 0),
  [176] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prose_block, 4, 0, 13),
  [178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prose_block, 4, 0, 13),
  [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78),
  [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
  [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
  [186] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(78),
  [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0),
  [191] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(259),
  [194] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(288),
  [197] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(289),
  [200] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(370),
  [203] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(382),
  [206] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(290),
  [209] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2, 0, 0), SHIFT_REPEAT(291),
  [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157),
  [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
  [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
  [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
  [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
  [222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
  [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
  [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260),
  [228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
  [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
  [232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
  [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
  [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6),
  [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
  [242] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 1, 0, 0),
  [244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 1, 0, 0),
  [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 3, 0, 9),
  [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 3, 0, 9),
  [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
  [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
  [256] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_character_body_repeat1, 2, 0, 0), SHIFT_REPEAT(269),
  [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_character_body_repeat1, 2, 0, 0),
  [261] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_character_body_repeat1, 2, 0, 0),
  [263] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_character_body_repeat1, 2, 0, 0), SHIFT_REPEAT(359),
  [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149),
  [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
  [270] = {.entry = {.count = 1, .reusable = false}}, SHIFT(307),
  [272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63),
  [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 0),
  [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relationship_body, 3, 0, 0),
  [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species_body, 3, 0, 0),
  [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 5, 0, 1),
  [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 5, 0, 1),
  [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 3, 0, 0),
  [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character_body, 2, 0, 0),
  [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character_declaration, 3, 0, 2),
  [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character_declaration, 4, 0, 3),
  [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_body, 2, 0, 0),
  [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character_declaration, 6, 0, 10),
  [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_declaration, 6, 0, 11),
  [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc_declaration, 6, 0, 1),
  [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc_declaration, 6, 0, 7),
  [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 1, 0, 0),
  [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 1, 0, 0),
  [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
  [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_declaration, 4, 0, 4),
  [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule_body, 2, 0, 0),
  [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc_declaration, 4, 0, 1),
  [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_behavior_body, 4, 0, 12),
  [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relationship_body, 4, 0, 0),
  [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species_body, 4, 0, 0),
  [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 6, 0, 1),
  [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 6, 0, 1),
  [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 7, 0, 0),
  [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species_declaration, 3, 0, 2),
  [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_declaration, 3, 0, 2),
  [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_condition_node, 4, 0, 15),
  [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
  [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition_node, 4, 0, 15),
  [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species_body, 2, 0, 0),
  [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 5, 0, 0),
  [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 7, 0, 1),
  [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept, 7, 0, 18),
  [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_definition, 7, 0, 1),
  [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 8, 0, 0),
  [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule_declaration, 3, 0, 2),
  [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character_body, 3, 0, 0),
  [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character_declaration, 5, 0, 5),
  [354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_body, 3, 0, 0),
  [356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_declaration, 5, 0, 5),
  [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule_body, 3, 0, 0),
  [360] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 9, 0, 0),
  [362] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule_declaration, 5, 0, 6),
  [364] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc_declaration, 5, 0, 1),
  [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc_declaration, 5, 0, 7),
  [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_concept_declaration, 2, 0, 1),
  [370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_behavior_declaration, 3, 0, 2),
  [372] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_institution_declaration, 3, 0, 2),
  [374] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relationship_declaration, 3, 0, 2),
  [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location_declaration, 3, 0, 2),
  [378] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_behavior_body, 3, 0, 8),
  [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc_declaration, 7, 0, 7),
  [382] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_node, 4, 0, 17),
  [384] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_node, 4, 0, 17),
  [386] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_node, 4, 0, 16),
  [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_node, 4, 0, 16),
  [390] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_selector_node, 4, 0, 0),
  [392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_selector_node, 4, 0, 0),
  [394] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_node, 4, 0, 0),
  [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_node, 4, 0, 0),
  [398] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 4, 0, 0),
  [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 4, 0, 0),
  [402] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 3, 0, 0),
  [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 3, 0, 0),
  [406] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_selector_node, 5, 0, 21),
  [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_selector_node, 5, 0, 21),
  [410] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_node, 5, 0, 21),
  [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_node, 5, 0, 21),
  [414] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_node, 5, 0, 23),
  [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_node, 5, 0, 23),
  [418] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 5, 0, 0),
  [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 5, 0, 0),
  [422] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subtree_node, 2, 0, 0),
  [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subtree_node, 2, 0, 0),
  [426] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_decorator_node, 7, 0, 29),
  [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_decorator_node, 7, 0, 29),
  [430] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 6, 0, 0),
  [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 6, 0, 0),
  [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_behavior_node, 1, 0, 0),
  [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_behavior_node, 1, 0, 0),
  [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_node, 7, 0, 30),
  [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_node, 7, 0, 30),
  [442] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_node, 9, 0, 32),
  [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_node, 9, 0, 32),
  [446] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269),
  [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
  [450] = {.entry = {.count = 1, .reusable = false}}, SHIFT(419),
  [452] = {.entry = {.count = 1, .reusable = false}}, SHIFT(420),
  [454] = {.entry = {.count = 1, .reusable = false}}, SHIFT(422),
  [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
  [458] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_schedule_body_repeat1, 2, 0, 0), SHIFT_REPEAT(269),
  [461] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_schedule_body_repeat1, 2, 0, 0),
  [463] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_schedule_body_repeat1, 2, 0, 0), SHIFT_REPEAT(359),
  [466] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_schedule_body_repeat1, 2, 0, 0), SHIFT_REPEAT(419),
  [469] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_schedule_body_repeat1, 2, 0, 0), SHIFT_REPEAT(420),
  [472] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_schedule_body_repeat1, 2, 0, 0), SHIFT_REPEAT(422),
  [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
  [477] = {.entry = {.count = 1, .reusable = false}}, SHIFT(273),
  [479] = {.entry = {.count = 1, .reusable = false}}, SHIFT(398),
  [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
  [483] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_body_repeat1, 2, 0, 0), SHIFT_REPEAT(269),
  [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_template_body_repeat1, 2, 0, 0),
  [488] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_body_repeat1, 2, 0, 0), SHIFT_REPEAT(273),
  [491] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_body_repeat1, 2, 0, 0), SHIFT_REPEAT(398),
  [494] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_template_body_repeat1, 2, 0, 0), SHIFT_REPEAT(359),
  [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
  [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
  [501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(350),
  [503] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56),
  [505] = {.entry = {.count = 1, .reusable = true}}, SHIFT(387),
  [507] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comparison, 3, 0, 22),
  [509] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comparison, 3, 0, 22),
  [511] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_access, 3, 0, 0),
  [513] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field_access, 3, 0, 0),
  [515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
  [517] = {.entry = {.count = 1, .reusable = false}}, SHIFT(386),
  [519] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191),
  [521] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_not_expression, 2, 0, 0),
  [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [525] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60),
  [527] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_or_expression, 3, 0, 0),
  [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329),
  [533] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61),
  [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309),
  [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_and_expression, 3, 0, 0),
  [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
  [541] = {.entry = {.count = 1, .reusable = false}}, SHIFT(446),
  [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
  [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primary_expression, 1, 0, 0),
  [547] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_primary_expression, 1, 0, 0),
  [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
  [551] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_override_repeat1, 2, 0, 0), SHIFT_REPEAT(269),
  [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_override_repeat1, 2, 0, 0),
  [556] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_override_repeat1, 2, 0, 0), SHIFT_REPEAT(386),
  [559] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_override_repeat1, 2, 0, 0), SHIFT_REPEAT(191),
  [562] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_override_repeat1, 2, 0, 0), SHIFT_REPEAT(359),
  [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
  [567] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1, 0, 0),
  [569] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1, 0, 0),
  [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
  [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(401),
  [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
  [577] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_dotted_path, 1, 0, 0),
  [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(430),
  [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [583] = {.entry = {.count = 1, .reusable = false}}, SHIFT(393),
  [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
  [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
  [589] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_use_declaration_repeat1, 2, 0, 0),
  [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_use_declaration_repeat1, 2, 0, 0),
  [593] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_use_declaration_repeat1, 2, 0, 0), SHIFT_REPEAT(441),
  [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
  [598] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216),
  [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217),
  [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
  [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
  [606] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_relationship_body_repeat1, 2, 0, 0), SHIFT_REPEAT(6),
  [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_relationship_body_repeat1, 2, 0, 0),
  [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269),
  [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
  [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
  [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
  [621] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_uses_behaviors, 5, 0, 0),
  [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199),
  [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uses_behaviors, 5, 0, 0),
  [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
  [629] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_uses_behaviors, 4, 0, 0),
  [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189),
  [633] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uses_behaviors, 4, 0, 0),
  [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198),
  [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
  [639] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_species_body_repeat1, 2, 0, 0),
  [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_species_body_repeat1, 2, 0, 0),
  [643] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_species_body_repeat1, 2, 0, 0), SHIFT_REPEAT(398),
  [646] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_schedule_block, 6, 0, 20),
  [648] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule_block, 6, 0, 20),
  [650] = {.entry = {.count = 1, .reusable = false}}, SHIFT(317),
  [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317),
  [654] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_species_body_repeat2, 2, 0, 0), SHIFT_REPEAT(393),
  [657] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_species_body_repeat2, 2, 0, 0),
  [659] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_species_body_repeat2, 2, 0, 0), SHIFT_REPEAT(359),
  [662] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override_block, 6, 0, 20),
  [664] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override_block, 6, 0, 20),
  [666] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_recurrence_block, 7, 0, 27),
  [668] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recurrence_block, 7, 0, 27),
  [670] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override_block, 5, 0, 20),
  [672] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override_block, 5, 0, 20),
  [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(393),
  [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
  [678] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_schedule_block, 5, 0, 20),
  [680] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule_block, 5, 0, 20),
  [682] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_uses_schedule, 6, 0, 0),
  [684] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uses_schedule, 6, 0, 0),
  [686] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_include, 2, 0, 0),
  [688] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_include, 2, 0, 0),
  [690] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dotted_path, 1, 0, 0),
  [692] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym_uses_behaviors, 5, 0, 0), SHIFT(163),
  [695] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_uses_schedule, 4, 0, 0),
  [697] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uses_schedule, 4, 0, 0),
  [699] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override_op, 1, 0, 0),
  [701] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override_op, 1, 0, 0),
  [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169),
  [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(399),
  [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(407),
  [709] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override_op, 2, 0, 0),
  [711] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override_op, 2, 0, 0),
  [713] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_uses_schedule, 7, 0, 0),
  [715] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uses_schedule, 7, 0, 0),
  [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [719] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_uses_schedule, 8, 0, 0),
  [721] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uses_schedule, 8, 0, 0),
  [723] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym_uses_behaviors, 6, 0, 0), SHIFT(163),
  [726] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uses_behaviors, 6, 0, 0),
  [728] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_uses_behaviors, 6, 0, 0),
  [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(446),
  [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(424),
  [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183),
  [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181),
  [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176),
  [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179),
  [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
  [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
  [746] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_life_arc_declaration_repeat1, 2, 0, 0),
  [748] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_life_arc_declaration_repeat1, 2, 0, 0), SHIFT_REPEAT(446),
  [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341),
  [753] = {.entry = {.count = 1, .reusable = false}}, SHIFT(341),
  [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
  [757] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_schedule_block_repeat1, 2, 0, 0), SHIFT_REPEAT(424),
  [760] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_schedule_block_repeat1, 2, 0, 0),
  [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180),
  [764] = {.entry = {.count = 1, .reusable = true}}, SHIFT(419),
  [766] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_on_enter, 3, 0, 0),
  [768] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_on_enter, 3, 0, 0),
  [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343),
  [772] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_is_condition, 1, 0, 0),
  [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344),
  [776] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species_field, 3, 0, 9),
  [778] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_recurrence_block_repeat1, 2, 0, 0),
  [780] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_recurrence_block_repeat1, 2, 0, 0), SHIFT_REPEAT(419),
  [783] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_state_body_repeat1, 2, 0, 0),
  [785] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_state_body_repeat1, 2, 0, 0), SHIFT_REPEAT(61),
  [788] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_is_condition, 2, 0, 0),
  [790] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226),
  [792] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
  [794] = {.entry = {.count = 1, .reusable = true}}, SHIFT(444),
  [796] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351),
  [798] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_is_condition_repeat1, 2, 0, 0),
  [800] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_is_condition_repeat1, 2, 0, 0), SHIFT_REPEAT(344),
  [803] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294),
  [805] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept_enum_body, 1, 0, 0),
  [807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177),
  [809] = {.entry = {.count = 1, .reusable = false}}, SHIFT(412),
  [811] = {.entry = {.count = 1, .reusable = false}}, SHIFT(332),
  [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372),
  [815] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept_record_body, 3, 0, 0),
  [817] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sub_concept_record_body_repeat1, 2, 0, 0), SHIFT_REPEAT(331),
  [820] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sub_concept_record_body_repeat1, 2, 0, 0),
  [822] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_participant, 2, 0, 0),
  [824] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381),
  [826] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333),
  [828] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257),
  [830] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_dotted_path_repeat1, 2, 0, 0),
  [832] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_dotted_path_repeat1, 2, 0, 0), SHIFT_REPEAT(430),
  [835] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
  [837] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_clause, 2, 0, 0),
  [839] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314),
  [841] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2, 0, 0), SHIFT_REPEAT(52),
  [844] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2, 0, 0),
  [846] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
  [848] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
  [850] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318),
  [852] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept_enum_body, 2, 0, 0),
  [854] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
  [856] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320),
  [858] = {.entry = {.count = 1, .reusable = true}}, SHIFT(396),
  [860] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284),
  [862] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185),
  [864] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154),
  [866] = {.entry = {.count = 1, .reusable = true}}, SHIFT(429),
  [868] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dotted_path, 2, 0, 0),
  [870] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339),
  [872] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
  [874] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_time_range, 3, 0, 25),
  [876] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340),
  [878] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_path_segments, 1, 0, 0), SHIFT(377),
  [881] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept_record_body, 2, 0, 0),
  [883] = {.entry = {.count = 1, .reusable = true}}, SHIFT(400),
  [885] = {.entry = {.count = 1, .reusable = true}}, SHIFT(450),
  [887] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229),
  [889] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
  [891] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_requires_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(312),
  [894] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_requires_clause_repeat1, 2, 0, 0),
  [896] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277),
  [898] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357),
  [900] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_participant, 4, 0, 0),
  [902] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345),
  [904] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_variant_pattern_repeat1, 2, 0, 0), SHIFT_REPEAT(346),
  [907] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_variant_pattern_repeat1, 2, 0, 0),
  [909] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330),
  [911] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
  [913] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352),
  [915] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_clause, 3, 0, 0),
  [917] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304),
  [919] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
  [921] = {.entry = {.count = 1, .reusable = true}}, SHIFT(417),
  [923] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_path_segments, 2, 0, 0), SHIFT(377),
  [926] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248),
  [928] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept_record_body, 1, 0, 0),
  [930] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species_field, 1, 0, 0),
  [932] = {.entry = {.count = 1, .reusable = true}}, SHIFT(414),
  [934] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
  [936] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
  [938] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(298),
  [941] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_definition_repeat1, 2, 0, 0),
  [943] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_is_value, 3, 0, 31),
  [945] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366),
  [947] = {.entry = {.count = 1, .reusable = false}}, SHIFT(367),
  [949] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367),
  [951] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270),
  [953] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292),
  [955] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
  [957] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268),
  [959] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
  [961] = {.entry = {.count = 1, .reusable = true}}, SHIFT(390),
  [963] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338),
  [965] = {.entry = {.count = 1, .reusable = true}}, SHIFT(421),
  [967] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_action_node_repeat1, 2, 0, 0), SHIFT_REPEAT(35),
  [970] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_action_node_repeat1, 2, 0, 0),
  [972] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250),
  [974] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295),
  [976] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
  [978] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
  [980] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
  [982] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232),
  [984] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321),
  [986] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
  [988] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_required_field, 3, 0, 14),
  [990] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247),
  [992] = {.entry = {.count = 1, .reusable = true}}, SHIFT(428),
  [994] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
  [996] = {.entry = {.count = 1, .reusable = true}}, SHIFT(432),
  [998] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
  [1000] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
  [1002] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349),
  [1004] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_keyword, 1, 0, 0),
  [1006] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326),
  [1008] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69),
  [1010] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [1012] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
  [1014] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160),
  [1016] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_clause, 4, 0, 0),
  [1018] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(),
  [1020] = {.entry = {.count = 1, .reusable = false}}, SHIFT(376),
  [1022] = {.entry = {.count = 1, .reusable = false}}, SHIFT(378),
  [1024] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190),
  [1026] = {.entry = {.count = 1, .reusable = true}}, SHIFT(443),
  [1028] = {.entry = {.count = 1, .reusable = true}}, SHIFT(445),
  [1030] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_state_body, 3, 0, 0),
  [1032] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_state_block, 3, 0, 2),
  [1034] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_param, 3, 0, 0),
  [1036] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept_field, 3, 0, 9),
  [1038] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sub_concept_enum_body, 3, 0, 0),
  [1040] = {.entry = {.count = 1, .reusable = false}}, SHIFT(325),
  [1042] = {.entry = {.count = 1, .reusable = true}}, SHIFT(391),
  [1044] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variant_pattern, 5, 0, 24),
  [1046] = {.entry = {.count = 1, .reusable = true}}, SHIFT(423),
  [1048] = {.entry = {.count = 1, .reusable = true}}, SHIFT(425),
  [1050] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_param, 1, 0, 0),
  [1052] = {.entry = {.count = 1, .reusable = true}}, SHIFT(449),
  [1054] = {.entry = {.count = 1, .reusable = true}}, SHIFT(405),
  [1056] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354),
  [1058] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
  [1060] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
  [1062] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_state_body, 4, 0, 0),
  [1064] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [1066] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_condition, 3, 0, 26),
  [1068] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variant_pattern, 6, 0, 24),
  [1070] = {.entry = {.count = 1, .reusable = true}}, SHIFT(394),
  [1072] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
  [1074] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_time_range, 4, 0, 25),
  [1076] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_field, 3, 0, 9),
  [1078] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_transition, 4, 0, 28),
  [1080] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_state_body, 5, 0, 0),
  [1082] = {.entry = {.count = 1, .reusable = true}}, SHIFT(412),
  [1084] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variant_pattern, 7, 0, 24),
  [1086] = {.entry = {.count = 1, .reusable = false}}, SHIFT(322),
  [1088] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383),
  [1090] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_state_body, 2, 0, 0),
  [1092] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
  [1094] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281),
  [1096] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285),
  [1098] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
  [1100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_requires_clause, 4, 0, 0),
  [1102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300),
  [1104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305),
  [1106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
  [1108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(453),
  [1110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243),
  [1112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297),
  [1114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(415),
  [1116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
  [1118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(426),
  [1120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306),
  [1122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(409),
  [1124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [1126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
  [1128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
  [1130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299),
  [1132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302),
  [1134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301),
  [1136] = {.entry = {.count = 1, .reusable = false}}, SHIFT(427),
  [1138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [1140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
  [1142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308),
  [1144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
  [1146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227),
  [1148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
  [1150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310),
  [1152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
  [1154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194),
  [1156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
  [1158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(442),
  [1160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
  [1162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_requires_clause, 5, 0, 0),
  [1164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303),
  [1166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164),
  [1168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
  [1170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(447),
  [1172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327),
  [1174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
  [1176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187),
  [1178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
  [1180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355),
  [1182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342),
  [1184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193),
  [1186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
  [1188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
  [1190] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_params, 3, 0, 0),
  [1192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
  [1194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236),
  [1196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
  [1198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_params, 5, 0, 0),
  [1200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275),
  [1202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223),
  [1204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(434),
  [1206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364),
  [1208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(438),
  [1210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(411),
  [1212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224),
  [1214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(348),
  [1216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246),
  [1218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(379),
  [1220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(384),
  [1222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
  [1224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(388),
  [1226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361),
  [1228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209),
  [1230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
  [1232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [1234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
  [1236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
  [1238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347),
  [1240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296),
  [1242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(374),
  [1244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
  [1246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
  [1248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272),
  [1250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
  [1252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
  [1254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335),
  [1256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264),
  [1258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
  [1260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(448),
  [1262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242),
  [1264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262),
  [1266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(418),
  [1268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328),
  [1270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(410),
  [1272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249),
  [1274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368),
  [1276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_requires_clause, 6, 0, 0),
  [1278] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [1280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
  [1282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
};

#ifdef __cplusplus
extern "C" {
#endif
#ifdef TREE_SITTER_HIDE_SYMBOLS
#define TS_PUBLIC
#elif defined(_WIN32)
#define TS_PUBLIC __declspec(dllexport)
#else
#define TS_PUBLIC __attribute__((visibility("default")))
#endif

TS_PUBLIC const TSLanguage *tree_sitter_storybook(void) {
  static const TSLanguage language = {
    .abi_version = LANGUAGE_VERSION,
    .symbol_count = SYMBOL_COUNT,
    .alias_count = ALIAS_COUNT,
    .token_count = TOKEN_COUNT,
    .external_token_count = EXTERNAL_TOKEN_COUNT,
    .state_count = STATE_COUNT,
    .large_state_count = LARGE_STATE_COUNT,
    .production_id_count = PRODUCTION_ID_COUNT,
    .supertype_count = SUPERTYPE_COUNT,
    .field_count = FIELD_COUNT,
    .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
    .parse_table = &ts_parse_table[0][0],
    .small_parse_table = ts_small_parse_table,
    .small_parse_table_map = ts_small_parse_table_map,
    .parse_actions = ts_parse_actions,
    .symbol_names = ts_symbol_names,
    .field_names = ts_field_names,
    .field_map_slices = ts_field_map_slices,
    .field_map_entries = ts_field_map_entries,
    .symbol_metadata = ts_symbol_metadata,
    .public_symbol_map = ts_symbol_map,
    .alias_map = ts_non_terminal_alias_map,
    .alias_sequences = &ts_alias_sequences[0][0],
    .lex_modes = (const void*)ts_lex_modes,
    .lex_fn = ts_lex,
    .keyword_lex_fn = ts_lex_keywords,
    .keyword_capture_token = sym_identifier,
    .primary_state_ids = ts_primary_state_ids,
    .name = "storybook",
    .max_reserved_word_set_size = 0,
    .metadata = {
      .major_version = 0,
      .minor_version = 1,
      .patch_version = 0,
    },
  };
  return &language;
}
#ifdef __cplusplus
}
#endif
