#include <tree_sitter/parser.h>

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

#define LANGUAGE_VERSION 14
#define STATE_COUNT 289
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 135
#define ALIAS_COUNT 0
#define TOKEN_COUNT 70
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 19
#define MAX_ALIAS_SEQUENCE_LENGTH 9
#define PRODUCTION_ID_COUNT 19

enum {
  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_include = 16,
  anon_sym_DOT = 17,
  sym_integer = 18,
  sym_float = 19,
  sym_string = 20,
  anon_sym_true = 21,
  anon_sym_false = 22,
  anon_sym_DOT_DOT = 23,
  sym_time = 24,
  sym_duration = 25,
  anon_sym_LBRACK = 26,
  anon_sym_RBRACK = 27,
  anon_sym_AT = 28,
  anon_sym_remove = 29,
  anon_sym_append = 30,
  aux_sym_prose_block_token1 = 31,
  sym_prose_marker = 32,
  sym_prose_content = 33,
  anon_sym_life_arc = 34,
  anon_sym_state = 35,
  anon_sym_on = 36,
  anon_sym_enter = 37,
  anon_sym_DASH_GT = 38,
  anon_sym_schedule = 39,
  anon_sym_behavior = 40,
  anon_sym_choose = 41,
  anon_sym_then = 42,
  anon_sym_if = 43,
  anon_sym_when = 44,
  anon_sym_LPAREN = 45,
  anon_sym_RPAREN = 46,
  anon_sym_repeat = 47,
  anon_sym_invert = 48,
  anon_sym_retry = 49,
  anon_sym_timeout = 50,
  anon_sym_cooldown = 51,
  anon_sym_succeed_always = 52,
  anon_sym_fail_always = 53,
  anon_sym_institution = 54,
  anon_sym_relationship = 55,
  anon_sym_as = 56,
  anon_sym_location = 57,
  anon_sym_species = 58,
  anon_sym_enum = 59,
  anon_sym_or = 60,
  anon_sym_and = 61,
  anon_sym_not = 62,
  anon_sym_is = 63,
  anon_sym_GT = 64,
  anon_sym_GT_EQ = 65,
  anon_sym_LT = 66,
  anon_sym_LT_EQ = 67,
  anon_sym_self = 68,
  anon_sym_other = 69,
  sym_source_file = 70,
  sym_declaration = 71,
  sym_use_declaration = 72,
  sym_path = 73,
  sym_path_segments = 74,
  sym_character = 75,
  sym_template_clause = 76,
  sym_template = 77,
  sym_include = 78,
  sym_field = 79,
  sym_dotted_path = 80,
  sym_value = 81,
  sym_boolean = 82,
  sym_range = 83,
  sym_list = 84,
  sym_object = 85,
  sym_block = 86,
  sym_override = 87,
  sym_override_op = 88,
  sym_prose_block = 89,
  sym_life_arc = 90,
  sym_arc_state = 91,
  sym_on_enter = 92,
  sym_transition = 93,
  sym_schedule = 94,
  sym_schedule_block = 95,
  sym_behavior = 96,
  sym_behavior_node = 97,
  sym_selector_node = 98,
  sym_sequence_node = 99,
  sym_condition_node = 100,
  sym_if_decorator_node = 101,
  sym_decorator_node = 102,
  sym_decorator_keyword = 103,
  sym_decorator_params = 104,
  sym_action_node = 105,
  sym_action_param = 106,
  sym_subtree_node = 107,
  sym_institution = 108,
  sym_relationship = 109,
  sym_participant = 110,
  sym_location = 111,
  sym_species = 112,
  sym_enum_declaration = 113,
  sym_expression = 114,
  sym_or_expression = 115,
  sym_and_expression = 116,
  sym_not_expression = 117,
  sym_comparison = 118,
  sym_field_access = 119,
  sym_primary_expression = 120,
  aux_sym_source_file_repeat1 = 121,
  aux_sym_use_declaration_repeat1 = 122,
  aux_sym_path_segments_repeat1 = 123,
  aux_sym_template_repeat1 = 124,
  aux_sym_template_repeat2 = 125,
  aux_sym_dotted_path_repeat1 = 126,
  aux_sym_list_repeat1 = 127,
  aux_sym_override_repeat1 = 128,
  aux_sym_life_arc_repeat1 = 129,
  aux_sym_arc_state_repeat1 = 130,
  aux_sym_schedule_repeat1 = 131,
  aux_sym_selector_node_repeat1 = 132,
  aux_sym_action_node_repeat1 = 133,
  aux_sym_relationship_repeat1 = 134,
};

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_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_LBRACK] = "[",
  [anon_sym_RBRACK] = "]",
  [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_state] = "state",
  [anon_sym_on] = "on",
  [anon_sym_enter] = "enter",
  [anon_sym_DASH_GT] = "->",
  [anon_sym_schedule] = "schedule",
  [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_or] = "or",
  [anon_sym_and] = "and",
  [anon_sym_not] = "not",
  [anon_sym_is] = "is",
  [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] = "character",
  [sym_template_clause] = "template_clause",
  [sym_template] = "template",
  [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] = "life_arc",
  [sym_arc_state] = "arc_state",
  [sym_on_enter] = "on_enter",
  [sym_transition] = "transition",
  [sym_schedule] = "schedule",
  [sym_schedule_block] = "schedule_block",
  [sym_behavior] = "behavior",
  [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_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] = "institution",
  [sym_relationship] = "relationship",
  [sym_participant] = "participant",
  [sym_location] = "location",
  [sym_species] = "species",
  [sym_enum_declaration] = "enum_declaration",
  [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_template_repeat1] = "template_repeat1",
  [aux_sym_template_repeat2] = "template_repeat2",
  [aux_sym_dotted_path_repeat1] = "dotted_path_repeat1",
  [aux_sym_list_repeat1] = "list_repeat1",
  [aux_sym_override_repeat1] = "override_repeat1",
  [aux_sym_life_arc_repeat1] = "life_arc_repeat1",
  [aux_sym_arc_state_repeat1] = "arc_state_repeat1",
  [aux_sym_schedule_repeat1] = "schedule_repeat1",
  [aux_sym_selector_node_repeat1] = "selector_node_repeat1",
  [aux_sym_action_node_repeat1] = "action_node_repeat1",
  [aux_sym_relationship_repeat1] = "relationship_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_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_LBRACK] = anon_sym_LBRACK,
  [anon_sym_RBRACK] = anon_sym_RBRACK,
  [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_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_schedule] = anon_sym_schedule,
  [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_or] = anon_sym_or,
  [anon_sym_and] = anon_sym_and,
  [anon_sym_not] = anon_sym_not,
  [anon_sym_is] = anon_sym_is,
  [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] = sym_character,
  [sym_template_clause] = sym_template_clause,
  [sym_template] = sym_template,
  [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] = sym_life_arc,
  [sym_arc_state] = sym_arc_state,
  [sym_on_enter] = sym_on_enter,
  [sym_transition] = sym_transition,
  [sym_schedule] = sym_schedule,
  [sym_schedule_block] = sym_schedule_block,
  [sym_behavior] = sym_behavior,
  [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_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] = sym_institution,
  [sym_relationship] = sym_relationship,
  [sym_participant] = sym_participant,
  [sym_location] = sym_location,
  [sym_species] = sym_species,
  [sym_enum_declaration] = sym_enum_declaration,
  [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_template_repeat1] = aux_sym_template_repeat1,
  [aux_sym_template_repeat2] = aux_sym_template_repeat2,
  [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_repeat1] = aux_sym_life_arc_repeat1,
  [aux_sym_arc_state_repeat1] = aux_sym_arc_state_repeat1,
  [aux_sym_schedule_repeat1] = aux_sym_schedule_repeat1,
  [aux_sym_selector_node_repeat1] = aux_sym_selector_node_repeat1,
  [aux_sym_action_node_repeat1] = aux_sym_action_node_repeat1,
  [aux_sym_relationship_repeat1] = aux_sym_relationship_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_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_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [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_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_schedule] = {
    .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_or] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_and] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_not] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_is] = {
    .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] = {
    .visible = true,
    .named = true,
  },
  [sym_template_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_template] = {
    .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] = {
    .visible = true,
    .named = true,
  },
  [sym_arc_state] = {
    .visible = true,
    .named = true,
  },
  [sym_on_enter] = {
    .visible = true,
    .named = true,
  },
  [sym_transition] = {
    .visible = true,
    .named = true,
  },
  [sym_schedule] = {
    .visible = true,
    .named = true,
  },
  [sym_schedule_block] = {
    .visible = true,
    .named = true,
  },
  [sym_behavior] = {
    .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_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] = {
    .visible = true,
    .named = true,
  },
  [sym_relationship] = {
    .visible = true,
    .named = true,
  },
  [sym_participant] = {
    .visible = true,
    .named = true,
  },
  [sym_location] = {
    .visible = true,
    .named = true,
  },
  [sym_species] = {
    .visible = true,
    .named = true,
  },
  [sym_enum_declaration] = {
    .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_template_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_template_repeat2] = {
    .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_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_arc_state_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_schedule_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_repeat1] = {
    .visible = false,
    .named = false,
  },
};

enum {
  field_activity = 1,
  field_body = 2,
  field_child = 3,
  field_condition = 4,
  field_content = 5,
  field_decorator = 6,
  field_end = 7,
  field_label = 8,
  field_marker = 9,
  field_name = 10,
  field_operator = 11,
  field_params = 12,
  field_root = 13,
  field_species = 14,
  field_start = 15,
  field_tag = 16,
  field_target = 17,
  field_template = 18,
  field_value = 19,
};

static const char * const ts_field_names[] = {
  [0] = NULL,
  [field_activity] = "activity",
  [field_body] = "body",
  [field_child] = "child",
  [field_condition] = "condition",
  [field_content] = "content",
  [field_decorator] = "decorator",
  [field_end] = "end",
  [field_label] = "label",
  [field_marker] = "marker",
  [field_name] = "name",
  [field_operator] = "operator",
  [field_params] = "params",
  [field_root] = "root",
  [field_species] = "species",
  [field_start] = "start",
  [field_tag] = "tag",
  [field_target] = "target",
  [field_template] = "template",
  [field_value] = "value",
};

static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
  [1] = {.index = 0, .length = 2},
  [2] = {.index = 2, .length = 1},
  [3] = {.index = 3, .length = 3},
  [4] = {.index = 6, .length = 3},
  [5] = {.index = 9, .length = 2},
  [6] = {.index = 11, .length = 2},
  [7] = {.index = 13, .length = 4},
  [8] = {.index = 17, .length = 2},
  [9] = {.index = 19, .length = 4},
  [10] = {.index = 23, .length = 1},
  [11] = {.index = 24, .length = 2},
  [12] = {.index = 26, .length = 4},
  [13] = {.index = 30, .length = 1},
  [14] = {.index = 31, .length = 1},
  [15] = {.index = 32, .length = 3},
  [16] = {.index = 35, .length = 3},
  [17] = {.index = 38, .length = 2},
  [18] = {.index = 40, .length = 2},
};

static const TSFieldMapEntry ts_field_map_entries[] = {
  [0] =
    {field_body, 2},
    {field_name, 1},
  [2] =
    {field_name, 1},
  [3] =
    {field_body, 3},
    {field_name, 1},
    {field_template, 2},
  [6] =
    {field_body, 4},
    {field_name, 1},
    {field_species, 3},
  [9] =
    {field_name, 1},
    {field_root, 3},
  [11] =
    {field_name, 0},
    {field_value, 2},
  [13] =
    {field_body, 5},
    {field_name, 1},
    {field_species, 3},
    {field_template, 4},
  [17] =
    {field_name, 1},
    {field_root, 4},
  [19] =
    {field_content, 2},
    {field_end, 3},
    {field_marker, 0},
    {field_tag, 1},
  [23] =
    {field_condition, 2},
  [24] =
    {field_child, 2},
    {field_decorator, 0},
  [26] =
    {field_content, 3},
    {field_end, 4},
    {field_marker, 0},
    {field_tag, 1},
  [30] =
    {field_label, 1},
  [31] =
    {field_operator, 1},
  [32] =
    {field_child, 3},
    {field_decorator, 0},
    {field_params, 1},
  [35] =
    {field_activity, 4},
    {field_end, 2},
    {field_start, 0},
  [38] =
    {field_condition, 1},
    {field_target, 3},
  [40] =
    {field_child, 5},
    {field_condition, 2},
};

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] = 54,
  [55] = 55,
  [56] = 56,
  [57] = 57,
  [58] = 58,
  [59] = 59,
  [60] = 60,
  [61] = 61,
  [62] = 62,
  [63] = 63,
  [64] = 64,
  [65] = 65,
  [66] = 66,
  [67] = 67,
  [68] = 68,
  [69] = 69,
  [70] = 70,
  [71] = 71,
  [72] = 72,
  [73] = 73,
  [74] = 74,
  [75] = 75,
  [76] = 76,
  [77] = 77,
  [78] = 78,
  [79] = 79,
  [80] = 80,
  [81] = 81,
  [82] = 82,
  [83] = 83,
  [84] = 84,
  [85] = 85,
  [86] = 86,
  [87] = 87,
  [88] = 88,
  [89] = 89,
  [90] = 90,
  [91] = 91,
  [92] = 92,
  [93] = 93,
  [94] = 94,
  [95] = 95,
  [96] = 96,
  [97] = 97,
  [98] = 98,
  [99] = 99,
  [100] = 100,
  [101] = 101,
  [102] = 102,
  [103] = 103,
  [104] = 104,
  [105] = 105,
  [106] = 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] = 4,
  [173] = 173,
  [174] = 174,
  [175] = 175,
  [176] = 176,
  [177] = 3,
  [178] = 178,
  [179] = 179,
  [180] = 180,
  [181] = 181,
  [182] = 182,
  [183] = 183,
  [184] = 184,
  [185] = 185,
  [186] = 186,
  [187] = 187,
  [188] = 188,
  [189] = 189,
  [190] = 190,
  [191] = 191,
  [192] = 192,
  [193] = 193,
  [194] = 194,
  [195] = 195,
  [196] = 196,
  [197] = 197,
  [198] = 198,
  [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] = 247,
  [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] = 265,
  [266] = 266,
  [267] = 267,
  [268] = 268,
  [269] = 269,
  [270] = 270,
  [271] = 271,
  [272] = 272,
  [273] = 273,
  [274] = 274,
  [275] = 275,
  [276] = 276,
  [277] = 277,
  [278] = 278,
  [279] = 279,
  [280] = 280,
  [281] = 281,
  [282] = 282,
  [283] = 283,
  [284] = 284,
  [285] = 285,
  [286] = 286,
  [287] = 287,
  [288] = 288,
};

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

static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (lookahead == 'a') ADVANCE(1);
      if (lookahead == 'b') ADVANCE(2);
      if (lookahead == 'c') ADVANCE(3);
      if (lookahead == 'e') ADVANCE(4);
      if (lookahead == 'f') ADVANCE(5);
      if (lookahead == 'i') ADVANCE(6);
      if (lookahead == 'l') ADVANCE(7);
      if (lookahead == 'n') ADVANCE(8);
      if (lookahead == 'o') ADVANCE(9);
      if (lookahead == 'r') ADVANCE(10);
      if (lookahead == 's') ADVANCE(11);
      if (lookahead == 't') ADVANCE(12);
      if (lookahead == 'u') ADVANCE(13);
      if (lookahead == 'w') ADVANCE(14);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ') SKIP(0)
      END_STATE();
    case 1:
      if (lookahead == 'n') ADVANCE(15);
      if (lookahead == 'p') ADVANCE(16);
      if (lookahead == 's') ADVANCE(17);
      END_STATE();
    case 2:
      if (lookahead == 'e') ADVANCE(18);
      END_STATE();
    case 3:
      if (lookahead == 'h') ADVANCE(19);
      if (lookahead == 'o') ADVANCE(20);
      END_STATE();
    case 4:
      if (lookahead == 'n') ADVANCE(21);
      END_STATE();
    case 5:
      if (lookahead == 'a') ADVANCE(22);
      if (lookahead == 'r') ADVANCE(23);
      END_STATE();
    case 6:
      if (lookahead == 'f') ADVANCE(24);
      if (lookahead == 'n') ADVANCE(25);
      if (lookahead == 's') ADVANCE(26);
      END_STATE();
    case 7:
      if (lookahead == 'i') ADVANCE(27);
      if (lookahead == 'o') ADVANCE(28);
      END_STATE();
    case 8:
      if (lookahead == 'o') ADVANCE(29);
      END_STATE();
    case 9:
      if (lookahead == 'n') ADVANCE(30);
      if (lookahead == 'r') ADVANCE(31);
      if (lookahead == 't') ADVANCE(32);
      END_STATE();
    case 10:
      if (lookahead == 'e') ADVANCE(33);
      END_STATE();
    case 11:
      if (lookahead == 'c') ADVANCE(34);
      if (lookahead == 'e') ADVANCE(35);
      if (lookahead == 'p') ADVANCE(36);
      if (lookahead == 't') ADVANCE(37);
      if (lookahead == 'u') ADVANCE(38);
      END_STATE();
    case 12:
      if (lookahead == 'e') ADVANCE(39);
      if (lookahead == 'h') ADVANCE(40);
      if (lookahead == 'i') ADVANCE(41);
      if (lookahead == 'r') ADVANCE(42);
      END_STATE();
    case 13:
      if (lookahead == 's') ADVANCE(43);
      END_STATE();
    case 14:
      if (lookahead == 'h') ADVANCE(44);
      END_STATE();
    case 15:
      if (lookahead == 'd') ADVANCE(45);
      END_STATE();
    case 16:
      if (lookahead == 'p') ADVANCE(46);
      END_STATE();
    case 17:
      ACCEPT_TOKEN(anon_sym_as);
      END_STATE();
    case 18:
      if (lookahead == 'h') ADVANCE(47);
      END_STATE();
    case 19:
      if (lookahead == 'a') ADVANCE(48);
      if (lookahead == 'o') ADVANCE(49);
      END_STATE();
    case 20:
      if (lookahead == 'o') ADVANCE(50);
      END_STATE();
    case 21:
      if (lookahead == 't') ADVANCE(51);
      if (lookahead == 'u') ADVANCE(52);
      END_STATE();
    case 22:
      if (lookahead == 'i') ADVANCE(53);
      if (lookahead == 'l') ADVANCE(54);
      END_STATE();
    case 23:
      if (lookahead == 'o') ADVANCE(55);
      END_STATE();
    case 24:
      ACCEPT_TOKEN(anon_sym_if);
      END_STATE();
    case 25:
      if (lookahead == 'c') ADVANCE(56);
      if (lookahead == 's') ADVANCE(57);
      if (lookahead == 'v') ADVANCE(58);
      END_STATE();
    case 26:
      ACCEPT_TOKEN(anon_sym_is);
      END_STATE();
    case 27:
      if (lookahead == 'f') ADVANCE(59);
      END_STATE();
    case 28:
      if (lookahead == 'c') ADVANCE(60);
      END_STATE();
    case 29:
      if (lookahead == 't') ADVANCE(61);
      END_STATE();
    case 30:
      ACCEPT_TOKEN(anon_sym_on);
      END_STATE();
    case 31:
      ACCEPT_TOKEN(anon_sym_or);
      END_STATE();
    case 32:
      if (lookahead == 'h') ADVANCE(62);
      END_STATE();
    case 33:
      if (lookahead == 'l') ADVANCE(63);
      if (lookahead == 'm') ADVANCE(64);
      if (lookahead == 'p') ADVANCE(65);
      if (lookahead == 't') ADVANCE(66);
      END_STATE();
    case 34:
      if (lookahead == 'h') ADVANCE(67);
      END_STATE();
    case 35:
      if (lookahead == 'l') ADVANCE(68);
      END_STATE();
    case 36:
      if (lookahead == 'e') ADVANCE(69);
      END_STATE();
    case 37:
      if (lookahead == 'a') ADVANCE(70);
      if (lookahead == 'r') ADVANCE(71);
      END_STATE();
    case 38:
      if (lookahead == 'c') ADVANCE(72);
      END_STATE();
    case 39:
      if (lookahead == 'm') ADVANCE(73);
      END_STATE();
    case 40:
      if (lookahead == 'e') ADVANCE(74);
      END_STATE();
    case 41:
      if (lookahead == 'm') ADVANCE(75);
      END_STATE();
    case 42:
      if (lookahead == 'u') ADVANCE(76);
      END_STATE();
    case 43:
      if (lookahead == 'e') ADVANCE(77);
      END_STATE();
    case 44:
      if (lookahead == 'e') ADVANCE(78);
      END_STATE();
    case 45:
      ACCEPT_TOKEN(anon_sym_and);
      END_STATE();
    case 46:
      if (lookahead == 'e') ADVANCE(79);
      END_STATE();
    case 47:
      if (lookahead == 'a') ADVANCE(80);
      END_STATE();
    case 48:
      if (lookahead == 'r') ADVANCE(81);
      END_STATE();
    case 49:
      if (lookahead == 'o') ADVANCE(82);
      END_STATE();
    case 50:
      if (lookahead == 'l') ADVANCE(83);
      END_STATE();
    case 51:
      if (lookahead == 'e') ADVANCE(84);
      END_STATE();
    case 52:
      if (lookahead == 'm') ADVANCE(85);
      END_STATE();
    case 53:
      if (lookahead == 'l') ADVANCE(86);
      END_STATE();
    case 54:
      if (lookahead == 's') ADVANCE(87);
      END_STATE();
    case 55:
      if (lookahead == 'm') ADVANCE(88);
      END_STATE();
    case 56:
      if (lookahead == 'l') ADVANCE(89);
      END_STATE();
    case 57:
      if (lookahead == 't') ADVANCE(90);
      END_STATE();
    case 58:
      if (lookahead == 'e') ADVANCE(91);
      END_STATE();
    case 59:
      if (lookahead == 'e') ADVANCE(92);
      END_STATE();
    case 60:
      if (lookahead == 'a') ADVANCE(93);
      END_STATE();
    case 61:
      ACCEPT_TOKEN(anon_sym_not);
      END_STATE();
    case 62:
      if (lookahead == 'e') ADVANCE(94);
      END_STATE();
    case 63:
      if (lookahead == 'a') ADVANCE(95);
      END_STATE();
    case 64:
      if (lookahead == 'o') ADVANCE(96);
      END_STATE();
    case 65:
      if (lookahead == 'e') ADVANCE(97);
      END_STATE();
    case 66:
      if (lookahead == 'r') ADVANCE(98);
      END_STATE();
    case 67:
      if (lookahead == 'e') ADVANCE(99);
      END_STATE();
    case 68:
      if (lookahead == 'f') ADVANCE(100);
      END_STATE();
    case 69:
      if (lookahead == 'c') ADVANCE(101);
      END_STATE();
    case 70:
      if (lookahead == 't') ADVANCE(102);
      END_STATE();
    case 71:
      if (lookahead == 'i') ADVANCE(103);
      END_STATE();
    case 72:
      if (lookahead == 'c') ADVANCE(104);
      END_STATE();
    case 73:
      if (lookahead == 'p') ADVANCE(105);
      END_STATE();
    case 74:
      if (lookahead == 'n') ADVANCE(106);
      END_STATE();
    case 75:
      if (lookahead == 'e') ADVANCE(107);
      END_STATE();
    case 76:
      if (lookahead == 'e') ADVANCE(108);
      END_STATE();
    case 77:
      ACCEPT_TOKEN(anon_sym_use);
      END_STATE();
    case 78:
      if (lookahead == 'n') ADVANCE(109);
      END_STATE();
    case 79:
      if (lookahead == 'n') ADVANCE(110);
      END_STATE();
    case 80:
      if (lookahead == 'v') ADVANCE(111);
      END_STATE();
    case 81:
      if (lookahead == 'a') ADVANCE(112);
      END_STATE();
    case 82:
      if (lookahead == 's') ADVANCE(113);
      END_STATE();
    case 83:
      if (lookahead == 'd') ADVANCE(114);
      END_STATE();
    case 84:
      if (lookahead == 'r') ADVANCE(115);
      END_STATE();
    case 85:
      ACCEPT_TOKEN(anon_sym_enum);
      END_STATE();
    case 86:
      if (lookahead == '_') ADVANCE(116);
      END_STATE();
    case 87:
      if (lookahead == 'e') ADVANCE(117);
      END_STATE();
    case 88:
      ACCEPT_TOKEN(anon_sym_from);
      END_STATE();
    case 89:
      if (lookahead == 'u') ADVANCE(118);
      END_STATE();
    case 90:
      if (lookahead == 'i') ADVANCE(119);
      END_STATE();
    case 91:
      if (lookahead == 'r') ADVANCE(120);
      END_STATE();
    case 92:
      if (lookahead == '_') ADVANCE(121);
      END_STATE();
    case 93:
      if (lookahead == 't') ADVANCE(122);
      END_STATE();
    case 94:
      if (lookahead == 'r') ADVANCE(123);
      END_STATE();
    case 95:
      if (lookahead == 't') ADVANCE(124);
      END_STATE();
    case 96:
      if (lookahead == 'v') ADVANCE(125);
      END_STATE();
    case 97:
      if (lookahead == 'a') ADVANCE(126);
      END_STATE();
    case 98:
      if (lookahead == 'y') ADVANCE(127);
      END_STATE();
    case 99:
      if (lookahead == 'd') ADVANCE(128);
      END_STATE();
    case 100:
      ACCEPT_TOKEN(anon_sym_self);
      END_STATE();
    case 101:
      if (lookahead == 'i') ADVANCE(129);
      END_STATE();
    case 102:
      if (lookahead == 'e') ADVANCE(130);
      END_STATE();
    case 103:
      if (lookahead == 'c') ADVANCE(131);
      END_STATE();
    case 104:
      if (lookahead == 'e') ADVANCE(132);
      END_STATE();
    case 105:
      if (lookahead == 'l') ADVANCE(133);
      END_STATE();
    case 106:
      ACCEPT_TOKEN(anon_sym_then);
      END_STATE();
    case 107:
      if (lookahead == 'o') ADVANCE(134);
      END_STATE();
    case 108:
      ACCEPT_TOKEN(anon_sym_true);
      END_STATE();
    case 109:
      ACCEPT_TOKEN(anon_sym_when);
      END_STATE();
    case 110:
      if (lookahead == 'd') ADVANCE(135);
      END_STATE();
    case 111:
      if (lookahead == 'i') ADVANCE(136);
      END_STATE();
    case 112:
      if (lookahead == 'c') ADVANCE(137);
      END_STATE();
    case 113:
      if (lookahead == 'e') ADVANCE(138);
      END_STATE();
    case 114:
      if (lookahead == 'o') ADVANCE(139);
      END_STATE();
    case 115:
      ACCEPT_TOKEN(anon_sym_enter);
      END_STATE();
    case 116:
      if (lookahead == 'a') ADVANCE(140);
      END_STATE();
    case 117:
      ACCEPT_TOKEN(anon_sym_false);
      END_STATE();
    case 118:
      if (lookahead == 'd') ADVANCE(141);
      END_STATE();
    case 119:
      if (lookahead == 't') ADVANCE(142);
      END_STATE();
    case 120:
      if (lookahead == 't') ADVANCE(143);
      END_STATE();
    case 121:
      if (lookahead == 'a') ADVANCE(144);
      END_STATE();
    case 122:
      if (lookahead == 'i') ADVANCE(145);
      END_STATE();
    case 123:
      ACCEPT_TOKEN(anon_sym_other);
      END_STATE();
    case 124:
      if (lookahead == 'i') ADVANCE(146);
      END_STATE();
    case 125:
      if (lookahead == 'e') ADVANCE(147);
      END_STATE();
    case 126:
      if (lookahead == 't') ADVANCE(148);
      END_STATE();
    case 127:
      ACCEPT_TOKEN(anon_sym_retry);
      END_STATE();
    case 128:
      if (lookahead == 'u') ADVANCE(149);
      END_STATE();
    case 129:
      if (lookahead == 'e') ADVANCE(150);
      END_STATE();
    case 130:
      ACCEPT_TOKEN(anon_sym_state);
      END_STATE();
    case 131:
      if (lookahead == 't') ADVANCE(151);
      END_STATE();
    case 132:
      if (lookahead == 'e') ADVANCE(152);
      END_STATE();
    case 133:
      if (lookahead == 'a') ADVANCE(153);
      END_STATE();
    case 134:
      if (lookahead == 'u') ADVANCE(154);
      END_STATE();
    case 135:
      ACCEPT_TOKEN(anon_sym_append);
      END_STATE();
    case 136:
      if (lookahead == 'o') ADVANCE(155);
      END_STATE();
    case 137:
      if (lookahead == 't') ADVANCE(156);
      END_STATE();
    case 138:
      ACCEPT_TOKEN(anon_sym_choose);
      END_STATE();
    case 139:
      if (lookahead == 'w') ADVANCE(157);
      END_STATE();
    case 140:
      if (lookahead == 'l') ADVANCE(158);
      END_STATE();
    case 141:
      if (lookahead == 'e') ADVANCE(159);
      END_STATE();
    case 142:
      if (lookahead == 'u') ADVANCE(160);
      END_STATE();
    case 143:
      ACCEPT_TOKEN(anon_sym_invert);
      END_STATE();
    case 144:
      if (lookahead == 'r') ADVANCE(161);
      END_STATE();
    case 145:
      if (lookahead == 'o') ADVANCE(162);
      END_STATE();
    case 146:
      if (lookahead == 'o') ADVANCE(163);
      END_STATE();
    case 147:
      ACCEPT_TOKEN(anon_sym_remove);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_repeat);
      END_STATE();
    case 149:
      if (lookahead == 'l') ADVANCE(164);
      END_STATE();
    case 150:
      if (lookahead == 's') ADVANCE(165);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_strict);
      END_STATE();
    case 152:
      if (lookahead == 'd') ADVANCE(166);
      END_STATE();
    case 153:
      if (lookahead == 't') ADVANCE(167);
      END_STATE();
    case 154:
      if (lookahead == 't') ADVANCE(168);
      END_STATE();
    case 155:
      if (lookahead == 'r') ADVANCE(169);
      END_STATE();
    case 156:
      if (lookahead == 'e') ADVANCE(170);
      END_STATE();
    case 157:
      if (lookahead == 'n') ADVANCE(171);
      END_STATE();
    case 158:
      if (lookahead == 'w') ADVANCE(172);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(anon_sym_include);
      END_STATE();
    case 160:
      if (lookahead == 't') ADVANCE(173);
      END_STATE();
    case 161:
      if (lookahead == 'c') ADVANCE(174);
      END_STATE();
    case 162:
      if (lookahead == 'n') ADVANCE(175);
      END_STATE();
    case 163:
      if (lookahead == 'n') ADVANCE(176);
      END_STATE();
    case 164:
      if (lookahead == 'e') ADVANCE(177);
      END_STATE();
    case 165:
      ACCEPT_TOKEN(anon_sym_species);
      END_STATE();
    case 166:
      if (lookahead == '_') ADVANCE(178);
      END_STATE();
    case 167:
      if (lookahead == 'e') ADVANCE(179);
      END_STATE();
    case 168:
      ACCEPT_TOKEN(anon_sym_timeout);
      END_STATE();
    case 169:
      ACCEPT_TOKEN(anon_sym_behavior);
      END_STATE();
    case 170:
      if (lookahead == 'r') ADVANCE(180);
      END_STATE();
    case 171:
      ACCEPT_TOKEN(anon_sym_cooldown);
      END_STATE();
    case 172:
      if (lookahead == 'a') ADVANCE(181);
      END_STATE();
    case 173:
      if (lookahead == 'i') ADVANCE(182);
      END_STATE();
    case 174:
      ACCEPT_TOKEN(anon_sym_life_arc);
      END_STATE();
    case 175:
      ACCEPT_TOKEN(anon_sym_location);
      END_STATE();
    case 176:
      if (lookahead == 's') ADVANCE(183);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(anon_sym_schedule);
      END_STATE();
    case 178:
      if (lookahead == 'a') ADVANCE(184);
      END_STATE();
    case 179:
      ACCEPT_TOKEN(anon_sym_template);
      END_STATE();
    case 180:
      ACCEPT_TOKEN(anon_sym_character);
      END_STATE();
    case 181:
      if (lookahead == 'y') ADVANCE(185);
      END_STATE();
    case 182:
      if (lookahead == 'o') ADVANCE(186);
      END_STATE();
    case 183:
      if (lookahead == 'h') ADVANCE(187);
      END_STATE();
    case 184:
      if (lookahead == 'l') ADVANCE(188);
      END_STATE();
    case 185:
      if (lookahead == 's') ADVANCE(189);
      END_STATE();
    case 186:
      if (lookahead == 'n') ADVANCE(190);
      END_STATE();
    case 187:
      if (lookahead == 'i') ADVANCE(191);
      END_STATE();
    case 188:
      if (lookahead == 'w') ADVANCE(192);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(anon_sym_fail_always);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(anon_sym_institution);
      END_STATE();
    case 191:
      if (lookahead == 'p') ADVANCE(193);
      END_STATE();
    case 192:
      if (lookahead == 'a') ADVANCE(194);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(anon_sym_relationship);
      END_STATE();
    case 194:
      if (lookahead == 'y') ADVANCE(195);
      END_STATE();
    case 195:
      if (lookahead == 's') ADVANCE(196);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(anon_sym_succeed_always);
      END_STATE();
    default:
      return false;
  }
}

static const TSLexMode ts_lex_modes[STATE_COUNT] = {
  [0] = {.lex_state = 0},
  [1] = {.lex_state = 0},
  [2] = {.lex_state = 1},
  [3] = {.lex_state = 1},
  [4] = {.lex_state = 1},
  [5] = {.lex_state = 1},
  [6] = {.lex_state = 0},
  [7] = {.lex_state = 0},
  [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 = 0},
  [15] = {.lex_state = 0},
  [16] = {.lex_state = 0},
  [17] = {.lex_state = 3},
  [18] = {.lex_state = 0},
  [19] = {.lex_state = 0},
  [20] = {.lex_state = 0},
  [21] = {.lex_state = 0},
  [22] = {.lex_state = 0},
  [23] = {.lex_state = 3},
  [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 = 1},
  [52] = {.lex_state = 0},
  [53] = {.lex_state = 1},
  [54] = {.lex_state = 1},
  [55] = {.lex_state = 1},
  [56] = {.lex_state = 1},
  [57] = {.lex_state = 1},
  [58] = {.lex_state = 1},
  [59] = {.lex_state = 1},
  [60] = {.lex_state = 0},
  [61] = {.lex_state = 0},
  [62] = {.lex_state = 0},
  [63] = {.lex_state = 0},
  [64] = {.lex_state = 0},
  [65] = {.lex_state = 0},
  [66] = {.lex_state = 0},
  [67] = {.lex_state = 0},
  [68] = {.lex_state = 0},
  [69] = {.lex_state = 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 = 1},
  [111] = {.lex_state = 1},
  [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 = 1},
  [120] = {.lex_state = 0},
  [121] = {.lex_state = 0},
  [122] = {.lex_state = 0},
  [123] = {.lex_state = 0},
  [124] = {.lex_state = 1},
  [125] = {.lex_state = 0},
  [126] = {.lex_state = 1},
  [127] = {.lex_state = 1},
  [128] = {.lex_state = 0},
  [129] = {.lex_state = 1},
  [130] = {.lex_state = 0},
  [131] = {.lex_state = 0},
  [132] = {.lex_state = 0},
  [133] = {.lex_state = 1},
  [134] = {.lex_state = 1},
  [135] = {.lex_state = 1},
  [136] = {.lex_state = 1},
  [137] = {.lex_state = 0},
  [138] = {.lex_state = 0},
  [139] = {.lex_state = 0},
  [140] = {.lex_state = 0},
  [141] = {.lex_state = 0},
  [142] = {.lex_state = 0},
  [143] = {.lex_state = 0},
  [144] = {.lex_state = 0},
  [145] = {.lex_state = 0},
  [146] = {.lex_state = 0},
  [147] = {.lex_state = 0},
  [148] = {.lex_state = 1},
  [149] = {.lex_state = 0},
  [150] = {.lex_state = 0},
  [151] = {.lex_state = 0},
  [152] = {.lex_state = 0},
  [153] = {.lex_state = 0},
  [154] = {.lex_state = 0},
  [155] = {.lex_state = 0},
  [156] = {.lex_state = 0},
  [157] = {.lex_state = 0},
  [158] = {.lex_state = 0},
  [159] = {.lex_state = 0},
  [160] = {.lex_state = 0},
  [161] = {.lex_state = 0},
  [162] = {.lex_state = 0},
  [163] = {.lex_state = 0},
  [164] = {.lex_state = 0},
  [165] = {.lex_state = 0},
  [166] = {.lex_state = 0},
  [167] = {.lex_state = 0},
  [168] = {.lex_state = 0},
  [169] = {.lex_state = 0},
  [170] = {.lex_state = 1},
  [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 = 0},
  [178] = {.lex_state = 0},
  [179] = {.lex_state = 0},
  [180] = {.lex_state = 1},
  [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 = 0},
  [189] = {.lex_state = 0},
  [190] = {.lex_state = 1},
  [191] = {.lex_state = 0},
  [192] = {.lex_state = 0},
  [193] = {.lex_state = 0},
  [194] = {.lex_state = 3},
  [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 = 0},
  [210] = {.lex_state = 63},
  [211] = {.lex_state = 0},
  [212] = {.lex_state = 0},
  [213] = {.lex_state = 0},
  [214] = {.lex_state = 0},
  [215] = {.lex_state = 0},
  [216] = {.lex_state = 0},
  [217] = {.lex_state = 0},
  [218] = {.lex_state = 0},
  [219] = {.lex_state = 0},
  [220] = {.lex_state = 3},
  [221] = {.lex_state = 1},
  [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 = 0},
  [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 = 0},
  [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 = 14},
  [257] = {.lex_state = 0},
  [258] = {.lex_state = 0},
  [259] = {.lex_state = 12},
  [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 = 0},
  [270] = {.lex_state = 14},
  [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},
};

static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
  [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_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_LBRACK] = ACTIONS(1),
    [anon_sym_RBRACK] = 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_state] = ACTIONS(1),
    [anon_sym_on] = ACTIONS(1),
    [anon_sym_enter] = ACTIONS(1),
    [anon_sym_DASH_GT] = ACTIONS(1),
    [anon_sym_schedule] = 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_or] = ACTIONS(1),
    [anon_sym_and] = ACTIONS(1),
    [anon_sym_not] = ACTIONS(1),
    [anon_sym_is] = 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),
  },
  [1] = {
    [sym_source_file] = STATE(269),
    [sym_declaration] = STATE(15),
    [sym_use_declaration] = STATE(91),
    [sym_character] = STATE(91),
    [sym_template] = STATE(91),
    [sym_life_arc] = STATE(91),
    [sym_schedule] = STATE(91),
    [sym_behavior] = STATE(91),
    [sym_institution] = STATE(91),
    [sym_relationship] = STATE(91),
    [sym_location] = STATE(91),
    [sym_species] = STATE(91),
    [sym_enum_declaration] = STATE(91),
    [aux_sym_source_file_repeat1] = STATE(15),
    [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_life_arc] = ACTIONS(13),
    [anon_sym_schedule] = 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),
  },
};

static const uint16_t ts_small_parse_table[] = {
  [0] = 5,
    ACTIONS(31), 1,
      anon_sym_COLON_COLON,
    STATE(2), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(34), 12,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_DOT,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(29), 23,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      anon_sym_as,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [50] = 5,
    ACTIONS(38), 1,
      anon_sym_COLON_COLON,
    STATE(2), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(40), 11,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_DOT,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(36), 23,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      anon_sym_as,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [99] = 5,
    ACTIONS(38), 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_DOT,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(42), 23,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      anon_sym_as,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [148] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(34), 13,
      anon_sym_COLON_COLON,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_SEMI,
      anon_sym_DOT,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(29), 23,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      anon_sym_as,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [193] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(46), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(48), 28,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_life_arc,
      anon_sym_state,
      anon_sym_on,
      anon_sym_schedule,
      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,
      sym_identifier,
  [237] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(50), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(52), 28,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      anon_sym_life_arc,
      anon_sym_state,
      anon_sym_on,
      anon_sym_schedule,
      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,
      sym_identifier,
  [281] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(56), 11,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_DOT,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(54), 23,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      anon_sym_as,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [324] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(60), 10,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_DOT,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(58), 22,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT,
      anon_sym_LT,
      sym_identifier,
  [365] = 15,
    ACTIONS(62), 1,
      sym_identifier,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    STATE(52), 1,
      sym_prose_block,
    STATE(188), 1,
      sym_decorator_keyword,
    STATE(233), 1,
      sym_dotted_path,
    STATE(257), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [425] = 15,
    ACTIONS(62), 1,
      sym_identifier,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    STATE(52), 1,
      sym_prose_block,
    STATE(188), 1,
      sym_decorator_keyword,
    STATE(233), 1,
      sym_dotted_path,
    STATE(255), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(10), 2,
      sym_field,
      aux_sym_template_repeat2,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [485] = 17,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(78), 1,
      sym_identifier,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(94), 1,
      anon_sym_RPAREN,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(211), 1,
      sym_action_param,
    STATE(215), 1,
      sym_value,
    STATE(230), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [547] = 15,
    ACTIONS(96), 1,
      ts_builtin_sym_end,
    ACTIONS(98), 1,
      anon_sym_use,
    ACTIONS(101), 1,
      anon_sym_character,
    ACTIONS(104), 1,
      anon_sym_template,
    ACTIONS(107), 1,
      anon_sym_life_arc,
    ACTIONS(110), 1,
      anon_sym_schedule,
    ACTIONS(113), 1,
      anon_sym_behavior,
    ACTIONS(116), 1,
      anon_sym_institution,
    ACTIONS(119), 1,
      anon_sym_relationship,
    ACTIONS(122), 1,
      anon_sym_location,
    ACTIONS(125), 1,
      anon_sym_species,
    ACTIONS(128), 1,
      anon_sym_enum,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(13), 2,
      sym_declaration,
      aux_sym_source_file_repeat1,
    STATE(91), 11,
      sym_use_declaration,
      sym_character,
      sym_template,
      sym_life_arc,
      sym_schedule,
      sym_behavior,
      sym_institution,
      sym_relationship,
      sym_location,
      sym_species,
      sym_enum_declaration,
  [605] = 17,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(78), 1,
      sym_identifier,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(131), 1,
      anon_sym_RPAREN,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(184), 1,
      sym_action_param,
    STATE(215), 1,
      sym_value,
    STATE(230), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [667] = 15,
    ACTIONS(7), 1,
      anon_sym_use,
    ACTIONS(9), 1,
      anon_sym_character,
    ACTIONS(11), 1,
      anon_sym_template,
    ACTIONS(13), 1,
      anon_sym_life_arc,
    ACTIONS(15), 1,
      anon_sym_schedule,
    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(133), 1,
      ts_builtin_sym_end,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(13), 2,
      sym_declaration,
      aux_sym_source_file_repeat1,
    STATE(91), 11,
      sym_use_declaration,
      sym_character,
      sym_template,
      sym_life_arc,
      sym_schedule,
      sym_behavior,
      sym_institution,
      sym_relationship,
      sym_location,
      sym_species,
      sym_enum_declaration,
  [725] = 17,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(78), 1,
      sym_identifier,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(135), 1,
      anon_sym_RPAREN,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(211), 1,
      sym_action_param,
    STATE(215), 1,
      sym_value,
    STATE(230), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [787] = 4,
    ACTIONS(141), 1,
      anon_sym_DOT_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(139), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(137), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [822] = 12,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    ACTIONS(145), 1,
      anon_sym_RBRACE,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(21), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [873] = 12,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    ACTIONS(147), 1,
      anon_sym_RBRACE,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(21), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [924] = 12,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    ACTIONS(149), 1,
      anon_sym_RBRACE,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(21), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [975] = 12,
    ACTIONS(151), 1,
      sym_identifier,
    ACTIONS(154), 1,
      anon_sym_RBRACE,
    ACTIONS(156), 1,
      anon_sym_include,
    ACTIONS(159), 1,
      anon_sym_choose,
    ACTIONS(162), 1,
      anon_sym_then,
    ACTIONS(165), 1,
      anon_sym_if,
    ACTIONS(168), 1,
      anon_sym_when,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(21), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(171), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1026] = 16,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(78), 1,
      sym_identifier,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(211), 1,
      sym_action_param,
    STATE(215), 1,
      sym_value,
    STATE(230), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1085] = 4,
    ACTIONS(174), 1,
      anon_sym_DOT_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(139), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(137), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1120] = 12,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    ACTIONS(176), 1,
      anon_sym_RBRACE,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(21), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1171] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(180), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(178), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1203] = 11,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(18), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1251] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(184), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(182), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1283] = 15,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(188), 1,
      anon_sym_RBRACK,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(168), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1339] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(192), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(190), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1371] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(196), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(194), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1403] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(200), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(198), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1435] = 11,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(24), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1483] = 11,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(20), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1531] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(139), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(137), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1563] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(204), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(202), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1595] = 15,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(206), 1,
      anon_sym_RBRACK,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(209), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1651] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(210), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(208), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1683] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(214), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(212), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1715] = 11,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    STATE(188), 1,
      sym_decorator_keyword,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(19), 2,
      sym_behavior_node,
      aux_sym_selector_node_repeat1,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1763] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(218), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(216), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1795] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(222), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      sym_time,
      anon_sym_RBRACK,
      sym_prose_marker,
      anon_sym_RPAREN,
    ACTIONS(220), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [1827] = 15,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(224), 1,
      anon_sym_RBRACK,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(209), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1883] = 11,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    STATE(188), 1,
      sym_decorator_keyword,
    STATE(240), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [1930] = 14,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(186), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(209), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [1983] = 14,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(186), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(50), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2036] = 8,
    ACTIONS(226), 1,
      sym_identifier,
    ACTIONS(233), 1,
      sym_prose_marker,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(229), 2,
      anon_sym_RBRACE,
      sym_time,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
    ACTIONS(231), 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,
  [2077] = 14,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(82), 1,
      sym_integer,
    ACTIONS(84), 1,
      sym_float,
    ACTIONS(90), 1,
      anon_sym_LBRACK,
    ACTIONS(92), 1,
      anon_sym_AT,
    ACTIONS(186), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(29), 1,
      sym_block,
    STATE(214), 1,
      sym_value,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(86), 3,
      sym_string,
      sym_time,
      sym_duration,
    STATE(34), 7,
      sym_path,
      sym_boolean,
      sym_range,
      sym_list,
      sym_object,
      sym_override,
      sym_prose_block,
  [2130] = 11,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    STATE(188), 1,
      sym_decorator_keyword,
    STATE(253), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [2177] = 11,
    ACTIONS(64), 1,
      anon_sym_include,
    ACTIONS(68), 1,
      anon_sym_choose,
    ACTIONS(70), 1,
      anon_sym_then,
    ACTIONS(72), 1,
      anon_sym_if,
    ACTIONS(74), 1,
      anon_sym_when,
    ACTIONS(143), 1,
      sym_identifier,
    STATE(188), 1,
      sym_decorator_keyword,
    STATE(275), 1,
      sym_behavior_node,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(76), 7,
      anon_sym_repeat,
      anon_sym_invert,
      anon_sym_retry,
      anon_sym_timeout,
      anon_sym_cooldown,
      anon_sym_succeed_always,
      anon_sym_fail_always,
    STATE(73), 7,
      sym_selector_node,
      sym_sequence_node,
      sym_condition_node,
      sym_if_decorator_node,
      sym_decorator_node,
      sym_action_node,
      sym_subtree_node,
  [2224] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(238), 3,
      anon_sym_RBRACE,
      sym_time,
      sym_prose_marker,
    ACTIONS(236), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [2253] = 11,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(244), 1,
      anon_sym_enter,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(135), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2298] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(250), 3,
      anon_sym_RBRACE,
      sym_time,
      sym_prose_marker,
    ACTIONS(248), 17,
      anon_sym_include,
      anon_sym_remove,
      anon_sym_append,
      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,
      sym_identifier,
  [2327] = 10,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(135), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2369] = 10,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(134), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2411] = 10,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(127), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2453] = 10,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(126), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2495] = 10,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(136), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2537] = 10,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(111), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2579] = 10,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(246), 1,
      anon_sym_not,
    STATE(8), 1,
      sym_path_segments,
    STATE(129), 1,
      sym_expression,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(88), 2,
      anon_sym_true,
      anon_sym_false,
    ACTIONS(242), 2,
      sym_float,
      sym_string,
    STATE(110), 2,
      sym_path,
      sym_boolean,
    ACTIONS(240), 3,
      sym_integer,
      anon_sym_self,
      anon_sym_other,
    STATE(119), 6,
      sym_or_expression,
      sym_and_expression,
      sym_not_expression,
      sym_comparison,
      sym_field_access,
      sym_primary_expression,
  [2621] = 4,
    ACTIONS(254), 1,
      anon_sym_RBRACE,
    ACTIONS(256), 1,
      anon_sym_LPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(252), 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,
  [2647] = 4,
    ACTIONS(260), 1,
      anon_sym_LBRACE,
    ACTIONS(262), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(258), 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,
  [2673] = 3,
    ACTIONS(266), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(264), 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,
  [2696] = 3,
    ACTIONS(262), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(258), 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,
  [2719] = 3,
    ACTIONS(270), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(268), 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,
  [2742] = 3,
    ACTIONS(274), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(272), 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,
  [2765] = 3,
    ACTIONS(278), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(276), 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,
  [2788] = 3,
    ACTIONS(282), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(280), 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,
  [2811] = 3,
    ACTIONS(286), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(284), 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,
  [2834] = 3,
    ACTIONS(290), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(288), 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,
  [2857] = 3,
    ACTIONS(294), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(292), 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,
  [2880] = 3,
    ACTIONS(298), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(296), 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,
  [2903] = 3,
    ACTIONS(302), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(300), 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,
  [2926] = 3,
    ACTIONS(306), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(304), 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,
  [2949] = 3,
    ACTIONS(310), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(308), 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,
  [2972] = 3,
    ACTIONS(314), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(312), 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,
  [2995] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(316), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3014] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(318), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3033] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(320), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3052] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(322), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3071] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(324), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3090] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(326), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3109] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(328), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3128] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(330), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3147] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(332), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3166] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(334), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3185] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(336), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3204] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(338), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3223] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(340), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3242] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(342), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3261] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(344), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3280] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(346), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3299] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(348), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3318] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(350), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3337] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(352), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3356] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(354), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3375] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(356), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3394] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(358), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3413] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(360), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3432] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(362), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3451] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(364), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3470] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(366), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3489] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(368), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3508] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(370), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3527] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(372), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3546] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(374), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3565] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(376), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3584] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(378), 12,
      ts_builtin_sym_end,
      anon_sym_use,
      anon_sym_character,
      anon_sym_template,
      anon_sym_life_arc,
      anon_sym_schedule,
      anon_sym_behavior,
      anon_sym_institution,
      anon_sym_relationship,
      anon_sym_location,
      anon_sym_species,
      anon_sym_enum,
  [3603] = 10,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(382), 1,
      anon_sym_RBRACE,
    ACTIONS(384), 1,
      anon_sym_on,
    STATE(52), 1,
      sym_prose_block,
    STATE(125), 1,
      sym_on_enter,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(128), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(154), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [3637] = 10,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(386), 1,
      sym_identifier,
    ACTIONS(388), 1,
      anon_sym_RBRACE,
    STATE(8), 1,
      sym_path_segments,
    STATE(52), 1,
      sym_prose_block,
    STATE(185), 1,
      sym_path,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(137), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(138), 2,
      sym_participant,
      aux_sym_relationship_repeat1,
  [3671] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(392), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(390), 8,
      anon_sym_DOT,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [3690] = 5,
    ACTIONS(394), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(400), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(398), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(396), 4,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
  [3713] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(402), 1,
      anon_sym_RBRACE,
    ACTIONS(404), 1,
      anon_sym_include,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(143), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(146), 2,
      sym_include,
      aux_sym_template_repeat1,
  [3744] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(406), 1,
      anon_sym_RBRACE,
    ACTIONS(408), 1,
      anon_sym_on,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(155), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [3775] = 10,
    ACTIONS(410), 1,
      sym_identifier,
    ACTIONS(413), 1,
      anon_sym_RBRACE,
    ACTIONS(415), 1,
      anon_sym_remove,
    ACTIONS(418), 1,
      anon_sym_append,
    ACTIONS(421), 1,
      sym_prose_marker,
    STATE(52), 1,
      sym_prose_block,
    STATE(151), 1,
      sym_field,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(114), 2,
      sym_override_op,
      aux_sym_override_repeat1,
  [3808] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(404), 1,
      anon_sym_include,
    ACTIONS(424), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(141), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(146), 2,
      sym_include,
      aux_sym_template_repeat1,
  [3839] = 10,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(426), 1,
      anon_sym_RBRACE,
    ACTIONS(428), 1,
      anon_sym_remove,
    ACTIONS(430), 1,
      anon_sym_append,
    STATE(52), 1,
      sym_prose_block,
    STATE(151), 1,
      sym_field,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(114), 2,
      sym_override_op,
      aux_sym_override_repeat1,
  [3872] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(404), 1,
      anon_sym_include,
    ACTIONS(432), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(115), 2,
      sym_include,
      aux_sym_template_repeat1,
    STATE(144), 2,
      sym_field,
      aux_sym_template_repeat2,
  [3903] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(404), 1,
      anon_sym_include,
    ACTIONS(424), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(112), 2,
      sym_include,
      aux_sym_template_repeat1,
    STATE(141), 2,
      sym_field,
      aux_sym_template_repeat2,
  [3934] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(436), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(434), 8,
      anon_sym_DOT,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [3953] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(438), 1,
      anon_sym_RBRACE,
    ACTIONS(440), 1,
      anon_sym_state,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(165), 2,
      sym_arc_state,
      aux_sym_life_arc_repeat1,
  [3984] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(444), 1,
      anon_sym_RBRACE,
    ACTIONS(446), 1,
      sym_time,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(166), 2,
      sym_schedule_block,
      aux_sym_schedule_repeat1,
  [4015] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(440), 1,
      anon_sym_state,
    ACTIONS(448), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(120), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(161), 2,
      sym_arc_state,
      aux_sym_life_arc_repeat1,
  [4046] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(446), 1,
      sym_time,
    ACTIONS(450), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(121), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(153), 2,
      sym_schedule_block,
      aux_sym_schedule_repeat1,
  [4077] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(454), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(452), 8,
      anon_sym_DOT,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [4096] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(408), 1,
      anon_sym_on,
    ACTIONS(456), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(113), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(158), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [4127] = 6,
    ACTIONS(394), 1,
      anon_sym_DOT,
    ACTIONS(460), 1,
      anon_sym_and,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(400), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(398), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(458), 3,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
  [4152] = 5,
    ACTIONS(394), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(400), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(398), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
    ACTIONS(462), 4,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
  [4175] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(408), 1,
      anon_sym_on,
    ACTIONS(456), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(158), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [4206] = 4,
    ACTIONS(394), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(466), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(464), 7,
      anon_sym_DASH_GT,
      anon_sym_RPAREN,
      anon_sym_or,
      anon_sym_and,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [4227] = 10,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(428), 1,
      anon_sym_remove,
    ACTIONS(430), 1,
      anon_sym_append,
    ACTIONS(468), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(151), 1,
      sym_field,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(116), 2,
      sym_override_op,
      aux_sym_override_repeat1,
  [4260] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(404), 1,
      anon_sym_include,
    ACTIONS(470), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(139), 2,
      sym_field,
      aux_sym_template_repeat2,
    STATE(146), 2,
      sym_include,
      aux_sym_template_repeat1,
  [4291] = 9,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(380), 1,
      sym_identifier,
    ACTIONS(404), 1,
      anon_sym_include,
    ACTIONS(472), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(131), 2,
      sym_include,
      aux_sym_template_repeat1,
    STATE(140), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4322] = 7,
    ACTIONS(38), 1,
      anon_sym_COLON_COLON,
    ACTIONS(474), 1,
      anon_sym_COLON,
    ACTIONS(476), 1,
      anon_sym_DOT,
    STATE(3), 1,
      aux_sym_path_segments_repeat1,
    STATE(190), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(44), 4,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_as,
  [4348] = 7,
    ACTIONS(394), 1,
      anon_sym_DOT,
    ACTIONS(460), 1,
      anon_sym_and,
    ACTIONS(478), 1,
      anon_sym_RPAREN,
    ACTIONS(480), 1,
      anon_sym_or,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(400), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(398), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [4374] = 7,
    ACTIONS(394), 1,
      anon_sym_DOT,
    ACTIONS(460), 1,
      anon_sym_and,
    ACTIONS(480), 1,
      anon_sym_or,
    ACTIONS(482), 1,
      anon_sym_DASH_GT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(400), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(398), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [4400] = 7,
    ACTIONS(394), 1,
      anon_sym_DOT,
    ACTIONS(460), 1,
      anon_sym_and,
    ACTIONS(480), 1,
      anon_sym_or,
    ACTIONS(484), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(400), 2,
      anon_sym_GT,
      anon_sym_LT,
    ACTIONS(398), 3,
      anon_sym_is,
      anon_sym_GT_EQ,
      anon_sym_LT_EQ,
  [4426] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(486), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4450] = 6,
    ACTIONS(488), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(185), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(491), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    STATE(138), 2,
      sym_participant,
      aux_sym_relationship_repeat1,
  [4472] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(493), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4496] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(470), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4520] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(402), 1,
      anon_sym_RBRACE,
    ACTIONS(442), 1,
      sym_identifier,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4544] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(495), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(145), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4568] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(497), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4592] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(424), 1,
      anon_sym_RBRACE,
    ACTIONS(442), 1,
      sym_identifier,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4616] = 7,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    ACTIONS(499), 1,
      anon_sym_RBRACE,
    STATE(52), 1,
      sym_prose_block,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(46), 2,
      sym_field,
      aux_sym_template_repeat2,
  [4640] = 5,
    ACTIONS(501), 1,
      sym_identifier,
    ACTIONS(505), 1,
      anon_sym_include,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(503), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    STATE(146), 2,
      sym_include,
      aux_sym_template_repeat1,
  [4659] = 5,
    ACTIONS(508), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(185), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(109), 2,
      sym_participant,
      aux_sym_relationship_repeat1,
  [4677] = 6,
    ACTIONS(254), 1,
      anon_sym_RBRACE,
    ACTIONS(256), 1,
      anon_sym_LPAREN,
    ACTIONS(476), 1,
      anon_sym_DOT,
    ACTIONS(510), 1,
      anon_sym_COLON,
    STATE(190), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [4697] = 6,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(512), 1,
      anon_sym_COLON,
    ACTIONS(514), 1,
      anon_sym_from,
    STATE(102), 1,
      sym_block,
    STATE(223), 1,
      sym_template_clause,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [4717] = 6,
    ACTIONS(66), 1,
      sym_prose_marker,
    ACTIONS(442), 1,
      sym_identifier,
    STATE(52), 1,
      sym_prose_block,
    STATE(152), 1,
      sym_field,
    STATE(233), 1,
      sym_dotted_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [4737] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(518), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(516), 3,
      anon_sym_remove,
      anon_sym_append,
      sym_identifier,
  [4751] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(522), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
    ACTIONS(520), 3,
      anon_sym_remove,
      anon_sym_append,
      sym_identifier,
  [4765] = 4,
    ACTIONS(444), 1,
      anon_sym_RBRACE,
    ACTIONS(446), 1,
      sym_time,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(164), 2,
      sym_schedule_block,
      aux_sym_schedule_repeat1,
  [4780] = 4,
    ACTIONS(456), 1,
      anon_sym_RBRACE,
    ACTIONS(524), 1,
      anon_sym_on,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(157), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [4795] = 4,
    ACTIONS(524), 1,
      anon_sym_on,
    ACTIONS(526), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(157), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [4810] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(528), 2,
      anon_sym_on,
      sym_identifier,
    ACTIONS(530), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
  [4823] = 4,
    ACTIONS(532), 1,
      anon_sym_RBRACE,
    ACTIONS(534), 1,
      anon_sym_on,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(157), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [4838] = 4,
    ACTIONS(406), 1,
      anon_sym_RBRACE,
    ACTIONS(524), 1,
      anon_sym_on,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(157), 2,
      sym_transition,
      aux_sym_arc_state_repeat1,
  [4853] = 5,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(514), 1,
      anon_sym_from,
    STATE(101), 1,
      sym_block,
    STATE(207), 1,
      sym_template_clause,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [4870] = 4,
    ACTIONS(539), 1,
      anon_sym_COMMA,
    STATE(160), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(537), 2,
      anon_sym_LBRACE,
      anon_sym_RBRACE,
  [4885] = 4,
    ACTIONS(438), 1,
      anon_sym_RBRACE,
    ACTIONS(542), 1,
      anon_sym_state,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(163), 2,
      sym_arc_state,
      aux_sym_life_arc_repeat1,
  [4900] = 3,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(544), 2,
      anon_sym_include,
      sym_identifier,
    ACTIONS(546), 2,
      anon_sym_RBRACE,
      sym_prose_marker,
  [4913] = 4,
    ACTIONS(548), 1,
      anon_sym_RBRACE,
    ACTIONS(550), 1,
      anon_sym_state,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(163), 2,
      sym_arc_state,
      aux_sym_life_arc_repeat1,
  [4928] = 4,
    ACTIONS(553), 1,
      anon_sym_RBRACE,
    ACTIONS(555), 1,
      sym_time,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(164), 2,
      sym_schedule_block,
      aux_sym_schedule_repeat1,
  [4943] = 4,
    ACTIONS(542), 1,
      anon_sym_state,
    ACTIONS(558), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(163), 2,
      sym_arc_state,
      aux_sym_life_arc_repeat1,
  [4958] = 4,
    ACTIONS(446), 1,
      sym_time,
    ACTIONS(560), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    STATE(164), 2,
      sym_schedule_block,
      aux_sym_schedule_repeat1,
  [4973] = 4,
    ACTIONS(508), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(65), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [4987] = 4,
    ACTIONS(562), 1,
      anon_sym_COMMA,
    ACTIONS(564), 1,
      anon_sym_RBRACK,
    STATE(179), 1,
      aux_sym_list_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5001] = 4,
    ACTIONS(566), 1,
      anon_sym_COMMA,
    ACTIONS(568), 1,
      anon_sym_RBRACE,
    STATE(160), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5015] = 4,
    ACTIONS(570), 1,
      anon_sym_COLON,
    ACTIONS(572), 1,
      anon_sym_DOT,
    STATE(170), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5029] = 4,
    ACTIONS(508), 1,
      sym_identifier,
    STATE(8), 1,
      sym_path_segments,
    STATE(267), 1,
      sym_path,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5043] = 4,
    ACTIONS(44), 1,
      anon_sym_SEMI,
    ACTIONS(575), 1,
      anon_sym_COLON_COLON,
    STATE(177), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5057] = 4,
    ACTIONS(578), 1,
      anon_sym_LBRACE,
    ACTIONS(580), 1,
      anon_sym_COMMA,
    STATE(187), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5071] = 4,
    ACTIONS(582), 1,
      anon_sym_COMMA,
    ACTIONS(585), 1,
      anon_sym_RBRACK,
    STATE(174), 1,
      aux_sym_list_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5085] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(587), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [5095] = 4,
    ACTIONS(589), 1,
      anon_sym_COMMA,
    ACTIONS(592), 1,
      anon_sym_RPAREN,
    STATE(176), 1,
      aux_sym_action_node_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5109] = 4,
    ACTIONS(40), 1,
      anon_sym_SEMI,
    ACTIONS(594), 1,
      anon_sym_COLON_COLON,
    STATE(2), 1,
      aux_sym_path_segments_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5123] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(537), 3,
      anon_sym_LBRACE,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [5133] = 4,
    ACTIONS(206), 1,
      anon_sym_RBRACK,
    ACTIONS(597), 1,
      anon_sym_COMMA,
    STATE(174), 1,
      aux_sym_list_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5147] = 4,
    ACTIONS(476), 1,
      anon_sym_DOT,
    ACTIONS(510), 1,
      anon_sym_COLON,
    STATE(190), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5161] = 4,
    ACTIONS(599), 1,
      anon_sym_COMMA,
    ACTIONS(601), 1,
      anon_sym_RBRACE,
    STATE(160), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5175] = 4,
    ACTIONS(135), 1,
      anon_sym_RPAREN,
    ACTIONS(603), 1,
      anon_sym_COMMA,
    STATE(176), 1,
      aux_sym_action_node_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5189] = 4,
    ACTIONS(605), 1,
      anon_sym_COMMA,
    ACTIONS(607), 1,
      anon_sym_RBRACE,
    STATE(181), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5203] = 4,
    ACTIONS(609), 1,
      anon_sym_COMMA,
    ACTIONS(611), 1,
      anon_sym_RPAREN,
    STATE(182), 1,
      aux_sym_action_node_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5217] = 4,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    ACTIONS(613), 1,
      anon_sym_as,
    STATE(175), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5231] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(615), 3,
      anon_sym_RBRACE,
      sym_prose_marker,
      sym_identifier,
  [5241] = 4,
    ACTIONS(617), 1,
      anon_sym_LBRACE,
    ACTIONS(619), 1,
      anon_sym_COMMA,
    STATE(160), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5255] = 4,
    ACTIONS(621), 1,
      anon_sym_LBRACE,
    ACTIONS(623), 1,
      anon_sym_LPAREN,
    STATE(249), 1,
      sym_decorator_params,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5269] = 4,
    ACTIONS(625), 1,
      anon_sym_COMMA,
    ACTIONS(627), 1,
      anon_sym_RBRACE,
    STATE(169), 1,
      aux_sym_use_declaration_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5283] = 4,
    ACTIONS(476), 1,
      anon_sym_DOT,
    ACTIONS(629), 1,
      anon_sym_COLON,
    STATE(170), 1,
      aux_sym_dotted_path_repeat1,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5297] = 3,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    STATE(95), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5308] = 3,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    STATE(156), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5319] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(631), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [5328] = 3,
    ACTIONS(633), 1,
      anon_sym_DOT_DOT,
    ACTIONS(635), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5339] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(637), 2,
      anon_sym_RBRACE,
      anon_sym_on,
  [5348] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(639), 2,
      anon_sym_RBRACE,
      sym_time,
  [5357] = 3,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    STATE(186), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5368] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(641), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [5377] = 3,
    ACTIONS(643), 1,
      sym_identifier,
    ACTIONS(645), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5388] = 3,
    ACTIONS(568), 1,
      anon_sym_RBRACE,
    ACTIONS(643), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5399] = 3,
    ACTIONS(643), 1,
      sym_identifier,
    ACTIONS(647), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5410] = 3,
    ACTIONS(601), 1,
      anon_sym_RBRACE,
    ACTIONS(643), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5421] = 3,
    ACTIONS(649), 1,
      anon_sym_COLON_COLON,
    ACTIONS(651), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5432] = 3,
    ACTIONS(617), 1,
      anon_sym_LBRACE,
    ACTIONS(643), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5443] = 3,
    ACTIONS(653), 1,
      anon_sym_LBRACE,
    ACTIONS(655), 1,
      anon_sym_strict,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5454] = 3,
    ACTIONS(657), 1,
      sym_identifier,
    STATE(203), 1,
      sym_path_segments,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5465] = 3,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    STATE(94), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5476] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(659), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [5485] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(585), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [5494] = 3,
    ACTIONS(663), 1,
      aux_sym_prose_block_token1,
    ACTIONS(665), 1,
      sym_prose_content,
    ACTIONS(661), 2,
      sym_line_comment,
      sym_block_comment,
  [5505] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(592), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [5514] = 3,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    STATE(76), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5525] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(667), 2,
      anon_sym_LBRACE,
      anon_sym_LPAREN,
  [5534] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(669), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [5543] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(671), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [5552] = 3,
    ACTIONS(673), 1,
      anon_sym_LBRACE,
    ACTIONS(675), 1,
      anon_sym_STAR,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5563] = 3,
    ACTIONS(677), 1,
      sym_identifier,
    ACTIONS(679), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5574] = 3,
    ACTIONS(681), 1,
      sym_identifier,
    ACTIONS(683), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5585] = 3,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    STATE(196), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5596] = 3,
    ACTIONS(685), 1,
      sym_integer,
    ACTIONS(687), 1,
      sym_duration,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5607] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(570), 2,
      anon_sym_COLON,
      anon_sym_DOT,
  [5616] = 3,
    ACTIONS(643), 1,
      sym_identifier,
    ACTIONS(689), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5627] = 3,
    ACTIONS(80), 1,
      anon_sym_LBRACE,
    STATE(99), 1,
      sym_block,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5638] = 2,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
    ACTIONS(691), 2,
      anon_sym_RBRACE,
      anon_sym_state,
  [5647] = 2,
    ACTIONS(693), 1,
      anon_sym_LPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5655] = 2,
    ACTIONS(695), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5663] = 2,
    ACTIONS(697), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5671] = 2,
    ACTIONS(699), 1,
      anon_sym_LPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5679] = 2,
    ACTIONS(701), 1,
      sym_prose_marker,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5687] = 2,
    ACTIONS(703), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5695] = 2,
    ACTIONS(705), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5703] = 2,
    ACTIONS(707), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5711] = 2,
    ACTIONS(709), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5719] = 2,
    ACTIONS(711), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5727] = 2,
    ACTIONS(713), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5735] = 2,
    ACTIONS(715), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5743] = 2,
    ACTIONS(717), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5751] = 2,
    ACTIONS(719), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5759] = 2,
    ACTIONS(721), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5767] = 2,
    ACTIONS(723), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5775] = 2,
    ACTIONS(725), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5783] = 2,
    ACTIONS(727), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5791] = 2,
    ACTIONS(729), 1,
      anon_sym_COLON,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5799] = 2,
    ACTIONS(731), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5807] = 2,
    ACTIONS(733), 1,
      anon_sym_DASH_GT,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5815] = 2,
    ACTIONS(735), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5823] = 2,
    ACTIONS(737), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5831] = 2,
    ACTIONS(739), 1,
      sym_prose_marker,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5839] = 2,
    ACTIONS(741), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5847] = 2,
    ACTIONS(743), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5855] = 2,
    ACTIONS(745), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5863] = 2,
    ACTIONS(747), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5871] = 2,
    ACTIONS(749), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5879] = 2,
    ACTIONS(751), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5887] = 2,
    ACTIONS(753), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5895] = 2,
    ACTIONS(755), 1,
      sym_integer,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5903] = 2,
    ACTIONS(757), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5911] = 2,
    ACTIONS(759), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5919] = 2,
    ACTIONS(761), 1,
      sym_prose_content,
    ACTIONS(661), 2,
      sym_line_comment,
      sym_block_comment,
  [5927] = 2,
    ACTIONS(763), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5935] = 2,
    ACTIONS(765), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5943] = 2,
    ACTIONS(767), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5951] = 2,
    ACTIONS(769), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5959] = 2,
    ACTIONS(771), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5967] = 2,
    ACTIONS(643), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5975] = 2,
    ACTIONS(773), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5983] = 2,
    ACTIONS(775), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5991] = 2,
    ACTIONS(777), 1,
      sym_float,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [5999] = 2,
    ACTIONS(779), 1,
      ts_builtin_sym_end,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6007] = 2,
    ACTIONS(777), 1,
      sym_integer,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6015] = 2,
    ACTIONS(781), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6023] = 2,
    ACTIONS(783), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6031] = 2,
    ACTIONS(785), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6039] = 2,
    ACTIONS(787), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6047] = 2,
    ACTIONS(789), 1,
      anon_sym_RBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6055] = 2,
    ACTIONS(791), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6063] = 2,
    ACTIONS(793), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6071] = 2,
    ACTIONS(795), 1,
      anon_sym_LBRACE,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6079] = 2,
    ACTIONS(797), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6087] = 2,
    ACTIONS(799), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6095] = 2,
    ACTIONS(801), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6103] = 2,
    ACTIONS(803), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6111] = 2,
    ACTIONS(805), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6119] = 2,
    ACTIONS(807), 1,
      sym_time,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6127] = 2,
    ACTIONS(635), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6135] = 2,
    ACTIONS(809), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6143] = 2,
    ACTIONS(811), 1,
      sym_identifier,
    ACTIONS(3), 2,
      sym_line_comment,
      sym_block_comment,
  [6151] = 2,
    ACTIONS(813), 1,
      sym_identifier,
    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)] = 50,
  [SMALL_STATE(4)] = 99,
  [SMALL_STATE(5)] = 148,
  [SMALL_STATE(6)] = 193,
  [SMALL_STATE(7)] = 237,
  [SMALL_STATE(8)] = 281,
  [SMALL_STATE(9)] = 324,
  [SMALL_STATE(10)] = 365,
  [SMALL_STATE(11)] = 425,
  [SMALL_STATE(12)] = 485,
  [SMALL_STATE(13)] = 547,
  [SMALL_STATE(14)] = 605,
  [SMALL_STATE(15)] = 667,
  [SMALL_STATE(16)] = 725,
  [SMALL_STATE(17)] = 787,
  [SMALL_STATE(18)] = 822,
  [SMALL_STATE(19)] = 873,
  [SMALL_STATE(20)] = 924,
  [SMALL_STATE(21)] = 975,
  [SMALL_STATE(22)] = 1026,
  [SMALL_STATE(23)] = 1085,
  [SMALL_STATE(24)] = 1120,
  [SMALL_STATE(25)] = 1171,
  [SMALL_STATE(26)] = 1203,
  [SMALL_STATE(27)] = 1251,
  [SMALL_STATE(28)] = 1283,
  [SMALL_STATE(29)] = 1339,
  [SMALL_STATE(30)] = 1371,
  [SMALL_STATE(31)] = 1403,
  [SMALL_STATE(32)] = 1435,
  [SMALL_STATE(33)] = 1483,
  [SMALL_STATE(34)] = 1531,
  [SMALL_STATE(35)] = 1563,
  [SMALL_STATE(36)] = 1595,
  [SMALL_STATE(37)] = 1651,
  [SMALL_STATE(38)] = 1683,
  [SMALL_STATE(39)] = 1715,
  [SMALL_STATE(40)] = 1763,
  [SMALL_STATE(41)] = 1795,
  [SMALL_STATE(42)] = 1827,
  [SMALL_STATE(43)] = 1883,
  [SMALL_STATE(44)] = 1930,
  [SMALL_STATE(45)] = 1983,
  [SMALL_STATE(46)] = 2036,
  [SMALL_STATE(47)] = 2077,
  [SMALL_STATE(48)] = 2130,
  [SMALL_STATE(49)] = 2177,
  [SMALL_STATE(50)] = 2224,
  [SMALL_STATE(51)] = 2253,
  [SMALL_STATE(52)] = 2298,
  [SMALL_STATE(53)] = 2327,
  [SMALL_STATE(54)] = 2369,
  [SMALL_STATE(55)] = 2411,
  [SMALL_STATE(56)] = 2453,
  [SMALL_STATE(57)] = 2495,
  [SMALL_STATE(58)] = 2537,
  [SMALL_STATE(59)] = 2579,
  [SMALL_STATE(60)] = 2621,
  [SMALL_STATE(61)] = 2647,
  [SMALL_STATE(62)] = 2673,
  [SMALL_STATE(63)] = 2696,
  [SMALL_STATE(64)] = 2719,
  [SMALL_STATE(65)] = 2742,
  [SMALL_STATE(66)] = 2765,
  [SMALL_STATE(67)] = 2788,
  [SMALL_STATE(68)] = 2811,
  [SMALL_STATE(69)] = 2834,
  [SMALL_STATE(70)] = 2857,
  [SMALL_STATE(71)] = 2880,
  [SMALL_STATE(72)] = 2903,
  [SMALL_STATE(73)] = 2926,
  [SMALL_STATE(74)] = 2949,
  [SMALL_STATE(75)] = 2972,
  [SMALL_STATE(76)] = 2995,
  [SMALL_STATE(77)] = 3014,
  [SMALL_STATE(78)] = 3033,
  [SMALL_STATE(79)] = 3052,
  [SMALL_STATE(80)] = 3071,
  [SMALL_STATE(81)] = 3090,
  [SMALL_STATE(82)] = 3109,
  [SMALL_STATE(83)] = 3128,
  [SMALL_STATE(84)] = 3147,
  [SMALL_STATE(85)] = 3166,
  [SMALL_STATE(86)] = 3185,
  [SMALL_STATE(87)] = 3204,
  [SMALL_STATE(88)] = 3223,
  [SMALL_STATE(89)] = 3242,
  [SMALL_STATE(90)] = 3261,
  [SMALL_STATE(91)] = 3280,
  [SMALL_STATE(92)] = 3299,
  [SMALL_STATE(93)] = 3318,
  [SMALL_STATE(94)] = 3337,
  [SMALL_STATE(95)] = 3356,
  [SMALL_STATE(96)] = 3375,
  [SMALL_STATE(97)] = 3394,
  [SMALL_STATE(98)] = 3413,
  [SMALL_STATE(99)] = 3432,
  [SMALL_STATE(100)] = 3451,
  [SMALL_STATE(101)] = 3470,
  [SMALL_STATE(102)] = 3489,
  [SMALL_STATE(103)] = 3508,
  [SMALL_STATE(104)] = 3527,
  [SMALL_STATE(105)] = 3546,
  [SMALL_STATE(106)] = 3565,
  [SMALL_STATE(107)] = 3584,
  [SMALL_STATE(108)] = 3603,
  [SMALL_STATE(109)] = 3637,
  [SMALL_STATE(110)] = 3671,
  [SMALL_STATE(111)] = 3690,
  [SMALL_STATE(112)] = 3713,
  [SMALL_STATE(113)] = 3744,
  [SMALL_STATE(114)] = 3775,
  [SMALL_STATE(115)] = 3808,
  [SMALL_STATE(116)] = 3839,
  [SMALL_STATE(117)] = 3872,
  [SMALL_STATE(118)] = 3903,
  [SMALL_STATE(119)] = 3934,
  [SMALL_STATE(120)] = 3953,
  [SMALL_STATE(121)] = 3984,
  [SMALL_STATE(122)] = 4015,
  [SMALL_STATE(123)] = 4046,
  [SMALL_STATE(124)] = 4077,
  [SMALL_STATE(125)] = 4096,
  [SMALL_STATE(126)] = 4127,
  [SMALL_STATE(127)] = 4152,
  [SMALL_STATE(128)] = 4175,
  [SMALL_STATE(129)] = 4206,
  [SMALL_STATE(130)] = 4227,
  [SMALL_STATE(131)] = 4260,
  [SMALL_STATE(132)] = 4291,
  [SMALL_STATE(133)] = 4322,
  [SMALL_STATE(134)] = 4348,
  [SMALL_STATE(135)] = 4374,
  [SMALL_STATE(136)] = 4400,
  [SMALL_STATE(137)] = 4426,
  [SMALL_STATE(138)] = 4450,
  [SMALL_STATE(139)] = 4472,
  [SMALL_STATE(140)] = 4496,
  [SMALL_STATE(141)] = 4520,
  [SMALL_STATE(142)] = 4544,
  [SMALL_STATE(143)] = 4568,
  [SMALL_STATE(144)] = 4592,
  [SMALL_STATE(145)] = 4616,
  [SMALL_STATE(146)] = 4640,
  [SMALL_STATE(147)] = 4659,
  [SMALL_STATE(148)] = 4677,
  [SMALL_STATE(149)] = 4697,
  [SMALL_STATE(150)] = 4717,
  [SMALL_STATE(151)] = 4737,
  [SMALL_STATE(152)] = 4751,
  [SMALL_STATE(153)] = 4765,
  [SMALL_STATE(154)] = 4780,
  [SMALL_STATE(155)] = 4795,
  [SMALL_STATE(156)] = 4810,
  [SMALL_STATE(157)] = 4823,
  [SMALL_STATE(158)] = 4838,
  [SMALL_STATE(159)] = 4853,
  [SMALL_STATE(160)] = 4870,
  [SMALL_STATE(161)] = 4885,
  [SMALL_STATE(162)] = 4900,
  [SMALL_STATE(163)] = 4913,
  [SMALL_STATE(164)] = 4928,
  [SMALL_STATE(165)] = 4943,
  [SMALL_STATE(166)] = 4958,
  [SMALL_STATE(167)] = 4973,
  [SMALL_STATE(168)] = 4987,
  [SMALL_STATE(169)] = 5001,
  [SMALL_STATE(170)] = 5015,
  [SMALL_STATE(171)] = 5029,
  [SMALL_STATE(172)] = 5043,
  [SMALL_STATE(173)] = 5057,
  [SMALL_STATE(174)] = 5071,
  [SMALL_STATE(175)] = 5085,
  [SMALL_STATE(176)] = 5095,
  [SMALL_STATE(177)] = 5109,
  [SMALL_STATE(178)] = 5123,
  [SMALL_STATE(179)] = 5133,
  [SMALL_STATE(180)] = 5147,
  [SMALL_STATE(181)] = 5161,
  [SMALL_STATE(182)] = 5175,
  [SMALL_STATE(183)] = 5189,
  [SMALL_STATE(184)] = 5203,
  [SMALL_STATE(185)] = 5217,
  [SMALL_STATE(186)] = 5231,
  [SMALL_STATE(187)] = 5241,
  [SMALL_STATE(188)] = 5255,
  [SMALL_STATE(189)] = 5269,
  [SMALL_STATE(190)] = 5283,
  [SMALL_STATE(191)] = 5297,
  [SMALL_STATE(192)] = 5308,
  [SMALL_STATE(193)] = 5319,
  [SMALL_STATE(194)] = 5328,
  [SMALL_STATE(195)] = 5339,
  [SMALL_STATE(196)] = 5348,
  [SMALL_STATE(197)] = 5357,
  [SMALL_STATE(198)] = 5368,
  [SMALL_STATE(199)] = 5377,
  [SMALL_STATE(200)] = 5388,
  [SMALL_STATE(201)] = 5399,
  [SMALL_STATE(202)] = 5410,
  [SMALL_STATE(203)] = 5421,
  [SMALL_STATE(204)] = 5432,
  [SMALL_STATE(205)] = 5443,
  [SMALL_STATE(206)] = 5454,
  [SMALL_STATE(207)] = 5465,
  [SMALL_STATE(208)] = 5476,
  [SMALL_STATE(209)] = 5485,
  [SMALL_STATE(210)] = 5494,
  [SMALL_STATE(211)] = 5505,
  [SMALL_STATE(212)] = 5514,
  [SMALL_STATE(213)] = 5525,
  [SMALL_STATE(214)] = 5534,
  [SMALL_STATE(215)] = 5543,
  [SMALL_STATE(216)] = 5552,
  [SMALL_STATE(217)] = 5563,
  [SMALL_STATE(218)] = 5574,
  [SMALL_STATE(219)] = 5585,
  [SMALL_STATE(220)] = 5596,
  [SMALL_STATE(221)] = 5607,
  [SMALL_STATE(222)] = 5616,
  [SMALL_STATE(223)] = 5627,
  [SMALL_STATE(224)] = 5638,
  [SMALL_STATE(225)] = 5647,
  [SMALL_STATE(226)] = 5655,
  [SMALL_STATE(227)] = 5663,
  [SMALL_STATE(228)] = 5671,
  [SMALL_STATE(229)] = 5679,
  [SMALL_STATE(230)] = 5687,
  [SMALL_STATE(231)] = 5695,
  [SMALL_STATE(232)] = 5703,
  [SMALL_STATE(233)] = 5711,
  [SMALL_STATE(234)] = 5719,
  [SMALL_STATE(235)] = 5727,
  [SMALL_STATE(236)] = 5735,
  [SMALL_STATE(237)] = 5743,
  [SMALL_STATE(238)] = 5751,
  [SMALL_STATE(239)] = 5759,
  [SMALL_STATE(240)] = 5767,
  [SMALL_STATE(241)] = 5775,
  [SMALL_STATE(242)] = 5783,
  [SMALL_STATE(243)] = 5791,
  [SMALL_STATE(244)] = 5799,
  [SMALL_STATE(245)] = 5807,
  [SMALL_STATE(246)] = 5815,
  [SMALL_STATE(247)] = 5823,
  [SMALL_STATE(248)] = 5831,
  [SMALL_STATE(249)] = 5839,
  [SMALL_STATE(250)] = 5847,
  [SMALL_STATE(251)] = 5855,
  [SMALL_STATE(252)] = 5863,
  [SMALL_STATE(253)] = 5871,
  [SMALL_STATE(254)] = 5879,
  [SMALL_STATE(255)] = 5887,
  [SMALL_STATE(256)] = 5895,
  [SMALL_STATE(257)] = 5903,
  [SMALL_STATE(258)] = 5911,
  [SMALL_STATE(259)] = 5919,
  [SMALL_STATE(260)] = 5927,
  [SMALL_STATE(261)] = 5935,
  [SMALL_STATE(262)] = 5943,
  [SMALL_STATE(263)] = 5951,
  [SMALL_STATE(264)] = 5959,
  [SMALL_STATE(265)] = 5967,
  [SMALL_STATE(266)] = 5975,
  [SMALL_STATE(267)] = 5983,
  [SMALL_STATE(268)] = 5991,
  [SMALL_STATE(269)] = 5999,
  [SMALL_STATE(270)] = 6007,
  [SMALL_STATE(271)] = 6015,
  [SMALL_STATE(272)] = 6023,
  [SMALL_STATE(273)] = 6031,
  [SMALL_STATE(274)] = 6039,
  [SMALL_STATE(275)] = 6047,
  [SMALL_STATE(276)] = 6055,
  [SMALL_STATE(277)] = 6063,
  [SMALL_STATE(278)] = 6071,
  [SMALL_STATE(279)] = 6079,
  [SMALL_STATE(280)] = 6087,
  [SMALL_STATE(281)] = 6095,
  [SMALL_STATE(282)] = 6103,
  [SMALL_STATE(283)] = 6111,
  [SMALL_STATE(284)] = 6119,
  [SMALL_STATE(285)] = 6127,
  [SMALL_STATE(286)] = 6135,
  [SMALL_STATE(287)] = 6143,
  [SMALL_STATE(288)] = 6151,
};

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),
  [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287),
  [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286),
  [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283),
  [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282),
  [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281),
  [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280),
  [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279),
  [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277),
  [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276),
  [29] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_path_segments_repeat1, 2),
  [31] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_segments_repeat1, 2), SHIFT_REPEAT(250),
  [34] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_path_segments_repeat1, 2),
  [36] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path_segments, 2),
  [38] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250),
  [40] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path_segments, 2),
  [42] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path_segments, 1),
  [44] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path_segments, 1),
  [46] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3),
  [48] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3),
  [50] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 2),
  [52] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 2),
  [54] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path, 1),
  [56] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path, 1),
  [58] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1),
  [60] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1),
  [62] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148),
  [64] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167),
  [66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235),
  [68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218),
  [70] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217),
  [72] = {.entry = {.count = 1, .reusable = false}}, SHIFT(228),
  [74] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225),
  [76] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213),
  [78] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133),
  [80] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
  [82] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17),
  [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
  [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
  [88] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
  [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
  [92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
  [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64),
  [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2),
  [98] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(206),
  [101] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(288),
  [104] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(287),
  [107] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(286),
  [110] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(283),
  [113] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(282),
  [116] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(281),
  [119] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(280),
  [122] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(279),
  [125] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(277),
  [128] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(276),
  [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
  [133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1),
  [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
  [137] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1),
  [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1),
  [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270),
  [143] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60),
  [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
  [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
  [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
  [151] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2), SHIFT_REPEAT(60),
  [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_selector_node_repeat1, 2),
  [156] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2), SHIFT_REPEAT(167),
  [159] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2), SHIFT_REPEAT(218),
  [162] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2), SHIFT_REPEAT(217),
  [165] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2), SHIFT_REPEAT(228),
  [168] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2), SHIFT_REPEAT(225),
  [171] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_selector_node_repeat1, 2), SHIFT_REPEAT(213),
  [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268),
  [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
  [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prose_block, 5, .production_id = 12),
  [180] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prose_block, 5, .production_id = 12),
  [182] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3),
  [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3),
  [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4),
  [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
  [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_object, 1),
  [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_object, 1),
  [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override, 5),
  [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override, 5),
  [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range, 3),
  [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range, 3),
  [202] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prose_block, 4, .production_id = 9),
  [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prose_block, 4, .production_id = 9),
  [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
  [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2),
  [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2),
  [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override, 4),
  [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override, 4),
  [216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 5),
  [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 5),
  [220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 4),
  [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 4),
  [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
  [226] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat2, 2), SHIFT_REPEAT(180),
  [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_template_repeat2, 2),
  [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_template_repeat2, 2),
  [233] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_template_repeat2, 2), SHIFT_REPEAT(235),
  [236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 3, .production_id = 6),
  [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 3, .production_id = 6),
  [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110),
  [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110),
  [244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192),
  [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58),
  [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 1),
  [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 1),
  [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 1),
  [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 1),
  [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
  [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_condition_node, 4, .production_id = 10),
  [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
  [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition_node, 4, .production_id = 10),
  [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 3),
  [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 3),
  [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 6),
  [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 6),
  [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subtree_node, 2),
  [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subtree_node, 2),
  [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_node, 4, .production_id = 11),
  [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_node, 4, .production_id = 11),
  [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_selector_node, 5, .production_id = 13),
  [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_selector_node, 5, .production_id = 13),
  [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_node, 5, .production_id = 13),
  [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_node, 5, .production_id = 13),
  [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 4),
  [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 4),
  [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_selector_node, 4),
  [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_selector_node, 4),
  [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_action_node, 5),
  [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_node, 5),
  [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_decorator_node, 5, .production_id = 15),
  [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_node, 5, .production_id = 15),
  [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_behavior_node, 1),
  [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_behavior_node, 1),
  [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_decorator_node, 7, .production_id = 18),
  [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_decorator_node, 7, .production_id = 18),
  [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sequence_node, 4),
  [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_node, 4),
  [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location, 3, .production_id = 2),
  [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 5),
  [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule, 4, .production_id = 2),
  [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule, 6, .production_id = 2),
  [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 5, .production_id = 2),
  [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 9),
  [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 7, .production_id = 2),
  [330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species, 5, .production_id = 2),
  [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relationship, 5, .production_id = 2),
  [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_behavior, 6, .production_id = 8),
  [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc, 4, .production_id = 2),
  [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relationship, 6, .production_id = 2),
  [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species, 4, .production_id = 2),
  [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc, 5, .production_id = 2),
  [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 8),
  [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1),
  [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_behavior, 5, .production_id = 5),
  [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_life_arc, 6, .production_id = 2),
  [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character, 6, .production_id = 7),
  [354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_institution, 3, .production_id = 2),
  [356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template, 7, .production_id = 2),
  [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 3),
  [360] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template, 4, .production_id = 2),
  [362] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character, 4, .production_id = 3),
  [364] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template, 6, .production_id = 2),
  [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character, 5, .production_id = 4),
  [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_character, 3, .production_id = 1),
  [370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use_declaration, 7),
  [372] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enum_declaration, 6, .production_id = 2),
  [374] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template, 5, .production_id = 2),
  [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule, 5, .production_id = 2),
  [378] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_species, 6, .production_id = 2),
  [380] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180),
  [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208),
  [384] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51),
  [386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
  [388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
  [390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primary_expression, 1),
  [392] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_primary_expression, 1),
  [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254),
  [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_not_expression, 2),
  [398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
  [400] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59),
  [402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
  [404] = {.entry = {.count = 1, .reusable = false}}, SHIFT(242),
  [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198),
  [408] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53),
  [410] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_override_repeat1, 2), SHIFT_REPEAT(180),
  [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_override_repeat1, 2),
  [415] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_override_repeat1, 2), SHIFT_REPEAT(266),
  [418] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_override_repeat1, 2), SHIFT_REPEAT(150),
  [421] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_override_repeat1, 2), SHIFT_REPEAT(235),
  [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
  [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
  [428] = {.entry = {.count = 1, .reusable = false}}, SHIFT(266),
  [430] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150),
  [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
  [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1),
  [436] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1),
  [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
  [440] = {.entry = {.count = 1, .reusable = false}}, SHIFT(244),
  [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180),
  [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
  [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245),
  [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
  [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
  [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_access, 3),
  [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field_access, 3),
  [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224),
  [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_or_expression, 3),
  [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
  [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_and_expression, 3),
  [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comparison, 3, .production_id = 14),
  [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comparison, 3, .production_id = 14),
  [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
  [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
  [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
  [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_dotted_path, 1),
  [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264),
  [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
  [480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
  [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271),
  [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
  [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
  [488] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_relationship_repeat1, 2), SHIFT_REPEAT(4),
  [491] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_relationship_repeat1, 2),
  [493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
  [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
  [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
  [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [501] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2),
  [503] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_template_repeat1, 2),
  [505] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2), SHIFT_REPEAT(242),
  [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [510] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dotted_path, 1),
  [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247),
  [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246),
  [516] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override_op, 1),
  [518] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override_op, 1),
  [520] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_override_op, 2),
  [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_override_op, 2),
  [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193),
  [528] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_on_enter, 3),
  [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_on_enter, 3),
  [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_arc_state_repeat1, 2),
  [534] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_arc_state_repeat1, 2), SHIFT_REPEAT(53),
  [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_use_declaration_repeat1, 2),
  [539] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_use_declaration_repeat1, 2), SHIFT_REPEAT(265),
  [542] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244),
  [544] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_include, 2),
  [546] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_include, 2),
  [548] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_life_arc_repeat1, 2),
  [550] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_life_arc_repeat1, 2), SHIFT_REPEAT(244),
  [553] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_schedule_repeat1, 2),
  [555] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_schedule_repeat1, 2), SHIFT_REPEAT(245),
  [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
  [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
  [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
  [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
  [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272),
  [570] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_dotted_path_repeat1, 2),
  [572] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_dotted_path_repeat1, 2), SHIFT_REPEAT(264),
  [575] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_path_segments, 1), SHIFT(250),
  [578] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_clause, 2),
  [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204),
  [582] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(44),
  [585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2),
  [587] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_participant, 2),
  [589] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_action_node_repeat1, 2), SHIFT_REPEAT(22),
  [592] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_action_node_repeat1, 2),
  [594] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_path_segments, 2), SHIFT(250),
  [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
  [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199),
  [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
  [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202),
  [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
  [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
  [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69),
  [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231),
  [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_participant, 4),
  [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_clause, 3),
  [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222),
  [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
  [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220),
  [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200),
  [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273),
  [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dotted_path, 2),
  [631] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arc_state, 7, .production_id = 2),
  [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256),
  [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227),
  [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_transition, 4, .production_id = 17),
  [639] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_schedule_block, 6, .production_id = 16),
  [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arc_state, 6, .production_id = 2),
  [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178),
  [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
  [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232),
  [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216),
  [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
  [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
  [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241),
  [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [659] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arc_state, 4, .production_id = 2),
  [661] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(),
  [663] = {.entry = {.count = 1, .reusable = false}}, SHIFT(259),
  [665] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248),
  [667] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_keyword, 1),
  [669] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_param, 3),
  [671] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action_param, 1),
  [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238),
  [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236),
  [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237),
  [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
  [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234),
  [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
  [685] = {.entry = {.count = 1, .reusable = false}}, SHIFT(194),
  [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285),
  [689] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_clause, 4),
  [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arc_state, 5, .production_id = 2),
  [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
  [697] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_params, 3),
  [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
  [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
  [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
  [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
  [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
  [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
  [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
  [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210),
  [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
  [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
  [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189),
  [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183),
  [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
  [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
  [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262),
  [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274),
  [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284),
  [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
  [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159),
  [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
  [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
  [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239),
  [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
  [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
  [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [753] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
  [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258),
  [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
  [759] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278),
  [761] = {.entry = {.count = 1, .reusable = false}}, SHIFT(229),
  [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
  [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
  [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219),
  [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
  [771] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221),
  [773] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152),
  [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
  [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
  [779] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
  [783] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
  [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
  [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
  [789] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
  [791] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251),
  [793] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252),
  [795] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_decorator_params, 5),
  [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212),
  [799] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226),
  [801] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191),
  [803] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260),
  [805] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261),
  [807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243),
  [809] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263),
  [811] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
  [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
};

#ifdef __cplusplus
extern "C" {
#endif
#ifdef _WIN32
#define extern __declspec(dllexport)
#endif

extern const TSLanguage *tree_sitter_storybook(void) {
  static const TSLanguage language = {
    .version = LANGUAGE_VERSION,
    .symbol_count = SYMBOL_COUNT,
    .alias_count = ALIAS_COUNT,
    .token_count = TOKEN_COUNT,
    .external_token_count = EXTERNAL_TOKEN_COUNT,
    .state_count = STATE_COUNT,
    .large_state_count = LARGE_STATE_COUNT,
    .production_id_count = PRODUCTION_ID_COUNT,
    .field_count = FIELD_COUNT,
    .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
    .parse_table = &ts_parse_table[0][0],
    .small_parse_table = ts_small_parse_table,
    .small_parse_table_map = ts_small_parse_table_map,
    .parse_actions = ts_parse_actions,
    .symbol_names = ts_symbol_names,
    .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 = 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,
  };
  return &language;
}
#ifdef __cplusplus
}
#endif
