/* Automatically @generated by tree-sitter */

#include "tree_sitter/parser.h"

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

#define LANGUAGE_VERSION 15
#define STATE_COUNT 611
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 113
#define ALIAS_COUNT 0
#define TOKEN_COUNT 57
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 0
#define MAX_ALIAS_SEQUENCE_LENGTH 8
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 1
#define SUPERTYPE_COUNT 0

enum ts_symbol_identifiers {
  sym_identifier = 1,
  anon_sym_LPAREN = 2,
  anon_sym_RPAREN = 3,
  anon_sym_SEMI = 4,
  anon_sym_template = 5,
  anon_sym_COMMA = 6,
  anon_sym_EQ_GT = 7,
  anon_sym_permit = 8,
  anon_sym_forbid = 9,
  anon_sym_AT = 10,
  anon_sym_principal = 11,
  anon_sym_action = 12,
  anon_sym_resource = 13,
  anon_sym_EQ_EQ = 14,
  anon_sym_in = 15,
  anon_sym_is = 16,
  anon_sym_when = 17,
  anon_sym_unless = 18,
  anon_sym_LBRACE = 19,
  anon_sym_RBRACE = 20,
  anon_sym_if = 21,
  anon_sym_then = 22,
  anon_sym_else = 23,
  anon_sym_PIPE_PIPE = 24,
  anon_sym_PIPE = 25,
  anon_sym_AMP_AMP = 26,
  anon_sym_AMP = 27,
  anon_sym_BANG_EQ = 28,
  anon_sym_LT = 29,
  anon_sym_LT_EQ = 30,
  anon_sym_GT = 31,
  anon_sym_GT_EQ = 32,
  anon_sym_EQ = 33,
  anon_sym_has = 34,
  anon_sym_like = 35,
  anon_sym_PLUS = 36,
  anon_sym_DASH = 37,
  anon_sym_STAR = 38,
  anon_sym_SLASH = 39,
  anon_sym_PERCENT = 40,
  anon_sym_BANG = 41,
  anon_sym_DOT = 42,
  anon_sym_LBRACK = 43,
  anon_sym_RBRACK = 44,
  anon_sym_COLON = 45,
  anon_sym_COLON_COLON = 46,
  anon_sym_QMARK = 47,
  anon_sym_context = 48,
  sym_true = 49,
  sym_false = 50,
  sym_integer = 51,
  sym_string_content = 52,
  anon_sym_DQUOTE = 53,
  anon_sym_DQUOTE2 = 54,
  sym_escape_sequence = 55,
  sym_comment = 56,
  sym_policy_set = 57,
  sym_policy = 58,
  sym_template_declaration = 59,
  sym_effect = 60,
  sym_annotation = 61,
  sym_scope = 62,
  sym_principal = 63,
  sym_action = 64,
  sym_resource = 65,
  sym_scope_constraint = 66,
  sym_condition = 67,
  sym_expression = 68,
  sym_if_expression = 69,
  sym_or_expression = 70,
  sym_and_expression = 71,
  sym_relation_expression = 72,
  sym__add_expression = 73,
  sym__multiply_expression = 74,
  sym_unary_expression = 75,
  sym_member_expression = 76,
  sym__accessor = 77,
  sym_field_access = 78,
  sym_method_call = 79,
  sym_index_access = 80,
  sym__primary = 81,
  sym_extension_call = 82,
  sym_parenthesized_expression = 83,
  sym_list_expression = 84,
  sym_record_expression = 85,
  sym_record_entry = 86,
  sym_entity_reference = 87,
  sym_entity_record = 88,
  sym_ref_init = 89,
  sym__literal = 90,
  sym_entity_list = 91,
  sym_name = 92,
  sym_slot = 93,
  sym_type_reference = 94,
  sym_variable = 95,
  sym_string = 96,
  aux_sym_policy_set_repeat1 = 97,
  aux_sym_policy_repeat1 = 98,
  aux_sym_policy_repeat2 = 99,
  aux_sym_template_declaration_repeat1 = 100,
  aux_sym_or_expression_repeat1 = 101,
  aux_sym_and_expression_repeat1 = 102,
  aux_sym__add_expression_repeat1 = 103,
  aux_sym__multiply_expression_repeat1 = 104,
  aux_sym_member_expression_repeat1 = 105,
  aux_sym_method_call_repeat1 = 106,
  aux_sym_record_expression_repeat1 = 107,
  aux_sym_entity_reference_repeat1 = 108,
  aux_sym_entity_record_repeat1 = 109,
  aux_sym_entity_list_repeat1 = 110,
  aux_sym_type_reference_repeat1 = 111,
  aux_sym_string_repeat1 = 112,
};

static const char * const ts_symbol_names[] = {
  [ts_builtin_sym_end] = "end",
  [sym_identifier] = "identifier",
  [anon_sym_LPAREN] = "(",
  [anon_sym_RPAREN] = ")",
  [anon_sym_SEMI] = ";",
  [anon_sym_template] = "template",
  [anon_sym_COMMA] = ",",
  [anon_sym_EQ_GT] = "=>",
  [anon_sym_permit] = "permit",
  [anon_sym_forbid] = "forbid",
  [anon_sym_AT] = "@",
  [anon_sym_principal] = "principal",
  [anon_sym_action] = "action",
  [anon_sym_resource] = "resource",
  [anon_sym_EQ_EQ] = "==",
  [anon_sym_in] = "in",
  [anon_sym_is] = "is",
  [anon_sym_when] = "when",
  [anon_sym_unless] = "unless",
  [anon_sym_LBRACE] = "{",
  [anon_sym_RBRACE] = "}",
  [anon_sym_if] = "if",
  [anon_sym_then] = "then",
  [anon_sym_else] = "else",
  [anon_sym_PIPE_PIPE] = "||",
  [anon_sym_PIPE] = "|",
  [anon_sym_AMP_AMP] = "&&",
  [anon_sym_AMP] = "&",
  [anon_sym_BANG_EQ] = "!=",
  [anon_sym_LT] = "<",
  [anon_sym_LT_EQ] = "<=",
  [anon_sym_GT] = ">",
  [anon_sym_GT_EQ] = ">=",
  [anon_sym_EQ] = "=",
  [anon_sym_has] = "has",
  [anon_sym_like] = "like",
  [anon_sym_PLUS] = "+",
  [anon_sym_DASH] = "-",
  [anon_sym_STAR] = "*",
  [anon_sym_SLASH] = "/",
  [anon_sym_PERCENT] = "%",
  [anon_sym_BANG] = "!",
  [anon_sym_DOT] = ".",
  [anon_sym_LBRACK] = "[",
  [anon_sym_RBRACK] = "]",
  [anon_sym_COLON] = ":",
  [anon_sym_COLON_COLON] = "::",
  [anon_sym_QMARK] = "\?",
  [anon_sym_context] = "context",
  [sym_true] = "true",
  [sym_false] = "false",
  [sym_integer] = "integer",
  [sym_string_content] = "string_content",
  [anon_sym_DQUOTE] = "\"",
  [anon_sym_DQUOTE2] = "\"",
  [sym_escape_sequence] = "escape_sequence",
  [sym_comment] = "comment",
  [sym_policy_set] = "policy_set",
  [sym_policy] = "policy",
  [sym_template_declaration] = "template_declaration",
  [sym_effect] = "effect",
  [sym_annotation] = "annotation",
  [sym_scope] = "scope",
  [sym_principal] = "principal",
  [sym_action] = "action",
  [sym_resource] = "resource",
  [sym_scope_constraint] = "scope_constraint",
  [sym_condition] = "condition",
  [sym_expression] = "expression",
  [sym_if_expression] = "if_expression",
  [sym_or_expression] = "or_expression",
  [sym_and_expression] = "and_expression",
  [sym_relation_expression] = "relation_expression",
  [sym__add_expression] = "_add_expression",
  [sym__multiply_expression] = "_multiply_expression",
  [sym_unary_expression] = "unary_expression",
  [sym_member_expression] = "member_expression",
  [sym__accessor] = "_accessor",
  [sym_field_access] = "field_access",
  [sym_method_call] = "method_call",
  [sym_index_access] = "index_access",
  [sym__primary] = "_primary",
  [sym_extension_call] = "extension_call",
  [sym_parenthesized_expression] = "parenthesized_expression",
  [sym_list_expression] = "list_expression",
  [sym_record_expression] = "record_expression",
  [sym_record_entry] = "record_entry",
  [sym_entity_reference] = "entity_reference",
  [sym_entity_record] = "entity_record",
  [sym_ref_init] = "ref_init",
  [sym__literal] = "_literal",
  [sym_entity_list] = "entity_list",
  [sym_name] = "name",
  [sym_slot] = "slot",
  [sym_type_reference] = "type_reference",
  [sym_variable] = "variable",
  [sym_string] = "string",
  [aux_sym_policy_set_repeat1] = "policy_set_repeat1",
  [aux_sym_policy_repeat1] = "policy_repeat1",
  [aux_sym_policy_repeat2] = "policy_repeat2",
  [aux_sym_template_declaration_repeat1] = "template_declaration_repeat1",
  [aux_sym_or_expression_repeat1] = "or_expression_repeat1",
  [aux_sym_and_expression_repeat1] = "and_expression_repeat1",
  [aux_sym__add_expression_repeat1] = "_add_expression_repeat1",
  [aux_sym__multiply_expression_repeat1] = "_multiply_expression_repeat1",
  [aux_sym_member_expression_repeat1] = "member_expression_repeat1",
  [aux_sym_method_call_repeat1] = "method_call_repeat1",
  [aux_sym_record_expression_repeat1] = "record_expression_repeat1",
  [aux_sym_entity_reference_repeat1] = "entity_reference_repeat1",
  [aux_sym_entity_record_repeat1] = "entity_record_repeat1",
  [aux_sym_entity_list_repeat1] = "entity_list_repeat1",
  [aux_sym_type_reference_repeat1] = "type_reference_repeat1",
  [aux_sym_string_repeat1] = "string_repeat1",
};

static const TSSymbol ts_symbol_map[] = {
  [ts_builtin_sym_end] = ts_builtin_sym_end,
  [sym_identifier] = sym_identifier,
  [anon_sym_LPAREN] = anon_sym_LPAREN,
  [anon_sym_RPAREN] = anon_sym_RPAREN,
  [anon_sym_SEMI] = anon_sym_SEMI,
  [anon_sym_template] = anon_sym_template,
  [anon_sym_COMMA] = anon_sym_COMMA,
  [anon_sym_EQ_GT] = anon_sym_EQ_GT,
  [anon_sym_permit] = anon_sym_permit,
  [anon_sym_forbid] = anon_sym_forbid,
  [anon_sym_AT] = anon_sym_AT,
  [anon_sym_principal] = anon_sym_principal,
  [anon_sym_action] = anon_sym_action,
  [anon_sym_resource] = anon_sym_resource,
  [anon_sym_EQ_EQ] = anon_sym_EQ_EQ,
  [anon_sym_in] = anon_sym_in,
  [anon_sym_is] = anon_sym_is,
  [anon_sym_when] = anon_sym_when,
  [anon_sym_unless] = anon_sym_unless,
  [anon_sym_LBRACE] = anon_sym_LBRACE,
  [anon_sym_RBRACE] = anon_sym_RBRACE,
  [anon_sym_if] = anon_sym_if,
  [anon_sym_then] = anon_sym_then,
  [anon_sym_else] = anon_sym_else,
  [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE,
  [anon_sym_PIPE] = anon_sym_PIPE,
  [anon_sym_AMP_AMP] = anon_sym_AMP_AMP,
  [anon_sym_AMP] = anon_sym_AMP,
  [anon_sym_BANG_EQ] = anon_sym_BANG_EQ,
  [anon_sym_LT] = anon_sym_LT,
  [anon_sym_LT_EQ] = anon_sym_LT_EQ,
  [anon_sym_GT] = anon_sym_GT,
  [anon_sym_GT_EQ] = anon_sym_GT_EQ,
  [anon_sym_EQ] = anon_sym_EQ,
  [anon_sym_has] = anon_sym_has,
  [anon_sym_like] = anon_sym_like,
  [anon_sym_PLUS] = anon_sym_PLUS,
  [anon_sym_DASH] = anon_sym_DASH,
  [anon_sym_STAR] = anon_sym_STAR,
  [anon_sym_SLASH] = anon_sym_SLASH,
  [anon_sym_PERCENT] = anon_sym_PERCENT,
  [anon_sym_BANG] = anon_sym_BANG,
  [anon_sym_DOT] = anon_sym_DOT,
  [anon_sym_LBRACK] = anon_sym_LBRACK,
  [anon_sym_RBRACK] = anon_sym_RBRACK,
  [anon_sym_COLON] = anon_sym_COLON,
  [anon_sym_COLON_COLON] = anon_sym_COLON_COLON,
  [anon_sym_QMARK] = anon_sym_QMARK,
  [anon_sym_context] = anon_sym_context,
  [sym_true] = sym_true,
  [sym_false] = sym_false,
  [sym_integer] = sym_integer,
  [sym_string_content] = sym_string_content,
  [anon_sym_DQUOTE] = anon_sym_DQUOTE,
  [anon_sym_DQUOTE2] = anon_sym_DQUOTE,
  [sym_escape_sequence] = sym_escape_sequence,
  [sym_comment] = sym_comment,
  [sym_policy_set] = sym_policy_set,
  [sym_policy] = sym_policy,
  [sym_template_declaration] = sym_template_declaration,
  [sym_effect] = sym_effect,
  [sym_annotation] = sym_annotation,
  [sym_scope] = sym_scope,
  [sym_principal] = sym_principal,
  [sym_action] = sym_action,
  [sym_resource] = sym_resource,
  [sym_scope_constraint] = sym_scope_constraint,
  [sym_condition] = sym_condition,
  [sym_expression] = sym_expression,
  [sym_if_expression] = sym_if_expression,
  [sym_or_expression] = sym_or_expression,
  [sym_and_expression] = sym_and_expression,
  [sym_relation_expression] = sym_relation_expression,
  [sym__add_expression] = sym__add_expression,
  [sym__multiply_expression] = sym__multiply_expression,
  [sym_unary_expression] = sym_unary_expression,
  [sym_member_expression] = sym_member_expression,
  [sym__accessor] = sym__accessor,
  [sym_field_access] = sym_field_access,
  [sym_method_call] = sym_method_call,
  [sym_index_access] = sym_index_access,
  [sym__primary] = sym__primary,
  [sym_extension_call] = sym_extension_call,
  [sym_parenthesized_expression] = sym_parenthesized_expression,
  [sym_list_expression] = sym_list_expression,
  [sym_record_expression] = sym_record_expression,
  [sym_record_entry] = sym_record_entry,
  [sym_entity_reference] = sym_entity_reference,
  [sym_entity_record] = sym_entity_record,
  [sym_ref_init] = sym_ref_init,
  [sym__literal] = sym__literal,
  [sym_entity_list] = sym_entity_list,
  [sym_name] = sym_name,
  [sym_slot] = sym_slot,
  [sym_type_reference] = sym_type_reference,
  [sym_variable] = sym_variable,
  [sym_string] = sym_string,
  [aux_sym_policy_set_repeat1] = aux_sym_policy_set_repeat1,
  [aux_sym_policy_repeat1] = aux_sym_policy_repeat1,
  [aux_sym_policy_repeat2] = aux_sym_policy_repeat2,
  [aux_sym_template_declaration_repeat1] = aux_sym_template_declaration_repeat1,
  [aux_sym_or_expression_repeat1] = aux_sym_or_expression_repeat1,
  [aux_sym_and_expression_repeat1] = aux_sym_and_expression_repeat1,
  [aux_sym__add_expression_repeat1] = aux_sym__add_expression_repeat1,
  [aux_sym__multiply_expression_repeat1] = aux_sym__multiply_expression_repeat1,
  [aux_sym_member_expression_repeat1] = aux_sym_member_expression_repeat1,
  [aux_sym_method_call_repeat1] = aux_sym_method_call_repeat1,
  [aux_sym_record_expression_repeat1] = aux_sym_record_expression_repeat1,
  [aux_sym_entity_reference_repeat1] = aux_sym_entity_reference_repeat1,
  [aux_sym_entity_record_repeat1] = aux_sym_entity_record_repeat1,
  [aux_sym_entity_list_repeat1] = aux_sym_entity_list_repeat1,
  [aux_sym_type_reference_repeat1] = aux_sym_type_reference_repeat1,
  [aux_sym_string_repeat1] = aux_sym_string_repeat1,
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [sym_identifier] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SEMI] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_template] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COMMA] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_permit] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_forbid] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_principal] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_action] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_resource] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_in] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_is] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_when] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_unless] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_if] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_then] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_else] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_has] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_like] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PLUS] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PERCENT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_QMARK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_context] = {
    .visible = true,
    .named = false,
  },
  [sym_true] = {
    .visible = true,
    .named = true,
  },
  [sym_false] = {
    .visible = true,
    .named = true,
  },
  [sym_integer] = {
    .visible = true,
    .named = true,
  },
  [sym_string_content] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_DQUOTE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DQUOTE2] = {
    .visible = true,
    .named = false,
  },
  [sym_escape_sequence] = {
    .visible = true,
    .named = true,
  },
  [sym_comment] = {
    .visible = true,
    .named = true,
  },
  [sym_policy_set] = {
    .visible = true,
    .named = true,
  },
  [sym_policy] = {
    .visible = true,
    .named = true,
  },
  [sym_template_declaration] = {
    .visible = true,
    .named = true,
  },
  [sym_effect] = {
    .visible = true,
    .named = true,
  },
  [sym_annotation] = {
    .visible = true,
    .named = true,
  },
  [sym_scope] = {
    .visible = true,
    .named = true,
  },
  [sym_principal] = {
    .visible = true,
    .named = true,
  },
  [sym_action] = {
    .visible = true,
    .named = true,
  },
  [sym_resource] = {
    .visible = true,
    .named = true,
  },
  [sym_scope_constraint] = {
    .visible = true,
    .named = true,
  },
  [sym_condition] = {
    .visible = true,
    .named = true,
  },
  [sym_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_if_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_or_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_and_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_relation_expression] = {
    .visible = true,
    .named = true,
  },
  [sym__add_expression] = {
    .visible = false,
    .named = true,
  },
  [sym__multiply_expression] = {
    .visible = false,
    .named = true,
  },
  [sym_unary_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_member_expression] = {
    .visible = true,
    .named = true,
  },
  [sym__accessor] = {
    .visible = false,
    .named = true,
  },
  [sym_field_access] = {
    .visible = true,
    .named = true,
  },
  [sym_method_call] = {
    .visible = true,
    .named = true,
  },
  [sym_index_access] = {
    .visible = true,
    .named = true,
  },
  [sym__primary] = {
    .visible = false,
    .named = true,
  },
  [sym_extension_call] = {
    .visible = true,
    .named = true,
  },
  [sym_parenthesized_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_list_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_record_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_record_entry] = {
    .visible = true,
    .named = true,
  },
  [sym_entity_reference] = {
    .visible = true,
    .named = true,
  },
  [sym_entity_record] = {
    .visible = true,
    .named = true,
  },
  [sym_ref_init] = {
    .visible = true,
    .named = true,
  },
  [sym__literal] = {
    .visible = false,
    .named = true,
  },
  [sym_entity_list] = {
    .visible = true,
    .named = true,
  },
  [sym_name] = {
    .visible = true,
    .named = true,
  },
  [sym_slot] = {
    .visible = true,
    .named = true,
  },
  [sym_type_reference] = {
    .visible = true,
    .named = true,
  },
  [sym_variable] = {
    .visible = true,
    .named = true,
  },
  [sym_string] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_policy_set_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_policy_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_policy_repeat2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_template_declaration_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_or_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_and_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__add_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym__multiply_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_member_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_method_call_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_record_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_entity_reference_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_entity_record_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_entity_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_type_reference_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_string_repeat1] = {
    .visible = false,
    .named = false,
  },
};

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

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

static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
  [0] = 0,
  [1] = 1,
  [2] = 2,
  [3] = 3,
  [4] = 4,
  [5] = 5,
  [6] = 6,
  [7] = 7,
  [8] = 8,
  [9] = 9,
  [10] = 10,
  [11] = 11,
  [12] = 7,
  [13] = 11,
  [14] = 14,
  [15] = 11,
  [16] = 14,
  [17] = 14,
  [18] = 11,
  [19] = 11,
  [20] = 11,
  [21] = 11,
  [22] = 22,
  [23] = 9,
  [24] = 9,
  [25] = 9,
  [26] = 9,
  [27] = 9,
  [28] = 9,
  [29] = 14,
  [30] = 14,
  [31] = 14,
  [32] = 14,
  [33] = 33,
  [34] = 34,
  [35] = 35,
  [36] = 36,
  [37] = 36,
  [38] = 36,
  [39] = 36,
  [40] = 36,
  [41] = 36,
  [42] = 36,
  [43] = 43,
  [44] = 44,
  [45] = 45,
  [46] = 44,
  [47] = 44,
  [48] = 48,
  [49] = 44,
  [50] = 44,
  [51] = 44,
  [52] = 44,
  [53] = 53,
  [54] = 54,
  [55] = 55,
  [56] = 53,
  [57] = 53,
  [58] = 55,
  [59] = 55,
  [60] = 60,
  [61] = 53,
  [62] = 55,
  [63] = 53,
  [64] = 55,
  [65] = 65,
  [66] = 55,
  [67] = 67,
  [68] = 53,
  [69] = 53,
  [70] = 55,
  [71] = 71,
  [72] = 72,
  [73] = 73,
  [74] = 74,
  [75] = 75,
  [76] = 73,
  [77] = 74,
  [78] = 78,
  [79] = 79,
  [80] = 80,
  [81] = 81,
  [82] = 82,
  [83] = 83,
  [84] = 84,
  [85] = 85,
  [86] = 86,
  [87] = 81,
  [88] = 88,
  [89] = 89,
  [90] = 90,
  [91] = 91,
  [92] = 92,
  [93] = 81,
  [94] = 94,
  [95] = 95,
  [96] = 81,
  [97] = 97,
  [98] = 81,
  [99] = 81,
  [100] = 100,
  [101] = 75,
  [102] = 81,
  [103] = 73,
  [104] = 104,
  [105] = 81,
  [106] = 81,
  [107] = 81,
  [108] = 81,
  [109] = 81,
  [110] = 81,
  [111] = 81,
  [112] = 74,
  [113] = 113,
  [114] = 114,
  [115] = 115,
  [116] = 116,
  [117] = 117,
  [118] = 75,
  [119] = 119,
  [120] = 120,
  [121] = 121,
  [122] = 122,
  [123] = 123,
  [124] = 73,
  [125] = 74,
  [126] = 123,
  [127] = 122,
  [128] = 122,
  [129] = 122,
  [130] = 75,
  [131] = 123,
  [132] = 122,
  [133] = 122,
  [134] = 123,
  [135] = 122,
  [136] = 123,
  [137] = 123,
  [138] = 122,
  [139] = 123,
  [140] = 73,
  [141] = 122,
  [142] = 123,
  [143] = 75,
  [144] = 75,
  [145] = 74,
  [146] = 73,
  [147] = 122,
  [148] = 123,
  [149] = 123,
  [150] = 122,
  [151] = 122,
  [152] = 152,
  [153] = 152,
  [154] = 152,
  [155] = 74,
  [156] = 122,
  [157] = 123,
  [158] = 123,
  [159] = 75,
  [160] = 73,
  [161] = 74,
  [162] = 123,
  [163] = 122,
  [164] = 123,
  [165] = 152,
  [166] = 152,
  [167] = 167,
  [168] = 152,
  [169] = 169,
  [170] = 152,
  [171] = 171,
  [172] = 172,
  [173] = 173,
  [174] = 43,
  [175] = 175,
  [176] = 175,
  [177] = 172,
  [178] = 175,
  [179] = 172,
  [180] = 180,
  [181] = 180,
  [182] = 180,
  [183] = 172,
  [184] = 45,
  [185] = 180,
  [186] = 67,
  [187] = 172,
  [188] = 175,
  [189] = 175,
  [190] = 175,
  [191] = 172,
  [192] = 175,
  [193] = 180,
  [194] = 180,
  [195] = 180,
  [196] = 48,
  [197] = 172,
  [198] = 198,
  [199] = 199,
  [200] = 199,
  [201] = 198,
  [202] = 199,
  [203] = 203,
  [204] = 203,
  [205] = 198,
  [206] = 203,
  [207] = 203,
  [208] = 203,
  [209] = 198,
  [210] = 198,
  [211] = 198,
  [212] = 199,
  [213] = 198,
  [214] = 199,
  [215] = 90,
  [216] = 203,
  [217] = 199,
  [218] = 199,
  [219] = 203,
  [220] = 95,
  [221] = 71,
  [222] = 97,
  [223] = 74,
  [224] = 75,
  [225] = 73,
  [226] = 75,
  [227] = 74,
  [228] = 228,
  [229] = 228,
  [230] = 228,
  [231] = 73,
  [232] = 74,
  [233] = 75,
  [234] = 73,
  [235] = 152,
  [236] = 74,
  [237] = 228,
  [238] = 75,
  [239] = 73,
  [240] = 74,
  [241] = 228,
  [242] = 228,
  [243] = 74,
  [244] = 228,
  [245] = 75,
  [246] = 73,
  [247] = 74,
  [248] = 73,
  [249] = 75,
  [250] = 152,
  [251] = 152,
  [252] = 75,
  [253] = 73,
  [254] = 152,
  [255] = 152,
  [256] = 152,
  [257] = 152,
  [258] = 180,
  [259] = 180,
  [260] = 175,
  [261] = 172,
  [262] = 175,
  [263] = 172,
  [264] = 180,
  [265] = 175,
  [266] = 172,
  [267] = 180,
  [268] = 172,
  [269] = 175,
  [270] = 270,
  [271] = 172,
  [272] = 175,
  [273] = 180,
  [274] = 180,
  [275] = 180,
  [276] = 172,
  [277] = 277,
  [278] = 175,
  [279] = 172,
  [280] = 175,
  [281] = 73,
  [282] = 74,
  [283] = 283,
  [284] = 284,
  [285] = 75,
  [286] = 74,
  [287] = 75,
  [288] = 288,
  [289] = 75,
  [290] = 73,
  [291] = 74,
  [292] = 73,
  [293] = 75,
  [294] = 74,
  [295] = 73,
  [296] = 74,
  [297] = 73,
  [298] = 198,
  [299] = 199,
  [300] = 198,
  [301] = 199,
  [302] = 198,
  [303] = 75,
  [304] = 199,
  [305] = 74,
  [306] = 73,
  [307] = 74,
  [308] = 75,
  [309] = 203,
  [310] = 203,
  [311] = 203,
  [312] = 75,
  [313] = 73,
  [314] = 198,
  [315] = 198,
  [316] = 203,
  [317] = 198,
  [318] = 199,
  [319] = 203,
  [320] = 203,
  [321] = 203,
  [322] = 199,
  [323] = 199,
  [324] = 198,
  [325] = 325,
  [326] = 199,
  [327] = 327,
  [328] = 328,
  [329] = 328,
  [330] = 330,
  [331] = 327,
  [332] = 328,
  [333] = 333,
  [334] = 327,
  [335] = 330,
  [336] = 333,
  [337] = 333,
  [338] = 330,
  [339] = 339,
  [340] = 340,
  [341] = 330,
  [342] = 339,
  [343] = 343,
  [344] = 333,
  [345] = 333,
  [346] = 330,
  [347] = 75,
  [348] = 73,
  [349] = 74,
  [350] = 328,
  [351] = 333,
  [352] = 328,
  [353] = 327,
  [354] = 354,
  [355] = 328,
  [356] = 327,
  [357] = 327,
  [358] = 358,
  [359] = 333,
  [360] = 360,
  [361] = 361,
  [362] = 328,
  [363] = 327,
  [364] = 75,
  [365] = 73,
  [366] = 74,
  [367] = 330,
  [368] = 368,
  [369] = 330,
  [370] = 370,
  [371] = 75,
  [372] = 372,
  [373] = 370,
  [374] = 372,
  [375] = 370,
  [376] = 372,
  [377] = 73,
  [378] = 378,
  [379] = 74,
  [380] = 372,
  [381] = 370,
  [382] = 372,
  [383] = 383,
  [384] = 370,
  [385] = 372,
  [386] = 386,
  [387] = 370,
  [388] = 388,
  [389] = 370,
  [390] = 372,
  [391] = 391,
  [392] = 388,
  [393] = 393,
  [394] = 370,
  [395] = 395,
  [396] = 372,
  [397] = 370,
  [398] = 388,
  [399] = 395,
  [400] = 372,
  [401] = 401,
  [402] = 75,
  [403] = 372,
  [404] = 404,
  [405] = 405,
  [406] = 370,
  [407] = 407,
  [408] = 408,
  [409] = 372,
  [410] = 370,
  [411] = 372,
  [412] = 386,
  [413] = 75,
  [414] = 73,
  [415] = 386,
  [416] = 372,
  [417] = 417,
  [418] = 370,
  [419] = 372,
  [420] = 73,
  [421] = 370,
  [422] = 74,
  [423] = 73,
  [424] = 370,
  [425] = 74,
  [426] = 395,
  [427] = 427,
  [428] = 74,
  [429] = 372,
  [430] = 372,
  [431] = 431,
  [432] = 370,
  [433] = 372,
  [434] = 434,
  [435] = 370,
  [436] = 436,
  [437] = 437,
  [438] = 438,
  [439] = 439,
  [440] = 370,
  [441] = 75,
  [442] = 388,
  [443] = 386,
  [444] = 395,
  [445] = 445,
  [446] = 446,
  [447] = 388,
  [448] = 395,
  [449] = 395,
  [450] = 395,
  [451] = 388,
  [452] = 452,
  [453] = 453,
  [454] = 386,
  [455] = 452,
  [456] = 386,
  [457] = 386,
  [458] = 388,
  [459] = 459,
  [460] = 460,
  [461] = 461,
  [462] = 462,
  [463] = 463,
  [464] = 464,
  [465] = 465,
  [466] = 466,
  [467] = 467,
  [468] = 468,
  [469] = 469,
  [470] = 470,
  [471] = 471,
  [472] = 472,
  [473] = 473,
  [474] = 474,
  [475] = 475,
  [476] = 459,
  [477] = 477,
  [478] = 478,
  [479] = 479,
  [480] = 480,
  [481] = 459,
  [482] = 482,
  [483] = 483,
  [484] = 459,
  [485] = 485,
  [486] = 486,
  [487] = 459,
  [488] = 459,
  [489] = 489,
  [490] = 490,
  [491] = 477,
  [492] = 459,
  [493] = 493,
  [494] = 478,
  [495] = 495,
  [496] = 459,
  [497] = 459,
  [498] = 498,
  [499] = 459,
  [500] = 498,
  [501] = 501,
  [502] = 459,
  [503] = 503,
  [504] = 504,
  [505] = 466,
  [506] = 459,
  [507] = 507,
  [508] = 459,
  [509] = 509,
  [510] = 510,
  [511] = 459,
  [512] = 512,
  [513] = 513,
  [514] = 514,
  [515] = 515,
  [516] = 516,
  [517] = 516,
  [518] = 518,
  [519] = 516,
  [520] = 520,
  [521] = 521,
  [522] = 522,
  [523] = 523,
  [524] = 524,
  [525] = 525,
  [526] = 526,
  [527] = 527,
  [528] = 528,
  [529] = 529,
  [530] = 516,
  [531] = 531,
  [532] = 532,
  [533] = 529,
  [534] = 534,
  [535] = 527,
  [536] = 536,
  [537] = 529,
  [538] = 538,
  [539] = 539,
  [540] = 539,
  [541] = 527,
  [542] = 516,
  [543] = 516,
  [544] = 544,
  [545] = 545,
  [546] = 546,
  [547] = 547,
  [548] = 548,
  [549] = 549,
  [550] = 550,
  [551] = 516,
  [552] = 536,
  [553] = 534,
  [554] = 546,
  [555] = 546,
  [556] = 546,
  [557] = 546,
  [558] = 546,
  [559] = 559,
  [560] = 546,
  [561] = 561,
  [562] = 562,
  [563] = 562,
  [564] = 564,
  [565] = 565,
  [566] = 566,
  [567] = 567,
  [568] = 568,
  [569] = 569,
  [570] = 570,
  [571] = 571,
  [572] = 572,
  [573] = 573,
  [574] = 574,
  [575] = 562,
  [576] = 576,
  [577] = 577,
  [578] = 578,
  [579] = 562,
  [580] = 580,
  [581] = 581,
  [582] = 582,
  [583] = 583,
  [584] = 578,
  [585] = 585,
  [586] = 586,
  [587] = 587,
  [588] = 562,
  [589] = 589,
  [590] = 566,
  [591] = 591,
  [592] = 562,
  [593] = 593,
  [594] = 594,
  [595] = 562,
  [596] = 596,
  [597] = 597,
  [598] = 597,
  [599] = 597,
  [600] = 597,
  [601] = 597,
  [602] = 597,
  [603] = 597,
  [604] = 604,
  [605] = 605,
  [606] = 606,
  [607] = 607,
  [608] = 608,
  [609] = 609,
  [610] = 610,
};

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (eof) ADVANCE(83);
      ADVANCE_MAP(
        '!', 149,
        '"', 206,
        '%', 146,
        '&', 115,
        '(', 84,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        ':', 157,
        ';', 87,
        '<', 120,
        '=', 130,
        '>', 125,
        '?', 160,
        '@', 91,
        '[', 152,
        '\\', 75,
        ']', 154,
        'e', 215,
        'h', 208,
        'i', 216,
        'l', 213,
        't', 212,
        '{', 100,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(81);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(161);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 1:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        '(', 84,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        ':', 59,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        ']', 154,
        'e', 69,
        'h', 62,
        'i', 71,
        'l', 67,
        't', 66,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(1);
      END_STATE();
    case 2:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        ':', 156,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        ']', 154,
        'e', 69,
        'h', 62,
        'i', 71,
        'l', 67,
        't', 66,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(2);
      END_STATE();
    case 3:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        'h', 62,
        'i', 71,
        'l', 67,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(3);
      END_STATE();
    case 4:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        ')', 85,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        'h', 62,
        'i', 71,
        'l', 67,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(4);
      END_STATE();
    case 5:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        ']', 154,
        'h', 62,
        'i', 71,
        'l', 67,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(5);
      END_STATE();
    case 6:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        'h', 62,
        'i', 71,
        'l', 67,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(6);
      END_STATE();
    case 7:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        'e', 69,
        'h', 62,
        'i', 71,
        'l', 67,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(7);
      END_STATE();
    case 8:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        'h', 62,
        'i', 71,
        'l', 67,
        't', 66,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(8);
      END_STATE();
    case 9:
      ADVANCE_MAP(
        '!', 60,
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '<', 120,
        '=', 129,
        '>', 125,
        '[', 152,
        'h', 62,
        'i', 71,
        'l', 67,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(9);
      END_STATE();
    case 10:
      ADVANCE_MAP(
        '!', 190,
        '"', 206,
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        '\\', 75,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(3);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(162);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 11:
      ADVANCE_MAP(
        '!', 190,
        '"', 206,
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        '\\', 75,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(4);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(163);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 12:
      ADVANCE_MAP(
        '!', 190,
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        '\\', 75,
        ']', 155,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(5);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(164);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 13:
      ADVANCE_MAP(
        '!', 190,
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        '\\', 75,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '}', 102,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(6);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(165);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 14:
      ADVANCE_MAP(
        '!', 190,
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        '\\', 75,
        'e', 198,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(7);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(166);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 15:
      ADVANCE_MAP(
        '!', 190,
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        '\\', 75,
        'h', 191,
        'i', 199,
        'l', 196,
        't', 195,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(8);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(167);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 16:
      ADVANCE_MAP(
        '!', 190,
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        '\\', 75,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '}', 102,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(9);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(168);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 17:
      ADVANCE_MAP(
        '"', 206,
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '\\', 75,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(38);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(169);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 18:
      ADVANCE_MAP(
        '"', 206,
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '\\', 75,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(39);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(170);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 19:
      ADVANCE_MAP(
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '\\', 75,
        ']', 155,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(40);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(171);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 20:
      ADVANCE_MAP(
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '\\', 75,
        '|', 112,
        '}', 102,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(41);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(172);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 21:
      ADVANCE_MAP(
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '\\', 75,
        'e', 198,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(42);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(173);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 22:
      ADVANCE_MAP(
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '\\', 75,
        't', 195,
        '|', 112,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(43);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(174);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 23:
      ADVANCE_MAP(
        '"', 206,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '\\', 75,
        '|', 112,
        '}', 102,
      );
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(44);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(175);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 24:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == ')') ADVANCE(86);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(45);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(176);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 25:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == ')') ADVANCE(86);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(46);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(177);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 26:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == ']') ADVANCE(155);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(47);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(178);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 27:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '}') ADVANCE(102);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(48);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(179);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 28:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == 'e') ADVANCE(198);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(49);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(180);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 29:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == 't') ADVANCE(195);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(50);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(181);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 30:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '}') ADVANCE(102);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(51);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(182);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 31:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == ')') ADVANCE(86);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(52);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(183);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 32:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == ']') ADVANCE(155);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(53);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(184);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 33:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '}') ADVANCE(102);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(54);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(185);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 34:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(55);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(186);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 35:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == ':') ADVANCE(158);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(57);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(188);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 36:
      if (lookahead == '"') ADVANCE(206);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\\') ADVANCE(75);
      if (lookahead == ']') ADVANCE(155);
      if (lookahead == '\n' ||
          lookahead == '\r') SKIP(58);
      if (('\t' <= lookahead && lookahead <= '\f') ||
          lookahead == ' ') ADVANCE(189);
      if (lookahead != 0) ADVANCE(204);
      END_STATE();
    case 37:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        '(', 84,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        ':', 59,
        '<', 119,
        '>', 124,
        '[', 152,
        ']', 154,
        'e', 69,
        'i', 70,
        't', 66,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(37);
      END_STATE();
    case 38:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        '[', 152,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(38);
      END_STATE();
    case 39:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        ')', 85,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '[', 152,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(39);
      END_STATE();
    case 40:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        '[', 152,
        ']', 154,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(40);
      END_STATE();
    case 41:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        '[', 152,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(41);
      END_STATE();
    case 42:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '[', 152,
        'e', 69,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(42);
      END_STATE();
    case 43:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '[', 152,
        't', 66,
        '|', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(43);
      END_STATE();
    case 44:
      ADVANCE_MAP(
        '%', 146,
        '&', 115,
        '*', 142,
        '+', 138,
        '-', 140,
        '.', 150,
        '/', 144,
        '[', 152,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(44);
      END_STATE();
    case 45:
      if (lookahead == '&') ADVANCE(115);
      if (lookahead == ')') ADVANCE(85);
      if (lookahead == ',') ADVANCE(88);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == '|') ADVANCE(111);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(45);
      END_STATE();
    case 46:
      if (lookahead == '&') ADVANCE(115);
      if (lookahead == ')') ADVANCE(85);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == '|') ADVANCE(111);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(46);
      END_STATE();
    case 47:
      if (lookahead == '&') ADVANCE(115);
      if (lookahead == ',') ADVANCE(88);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == ']') ADVANCE(154);
      if (lookahead == '|') ADVANCE(111);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(47);
      END_STATE();
    case 48:
      if (lookahead == '&') ADVANCE(115);
      if (lookahead == ',') ADVANCE(88);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == '|') ADVANCE(111);
      if (lookahead == '}') ADVANCE(101);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(48);
      END_STATE();
    case 49:
      if (lookahead == '&') ADVANCE(115);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == 'e') ADVANCE(69);
      if (lookahead == '|') ADVANCE(111);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(49);
      END_STATE();
    case 50:
      if (lookahead == '&') ADVANCE(115);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == 't') ADVANCE(66);
      if (lookahead == '|') ADVANCE(111);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(50);
      END_STATE();
    case 51:
      if (lookahead == '&') ADVANCE(115);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == '|') ADVANCE(111);
      if (lookahead == '}') ADVANCE(101);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(51);
      END_STATE();
    case 52:
      if (lookahead == ')') ADVANCE(85);
      if (lookahead == '/') ADVANCE(56);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(52);
      END_STATE();
    case 53:
      if (lookahead == ',') ADVANCE(88);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == ']') ADVANCE(154);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(53);
      END_STATE();
    case 54:
      if (lookahead == ',') ADVANCE(88);
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == '}') ADVANCE(101);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(54);
      END_STATE();
    case 55:
      if (lookahead == ',') ADVANCE(88);
      if (lookahead == '/') ADVANCE(56);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(55);
      END_STATE();
    case 56:
      if (lookahead == '/') ADVANCE(221);
      END_STATE();
    case 57:
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == ':') ADVANCE(156);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(57);
      END_STATE();
    case 58:
      if (lookahead == '/') ADVANCE(56);
      if (lookahead == ']') ADVANCE(154);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(58);
      END_STATE();
    case 59:
      if (lookahead == ':') ADVANCE(159);
      END_STATE();
    case 60:
      if (lookahead == '=') ADVANCE(117);
      END_STATE();
    case 61:
      if (lookahead == '>') ADVANCE(90);
      END_STATE();
    case 62:
      if (lookahead == 'a') ADVANCE(73);
      END_STATE();
    case 63:
      if (lookahead == 'e') ADVANCE(72);
      END_STATE();
    case 64:
      if (lookahead == 'e') ADVANCE(106);
      END_STATE();
    case 65:
      if (lookahead == 'e') ADVANCE(135);
      END_STATE();
    case 66:
      if (lookahead == 'h') ADVANCE(63);
      END_STATE();
    case 67:
      if (lookahead == 'i') ADVANCE(68);
      END_STATE();
    case 68:
      if (lookahead == 'k') ADVANCE(65);
      END_STATE();
    case 69:
      if (lookahead == 'l') ADVANCE(74);
      END_STATE();
    case 70:
      if (lookahead == 'n') ADVANCE(94);
      END_STATE();
    case 71:
      if (lookahead == 'n') ADVANCE(94);
      if (lookahead == 's') ADVANCE(97);
      END_STATE();
    case 72:
      if (lookahead == 'n') ADVANCE(103);
      END_STATE();
    case 73:
      if (lookahead == 's') ADVANCE(132);
      END_STATE();
    case 74:
      if (lookahead == 's') ADVANCE(64);
      END_STATE();
    case 75:
      if (lookahead == 'u') ADVANCE(76);
      if (lookahead == 'x') ADVANCE(80);
      if (lookahead != 0) ADVANCE(207);
      END_STATE();
    case 76:
      if (lookahead == '{') ADVANCE(79);
      END_STATE();
    case 77:
      if (lookahead == '}') ADVANCE(207);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'F') ||
          ('a' <= lookahead && lookahead <= 'f')) ADVANCE(77);
      END_STATE();
    case 78:
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'F') ||
          ('a' <= lookahead && lookahead <= 'f')) ADVANCE(207);
      END_STATE();
    case 79:
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'F') ||
          ('a' <= lookahead && lookahead <= 'f')) ADVANCE(77);
      END_STATE();
    case 80:
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'F') ||
          ('a' <= lookahead && lookahead <= 'f')) ADVANCE(78);
      END_STATE();
    case 81:
      if (eof) ADVANCE(83);
      ADVANCE_MAP(
        '!', 149,
        '"', 205,
        '%', 146,
        '&', 115,
        '(', 84,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        ':', 157,
        ';', 87,
        '<', 120,
        '=', 130,
        '>', 125,
        '?', 160,
        '@', 91,
        '[', 152,
        ']', 154,
        'e', 215,
        'h', 208,
        'i', 216,
        'l', 213,
        't', 212,
        '{', 100,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(81);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(161);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 82:
      if (eof) ADVANCE(83);
      ADVANCE_MAP(
        '!', 148,
        '"', 205,
        '%', 146,
        '&', 115,
        '(', 84,
        ')', 85,
        '*', 142,
        '+', 138,
        ',', 88,
        '-', 140,
        '.', 150,
        '/', 144,
        ':', 59,
        ';', 87,
        '=', 61,
        '>', 124,
        '?', 160,
        '@', 91,
        '[', 152,
        ']', 154,
        '{', 100,
        '|', 111,
        '}', 101,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(82);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(161);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 83:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 84:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 85:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 86:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 87:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 88:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 89:
      ACCEPT_TOKEN(anon_sym_COMMA);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 90:
      ACCEPT_TOKEN(anon_sym_EQ_GT);
      END_STATE();
    case 91:
      ACCEPT_TOKEN(anon_sym_AT);
      END_STATE();
    case 92:
      ACCEPT_TOKEN(anon_sym_EQ_EQ);
      END_STATE();
    case 93:
      ACCEPT_TOKEN(anon_sym_EQ_EQ);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 94:
      ACCEPT_TOKEN(anon_sym_in);
      END_STATE();
    case 95:
      ACCEPT_TOKEN(anon_sym_in);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 96:
      ACCEPT_TOKEN(anon_sym_in);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 97:
      ACCEPT_TOKEN(anon_sym_is);
      END_STATE();
    case 98:
      ACCEPT_TOKEN(anon_sym_is);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 99:
      ACCEPT_TOKEN(anon_sym_is);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 100:
      ACCEPT_TOKEN(anon_sym_LBRACE);
      END_STATE();
    case 101:
      ACCEPT_TOKEN(anon_sym_RBRACE);
      END_STATE();
    case 102:
      ACCEPT_TOKEN(anon_sym_RBRACE);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 103:
      ACCEPT_TOKEN(anon_sym_then);
      END_STATE();
    case 104:
      ACCEPT_TOKEN(anon_sym_then);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 105:
      ACCEPT_TOKEN(anon_sym_then);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 106:
      ACCEPT_TOKEN(anon_sym_else);
      END_STATE();
    case 107:
      ACCEPT_TOKEN(anon_sym_else);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 108:
      ACCEPT_TOKEN(anon_sym_else);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 109:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      END_STATE();
    case 110:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 111:
      ACCEPT_TOKEN(anon_sym_PIPE);
      if (lookahead == '|') ADVANCE(109);
      END_STATE();
    case 112:
      ACCEPT_TOKEN(anon_sym_PIPE);
      if (lookahead == '|') ADVANCE(110);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 113:
      ACCEPT_TOKEN(anon_sym_AMP_AMP);
      END_STATE();
    case 114:
      ACCEPT_TOKEN(anon_sym_AMP_AMP);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 115:
      ACCEPT_TOKEN(anon_sym_AMP);
      if (lookahead == '&') ADVANCE(113);
      END_STATE();
    case 116:
      ACCEPT_TOKEN(anon_sym_AMP);
      if (lookahead == '&') ADVANCE(114);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 117:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      END_STATE();
    case 118:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 119:
      ACCEPT_TOKEN(anon_sym_LT);
      END_STATE();
    case 120:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=') ADVANCE(122);
      END_STATE();
    case 121:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=') ADVANCE(123);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 122:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      END_STATE();
    case 123:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 124:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 125:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=') ADVANCE(127);
      END_STATE();
    case 126:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=') ADVANCE(128);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 127:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      END_STATE();
    case 128:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 129:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '=') ADVANCE(92);
      END_STATE();
    case 130:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '=') ADVANCE(92);
      if (lookahead == '>') ADVANCE(90);
      END_STATE();
    case 131:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '=') ADVANCE(93);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 132:
      ACCEPT_TOKEN(anon_sym_has);
      END_STATE();
    case 133:
      ACCEPT_TOKEN(anon_sym_has);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 134:
      ACCEPT_TOKEN(anon_sym_has);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 135:
      ACCEPT_TOKEN(anon_sym_like);
      END_STATE();
    case 136:
      ACCEPT_TOKEN(anon_sym_like);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 137:
      ACCEPT_TOKEN(anon_sym_like);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 138:
      ACCEPT_TOKEN(anon_sym_PLUS);
      END_STATE();
    case 139:
      ACCEPT_TOKEN(anon_sym_PLUS);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 140:
      ACCEPT_TOKEN(anon_sym_DASH);
      END_STATE();
    case 141:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 142:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 143:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 144:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (lookahead == '/') ADVANCE(221);
      END_STATE();
    case 145:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (lookahead == '/') ADVANCE(203);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 146:
      ACCEPT_TOKEN(anon_sym_PERCENT);
      END_STATE();
    case 147:
      ACCEPT_TOKEN(anon_sym_PERCENT);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_BANG);
      END_STATE();
    case 149:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead == '=') ADVANCE(117);
      END_STATE();
    case 150:
      ACCEPT_TOKEN(anon_sym_DOT);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 152:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 153:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 155:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 156:
      ACCEPT_TOKEN(anon_sym_COLON);
      END_STATE();
    case 157:
      ACCEPT_TOKEN(anon_sym_COLON);
      if (lookahead == ':') ADVANCE(159);
      END_STATE();
    case 158:
      ACCEPT_TOKEN(anon_sym_COLON);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      END_STATE();
    case 160:
      ACCEPT_TOKEN(anon_sym_QMARK);
      END_STATE();
    case 161:
      ACCEPT_TOKEN(sym_integer);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(161);
      END_STATE();
    case 162:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '!', 190,
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '\t', 162,
        0x0b, 162,
        '\f', 162,
        ' ', 162,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          (lookahead < ' ' || '"' < lookahead) &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 163:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '!', 190,
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '\t', 163,
        0x0b, 163,
        '\f', 163,
        ' ', 163,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          (lookahead < ' ' || '"' < lookahead) &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 164:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '!', 190,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        ']', 155,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '\t', 164,
        0x0b, 164,
        '\f', 164,
        ' ', 164,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          (lookahead < ' ' || '"' < lookahead) &&
          (lookahead < '[' || ']' < lookahead)) ADVANCE(204);
      END_STATE();
    case 165:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '!', 190,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '}', 102,
        '\t', 165,
        0x0b, 165,
        '\f', 165,
        ' ', 165,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          (lookahead < ' ' || '"' < lookahead) &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 166:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '!', 190,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        'e', 198,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '\t', 166,
        0x0b, 166,
        '\f', 166,
        ' ', 166,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          (lookahead < ' ' || '"' < lookahead) &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 167:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '!', 190,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        'h', 191,
        'i', 199,
        'l', 196,
        't', 195,
        '|', 112,
        '\t', 167,
        0x0b, 167,
        '\f', 167,
        ' ', 167,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          (lookahead < ' ' || '"' < lookahead) &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 168:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '!', 190,
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '<', 121,
        '=', 131,
        '>', 126,
        '[', 153,
        'h', 191,
        'i', 199,
        'l', 196,
        '|', 112,
        '}', 102,
        '\t', 168,
        0x0b, 168,
        '\f', 168,
        ' ', 168,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          (lookahead < ' ' || '"' < lookahead) &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 169:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '|', 112,
        '\t', 169,
        0x0b, 169,
        '\f', 169,
        ' ', 169,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '%', 147,
        '&', 116,
        ')', 86,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '|', 112,
        '\t', 170,
        0x0b, 170,
        '\f', 170,
        ' ', 170,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 171:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        ']', 155,
        '|', 112,
        '\t', 171,
        0x0b, 171,
        '\f', 171,
        ' ', 171,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          (lookahead < '[' || ']' < lookahead)) ADVANCE(204);
      END_STATE();
    case 172:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        ',', 89,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '|', 112,
        '}', 102,
        '\t', 172,
        0x0b, 172,
        '\f', 172,
        ' ', 172,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 173:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        'e', 198,
        '|', 112,
        '\t', 173,
        0x0b, 173,
        '\f', 173,
        ' ', 173,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 174:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        't', 195,
        '|', 112,
        '\t', 174,
        0x0b, 174,
        '\f', 174,
        ' ', 174,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 175:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '%', 147,
        '&', 116,
        '*', 143,
        '+', 139,
        '-', 141,
        '.', 151,
        '/', 145,
        '[', 153,
        '|', 112,
        '}', 102,
        '\t', 175,
        0x0b, 175,
        '\f', 175,
        ' ', 175,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '[' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 176:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '&', 116,
        ')', 86,
        ',', 89,
        '/', 187,
        '|', 112,
        '\t', 176,
        0x0b, 176,
        '\f', 176,
        ' ', 176,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == ')') ADVANCE(86);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(177);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 178:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '&', 116,
        ',', 89,
        '/', 187,
        ']', 155,
        '|', 112,
        '\t', 178,
        0x0b, 178,
        '\f', 178,
        ' ', 178,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\' &&
          lookahead != ']') ADVANCE(204);
      END_STATE();
    case 179:
      ACCEPT_TOKEN(sym_string_content);
      ADVANCE_MAP(
        '&', 116,
        ',', 89,
        '/', 187,
        '|', 112,
        '}', 102,
        '\t', 179,
        0x0b, 179,
        '\f', 179,
        ' ', 179,
      );
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 180:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == 'e') ADVANCE(198);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(180);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 181:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == 't') ADVANCE(195);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(181);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '&') ADVANCE(116);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '|') ADVANCE(112);
      if (lookahead == '}') ADVANCE(102);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(182);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == ')') ADVANCE(86);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(183);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == ']') ADVANCE(155);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(184);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\' &&
          lookahead != ']') ADVANCE(204);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '}') ADVANCE(102);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(185);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == ',') ADVANCE(89);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(186);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 187:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '/') ADVANCE(203);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 188:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == ':') ADVANCE(158);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(188);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '/') ADVANCE(187);
      if (lookahead == ']') ADVANCE(155);
      if (lookahead == '\t' ||
          lookahead == 0x0b ||
          lookahead == '\f' ||
          lookahead == ' ') ADVANCE(189);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != '"' &&
          lookahead != '\\' &&
          lookahead != ']') ADVANCE(204);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '=') ADVANCE(118);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 191:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'a') ADVANCE(201);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 192:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'e') ADVANCE(137);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'e') ADVANCE(200);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'e') ADVANCE(108);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'h') ADVANCE(193);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'i') ADVANCE(197);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'k') ADVANCE(192);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 198:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'l') ADVANCE(202);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'n') ADVANCE(96);
      if (lookahead == 's') ADVANCE(99);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 'n') ADVANCE(105);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 201:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 's') ADVANCE(134);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == 's') ADVANCE(194);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 203:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead == '\r' ||
          lookahead == '"' ||
          lookahead == '\\') ADVANCE(221);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(203);
      END_STATE();
    case 204:
      ACCEPT_TOKEN(sym_string_content);
      if (lookahead != 0 &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != '"' &&
          lookahead != '\\') ADVANCE(204);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(anon_sym_DQUOTE);
      END_STATE();
    case 206:
      ACCEPT_TOKEN(anon_sym_DQUOTE2);
      END_STATE();
    case 207:
      ACCEPT_TOKEN(sym_escape_sequence);
      END_STATE();
    case 208:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'a') ADVANCE(218);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 209:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'e') ADVANCE(217);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'e') ADVANCE(107);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 211:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'e') ADVANCE(136);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'h') ADVANCE(209);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 213:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'i') ADVANCE(214);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 214:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'k') ADVANCE(211);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'l') ADVANCE(219);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'n') ADVANCE(95);
      if (lookahead == 's') ADVANCE(98);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 217:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 'n') ADVANCE(104);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 218:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 's') ADVANCE(133);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 219:
      ACCEPT_TOKEN(sym_identifier);
      if (lookahead == 's') ADVANCE(210);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 220:
      ACCEPT_TOKEN(sym_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220);
      END_STATE();
    case 221:
      ACCEPT_TOKEN(sym_comment);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(221);
      END_STATE();
    default:
      return false;
  }
}

static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      ADVANCE_MAP(
        'a', 1,
        'c', 2,
        'f', 3,
        'i', 4,
        'p', 5,
        'r', 6,
        't', 7,
        'u', 8,
        'w', 9,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      END_STATE();
    case 1:
      if (lookahead == 'c') ADVANCE(10);
      END_STATE();
    case 2:
      if (lookahead == 'o') ADVANCE(11);
      END_STATE();
    case 3:
      if (lookahead == 'a') ADVANCE(12);
      if (lookahead == 'o') ADVANCE(13);
      END_STATE();
    case 4:
      if (lookahead == 'f') ADVANCE(14);
      END_STATE();
    case 5:
      if (lookahead == 'e') ADVANCE(15);
      if (lookahead == 'r') ADVANCE(16);
      END_STATE();
    case 6:
      if (lookahead == 'e') ADVANCE(17);
      END_STATE();
    case 7:
      if (lookahead == 'e') ADVANCE(18);
      if (lookahead == 'r') ADVANCE(19);
      END_STATE();
    case 8:
      if (lookahead == 'n') ADVANCE(20);
      END_STATE();
    case 9:
      if (lookahead == 'h') ADVANCE(21);
      END_STATE();
    case 10:
      if (lookahead == 't') ADVANCE(22);
      END_STATE();
    case 11:
      if (lookahead == 'n') ADVANCE(23);
      END_STATE();
    case 12:
      if (lookahead == 'l') ADVANCE(24);
      END_STATE();
    case 13:
      if (lookahead == 'r') ADVANCE(25);
      END_STATE();
    case 14:
      ACCEPT_TOKEN(anon_sym_if);
      END_STATE();
    case 15:
      if (lookahead == 'r') ADVANCE(26);
      END_STATE();
    case 16:
      if (lookahead == 'i') ADVANCE(27);
      END_STATE();
    case 17:
      if (lookahead == 's') ADVANCE(28);
      END_STATE();
    case 18:
      if (lookahead == 'm') ADVANCE(29);
      END_STATE();
    case 19:
      if (lookahead == 'u') ADVANCE(30);
      END_STATE();
    case 20:
      if (lookahead == 'l') ADVANCE(31);
      END_STATE();
    case 21:
      if (lookahead == 'e') ADVANCE(32);
      END_STATE();
    case 22:
      if (lookahead == 'i') ADVANCE(33);
      END_STATE();
    case 23:
      if (lookahead == 't') ADVANCE(34);
      END_STATE();
    case 24:
      if (lookahead == 's') ADVANCE(35);
      END_STATE();
    case 25:
      if (lookahead == 'b') ADVANCE(36);
      END_STATE();
    case 26:
      if (lookahead == 'm') ADVANCE(37);
      END_STATE();
    case 27:
      if (lookahead == 'n') ADVANCE(38);
      END_STATE();
    case 28:
      if (lookahead == 'o') ADVANCE(39);
      END_STATE();
    case 29:
      if (lookahead == 'p') ADVANCE(40);
      END_STATE();
    case 30:
      if (lookahead == 'e') ADVANCE(41);
      END_STATE();
    case 31:
      if (lookahead == 'e') ADVANCE(42);
      END_STATE();
    case 32:
      if (lookahead == 'n') ADVANCE(43);
      END_STATE();
    case 33:
      if (lookahead == 'o') ADVANCE(44);
      END_STATE();
    case 34:
      if (lookahead == 'e') ADVANCE(45);
      END_STATE();
    case 35:
      if (lookahead == 'e') ADVANCE(46);
      END_STATE();
    case 36:
      if (lookahead == 'i') ADVANCE(47);
      END_STATE();
    case 37:
      if (lookahead == 'i') ADVANCE(48);
      END_STATE();
    case 38:
      if (lookahead == 'c') ADVANCE(49);
      END_STATE();
    case 39:
      if (lookahead == 'u') ADVANCE(50);
      END_STATE();
    case 40:
      if (lookahead == 'l') ADVANCE(51);
      END_STATE();
    case 41:
      ACCEPT_TOKEN(sym_true);
      END_STATE();
    case 42:
      if (lookahead == 's') ADVANCE(52);
      END_STATE();
    case 43:
      ACCEPT_TOKEN(anon_sym_when);
      END_STATE();
    case 44:
      if (lookahead == 'n') ADVANCE(53);
      END_STATE();
    case 45:
      if (lookahead == 'x') ADVANCE(54);
      END_STATE();
    case 46:
      ACCEPT_TOKEN(sym_false);
      END_STATE();
    case 47:
      if (lookahead == 'd') ADVANCE(55);
      END_STATE();
    case 48:
      if (lookahead == 't') ADVANCE(56);
      END_STATE();
    case 49:
      if (lookahead == 'i') ADVANCE(57);
      END_STATE();
    case 50:
      if (lookahead == 'r') ADVANCE(58);
      END_STATE();
    case 51:
      if (lookahead == 'a') ADVANCE(59);
      END_STATE();
    case 52:
      if (lookahead == 's') ADVANCE(60);
      END_STATE();
    case 53:
      ACCEPT_TOKEN(anon_sym_action);
      END_STATE();
    case 54:
      if (lookahead == 't') ADVANCE(61);
      END_STATE();
    case 55:
      ACCEPT_TOKEN(anon_sym_forbid);
      END_STATE();
    case 56:
      ACCEPT_TOKEN(anon_sym_permit);
      END_STATE();
    case 57:
      if (lookahead == 'p') ADVANCE(62);
      END_STATE();
    case 58:
      if (lookahead == 'c') ADVANCE(63);
      END_STATE();
    case 59:
      if (lookahead == 't') ADVANCE(64);
      END_STATE();
    case 60:
      ACCEPT_TOKEN(anon_sym_unless);
      END_STATE();
    case 61:
      ACCEPT_TOKEN(anon_sym_context);
      END_STATE();
    case 62:
      if (lookahead == 'a') ADVANCE(65);
      END_STATE();
    case 63:
      if (lookahead == 'e') ADVANCE(66);
      END_STATE();
    case 64:
      if (lookahead == 'e') ADVANCE(67);
      END_STATE();
    case 65:
      if (lookahead == 'l') ADVANCE(68);
      END_STATE();
    case 66:
      ACCEPT_TOKEN(anon_sym_resource);
      END_STATE();
    case 67:
      ACCEPT_TOKEN(anon_sym_template);
      END_STATE();
    case 68:
      ACCEPT_TOKEN(anon_sym_principal);
      END_STATE();
    default:
      return false;
  }
}

static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
  [0] = {.lex_state = 0},
  [1] = {.lex_state = 82},
  [2] = {.lex_state = 82},
  [3] = {.lex_state = 82},
  [4] = {.lex_state = 82},
  [5] = {.lex_state = 82},
  [6] = {.lex_state = 82},
  [7] = {.lex_state = 82},
  [8] = {.lex_state = 82},
  [9] = {.lex_state = 82},
  [10] = {.lex_state = 82},
  [11] = {.lex_state = 82},
  [12] = {.lex_state = 82},
  [13] = {.lex_state = 82},
  [14] = {.lex_state = 82},
  [15] = {.lex_state = 82},
  [16] = {.lex_state = 82},
  [17] = {.lex_state = 82},
  [18] = {.lex_state = 82},
  [19] = {.lex_state = 82},
  [20] = {.lex_state = 82},
  [21] = {.lex_state = 82},
  [22] = {.lex_state = 82},
  [23] = {.lex_state = 82},
  [24] = {.lex_state = 82},
  [25] = {.lex_state = 82},
  [26] = {.lex_state = 82},
  [27] = {.lex_state = 82},
  [28] = {.lex_state = 82},
  [29] = {.lex_state = 82},
  [30] = {.lex_state = 82},
  [31] = {.lex_state = 82},
  [32] = {.lex_state = 82},
  [33] = {.lex_state = 1},
  [34] = {.lex_state = 1},
  [35] = {.lex_state = 1},
  [36] = {.lex_state = 82},
  [37] = {.lex_state = 82},
  [38] = {.lex_state = 82},
  [39] = {.lex_state = 82},
  [40] = {.lex_state = 82},
  [41] = {.lex_state = 82},
  [42] = {.lex_state = 82},
  [43] = {.lex_state = 1},
  [44] = {.lex_state = 82},
  [45] = {.lex_state = 1},
  [46] = {.lex_state = 82},
  [47] = {.lex_state = 82},
  [48] = {.lex_state = 1},
  [49] = {.lex_state = 82},
  [50] = {.lex_state = 82},
  [51] = {.lex_state = 82},
  [52] = {.lex_state = 82},
  [53] = {.lex_state = 82},
  [54] = {.lex_state = 2},
  [55] = {.lex_state = 82},
  [56] = {.lex_state = 82},
  [57] = {.lex_state = 82},
  [58] = {.lex_state = 82},
  [59] = {.lex_state = 82},
  [60] = {.lex_state = 2},
  [61] = {.lex_state = 82},
  [62] = {.lex_state = 82},
  [63] = {.lex_state = 82},
  [64] = {.lex_state = 82},
  [65] = {.lex_state = 1},
  [66] = {.lex_state = 82},
  [67] = {.lex_state = 1},
  [68] = {.lex_state = 82},
  [69] = {.lex_state = 82},
  [70] = {.lex_state = 82},
  [71] = {.lex_state = 2},
  [72] = {.lex_state = 1},
  [73] = {.lex_state = 10},
  [74] = {.lex_state = 10},
  [75] = {.lex_state = 13},
  [76] = {.lex_state = 13},
  [77] = {.lex_state = 13},
  [78] = {.lex_state = 1},
  [79] = {.lex_state = 1},
  [80] = {.lex_state = 1},
  [81] = {.lex_state = 82},
  [82] = {.lex_state = 1},
  [83] = {.lex_state = 1},
  [84] = {.lex_state = 1},
  [85] = {.lex_state = 1},
  [86] = {.lex_state = 1},
  [87] = {.lex_state = 82},
  [88] = {.lex_state = 1},
  [89] = {.lex_state = 1},
  [90] = {.lex_state = 1},
  [91] = {.lex_state = 1},
  [92] = {.lex_state = 1},
  [93] = {.lex_state = 82},
  [94] = {.lex_state = 1},
  [95] = {.lex_state = 1},
  [96] = {.lex_state = 82},
  [97] = {.lex_state = 1},
  [98] = {.lex_state = 82},
  [99] = {.lex_state = 82},
  [100] = {.lex_state = 1},
  [101] = {.lex_state = 12},
  [102] = {.lex_state = 82},
  [103] = {.lex_state = 12},
  [104] = {.lex_state = 1},
  [105] = {.lex_state = 82},
  [106] = {.lex_state = 82},
  [107] = {.lex_state = 82},
  [108] = {.lex_state = 82},
  [109] = {.lex_state = 82},
  [110] = {.lex_state = 82},
  [111] = {.lex_state = 82},
  [112] = {.lex_state = 12},
  [113] = {.lex_state = 1},
  [114] = {.lex_state = 1},
  [115] = {.lex_state = 1},
  [116] = {.lex_state = 1},
  [117] = {.lex_state = 1},
  [118] = {.lex_state = 10},
  [119] = {.lex_state = 1},
  [120] = {.lex_state = 1},
  [121] = {.lex_state = 1},
  [122] = {.lex_state = 82},
  [123] = {.lex_state = 82},
  [124] = {.lex_state = 15},
  [125] = {.lex_state = 15},
  [126] = {.lex_state = 82},
  [127] = {.lex_state = 82},
  [128] = {.lex_state = 82},
  [129] = {.lex_state = 82},
  [130] = {.lex_state = 14},
  [131] = {.lex_state = 82},
  [132] = {.lex_state = 82},
  [133] = {.lex_state = 82},
  [134] = {.lex_state = 82},
  [135] = {.lex_state = 82},
  [136] = {.lex_state = 82},
  [137] = {.lex_state = 82},
  [138] = {.lex_state = 82},
  [139] = {.lex_state = 82},
  [140] = {.lex_state = 14},
  [141] = {.lex_state = 82},
  [142] = {.lex_state = 82},
  [143] = {.lex_state = 16},
  [144] = {.lex_state = 15},
  [145] = {.lex_state = 14},
  [146] = {.lex_state = 16},
  [147] = {.lex_state = 82},
  [148] = {.lex_state = 82},
  [149] = {.lex_state = 82},
  [150] = {.lex_state = 82},
  [151] = {.lex_state = 82},
  [152] = {.lex_state = 1},
  [153] = {.lex_state = 1},
  [154] = {.lex_state = 1},
  [155] = {.lex_state = 16},
  [156] = {.lex_state = 82},
  [157] = {.lex_state = 82},
  [158] = {.lex_state = 82},
  [159] = {.lex_state = 11},
  [160] = {.lex_state = 11},
  [161] = {.lex_state = 11},
  [162] = {.lex_state = 82},
  [163] = {.lex_state = 82},
  [164] = {.lex_state = 82},
  [165] = {.lex_state = 1},
  [166] = {.lex_state = 1},
  [167] = {.lex_state = 1},
  [168] = {.lex_state = 1},
  [169] = {.lex_state = 1},
  [170] = {.lex_state = 1},
  [171] = {.lex_state = 1},
  [172] = {.lex_state = 1},
  [173] = {.lex_state = 1},
  [174] = {.lex_state = 37},
  [175] = {.lex_state = 1},
  [176] = {.lex_state = 1},
  [177] = {.lex_state = 1},
  [178] = {.lex_state = 1},
  [179] = {.lex_state = 1},
  [180] = {.lex_state = 1},
  [181] = {.lex_state = 1},
  [182] = {.lex_state = 1},
  [183] = {.lex_state = 1},
  [184] = {.lex_state = 37},
  [185] = {.lex_state = 1},
  [186] = {.lex_state = 37},
  [187] = {.lex_state = 1},
  [188] = {.lex_state = 1},
  [189] = {.lex_state = 1},
  [190] = {.lex_state = 1},
  [191] = {.lex_state = 1},
  [192] = {.lex_state = 1},
  [193] = {.lex_state = 1},
  [194] = {.lex_state = 1},
  [195] = {.lex_state = 1},
  [196] = {.lex_state = 37},
  [197] = {.lex_state = 1},
  [198] = {.lex_state = 1},
  [199] = {.lex_state = 1},
  [200] = {.lex_state = 1},
  [201] = {.lex_state = 1},
  [202] = {.lex_state = 1},
  [203] = {.lex_state = 1},
  [204] = {.lex_state = 1},
  [205] = {.lex_state = 1},
  [206] = {.lex_state = 1},
  [207] = {.lex_state = 1},
  [208] = {.lex_state = 1},
  [209] = {.lex_state = 1},
  [210] = {.lex_state = 1},
  [211] = {.lex_state = 1},
  [212] = {.lex_state = 1},
  [213] = {.lex_state = 1},
  [214] = {.lex_state = 1},
  [215] = {.lex_state = 37},
  [216] = {.lex_state = 1},
  [217] = {.lex_state = 1},
  [218] = {.lex_state = 1},
  [219] = {.lex_state = 1},
  [220] = {.lex_state = 37},
  [221] = {.lex_state = 2},
  [222] = {.lex_state = 37},
  [223] = {.lex_state = 20},
  [224] = {.lex_state = 20},
  [225] = {.lex_state = 20},
  [226] = {.lex_state = 19},
  [227] = {.lex_state = 19},
  [228] = {.lex_state = 1},
  [229] = {.lex_state = 1},
  [230] = {.lex_state = 1},
  [231] = {.lex_state = 17},
  [232] = {.lex_state = 17},
  [233] = {.lex_state = 17},
  [234] = {.lex_state = 19},
  [235] = {.lex_state = 82},
  [236] = {.lex_state = 18},
  [237] = {.lex_state = 1},
  [238] = {.lex_state = 23},
  [239] = {.lex_state = 23},
  [240] = {.lex_state = 23},
  [241] = {.lex_state = 1},
  [242] = {.lex_state = 1},
  [243] = {.lex_state = 22},
  [244] = {.lex_state = 1},
  [245] = {.lex_state = 21},
  [246] = {.lex_state = 21},
  [247] = {.lex_state = 21},
  [248] = {.lex_state = 22},
  [249] = {.lex_state = 22},
  [250] = {.lex_state = 82},
  [251] = {.lex_state = 82},
  [252] = {.lex_state = 18},
  [253] = {.lex_state = 18},
  [254] = {.lex_state = 82},
  [255] = {.lex_state = 82},
  [256] = {.lex_state = 1},
  [257] = {.lex_state = 1},
  [258] = {.lex_state = 0},
  [259] = {.lex_state = 0},
  [260] = {.lex_state = 0},
  [261] = {.lex_state = 0},
  [262] = {.lex_state = 0},
  [263] = {.lex_state = 0},
  [264] = {.lex_state = 0},
  [265] = {.lex_state = 0},
  [266] = {.lex_state = 0},
  [267] = {.lex_state = 0},
  [268] = {.lex_state = 1},
  [269] = {.lex_state = 0},
  [270] = {.lex_state = 82},
  [271] = {.lex_state = 0},
  [272] = {.lex_state = 0},
  [273] = {.lex_state = 1},
  [274] = {.lex_state = 1},
  [275] = {.lex_state = 0},
  [276] = {.lex_state = 0},
  [277] = {.lex_state = 82},
  [278] = {.lex_state = 1},
  [279] = {.lex_state = 1},
  [280] = {.lex_state = 1},
  [281] = {.lex_state = 27},
  [282] = {.lex_state = 27},
  [283] = {.lex_state = 1},
  [284] = {.lex_state = 1},
  [285] = {.lex_state = 24},
  [286] = {.lex_state = 24},
  [287] = {.lex_state = 26},
  [288] = {.lex_state = 1},
  [289] = {.lex_state = 27},
  [290] = {.lex_state = 26},
  [291] = {.lex_state = 26},
  [292] = {.lex_state = 24},
  [293] = {.lex_state = 28},
  [294] = {.lex_state = 25},
  [295] = {.lex_state = 29},
  [296] = {.lex_state = 29},
  [297] = {.lex_state = 28},
  [298] = {.lex_state = 0},
  [299] = {.lex_state = 0},
  [300] = {.lex_state = 0},
  [301] = {.lex_state = 0},
  [302] = {.lex_state = 0},
  [303] = {.lex_state = 30},
  [304] = {.lex_state = 0},
  [305] = {.lex_state = 28},
  [306] = {.lex_state = 30},
  [307] = {.lex_state = 30},
  [308] = {.lex_state = 29},
  [309] = {.lex_state = 0},
  [310] = {.lex_state = 0},
  [311] = {.lex_state = 0},
  [312] = {.lex_state = 25},
  [313] = {.lex_state = 25},
  [314] = {.lex_state = 1},
  [315] = {.lex_state = 0},
  [316] = {.lex_state = 0},
  [317] = {.lex_state = 0},
  [318] = {.lex_state = 0},
  [319] = {.lex_state = 1},
  [320] = {.lex_state = 0},
  [321] = {.lex_state = 1},
  [322] = {.lex_state = 1},
  [323] = {.lex_state = 0},
  [324] = {.lex_state = 1},
  [325] = {.lex_state = 1},
  [326] = {.lex_state = 1},
  [327] = {.lex_state = 1},
  [328] = {.lex_state = 0},
  [329] = {.lex_state = 0},
  [330] = {.lex_state = 0},
  [331] = {.lex_state = 1},
  [332] = {.lex_state = 0},
  [333] = {.lex_state = 0},
  [334] = {.lex_state = 1},
  [335] = {.lex_state = 0},
  [336] = {.lex_state = 0},
  [337] = {.lex_state = 0},
  [338] = {.lex_state = 0},
  [339] = {.lex_state = 82},
  [340] = {.lex_state = 82},
  [341] = {.lex_state = 0},
  [342] = {.lex_state = 82},
  [343] = {.lex_state = 1},
  [344] = {.lex_state = 0},
  [345] = {.lex_state = 1},
  [346] = {.lex_state = 0},
  [347] = {.lex_state = 32},
  [348] = {.lex_state = 32},
  [349] = {.lex_state = 32},
  [350] = {.lex_state = 0},
  [351] = {.lex_state = 0},
  [352] = {.lex_state = 0},
  [353] = {.lex_state = 1},
  [354] = {.lex_state = 82},
  [355] = {.lex_state = 1},
  [356] = {.lex_state = 1},
  [357] = {.lex_state = 1},
  [358] = {.lex_state = 82},
  [359] = {.lex_state = 1},
  [360] = {.lex_state = 1},
  [361] = {.lex_state = 82},
  [362] = {.lex_state = 1},
  [363] = {.lex_state = 1},
  [364] = {.lex_state = 33},
  [365] = {.lex_state = 33},
  [366] = {.lex_state = 33},
  [367] = {.lex_state = 1},
  [368] = {.lex_state = 82},
  [369] = {.lex_state = 1},
  [370] = {.lex_state = 82},
  [371] = {.lex_state = 36},
  [372] = {.lex_state = 82},
  [373] = {.lex_state = 82},
  [374] = {.lex_state = 82},
  [375] = {.lex_state = 82},
  [376] = {.lex_state = 82},
  [377] = {.lex_state = 36},
  [378] = {.lex_state = 82},
  [379] = {.lex_state = 36},
  [380] = {.lex_state = 82},
  [381] = {.lex_state = 82},
  [382] = {.lex_state = 82},
  [383] = {.lex_state = 82},
  [384] = {.lex_state = 82},
  [385] = {.lex_state = 82},
  [386] = {.lex_state = 0},
  [387] = {.lex_state = 82},
  [388] = {.lex_state = 0},
  [389] = {.lex_state = 82},
  [390] = {.lex_state = 82},
  [391] = {.lex_state = 82},
  [392] = {.lex_state = 0},
  [393] = {.lex_state = 82},
  [394] = {.lex_state = 82},
  [395] = {.lex_state = 0},
  [396] = {.lex_state = 82},
  [397] = {.lex_state = 82},
  [398] = {.lex_state = 0},
  [399] = {.lex_state = 0},
  [400] = {.lex_state = 82},
  [401] = {.lex_state = 82},
  [402] = {.lex_state = 35},
  [403] = {.lex_state = 82},
  [404] = {.lex_state = 82},
  [405] = {.lex_state = 1},
  [406] = {.lex_state = 82},
  [407] = {.lex_state = 1},
  [408] = {.lex_state = 82},
  [409] = {.lex_state = 82},
  [410] = {.lex_state = 82},
  [411] = {.lex_state = 82},
  [412] = {.lex_state = 0},
  [413] = {.lex_state = 34},
  [414] = {.lex_state = 34},
  [415] = {.lex_state = 0},
  [416] = {.lex_state = 82},
  [417] = {.lex_state = 82},
  [418] = {.lex_state = 82},
  [419] = {.lex_state = 82},
  [420] = {.lex_state = 31},
  [421] = {.lex_state = 82},
  [422] = {.lex_state = 34},
  [423] = {.lex_state = 35},
  [424] = {.lex_state = 82},
  [425] = {.lex_state = 35},
  [426] = {.lex_state = 0},
  [427] = {.lex_state = 82},
  [428] = {.lex_state = 31},
  [429] = {.lex_state = 82},
  [430] = {.lex_state = 82},
  [431] = {.lex_state = 82},
  [432] = {.lex_state = 82},
  [433] = {.lex_state = 82},
  [434] = {.lex_state = 1},
  [435] = {.lex_state = 82},
  [436] = {.lex_state = 82},
  [437] = {.lex_state = 82},
  [438] = {.lex_state = 82},
  [439] = {.lex_state = 82},
  [440] = {.lex_state = 82},
  [441] = {.lex_state = 31},
  [442] = {.lex_state = 0},
  [443] = {.lex_state = 1},
  [444] = {.lex_state = 0},
  [445] = {.lex_state = 82},
  [446] = {.lex_state = 82},
  [447] = {.lex_state = 1},
  [448] = {.lex_state = 0},
  [449] = {.lex_state = 1},
  [450] = {.lex_state = 1},
  [451] = {.lex_state = 1},
  [452] = {.lex_state = 82},
  [453] = {.lex_state = 82},
  [454] = {.lex_state = 1},
  [455] = {.lex_state = 82},
  [456] = {.lex_state = 0},
  [457] = {.lex_state = 0},
  [458] = {.lex_state = 0},
  [459] = {.lex_state = 82},
  [460] = {.lex_state = 82},
  [461] = {.lex_state = 82},
  [462] = {.lex_state = 0},
  [463] = {.lex_state = 0},
  [464] = {.lex_state = 82},
  [465] = {.lex_state = 0},
  [466] = {.lex_state = 82},
  [467] = {.lex_state = 82},
  [468] = {.lex_state = 0},
  [469] = {.lex_state = 82},
  [470] = {.lex_state = 0},
  [471] = {.lex_state = 82},
  [472] = {.lex_state = 0},
  [473] = {.lex_state = 82},
  [474] = {.lex_state = 82},
  [475] = {.lex_state = 0},
  [476] = {.lex_state = 82},
  [477] = {.lex_state = 0},
  [478] = {.lex_state = 82},
  [479] = {.lex_state = 82},
  [480] = {.lex_state = 0},
  [481] = {.lex_state = 82},
  [482] = {.lex_state = 0},
  [483] = {.lex_state = 82},
  [484] = {.lex_state = 82},
  [485] = {.lex_state = 82},
  [486] = {.lex_state = 0},
  [487] = {.lex_state = 82},
  [488] = {.lex_state = 82},
  [489] = {.lex_state = 82},
  [490] = {.lex_state = 0},
  [491] = {.lex_state = 0},
  [492] = {.lex_state = 82},
  [493] = {.lex_state = 82},
  [494] = {.lex_state = 82},
  [495] = {.lex_state = 0},
  [496] = {.lex_state = 82},
  [497] = {.lex_state = 82},
  [498] = {.lex_state = 82},
  [499] = {.lex_state = 82},
  [500] = {.lex_state = 82},
  [501] = {.lex_state = 0},
  [502] = {.lex_state = 82},
  [503] = {.lex_state = 0},
  [504] = {.lex_state = 0},
  [505] = {.lex_state = 82},
  [506] = {.lex_state = 82},
  [507] = {.lex_state = 0},
  [508] = {.lex_state = 82},
  [509] = {.lex_state = 82},
  [510] = {.lex_state = 0},
  [511] = {.lex_state = 82},
  [512] = {.lex_state = 82},
  [513] = {.lex_state = 0},
  [514] = {.lex_state = 0},
  [515] = {.lex_state = 0},
  [516] = {.lex_state = 82},
  [517] = {.lex_state = 82},
  [518] = {.lex_state = 82},
  [519] = {.lex_state = 82},
  [520] = {.lex_state = 0},
  [521] = {.lex_state = 0},
  [522] = {.lex_state = 0},
  [523] = {.lex_state = 82},
  [524] = {.lex_state = 0},
  [525] = {.lex_state = 0},
  [526] = {.lex_state = 82},
  [527] = {.lex_state = 82},
  [528] = {.lex_state = 82},
  [529] = {.lex_state = 82},
  [530] = {.lex_state = 82},
  [531] = {.lex_state = 0},
  [532] = {.lex_state = 82},
  [533] = {.lex_state = 82},
  [534] = {.lex_state = 82},
  [535] = {.lex_state = 82},
  [536] = {.lex_state = 82},
  [537] = {.lex_state = 82},
  [538] = {.lex_state = 82},
  [539] = {.lex_state = 1},
  [540] = {.lex_state = 1},
  [541] = {.lex_state = 82},
  [542] = {.lex_state = 82},
  [543] = {.lex_state = 82},
  [544] = {.lex_state = 0},
  [545] = {.lex_state = 0},
  [546] = {.lex_state = 82},
  [547] = {.lex_state = 82},
  [548] = {.lex_state = 82},
  [549] = {.lex_state = 0},
  [550] = {.lex_state = 0},
  [551] = {.lex_state = 82},
  [552] = {.lex_state = 82},
  [553] = {.lex_state = 82},
  [554] = {.lex_state = 82},
  [555] = {.lex_state = 82},
  [556] = {.lex_state = 82},
  [557] = {.lex_state = 82},
  [558] = {.lex_state = 82},
  [559] = {.lex_state = 0},
  [560] = {.lex_state = 82},
  [561] = {.lex_state = 0},
  [562] = {.lex_state = 1},
  [563] = {.lex_state = 1},
  [564] = {.lex_state = 0},
  [565] = {.lex_state = 0},
  [566] = {.lex_state = 82},
  [567] = {.lex_state = 0},
  [568] = {.lex_state = 0},
  [569] = {.lex_state = 0},
  [570] = {.lex_state = 0},
  [571] = {.lex_state = 0},
  [572] = {.lex_state = 2},
  [573] = {.lex_state = 0},
  [574] = {.lex_state = 0},
  [575] = {.lex_state = 1},
  [576] = {.lex_state = 0},
  [577] = {.lex_state = 82},
  [578] = {.lex_state = 82},
  [579] = {.lex_state = 1},
  [580] = {.lex_state = 0},
  [581] = {.lex_state = 0},
  [582] = {.lex_state = 0},
  [583] = {.lex_state = 0},
  [584] = {.lex_state = 82},
  [585] = {.lex_state = 82},
  [586] = {.lex_state = 82},
  [587] = {.lex_state = 0},
  [588] = {.lex_state = 1},
  [589] = {.lex_state = 0},
  [590] = {.lex_state = 82},
  [591] = {.lex_state = 0},
  [592] = {.lex_state = 1},
  [593] = {.lex_state = 2},
  [594] = {.lex_state = 0},
  [595] = {.lex_state = 1},
  [596] = {.lex_state = 82},
  [597] = {.lex_state = 1},
  [598] = {.lex_state = 1},
  [599] = {.lex_state = 1},
  [600] = {.lex_state = 1},
  [601] = {.lex_state = 1},
  [602] = {.lex_state = 1},
  [603] = {.lex_state = 1},
  [604] = {.lex_state = 0},
  [605] = {.lex_state = 0},
  [606] = {.lex_state = 0},
  [607] = {.lex_state = 0},
  [608] = {.lex_state = 82},
  [609] = {.lex_state = 0},
  [610] = {.lex_state = 0},
};

static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
  [STATE(0)] = {
    [ts_builtin_sym_end] = ACTIONS(1),
    [sym_identifier] = ACTIONS(1),
    [anon_sym_LPAREN] = ACTIONS(1),
    [anon_sym_RPAREN] = ACTIONS(1),
    [anon_sym_SEMI] = ACTIONS(1),
    [anon_sym_template] = ACTIONS(1),
    [anon_sym_COMMA] = ACTIONS(1),
    [anon_sym_EQ_GT] = ACTIONS(1),
    [anon_sym_permit] = ACTIONS(1),
    [anon_sym_forbid] = ACTIONS(1),
    [anon_sym_AT] = ACTIONS(1),
    [anon_sym_principal] = ACTIONS(1),
    [anon_sym_action] = ACTIONS(1),
    [anon_sym_resource] = ACTIONS(1),
    [anon_sym_EQ_EQ] = ACTIONS(1),
    [anon_sym_in] = ACTIONS(1),
    [anon_sym_is] = ACTIONS(1),
    [anon_sym_when] = ACTIONS(1),
    [anon_sym_unless] = ACTIONS(1),
    [anon_sym_LBRACE] = ACTIONS(1),
    [anon_sym_RBRACE] = ACTIONS(1),
    [anon_sym_if] = ACTIONS(1),
    [anon_sym_then] = ACTIONS(1),
    [anon_sym_else] = ACTIONS(1),
    [anon_sym_PIPE_PIPE] = ACTIONS(1),
    [anon_sym_PIPE] = ACTIONS(1),
    [anon_sym_AMP_AMP] = ACTIONS(1),
    [anon_sym_AMP] = ACTIONS(1),
    [anon_sym_BANG_EQ] = ACTIONS(1),
    [anon_sym_LT] = ACTIONS(1),
    [anon_sym_LT_EQ] = ACTIONS(1),
    [anon_sym_GT] = ACTIONS(1),
    [anon_sym_GT_EQ] = ACTIONS(1),
    [anon_sym_EQ] = ACTIONS(1),
    [anon_sym_has] = ACTIONS(1),
    [anon_sym_like] = ACTIONS(1),
    [anon_sym_PLUS] = ACTIONS(1),
    [anon_sym_DASH] = ACTIONS(1),
    [anon_sym_STAR] = ACTIONS(1),
    [anon_sym_SLASH] = ACTIONS(1),
    [anon_sym_PERCENT] = ACTIONS(1),
    [anon_sym_BANG] = ACTIONS(1),
    [anon_sym_DOT] = ACTIONS(1),
    [anon_sym_LBRACK] = ACTIONS(1),
    [anon_sym_RBRACK] = ACTIONS(1),
    [anon_sym_COLON] = ACTIONS(1),
    [anon_sym_COLON_COLON] = ACTIONS(1),
    [anon_sym_QMARK] = ACTIONS(1),
    [anon_sym_context] = ACTIONS(1),
    [sym_true] = ACTIONS(1),
    [sym_false] = ACTIONS(1),
    [sym_integer] = ACTIONS(1),
    [anon_sym_DQUOTE] = ACTIONS(1),
    [anon_sym_DQUOTE2] = ACTIONS(1),
    [sym_escape_sequence] = ACTIONS(1),
    [sym_comment] = ACTIONS(3),
  },
  [STATE(1)] = {
    [sym_policy_set] = STATE(609),
    [sym_policy] = STATE(270),
    [sym_template_declaration] = STATE(361),
    [sym_effect] = STATE(574),
    [sym_annotation] = STATE(358),
    [aux_sym_policy_set_repeat1] = STATE(270),
    [aux_sym_policy_repeat1] = STATE(358),
    [ts_builtin_sym_end] = ACTIONS(5),
    [anon_sym_template] = ACTIONS(7),
    [anon_sym_permit] = ACTIONS(9),
    [anon_sym_forbid] = ACTIONS(9),
    [anon_sym_AT] = ACTIONS(11),
    [sym_comment] = ACTIONS(3),
  },
};

static const uint16_t ts_small_parse_table[] = {
  [0] = 24,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(17), 1,
      anon_sym_COMMA,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_if,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(29), 1,
      anon_sym_RBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(203), 1,
      sym__multiply_expression,
    STATE(229), 1,
      sym__add_expression,
    STATE(328), 1,
      sym_relation_expression,
    STATE(388), 1,
      sym_and_expression,
    STATE(514), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [87] = 23,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(41), 1,
      anon_sym_RPAREN,
    ACTIONS(43), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(181), 1,
      sym_unary_expression,
    STATE(204), 1,
      sym__multiply_expression,
    STATE(228), 1,
      sym__add_expression,
    STATE(329), 1,
      sym_relation_expression,
    STATE(392), 1,
      sym_and_expression,
    STATE(480), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [171] = 23,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_if,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    ACTIONS(49), 1,
      anon_sym_RBRACK,
    STATE(169), 1,
      sym_member_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(203), 1,
      sym__multiply_expression,
    STATE(229), 1,
      sym__add_expression,
    STATE(328), 1,
      sym_relation_expression,
    STATE(388), 1,
      sym_and_expression,
    STATE(490), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [255] = 23,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_if,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    ACTIONS(51), 1,
      anon_sym_RBRACK,
    STATE(169), 1,
      sym_member_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(203), 1,
      sym__multiply_expression,
    STATE(229), 1,
      sym__add_expression,
    STATE(328), 1,
      sym_relation_expression,
    STATE(388), 1,
      sym_and_expression,
    STATE(490), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [339] = 23,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(43), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    ACTIONS(53), 1,
      anon_sym_RPAREN,
    STATE(169), 1,
      sym_member_expression,
    STATE(181), 1,
      sym_unary_expression,
    STATE(204), 1,
      sym__multiply_expression,
    STATE(228), 1,
      sym__add_expression,
    STATE(329), 1,
      sym_relation_expression,
    STATE(392), 1,
      sym_and_expression,
    STATE(503), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [423] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_if,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(203), 1,
      sym__multiply_expression,
    STATE(229), 1,
      sym__add_expression,
    STATE(328), 1,
      sym_relation_expression,
    STATE(388), 1,
      sym_and_expression,
    STATE(490), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [504] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(55), 1,
      sym_identifier,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(185), 1,
      sym_unary_expression,
    STATE(216), 1,
      sym__multiply_expression,
    STATE(237), 1,
      sym__add_expression,
    STATE(350), 1,
      sym_relation_expression,
    STATE(458), 1,
      sym_and_expression,
    STATE(576), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(59), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [585] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(592), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [666] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(71), 1,
      sym_identifier,
    ACTIONS(73), 1,
      anon_sym_if,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(193), 1,
      sym_unary_expression,
    STATE(208), 1,
      sym__multiply_expression,
    STATE(241), 1,
      sym__add_expression,
    STATE(352), 1,
      sym_relation_expression,
    STATE(442), 1,
      sym_and_expression,
    STATE(587), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(75), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [747] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(55), 1,
      sym_identifier,
    ACTIONS(57), 1,
      anon_sym_if,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(185), 1,
      sym_unary_expression,
    STATE(216), 1,
      sym__multiply_expression,
    STATE(237), 1,
      sym__add_expression,
    STATE(350), 1,
      sym_relation_expression,
    STATE(360), 1,
      sym_expression,
    STATE(458), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(59), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [828] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(43), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(181), 1,
      sym_unary_expression,
    STATE(204), 1,
      sym__multiply_expression,
    STATE(228), 1,
      sym__add_expression,
    STATE(329), 1,
      sym_relation_expression,
    STATE(392), 1,
      sym_and_expression,
    STATE(490), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [909] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(360), 1,
      sym_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [990] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(597), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1071] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(71), 1,
      sym_identifier,
    ACTIONS(73), 1,
      anon_sym_if,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(193), 1,
      sym_unary_expression,
    STATE(208), 1,
      sym__multiply_expression,
    STATE(241), 1,
      sym__add_expression,
    STATE(352), 1,
      sym_relation_expression,
    STATE(360), 1,
      sym_expression,
    STATE(442), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(75), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1152] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(602), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1233] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(603), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1314] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(23), 1,
      anon_sym_if,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(203), 1,
      sym__multiply_expression,
    STATE(229), 1,
      sym__add_expression,
    STATE(328), 1,
      sym_relation_expression,
    STATE(360), 1,
      sym_expression,
    STATE(388), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1395] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(43), 1,
      anon_sym_if,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(181), 1,
      sym_unary_expression,
    STATE(204), 1,
      sym__multiply_expression,
    STATE(228), 1,
      sym__add_expression,
    STATE(329), 1,
      sym_relation_expression,
    STATE(360), 1,
      sym_expression,
    STATE(392), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1476] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(87), 1,
      sym_identifier,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(182), 1,
      sym_unary_expression,
    STATE(206), 1,
      sym__multiply_expression,
    STATE(230), 1,
      sym__add_expression,
    STATE(332), 1,
      sym_relation_expression,
    STATE(360), 1,
      sym_expression,
    STATE(398), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(91), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1557] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(360), 1,
      sym_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1638] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(87), 1,
      sym_identifier,
    ACTIONS(89), 1,
      anon_sym_if,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(182), 1,
      sym_unary_expression,
    STATE(206), 1,
      sym__multiply_expression,
    STATE(230), 1,
      sym__add_expression,
    STATE(332), 1,
      sym_relation_expression,
    STATE(398), 1,
      sym_and_expression,
    STATE(524), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(91), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1719] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(579), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1800] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(562), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1881] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(563), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [1962] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(595), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2043] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(575), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2124] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(65), 1,
      anon_sym_if,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(451), 1,
      sym_and_expression,
    STATE(588), 1,
      sym_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2205] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(598), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2286] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(599), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2367] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(600), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2448] = 22,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(81), 1,
      anon_sym_if,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(447), 1,
      sym_and_expression,
    STATE(594), 1,
      sym_name,
    STATE(601), 1,
      sym_expression,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    STATE(343), 2,
      sym_if_expression,
      sym_or_expression,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2529] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(99), 1,
      anon_sym_DOT,
    ACTIONS(102), 1,
      anon_sym_LBRACK,
    STATE(33), 5,
      sym__accessor,
      sym_field_access,
      sym_method_call,
      sym_index_access,
      aux_sym_member_expression_repeat1,
    ACTIONS(97), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(95), 20,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_RBRACK,
  [2576] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(109), 1,
      anon_sym_DOT,
    ACTIONS(111), 1,
      anon_sym_LBRACK,
    STATE(35), 5,
      sym__accessor,
      sym_field_access,
      sym_method_call,
      sym_index_access,
      aux_sym_member_expression_repeat1,
    ACTIONS(107), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(105), 20,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_RBRACK,
  [2623] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(109), 1,
      anon_sym_DOT,
    ACTIONS(111), 1,
      anon_sym_LBRACK,
    STATE(33), 5,
      sym__accessor,
      sym_field_access,
      sym_method_call,
      sym_index_access,
      aux_sym_member_expression_repeat1,
    ACTIONS(115), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(113), 20,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_RBRACK,
  [2670] = 19,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(325), 1,
      sym_and_expression,
    STATE(355), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2741] = 19,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(71), 1,
      sym_identifier,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(193), 1,
      sym_unary_expression,
    STATE(208), 1,
      sym__multiply_expression,
    STATE(241), 1,
      sym__add_expression,
    STATE(325), 1,
      sym_and_expression,
    STATE(352), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(75), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2812] = 19,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(55), 1,
      sym_identifier,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(185), 1,
      sym_unary_expression,
    STATE(216), 1,
      sym__multiply_expression,
    STATE(237), 1,
      sym__add_expression,
    STATE(325), 1,
      sym_and_expression,
    STATE(350), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(59), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2883] = 19,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(203), 1,
      sym__multiply_expression,
    STATE(229), 1,
      sym__add_expression,
    STATE(325), 1,
      sym_and_expression,
    STATE(328), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [2954] = 19,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(181), 1,
      sym_unary_expression,
    STATE(204), 1,
      sym__multiply_expression,
    STATE(228), 1,
      sym__add_expression,
    STATE(325), 1,
      sym_and_expression,
    STATE(329), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3025] = 19,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(87), 1,
      sym_identifier,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(182), 1,
      sym_unary_expression,
    STATE(206), 1,
      sym__multiply_expression,
    STATE(230), 1,
      sym__add_expression,
    STATE(325), 1,
      sym_and_expression,
    STATE(332), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(91), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3096] = 19,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(325), 1,
      sym_and_expression,
    STATE(362), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3167] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(121), 1,
      anon_sym_COLON_COLON,
    STATE(43), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(119), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(117), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [3209] = 18,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(219), 1,
      sym__multiply_expression,
    STATE(244), 1,
      sym__add_expression,
    STATE(288), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3277] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(128), 1,
      anon_sym_COLON_COLON,
    STATE(48), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(126), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(124), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [3319] = 18,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(207), 1,
      sym__multiply_expression,
    STATE(242), 1,
      sym__add_expression,
    STATE(288), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3387] = 18,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(55), 1,
      sym_identifier,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(185), 1,
      sym_unary_expression,
    STATE(216), 1,
      sym__multiply_expression,
    STATE(237), 1,
      sym__add_expression,
    STATE(288), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(59), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3455] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(128), 1,
      anon_sym_COLON_COLON,
    STATE(43), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(132), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(130), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [3497] = 18,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(203), 1,
      sym__multiply_expression,
    STATE(229), 1,
      sym__add_expression,
    STATE(288), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3565] = 18,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(71), 1,
      sym_identifier,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(193), 1,
      sym_unary_expression,
    STATE(208), 1,
      sym__multiply_expression,
    STATE(241), 1,
      sym__add_expression,
    STATE(288), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(75), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3633] = 18,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(181), 1,
      sym_unary_expression,
    STATE(204), 1,
      sym__multiply_expression,
    STATE(228), 1,
      sym__add_expression,
    STATE(288), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3701] = 18,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(87), 1,
      sym_identifier,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(182), 1,
      sym_unary_expression,
    STATE(206), 1,
      sym__multiply_expression,
    STATE(230), 1,
      sym__add_expression,
    STATE(288), 1,
      sym_relation_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(91), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3769] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(134), 1,
      sym_identifier,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(140), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(259), 1,
      sym_unary_expression,
    STATE(284), 1,
      sym__add_expression,
    STATE(311), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(136), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3834] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(144), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(142), 23,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
      anon_sym_COLON,
  [3871] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(146), 1,
      sym_identifier,
    ACTIONS(150), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(267), 1,
      sym_unary_expression,
    STATE(283), 1,
      sym__add_expression,
    STATE(320), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(148), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [3936] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(152), 1,
      sym_identifier,
    ACTIONS(156), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(264), 1,
      sym_unary_expression,
    STATE(284), 1,
      sym__add_expression,
    STATE(309), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(154), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4001] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(158), 1,
      sym_identifier,
    ACTIONS(162), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(275), 1,
      sym_unary_expression,
    STATE(284), 1,
      sym__add_expression,
    STATE(316), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(160), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4066] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(152), 1,
      sym_identifier,
    ACTIONS(156), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(264), 1,
      sym_unary_expression,
    STATE(283), 1,
      sym__add_expression,
    STATE(309), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(154), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4131] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(158), 1,
      sym_identifier,
    ACTIONS(162), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(275), 1,
      sym_unary_expression,
    STATE(283), 1,
      sym__add_expression,
    STATE(316), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(160), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4196] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(166), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(164), 23,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
      anon_sym_COLON,
  [4233] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(168), 1,
      sym_identifier,
    ACTIONS(172), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(258), 1,
      sym_unary_expression,
    STATE(284), 1,
      sym__add_expression,
    STATE(310), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(170), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4298] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(168), 1,
      sym_identifier,
    ACTIONS(172), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(258), 1,
      sym_unary_expression,
    STATE(283), 1,
      sym__add_expression,
    STATE(310), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(170), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4363] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(174), 1,
      sym_identifier,
    ACTIONS(178), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(273), 1,
      sym_unary_expression,
    STATE(284), 1,
      sym__add_expression,
    STATE(321), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(176), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4428] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(174), 1,
      sym_identifier,
    ACTIONS(178), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(273), 1,
      sym_unary_expression,
    STATE(283), 1,
      sym__add_expression,
    STATE(321), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(176), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4493] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(180), 1,
      anon_sym_LPAREN,
    ACTIONS(184), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(182), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [4532] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(134), 1,
      sym_identifier,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(140), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(259), 1,
      sym_unary_expression,
    STATE(283), 1,
      sym__add_expression,
    STATE(311), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(136), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4597] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(119), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(117), 23,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
      anon_sym_COLON_COLON,
  [4634] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(146), 1,
      sym_identifier,
    ACTIONS(150), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(267), 1,
      sym_unary_expression,
    STATE(284), 1,
      sym__add_expression,
    STATE(320), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(148), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4699] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(190), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(274), 1,
      sym_unary_expression,
    STATE(284), 1,
      sym__add_expression,
    STATE(319), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(188), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4764] = 17,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(190), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(274), 1,
      sym_unary_expression,
    STATE(283), 1,
      sym__add_expression,
    STATE(319), 1,
      sym__multiply_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(188), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [4829] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(196), 1,
      anon_sym_COLON,
    ACTIONS(194), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(192), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [4868] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(200), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(198), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [4904] = 6,
    ACTIONS(202), 1,
      sym_string_content,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(206), 1,
      sym_escape_sequence,
    ACTIONS(208), 1,
      sym_comment,
    STATE(74), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 24,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [4946] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(212), 1,
      sym_string_content,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(217), 1,
      sym_escape_sequence,
    STATE(74), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 24,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [4988] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(222), 1,
      sym_string_content,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(226), 1,
      sym_escape_sequence,
    STATE(76), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 24,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [5030] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(228), 1,
      sym_string_content,
    ACTIONS(230), 1,
      sym_escape_sequence,
    STATE(77), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 24,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [5072] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(232), 1,
      sym_string_content,
    ACTIONS(235), 1,
      sym_escape_sequence,
    STATE(77), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 24,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [5114] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(240), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(238), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5150] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(244), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(242), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5186] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(248), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(246), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5222] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(71), 1,
      sym_identifier,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(193), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(75), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [5284] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(252), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(250), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5320] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(256), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(254), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5356] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(260), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(258), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5392] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(264), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(262), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5428] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(268), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(266), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5464] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(195), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [5526] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(272), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(270), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5562] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(276), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(274), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5598] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(280), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(278), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5634] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(284), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(282), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5670] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(288), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(286), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5706] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(180), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [5768] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(292), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(290), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5804] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(296), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(294), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5840] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(55), 1,
      sym_identifier,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(185), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(59), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [5902] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(300), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(298), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [5938] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(158), 1,
      sym_identifier,
    ACTIONS(162), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(275), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(160), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6000] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(181), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6062] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(304), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(302), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6098] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(306), 1,
      sym_string_content,
    ACTIONS(308), 1,
      sym_escape_sequence,
    STATE(103), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 24,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6140] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(146), 1,
      sym_identifier,
    ACTIONS(150), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(267), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(148), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6202] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(310), 1,
      sym_string_content,
    ACTIONS(312), 1,
      sym_escape_sequence,
    STATE(112), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 24,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6244] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(316), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(314), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6280] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(87), 1,
      sym_identifier,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(182), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(91), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6342] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(194), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6404] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(174), 1,
      sym_identifier,
    ACTIONS(178), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(273), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(176), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6466] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(152), 1,
      sym_identifier,
    ACTIONS(156), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(264), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(154), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6528] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(168), 1,
      sym_identifier,
    ACTIONS(172), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(258), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(170), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6590] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(134), 1,
      sym_identifier,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(140), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(259), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(136), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6652] = 16,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(190), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(173), 1,
      sym__multiply_expression,
    STATE(274), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(188), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [6714] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(318), 1,
      sym_string_content,
    ACTIONS(321), 1,
      sym_escape_sequence,
    STATE(112), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 24,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6756] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(326), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(324), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6792] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(330), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(328), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6828] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(334), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(332), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6864] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(338), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(336), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6900] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(342), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(340), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [6936] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(344), 1,
      sym_string_content,
    ACTIONS(346), 1,
      sym_escape_sequence,
    STATE(73), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 24,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [6978] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(350), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(348), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [7014] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(354), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(352), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [7050] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(358), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(356), 22,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [7086] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(168), 1,
      sym_identifier,
    ACTIONS(172), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(170), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7145] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(146), 1,
      sym_identifier,
    ACTIONS(150), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(148), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7204] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(360), 1,
      sym_string_content,
    ACTIONS(362), 1,
      sym_escape_sequence,
    STATE(125), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [7245] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(364), 1,
      sym_string_content,
    ACTIONS(367), 1,
      sym_escape_sequence,
    STATE(125), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [7286] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(71), 1,
      sym_identifier,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(75), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7345] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(71), 1,
      sym_identifier,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(75), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7404] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(146), 1,
      sym_identifier,
    ACTIONS(150), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(148), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7463] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7522] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(370), 1,
      sym_string_content,
    ACTIONS(372), 1,
      sym_escape_sequence,
    STATE(140), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [7563] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(87), 1,
      sym_identifier,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(91), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7622] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7681] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(87), 1,
      sym_identifier,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(91), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7740] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7799] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(63), 1,
      sym_identifier,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(67), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7858] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(174), 1,
      sym_identifier,
    ACTIONS(178), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(176), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7917] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(158), 1,
      sym_identifier,
    ACTIONS(162), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(160), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [7976] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(174), 1,
      sym_identifier,
    ACTIONS(178), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(176), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8035] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(152), 1,
      sym_identifier,
    ACTIONS(156), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(154), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8094] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(374), 1,
      sym_string_content,
    ACTIONS(376), 1,
      sym_escape_sequence,
    STATE(145), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8135] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(152), 1,
      sym_identifier,
    ACTIONS(156), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(154), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8194] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(168), 1,
      sym_identifier,
    ACTIONS(172), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(170), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8253] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(378), 1,
      sym_string_content,
    ACTIONS(380), 1,
      sym_escape_sequence,
    STATE(146), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8294] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(382), 1,
      sym_string_content,
    ACTIONS(384), 1,
      sym_escape_sequence,
    STATE(124), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8335] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(386), 1,
      sym_string_content,
    ACTIONS(389), 1,
      sym_escape_sequence,
    STATE(145), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8376] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(392), 1,
      sym_string_content,
    ACTIONS(394), 1,
      sym_escape_sequence,
    STATE(155), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8417] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(134), 1,
      sym_identifier,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(140), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(136), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8476] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(190), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(188), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8535] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(13), 1,
      sym_identifier,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(25), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8594] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(186), 1,
      sym_identifier,
    ACTIONS(190), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(188), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8653] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(158), 1,
      sym_identifier,
    ACTIONS(162), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(160), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8712] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(400), 1,
      anon_sym_COLON_COLON,
    STATE(484), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(396), 18,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [8753] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(402), 1,
      anon_sym_COLON_COLON,
    STATE(492), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(396), 18,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8794] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(404), 1,
      anon_sym_COLON_COLON,
    STATE(497), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(396), 18,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8835] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(406), 1,
      sym_string_content,
    ACTIONS(409), 1,
      sym_escape_sequence,
    STATE(155), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 23,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [8876] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(55), 1,
      sym_identifier,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(59), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8935] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [8994] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(55), 1,
      sym_identifier,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(59), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [9053] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(412), 1,
      sym_string_content,
    ACTIONS(414), 1,
      sym_escape_sequence,
    STATE(160), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 23,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [9094] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(416), 1,
      sym_string_content,
    ACTIONS(418), 1,
      sym_escape_sequence,
    STATE(161), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 23,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [9135] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(420), 1,
      sym_string_content,
    ACTIONS(423), 1,
      sym_escape_sequence,
    STATE(161), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 23,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT,
      anon_sym_LT_EQ,
      anon_sym_GT,
      anon_sym_GT_EQ,
      anon_sym_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [9176] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(79), 1,
      sym_identifier,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(83), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [9235] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(31), 1,
      anon_sym_QMARK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(39), 1,
      sym_identifier,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    STATE(167), 1,
      sym_unary_expression,
    STATE(169), 1,
      sym_member_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(45), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [9294] = 15,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(15), 1,
      anon_sym_LPAREN,
    ACTIONS(21), 1,
      anon_sym_LBRACE,
    ACTIONS(27), 1,
      anon_sym_LBRACK,
    ACTIONS(35), 1,
      sym_integer,
    ACTIONS(134), 1,
      sym_identifier,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(140), 1,
      anon_sym_DQUOTE,
    STATE(169), 1,
      sym_member_expression,
    STATE(171), 1,
      sym_unary_expression,
    STATE(594), 1,
      sym_name,
    ACTIONS(33), 2,
      sym_true,
      sym_false,
    ACTIONS(136), 2,
      anon_sym_DASH,
      anon_sym_BANG,
    ACTIONS(19), 4,
      anon_sym_principal,
      anon_sym_action,
      anon_sym_resource,
      anon_sym_context,
    STATE(34), 9,
      sym__primary,
      sym_extension_call,
      sym_parenthesized_expression,
      sym_list_expression,
      sym_record_expression,
      sym_entity_reference,
      sym_slot,
      sym_variable,
      sym_string,
  [9353] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(426), 1,
      anon_sym_COLON_COLON,
    STATE(476), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(396), 17,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [9393] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(428), 1,
      anon_sym_COLON_COLON,
    STATE(487), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(396), 17,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [9433] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(432), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(430), 20,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_RBRACK,
  [9467] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(434), 1,
      anon_sym_COLON_COLON,
    STATE(481), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(396), 17,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [9507] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(438), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(436), 20,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_RBRACK,
  [9541] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(440), 1,
      anon_sym_COLON_COLON,
    STATE(499), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(396), 17,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [9581] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(444), 6,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
      anon_sym_SLASH,
    ACTIONS(442), 20,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_RBRACK,
  [9615] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(449), 1,
      anon_sym_SLASH,
    STATE(172), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(446), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(432), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(430), 14,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_RBRACK,
  [9652] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 18,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_RBRACK,
  [9683] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(456), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(119), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(117), 18,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_in,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [9718] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(465), 1,
      anon_sym_SLASH,
    STATE(172), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(463), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(461), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(459), 14,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_RBRACK,
  [9755] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(469), 1,
      anon_sym_SLASH,
    STATE(177), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(467), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(461), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(459), 14,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [9792] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(474), 1,
      anon_sym_SLASH,
    STATE(177), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(471), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(432), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(430), 14,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [9829] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(479), 1,
      anon_sym_SLASH,
    STATE(179), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(477), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(461), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(459), 14,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [9866] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(484), 1,
      anon_sym_SLASH,
    STATE(179), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(481), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(432), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(430), 14,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [9903] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(465), 1,
      anon_sym_SLASH,
    STATE(175), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(463), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(489), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(487), 14,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_RBRACK,
  [9940] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(469), 1,
      anon_sym_SLASH,
    STATE(176), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(467), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(489), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(487), 14,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [9977] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(479), 1,
      anon_sym_SLASH,
    STATE(178), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(477), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(489), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(487), 14,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10014] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(494), 1,
      anon_sym_SLASH,
    STATE(183), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(491), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(432), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(430), 13,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10050] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(497), 1,
      anon_sym_COLON_COLON,
    STATE(196), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(126), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(124), 17,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_in,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [10084] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(501), 1,
      anon_sym_SLASH,
    STATE(192), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(499), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(489), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(487), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10120] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(119), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(117), 19,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_in,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
      anon_sym_COLON_COLON,
  [10150] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(506), 1,
      anon_sym_SLASH,
    STATE(187), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(503), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(432), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(430), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10186] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(511), 1,
      anon_sym_SLASH,
    STATE(183), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(509), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(461), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(459), 13,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10222] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(515), 1,
      anon_sym_SLASH,
    STATE(197), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(513), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(461), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(459), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10258] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(519), 1,
      anon_sym_SLASH,
    STATE(191), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(517), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(461), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(459), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10294] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(524), 1,
      anon_sym_SLASH,
    STATE(191), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(521), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(432), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(430), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10330] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(501), 1,
      anon_sym_SLASH,
    STATE(187), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(499), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(461), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(459), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10366] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(511), 1,
      anon_sym_SLASH,
    STATE(188), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(509), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(489), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(487), 13,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10402] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(519), 1,
      anon_sym_SLASH,
    STATE(190), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(517), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(489), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(487), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10438] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(515), 1,
      anon_sym_SLASH,
    STATE(189), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(513), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(489), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(487), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10474] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(497), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(132), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(130), 17,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_in,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [10508] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(530), 1,
      anon_sym_SLASH,
    STATE(197), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(527), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(432), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(430), 13,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_PLUS,
      anon_sym_DASH,
  [10544] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(199), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(537), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(535), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(533), 12,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10576] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(199), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(539), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 12,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10608] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(200), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(542), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 12,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_RBRACK,
  [10640] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(202), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(545), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(535), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(533), 12,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10672] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(202), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(547), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 12,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10704] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(205), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(554), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(552), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(550), 12,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_RBRACK,
  [10736] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(198), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(537), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(552), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(550), 12,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10768] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(200), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(554), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(535), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(533), 12,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
      anon_sym_RBRACK,
  [10800] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(201), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(545), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(552), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(550), 12,
      anon_sym_COMMA,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10832] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(210), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(556), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(552), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(550), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10863] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(209), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(558), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(552), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(550), 11,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10894] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(217), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(558), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(535), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(533), 11,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10925] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(212), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(556), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(535), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(533), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10956] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(214), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(560), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(535), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(533), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [10987] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(212), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(562), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [11018] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(218), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(565), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(535), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(533), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [11049] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(214), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(567), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [11080] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(570), 1,
      anon_sym_LT,
    ACTIONS(280), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(278), 15,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_GT,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11109] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(213), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(565), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(552), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(550), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [11140] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(217), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(572), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 11,
      anon_sym_RPAREN,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [11171] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(218), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(575), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(454), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(452), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [11202] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(211), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(560), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(552), 5,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(550), 11,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_is,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
      anon_sym_like,
  [11233] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(296), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(294), 15,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_GT,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11259] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(578), 1,
      anon_sym_COLON,
    ACTIONS(194), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(192), 14,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11287] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(300), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(298), 15,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_GT,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11313] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(580), 1,
      sym_string_content,
    ACTIONS(583), 1,
      sym_escape_sequence,
    STATE(223), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11344] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(586), 1,
      sym_string_content,
    ACTIONS(588), 1,
      sym_escape_sequence,
    STATE(225), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11375] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(590), 1,
      sym_string_content,
    ACTIONS(592), 1,
      sym_escape_sequence,
    STATE(223), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 13,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11406] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(594), 1,
      sym_string_content,
    ACTIONS(596), 1,
      sym_escape_sequence,
    STATE(234), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 13,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11437] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(598), 1,
      sym_string_content,
    ACTIONS(601), 1,
      sym_escape_sequence,
    STATE(227), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 13,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11468] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(608), 1,
      anon_sym_is,
    ACTIONS(614), 1,
      anon_sym_like,
    ACTIONS(610), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(612), 3,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(604), 4,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
    ACTIONS(606), 6,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
  [11501] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(618), 1,
      anon_sym_is,
    ACTIONS(622), 1,
      anon_sym_like,
    ACTIONS(610), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(620), 3,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(604), 4,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
    ACTIONS(616), 6,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
  [11534] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(626), 1,
      anon_sym_is,
    ACTIONS(630), 1,
      anon_sym_like,
    ACTIONS(610), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(628), 3,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(604), 4,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
    ACTIONS(624), 6,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
  [11567] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(632), 1,
      sym_string_content,
    ACTIONS(634), 1,
      sym_escape_sequence,
    STATE(232), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 13,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11598] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(636), 1,
      sym_string_content,
    ACTIONS(639), 1,
      sym_escape_sequence,
    STATE(232), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 13,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11629] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(642), 1,
      sym_string_content,
    ACTIONS(644), 1,
      sym_escape_sequence,
    STATE(231), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 13,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11660] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(646), 1,
      sym_string_content,
    ACTIONS(648), 1,
      sym_escape_sequence,
    STATE(227), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 13,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11691] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(650), 1,
      anon_sym_COLON_COLON,
    STATE(459), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(396), 10,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
      anon_sym_RBRACK,
  [11721] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(652), 1,
      sym_string_content,
    ACTIONS(655), 1,
      sym_escape_sequence,
    STATE(236), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 12,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11751] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(660), 1,
      anon_sym_is,
    ACTIONS(664), 1,
      anon_sym_like,
    ACTIONS(610), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(604), 3,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
    ACTIONS(662), 3,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(658), 6,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
  [11783] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(666), 1,
      sym_string_content,
    ACTIONS(668), 1,
      sym_escape_sequence,
    STATE(239), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 12,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11813] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(670), 1,
      sym_string_content,
    ACTIONS(672), 1,
      sym_escape_sequence,
    STATE(240), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 12,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11843] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(674), 1,
      sym_string_content,
    ACTIONS(677), 1,
      sym_escape_sequence,
    STATE(240), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 12,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11873] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(682), 1,
      anon_sym_is,
    ACTIONS(686), 1,
      anon_sym_like,
    ACTIONS(610), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(604), 3,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
    ACTIONS(684), 3,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(680), 6,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
  [11905] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(690), 1,
      anon_sym_is,
    ACTIONS(694), 1,
      anon_sym_like,
    ACTIONS(610), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(604), 3,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
    ACTIONS(692), 3,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(688), 6,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
  [11937] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(696), 1,
      sym_string_content,
    ACTIONS(699), 1,
      sym_escape_sequence,
    STATE(243), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 12,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [11967] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(704), 1,
      anon_sym_is,
    ACTIONS(708), 1,
      anon_sym_like,
    ACTIONS(610), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(604), 3,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
    ACTIONS(706), 3,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_EQ,
    ACTIONS(702), 6,
      anon_sym_EQ_EQ,
      anon_sym_in,
      anon_sym_BANG_EQ,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_has,
  [11999] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(710), 1,
      sym_string_content,
    ACTIONS(712), 1,
      sym_escape_sequence,
    STATE(246), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 12,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12029] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(714), 1,
      sym_string_content,
    ACTIONS(716), 1,
      sym_escape_sequence,
    STATE(247), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 12,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12059] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(718), 1,
      sym_string_content,
    ACTIONS(721), 1,
      sym_escape_sequence,
    STATE(247), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 12,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12089] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(724), 1,
      sym_string_content,
    ACTIONS(726), 1,
      sym_escape_sequence,
    STATE(243), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 12,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12119] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(728), 1,
      sym_string_content,
    ACTIONS(730), 1,
      sym_escape_sequence,
    STATE(248), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 12,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12149] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(732), 1,
      anon_sym_COLON_COLON,
    STATE(506), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(396), 10,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12179] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(734), 1,
      anon_sym_COLON_COLON,
    STATE(508), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(396), 10,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12209] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(736), 1,
      sym_string_content,
    ACTIONS(738), 1,
      sym_escape_sequence,
    STATE(253), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 12,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12239] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(740), 1,
      sym_string_content,
    ACTIONS(742), 1,
      sym_escape_sequence,
    STATE(236), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 12,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_SLASH,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12269] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(744), 1,
      anon_sym_COLON_COLON,
    STATE(488), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(396), 9,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12298] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(746), 1,
      anon_sym_COLON_COLON,
    STATE(496), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(396), 9,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12327] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(748), 1,
      anon_sym_COLON_COLON,
    STATE(502), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(396), 9,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12356] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(124), 1,
      anon_sym_LPAREN,
    ACTIONS(750), 1,
      anon_sym_COLON_COLON,
    STATE(511), 1,
      aux_sym_entity_reference_repeat1,
    ACTIONS(398), 3,
      anon_sym_PIPE,
      anon_sym_AMP,
      anon_sym_SLASH,
    ACTIONS(396), 9,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_STAR,
      anon_sym_PERCENT,
      anon_sym_DOT,
      anon_sym_LBRACK,
  [12385] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(754), 1,
      anon_sym_SLASH,
    STATE(262), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(489), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(752), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(487), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12411] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(758), 1,
      anon_sym_SLASH,
    STATE(265), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(489), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(756), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(487), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12437] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(762), 1,
      anon_sym_SLASH,
    STATE(261), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(461), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(760), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(459), 6,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_RBRACK,
  [12463] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(767), 1,
      anon_sym_SLASH,
    STATE(261), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(432), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(764), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(430), 6,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_RBRACK,
  [12489] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(754), 1,
      anon_sym_SLASH,
    STATE(263), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(461), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(752), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(459), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12515] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(773), 1,
      anon_sym_SLASH,
    STATE(263), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(432), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(770), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(430), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12541] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(762), 1,
      anon_sym_SLASH,
    STATE(260), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(489), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(760), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(487), 6,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
      anon_sym_RBRACK,
  [12567] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(758), 1,
      anon_sym_SLASH,
    STATE(266), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(461), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(756), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(459), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12593] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(779), 1,
      anon_sym_SLASH,
    STATE(266), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(432), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(776), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(430), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12619] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(784), 1,
      anon_sym_SLASH,
    STATE(269), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(489), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(782), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(487), 5,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12644] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(789), 1,
      anon_sym_SLASH,
    STATE(268), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(432), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(786), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(430), 5,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12669] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(784), 1,
      anon_sym_SLASH,
    STATE(271), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(461), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(782), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(459), 5,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12694] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(7), 1,
      anon_sym_template,
    ACTIONS(11), 1,
      anon_sym_AT,
    ACTIONS(792), 1,
      ts_builtin_sym_end,
    STATE(361), 1,
      sym_template_declaration,
    STATE(574), 1,
      sym_effect,
    ACTIONS(9), 2,
      anon_sym_permit,
      anon_sym_forbid,
    STATE(277), 2,
      sym_policy,
      aux_sym_policy_set_repeat1,
    STATE(358), 2,
      sym_annotation,
      aux_sym_policy_repeat1,
  [12725] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(797), 1,
      anon_sym_SLASH,
    STATE(271), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(432), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(794), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(430), 5,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12750] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(802), 1,
      anon_sym_SLASH,
    STATE(276), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(461), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(800), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(459), 5,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12775] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(806), 1,
      anon_sym_SLASH,
    STATE(280), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(489), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(804), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(487), 5,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12800] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(810), 1,
      anon_sym_SLASH,
    STATE(278), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(489), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(808), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(487), 5,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12825] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(802), 1,
      anon_sym_SLASH,
    STATE(272), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(489), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(800), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(487), 5,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12850] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(815), 1,
      anon_sym_SLASH,
    STATE(276), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(432), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(812), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(430), 5,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12875] = 9,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(818), 1,
      ts_builtin_sym_end,
    ACTIONS(820), 1,
      anon_sym_template,
    ACTIONS(826), 1,
      anon_sym_AT,
    STATE(361), 1,
      sym_template_declaration,
    STATE(574), 1,
      sym_effect,
    ACTIONS(823), 2,
      anon_sym_permit,
      anon_sym_forbid,
    STATE(277), 2,
      sym_policy,
      aux_sym_policy_set_repeat1,
    STATE(358), 2,
      sym_annotation,
      aux_sym_policy_repeat1,
  [12906] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(810), 1,
      anon_sym_SLASH,
    STATE(279), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(461), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(808), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(459), 5,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12931] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(832), 1,
      anon_sym_SLASH,
    STATE(279), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(432), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(829), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(430), 5,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12956] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(806), 1,
      anon_sym_SLASH,
    STATE(268), 1,
      aux_sym__multiply_expression_repeat1,
    ACTIONS(461), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(804), 2,
      anon_sym_STAR,
      anon_sym_PERCENT,
    ACTIONS(459), 5,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_PLUS,
      anon_sym_DASH,
  [12981] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(835), 1,
      sym_string_content,
    ACTIONS(837), 1,
      sym_escape_sequence,
    STATE(282), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13005] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(839), 1,
      sym_string_content,
    ACTIONS(842), 1,
      sym_escape_sequence,
    STATE(282), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13029] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(847), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(845), 8,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
  [13047] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 8,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
  [13065] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(853), 1,
      sym_string_content,
    ACTIONS(855), 1,
      sym_escape_sequence,
    STATE(292), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13089] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(857), 1,
      sym_string_content,
    ACTIONS(860), 1,
      sym_escape_sequence,
    STATE(286), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13113] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(863), 1,
      sym_string_content,
    ACTIONS(865), 1,
      sym_escape_sequence,
    STATE(290), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 6,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_RBRACK,
  [13137] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(867), 8,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
  [13155] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(871), 1,
      sym_string_content,
    ACTIONS(873), 1,
      sym_escape_sequence,
    STATE(281), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 6,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13179] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(875), 1,
      sym_string_content,
    ACTIONS(877), 1,
      sym_escape_sequence,
    STATE(291), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 6,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_RBRACK,
  [13203] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(879), 1,
      sym_string_content,
    ACTIONS(882), 1,
      sym_escape_sequence,
    STATE(291), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 6,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
      anon_sym_RBRACK,
  [13227] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(885), 1,
      sym_string_content,
    ACTIONS(887), 1,
      sym_escape_sequence,
    STATE(286), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13251] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(889), 1,
      sym_string_content,
    ACTIONS(891), 1,
      sym_escape_sequence,
    STATE(297), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 5,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13274] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(893), 1,
      sym_string_content,
    ACTIONS(896), 1,
      sym_escape_sequence,
    STATE(294), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 5,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13297] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(899), 1,
      sym_string_content,
    ACTIONS(901), 1,
      sym_escape_sequence,
    STATE(296), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 5,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13320] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(903), 1,
      sym_string_content,
    ACTIONS(906), 1,
      sym_escape_sequence,
    STATE(296), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 5,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13343] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(909), 1,
      sym_string_content,
    ACTIONS(911), 1,
      sym_escape_sequence,
    STATE(305), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 5,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13366] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(299), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(535), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(913), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(533), 4,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
  [13387] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(299), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(454), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(915), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(452), 4,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
  [13408] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(301), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(535), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(918), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(533), 4,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13429] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(301), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(454), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(920), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(452), 4,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13450] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(304), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(535), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(923), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(533), 4,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13471] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(925), 1,
      sym_string_content,
    ACTIONS(927), 1,
      sym_escape_sequence,
    STATE(306), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 5,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13494] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(304), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(454), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(929), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(452), 4,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13515] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(932), 1,
      sym_string_content,
    ACTIONS(935), 1,
      sym_escape_sequence,
    STATE(305), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 5,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13538] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(938), 1,
      sym_string_content,
    ACTIONS(940), 1,
      sym_escape_sequence,
    STATE(307), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 5,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13561] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(942), 1,
      sym_string_content,
    ACTIONS(945), 1,
      sym_escape_sequence,
    STATE(307), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 5,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13584] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(948), 1,
      sym_string_content,
    ACTIONS(950), 1,
      sym_escape_sequence,
    STATE(295), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 5,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13607] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(298), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(552), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(913), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(550), 4,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
  [13628] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(300), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(552), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(918), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(550), 4,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13649] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(302), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(552), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(923), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(550), 4,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13670] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(952), 1,
      sym_string_content,
    ACTIONS(954), 1,
      sym_escape_sequence,
    STATE(313), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 5,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13693] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(956), 1,
      sym_string_content,
    ACTIONS(958), 1,
      sym_escape_sequence,
    STATE(294), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 5,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_AMP,
  [13716] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(326), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(535), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(960), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(533), 3,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13736] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(323), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(535), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(962), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(533), 3,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13756] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(317), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(552), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(964), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(550), 3,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13776] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(318), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(535), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(964), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(533), 3,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13796] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(318), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(454), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(966), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(452), 3,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13816] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(314), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(552), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(960), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(550), 3,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13836] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(315), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(552), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(962), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(550), 3,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13856] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(324), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(552), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(969), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(550), 3,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13876] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(322), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(454), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(971), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(452), 3,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13896] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(323), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(454), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(974), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(452), 3,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13916] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(322), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(535), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(969), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(533), 3,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13936] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(979), 1,
      anon_sym_PIPE,
    ACTIONS(977), 7,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_RBRACK,
  [13952] = 5,
    ACTIONS(3), 1,
      sym_comment,
    STATE(326), 1,
      aux_sym__add_expression_repeat1,
    ACTIONS(454), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(981), 2,
      anon_sym_PLUS,
      anon_sym_DASH,
    ACTIONS(452), 3,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [13972] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(984), 1,
      anon_sym_in,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 4,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
      anon_sym_RBRACK,
  [13989] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(988), 1,
      anon_sym_PIPE,
    ACTIONS(990), 1,
      anon_sym_AMP_AMP,
    ACTIONS(992), 1,
      anon_sym_AMP,
    STATE(338), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(986), 3,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_RBRACK,
  [14010] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(988), 1,
      anon_sym_PIPE,
    ACTIONS(994), 1,
      anon_sym_AMP_AMP,
    ACTIONS(996), 1,
      anon_sym_AMP,
    STATE(330), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(986), 3,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
  [14031] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(994), 1,
      anon_sym_AMP_AMP,
    ACTIONS(996), 1,
      anon_sym_AMP,
    ACTIONS(1000), 1,
      anon_sym_PIPE,
    STATE(333), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(998), 3,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
  [14052] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1002), 1,
      anon_sym_in,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 4,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [14069] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(988), 1,
      anon_sym_PIPE,
    ACTIONS(1004), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1006), 1,
      anon_sym_AMP,
    STATE(335), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(986), 3,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
  [14090] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 1,
      anon_sym_PIPE,
    ACTIONS(1008), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1011), 1,
      anon_sym_AMP,
    STATE(333), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(867), 3,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
  [14111] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1014), 1,
      anon_sym_in,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 4,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [14128] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1000), 1,
      anon_sym_PIPE,
    ACTIONS(1004), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1006), 1,
      anon_sym_AMP,
    STATE(337), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(998), 3,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
  [14149] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 1,
      anon_sym_PIPE,
    ACTIONS(1016), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1019), 1,
      anon_sym_AMP,
    STATE(336), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(867), 3,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_RBRACK,
  [14170] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 1,
      anon_sym_PIPE,
    ACTIONS(1022), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1025), 1,
      anon_sym_AMP,
    STATE(337), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(867), 3,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
  [14191] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(990), 1,
      anon_sym_AMP_AMP,
    ACTIONS(992), 1,
      anon_sym_AMP,
    ACTIONS(1000), 1,
      anon_sym_PIPE,
    STATE(336), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(998), 3,
      anon_sym_COMMA,
      anon_sym_PIPE_PIPE,
      anon_sym_RBRACK,
  [14212] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(1028), 1,
      sym_identifier,
    ACTIONS(1030), 1,
      anon_sym_LBRACK,
    STATE(531), 3,
      sym_entity_reference,
      sym_entity_list,
      sym_slot,
  [14230] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_AT,
    STATE(606), 1,
      sym_effect,
    ACTIONS(9), 2,
      anon_sym_permit,
      anon_sym_forbid,
    STATE(408), 2,
      sym_annotation,
      aux_sym_policy_repeat1,
  [14248] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1000), 1,
      anon_sym_PIPE,
    ACTIONS(1032), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1034), 1,
      anon_sym_AMP,
    STATE(344), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(998), 2,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
  [14268] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(1030), 1,
      anon_sym_LBRACK,
    ACTIONS(1036), 1,
      sym_identifier,
    STATE(531), 3,
      sym_entity_reference,
      sym_entity_list,
      sym_slot,
  [14286] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1038), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [14298] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 1,
      anon_sym_PIPE,
    ACTIONS(1040), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1043), 1,
      anon_sym_AMP,
    STATE(344), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(867), 2,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
  [14318] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 1,
      anon_sym_PIPE,
    ACTIONS(1046), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1049), 1,
      anon_sym_AMP,
    STATE(345), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(867), 2,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
  [14338] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1000), 1,
      anon_sym_PIPE,
    ACTIONS(1052), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1054), 1,
      anon_sym_AMP,
    STATE(351), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(998), 2,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
  [14358] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1056), 1,
      sym_string_content,
    ACTIONS(1058), 1,
      sym_escape_sequence,
    STATE(348), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [14378] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(1060), 1,
      sym_string_content,
    ACTIONS(1062), 1,
      sym_escape_sequence,
    STATE(349), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [14398] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1064), 1,
      sym_string_content,
    ACTIONS(1067), 1,
      sym_escape_sequence,
    STATE(349), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [14418] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(988), 1,
      anon_sym_PIPE,
    ACTIONS(1052), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1054), 1,
      anon_sym_AMP,
    STATE(346), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(986), 2,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
  [14438] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 1,
      anon_sym_PIPE,
    ACTIONS(1070), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1073), 1,
      anon_sym_AMP,
    STATE(351), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(867), 2,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
  [14458] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(988), 1,
      anon_sym_PIPE,
    ACTIONS(1032), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1034), 1,
      anon_sym_AMP,
    STATE(341), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(986), 2,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
  [14478] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1076), 1,
      anon_sym_in,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 3,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [14494] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1080), 1,
      anon_sym_DQUOTE,
    STATE(521), 2,
      sym__literal,
      sym_string,
    ACTIONS(1078), 3,
      sym_true,
      sym_false,
      sym_integer,
  [14510] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(988), 1,
      anon_sym_PIPE,
    ACTIONS(1082), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1084), 1,
      anon_sym_AMP,
    STATE(367), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(986), 2,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
  [14530] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1086), 1,
      anon_sym_in,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 3,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [14546] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1088), 1,
      anon_sym_in,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 3,
      anon_sym_RBRACE,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [14562] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_AT,
    STATE(571), 1,
      sym_effect,
    ACTIONS(9), 2,
      anon_sym_permit,
      anon_sym_forbid,
    STATE(408), 2,
      sym_annotation,
      aux_sym_policy_repeat1,
  [14580] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(869), 1,
      anon_sym_PIPE,
    ACTIONS(1090), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1093), 1,
      anon_sym_AMP,
    STATE(359), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(867), 2,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
  [14600] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1096), 6,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACE,
      anon_sym_then,
      anon_sym_else,
      anon_sym_RBRACK,
  [14612] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(11), 1,
      anon_sym_AT,
    STATE(571), 1,
      sym_effect,
    ACTIONS(9), 2,
      anon_sym_permit,
      anon_sym_forbid,
    STATE(340), 2,
      sym_annotation,
      aux_sym_policy_repeat1,
  [14630] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(988), 1,
      anon_sym_PIPE,
    ACTIONS(1098), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1100), 1,
      anon_sym_AMP,
    STATE(369), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(986), 2,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
  [14650] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1102), 1,
      anon_sym_in,
    ACTIONS(851), 2,
      anon_sym_PIPE,
      anon_sym_AMP,
    ACTIONS(849), 3,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
      anon_sym_AMP_AMP,
  [14666] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1104), 1,
      sym_string_content,
    ACTIONS(1106), 1,
      sym_escape_sequence,
    STATE(365), 1,
      aux_sym_string_repeat1,
    ACTIONS(220), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [14686] = 6,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(1108), 1,
      sym_string_content,
    ACTIONS(1110), 1,
      sym_escape_sequence,
    STATE(366), 1,
      aux_sym_string_repeat1,
    ACTIONS(166), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [14706] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1112), 1,
      sym_string_content,
    ACTIONS(1115), 1,
      sym_escape_sequence,
    STATE(366), 1,
      aux_sym_string_repeat1,
    ACTIONS(210), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [14726] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1000), 1,
      anon_sym_PIPE,
    ACTIONS(1082), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1084), 1,
      anon_sym_AMP,
    STATE(359), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(998), 2,
      anon_sym_then,
      anon_sym_PIPE_PIPE,
  [14746] = 7,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1118), 1,
      sym_identifier,
    ACTIONS(1120), 1,
      anon_sym_COMMA,
    ACTIONS(1122), 1,
      anon_sym_RBRACE,
    ACTIONS(1124), 1,
      anon_sym_DQUOTE,
    STATE(513), 1,
      sym_record_entry,
    STATE(593), 1,
      sym_string,
  [14768] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1000), 1,
      anon_sym_PIPE,
    ACTIONS(1098), 1,
      anon_sym_AMP_AMP,
    ACTIONS(1100), 1,
      anon_sym_AMP,
    STATE(345), 1,
      aux_sym_and_expression_repeat1,
    ACTIONS(998), 2,
      anon_sym_else,
      anon_sym_PIPE_PIPE,
  [14788] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(162), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [14805] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(220), 1,
      anon_sym_RBRACK,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1130), 1,
      sym_string_content,
    ACTIONS(1132), 1,
      sym_escape_sequence,
    STATE(377), 1,
      aux_sym_string_repeat1,
  [14824] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(178), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [14841] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(140), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [14858] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(140), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [14875] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(190), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [14892] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(190), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [14909] = 6,
    ACTIONS(166), 1,
      anon_sym_RBRACK,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(1134), 1,
      sym_string_content,
    ACTIONS(1136), 1,
      sym_escape_sequence,
    STATE(379), 1,
      aux_sym_string_repeat1,
  [14928] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1138), 1,
      anon_sym_SEMI,
    ACTIONS(1140), 2,
      anon_sym_when,
      anon_sym_unless,
    STATE(439), 2,
      sym_condition,
      aux_sym_policy_repeat2,
  [14943] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(210), 1,
      anon_sym_RBRACK,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1142), 1,
      sym_string_content,
    ACTIONS(1145), 1,
      sym_escape_sequence,
    STATE(379), 1,
      aux_sym_string_repeat1,
  [14962] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    ACTIONS(1148), 1,
      anon_sym_DQUOTE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [14979] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [14996] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(85), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15013] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1150), 5,
      ts_builtin_sym_end,
      anon_sym_template,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [15024] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    ACTIONS(1152), 1,
      anon_sym_DQUOTE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15041] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    ACTIONS(1152), 1,
      anon_sym_DQUOTE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15058] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1156), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1158), 1,
      anon_sym_PIPE,
    STATE(399), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(1154), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [15075] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    ACTIONS(1160), 1,
      anon_sym_DQUOTE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15092] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1164), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1166), 1,
      anon_sym_PIPE,
    STATE(412), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(1162), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [15109] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(156), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15126] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(156), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15143] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1168), 1,
      anon_sym_SEMI,
    ACTIONS(1140), 2,
      anon_sym_when,
      anon_sym_unless,
    STATE(427), 2,
      sym_condition,
      aux_sym_policy_repeat2,
  [15158] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1156), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1158), 1,
      anon_sym_PIPE,
    STATE(386), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(1162), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [15175] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1138), 1,
      anon_sym_SEMI,
    ACTIONS(1140), 2,
      anon_sym_when,
      anon_sym_unless,
    STATE(437), 2,
      sym_condition,
      aux_sym_policy_repeat2,
  [15190] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(150), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15207] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1170), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1173), 1,
      anon_sym_PIPE,
    STATE(395), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(977), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [15224] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(150), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15241] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15258] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1176), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1178), 1,
      anon_sym_PIPE,
    STATE(415), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(1162), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [15275] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1180), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1183), 1,
      anon_sym_PIPE,
    STATE(399), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(977), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [15292] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15309] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1118), 1,
      sym_identifier,
    ACTIONS(1124), 1,
      anon_sym_DQUOTE,
    ACTIONS(1186), 1,
      anon_sym_RBRACE,
    STATE(525), 1,
      sym_record_entry,
    STATE(593), 1,
      sym_string,
  [15328] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(220), 1,
      anon_sym_COLON,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1188), 1,
      sym_string_content,
    ACTIONS(1190), 1,
      sym_escape_sequence,
    STATE(423), 1,
      aux_sym_string_repeat1,
  [15347] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(61), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15364] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1192), 5,
      ts_builtin_sym_end,
      anon_sym_template,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [15375] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1194), 1,
      anon_sym_COMMA,
    ACTIONS(1196), 1,
      anon_sym_EQ_EQ,
    ACTIONS(1198), 1,
      anon_sym_in,
    ACTIONS(1200), 1,
      anon_sym_is,
    STATE(565), 1,
      sym_scope_constraint,
  [15394] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15411] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1202), 1,
      anon_sym_RPAREN,
    ACTIONS(1204), 1,
      anon_sym_EQ_EQ,
    ACTIONS(1206), 1,
      anon_sym_in,
    ACTIONS(1208), 1,
      anon_sym_is,
    STATE(573), 1,
      sym_scope_constraint,
  [15430] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1212), 1,
      anon_sym_AT,
    ACTIONS(1210), 2,
      anon_sym_permit,
      anon_sym_forbid,
    STATE(408), 2,
      sym_annotation,
      aux_sym_policy_repeat1,
  [15445] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(162), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15462] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15479] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(37), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15496] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1164), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1166), 1,
      anon_sym_PIPE,
    STATE(395), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(1154), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [15513] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(220), 1,
      anon_sym_COMMA,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1215), 1,
      sym_string_content,
    ACTIONS(1217), 1,
      sym_escape_sequence,
    STATE(414), 1,
      aux_sym_string_repeat1,
  [15532] = 6,
    ACTIONS(166), 1,
      anon_sym_COMMA,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(1219), 1,
      sym_string_content,
    ACTIONS(1221), 1,
      sym_escape_sequence,
    STATE(422), 1,
      aux_sym_string_repeat1,
  [15551] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1176), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1178), 1,
      anon_sym_PIPE,
    STATE(426), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(1154), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [15568] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(77), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15585] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1223), 5,
      ts_builtin_sym_end,
      anon_sym_template,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [15596] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15613] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(93), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15630] = 6,
    ACTIONS(166), 1,
      anon_sym_RPAREN,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(1225), 1,
      sym_string_content,
    ACTIONS(1227), 1,
      sym_escape_sequence,
    STATE(428), 1,
      aux_sym_string_repeat1,
  [15649] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(172), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15666] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(210), 1,
      anon_sym_COMMA,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1229), 1,
      sym_string_content,
    ACTIONS(1232), 1,
      sym_escape_sequence,
    STATE(422), 1,
      aux_sym_string_repeat1,
  [15685] = 6,
    ACTIONS(166), 1,
      anon_sym_COLON,
    ACTIONS(204), 1,
      anon_sym_DQUOTE2,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(1235), 1,
      sym_string_content,
    ACTIONS(1237), 1,
      sym_escape_sequence,
    STATE(425), 1,
      aux_sym_string_repeat1,
  [15704] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    ACTIONS(1148), 1,
      anon_sym_DQUOTE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15721] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(210), 1,
      anon_sym_COLON,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1239), 1,
      sym_string_content,
    ACTIONS(1242), 1,
      sym_escape_sequence,
    STATE(425), 1,
      aux_sym_string_repeat1,
  [15740] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1245), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1248), 1,
      anon_sym_PIPE,
    STATE(426), 1,
      aux_sym_or_expression_repeat1,
    ACTIONS(977), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [15757] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1251), 1,
      anon_sym_SEMI,
    ACTIONS(1140), 2,
      anon_sym_when,
      anon_sym_unless,
    STATE(437), 2,
      sym_condition,
      aux_sym_policy_repeat2,
  [15772] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(210), 1,
      anon_sym_RPAREN,
    ACTIONS(215), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1253), 1,
      sym_string_content,
    ACTIONS(1256), 1,
      sym_escape_sequence,
    STATE(428), 1,
      aux_sym_string_repeat1,
  [15791] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    ACTIONS(1160), 1,
      anon_sym_DQUOTE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15808] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(172), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15825] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1251), 1,
      anon_sym_SEMI,
    ACTIONS(1140), 2,
      anon_sym_when,
      anon_sym_unless,
    STATE(393), 2,
      sym_condition,
      aux_sym_policy_repeat2,
  [15840] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15857] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(47), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(94), 2,
      sym_entity_record,
      sym_string,
  [15874] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1196), 1,
      anon_sym_EQ_EQ,
    ACTIONS(1198), 1,
      anon_sym_in,
    ACTIONS(1200), 1,
      anon_sym_is,
    ACTIONS(1259), 1,
      anon_sym_COMMA,
    STATE(569), 1,
      sym_scope_constraint,
  [15893] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(178), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15910] = 6,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1118), 1,
      sym_identifier,
    ACTIONS(1124), 1,
      anon_sym_DQUOTE,
    ACTIONS(1261), 1,
      anon_sym_RBRACE,
    STATE(525), 1,
      sym_record_entry,
    STATE(593), 1,
      sym_string,
  [15929] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1263), 1,
      anon_sym_SEMI,
    ACTIONS(1265), 2,
      anon_sym_when,
      anon_sym_unless,
    STATE(437), 2,
      sym_condition,
      aux_sym_policy_repeat2,
  [15944] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1268), 5,
      ts_builtin_sym_end,
      anon_sym_template,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [15955] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1270), 1,
      anon_sym_SEMI,
    ACTIONS(1140), 2,
      anon_sym_when,
      anon_sym_unless,
    STATE(437), 2,
      sym_condition,
      aux_sym_policy_repeat2,
  [15970] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(69), 1,
      anon_sym_DQUOTE,
    ACTIONS(1126), 1,
      sym_identifier,
    ACTIONS(1128), 1,
      anon_sym_LBRACE,
    STATE(116), 2,
      sym_entity_record,
      sym_string,
  [15987] = 6,
    ACTIONS(208), 1,
      sym_comment,
    ACTIONS(220), 1,
      anon_sym_RPAREN,
    ACTIONS(224), 1,
      anon_sym_DQUOTE2,
    ACTIONS(1272), 1,
      sym_string_content,
    ACTIONS(1274), 1,
      sym_escape_sequence,
    STATE(420), 1,
      aux_sym_string_repeat1,
  [16006] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1162), 1,
      anon_sym_RPAREN,
    ACTIONS(1276), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1278), 1,
      anon_sym_PIPE,
    STATE(457), 1,
      aux_sym_or_expression_repeat1,
  [16022] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1154), 1,
      anon_sym_then,
    ACTIONS(1280), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1282), 1,
      anon_sym_PIPE,
    STATE(449), 1,
      aux_sym_or_expression_repeat1,
  [16038] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(977), 1,
      anon_sym_RPAREN,
    ACTIONS(1284), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1287), 1,
      anon_sym_PIPE,
    STATE(444), 1,
      aux_sym_or_expression_repeat1,
  [16054] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1290), 1,
      anon_sym_LPAREN,
    ACTIONS(1292), 3,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [16066] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1294), 1,
      sym_identifier,
    ACTIONS(1296), 1,
      anon_sym_COMMA,
    ACTIONS(1298), 1,
      anon_sym_RBRACE,
    STATE(504), 1,
      sym_ref_init,
  [16082] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1162), 1,
      anon_sym_then,
    ACTIONS(1280), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1282), 1,
      anon_sym_PIPE,
    STATE(443), 1,
      aux_sym_or_expression_repeat1,
  [16098] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(977), 1,
      anon_sym_RBRACE,
    ACTIONS(1300), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1303), 1,
      anon_sym_PIPE,
    STATE(448), 1,
      aux_sym_or_expression_repeat1,
  [16114] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(977), 1,
      anon_sym_then,
    ACTIONS(1306), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1309), 1,
      anon_sym_PIPE,
    STATE(449), 1,
      aux_sym_or_expression_repeat1,
  [16130] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(977), 1,
      anon_sym_else,
    ACTIONS(1312), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1315), 1,
      anon_sym_PIPE,
    STATE(450), 1,
      aux_sym_or_expression_repeat1,
  [16146] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1162), 1,
      anon_sym_else,
    ACTIONS(1318), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1320), 1,
      anon_sym_PIPE,
    STATE(454), 1,
      aux_sym_or_expression_repeat1,
  [16162] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(1028), 1,
      sym_identifier,
    STATE(531), 2,
      sym_entity_reference,
      sym_slot,
  [16176] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1118), 1,
      sym_identifier,
    ACTIONS(1124), 1,
      anon_sym_DQUOTE,
    STATE(525), 1,
      sym_record_entry,
    STATE(593), 1,
      sym_string,
  [16192] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1154), 1,
      anon_sym_else,
    ACTIONS(1318), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1320), 1,
      anon_sym_PIPE,
    STATE(450), 1,
      aux_sym_or_expression_repeat1,
  [16208] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(1036), 1,
      sym_identifier,
    STATE(531), 2,
      sym_entity_reference,
      sym_slot,
  [16222] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1154), 1,
      anon_sym_RBRACE,
    ACTIONS(1322), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1324), 1,
      anon_sym_PIPE,
    STATE(448), 1,
      aux_sym_or_expression_repeat1,
  [16238] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1154), 1,
      anon_sym_RPAREN,
    ACTIONS(1276), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1278), 1,
      anon_sym_PIPE,
    STATE(444), 1,
      aux_sym_or_expression_repeat1,
  [16254] = 5,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1162), 1,
      anon_sym_RBRACE,
    ACTIONS(1322), 1,
      anon_sym_PIPE_PIPE,
    ACTIONS(1324), 1,
      anon_sym_PIPE,
    STATE(456), 1,
      aux_sym_or_expression_repeat1,
  [16270] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1326), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16283] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1328), 3,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [16292] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1330), 3,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [16301] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    ACTIONS(1332), 1,
      anon_sym_RPAREN,
    STATE(501), 1,
      sym_slot,
  [16314] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1334), 1,
      anon_sym_COMMA,
    ACTIONS(1336), 1,
      anon_sym_RBRACK,
    STATE(475), 1,
      aux_sym_entity_list_repeat1,
  [16327] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(215), 1,
      sym_name,
    STATE(518), 1,
      sym_type_reference,
  [16340] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1340), 1,
      anon_sym_RPAREN,
    ACTIONS(1342), 1,
      anon_sym_COMMA,
    STATE(482), 1,
      aux_sym_template_declaration_repeat1,
  [16353] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1344), 1,
      anon_sym_COMMA,
    ACTIONS(1346), 1,
      anon_sym_GT,
    STATE(483), 1,
      aux_sym_type_reference_repeat1,
  [16366] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1294), 1,
      sym_identifier,
    ACTIONS(1348), 1,
      anon_sym_RBRACE,
    STATE(522), 1,
      sym_ref_init,
  [16379] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1348), 1,
      anon_sym_RBRACE,
    ACTIONS(1350), 1,
      anon_sym_COMMA,
    STATE(486), 1,
      aux_sym_entity_record_repeat1,
  [16392] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(215), 1,
      sym_name,
    STATE(500), 1,
      sym_type_reference,
  [16405] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1261), 1,
      anon_sym_RBRACE,
    ACTIONS(1352), 1,
      anon_sym_COMMA,
    STATE(515), 1,
      aux_sym_record_expression_repeat1,
  [16418] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1354), 1,
      anon_sym_principal,
    STATE(567), 1,
      sym_scope,
    STATE(582), 1,
      sym_principal,
  [16431] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(49), 1,
      anon_sym_RBRACK,
    ACTIONS(1356), 1,
      anon_sym_COMMA,
    STATE(491), 1,
      aux_sym_method_call_repeat1,
  [16444] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1354), 1,
      anon_sym_principal,
    STATE(580), 1,
      sym_scope,
    STATE(582), 1,
      sym_principal,
  [16457] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1358), 1,
      sym_identifier,
    ACTIONS(1360), 1,
      anon_sym_RBRACK,
    STATE(550), 1,
      sym_entity_reference,
  [16470] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1360), 1,
      anon_sym_RBRACK,
    ACTIONS(1362), 1,
      anon_sym_COMMA,
    STATE(510), 1,
      aux_sym_entity_list_repeat1,
  [16483] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1364), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16496] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1366), 1,
      anon_sym_RPAREN,
    ACTIONS(1368), 1,
      anon_sym_COMMA,
    STATE(477), 1,
      aux_sym_method_call_repeat1,
  [16509] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(104), 1,
      sym_type_reference,
    STATE(215), 1,
      sym_name,
  [16522] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1371), 3,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [16531] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1373), 1,
      anon_sym_RPAREN,
    ACTIONS(1375), 1,
      anon_sym_COMMA,
    STATE(495), 1,
      aux_sym_method_call_repeat1,
  [16544] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1377), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16557] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1379), 1,
      anon_sym_RPAREN,
    ACTIONS(1381), 1,
      anon_sym_COMMA,
    STATE(482), 1,
      aux_sym_template_declaration_repeat1,
  [16570] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1384), 1,
      anon_sym_COMMA,
    ACTIONS(1387), 1,
      anon_sym_GT,
    STATE(483), 1,
      aux_sym_type_reference_repeat1,
  [16583] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1389), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16596] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1294), 1,
      sym_identifier,
    ACTIONS(1391), 1,
      anon_sym_RBRACE,
    STATE(522), 1,
      sym_ref_init,
  [16609] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1393), 1,
      anon_sym_COMMA,
    ACTIONS(1396), 1,
      anon_sym_RBRACE,
    STATE(486), 1,
      aux_sym_entity_record_repeat1,
  [16622] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1398), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16635] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1400), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16648] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1402), 3,
      anon_sym_permit,
      anon_sym_forbid,
      anon_sym_AT,
  [16657] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1366), 3,
      anon_sym_RPAREN,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [16666] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1366), 1,
      anon_sym_RBRACK,
    ACTIONS(1404), 1,
      anon_sym_COMMA,
    STATE(491), 1,
      aux_sym_method_call_repeat1,
  [16679] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1407), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16692] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1409), 3,
      anon_sym_SEMI,
      anon_sym_when,
      anon_sym_unless,
  [16701] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1411), 1,
      sym_identifier,
    STATE(90), 1,
      sym_name,
    STATE(104), 1,
      sym_type_reference,
  [16714] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1375), 1,
      anon_sym_COMMA,
    ACTIONS(1413), 1,
      anon_sym_RPAREN,
    STATE(477), 1,
      aux_sym_method_call_repeat1,
  [16727] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1415), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16740] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1417), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16753] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1344), 1,
      anon_sym_COMMA,
    ACTIONS(1419), 1,
      anon_sym_GT,
    STATE(505), 1,
      aux_sym_type_reference_repeat1,
  [16766] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1421), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16779] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1344), 1,
      anon_sym_COMMA,
    ACTIONS(1423), 1,
      anon_sym_GT,
    STATE(466), 1,
      aux_sym_type_reference_repeat1,
  [16792] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1342), 1,
      anon_sym_COMMA,
    ACTIONS(1425), 1,
      anon_sym_RPAREN,
    STATE(465), 1,
      aux_sym_template_declaration_repeat1,
  [16805] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1427), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16818] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1375), 1,
      anon_sym_COMMA,
    ACTIONS(1429), 1,
      anon_sym_RPAREN,
    STATE(507), 1,
      aux_sym_method_call_repeat1,
  [16831] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1431), 1,
      anon_sym_COMMA,
    ACTIONS(1433), 1,
      anon_sym_RBRACE,
    STATE(468), 1,
      aux_sym_entity_record_repeat1,
  [16844] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1344), 1,
      anon_sym_COMMA,
    ACTIONS(1435), 1,
      anon_sym_GT,
    STATE(483), 1,
      aux_sym_type_reference_repeat1,
  [16857] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1437), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16870] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1375), 1,
      anon_sym_COMMA,
    ACTIONS(1439), 1,
      anon_sym_RPAREN,
    STATE(477), 1,
      aux_sym_method_call_repeat1,
  [16883] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1441), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16896] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1358), 1,
      sym_identifier,
    ACTIONS(1443), 1,
      anon_sym_RBRACK,
    STATE(550), 1,
      sym_entity_reference,
  [16909] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1445), 1,
      anon_sym_COMMA,
    ACTIONS(1448), 1,
      anon_sym_RBRACK,
    STATE(510), 1,
      aux_sym_entity_list_repeat1,
  [16922] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(130), 1,
      anon_sym_LPAREN,
    ACTIONS(1450), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [16935] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1354), 1,
      anon_sym_principal,
    STATE(582), 1,
      sym_principal,
    STATE(607), 1,
      sym_scope,
  [16948] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1452), 1,
      anon_sym_COMMA,
    ACTIONS(1454), 1,
      anon_sym_RBRACE,
    STATE(470), 1,
      aux_sym_record_expression_repeat1,
  [16961] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1456), 1,
      anon_sym_COMMA,
    ACTIONS(1458), 1,
      anon_sym_RBRACK,
    STATE(472), 1,
      aux_sym_method_call_repeat1,
  [16974] = 4,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1460), 1,
      anon_sym_COMMA,
    ACTIONS(1463), 1,
      anon_sym_RBRACE,
    STATE(515), 1,
      aux_sym_record_expression_repeat1,
  [16987] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1465), 1,
      anon_sym_DQUOTE,
    STATE(284), 1,
      sym_string,
  [16997] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1467), 1,
      anon_sym_DQUOTE,
    STATE(284), 1,
      sym_string,
  [17007] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1387), 2,
      anon_sym_COMMA,
      anon_sym_GT,
  [17015] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1469), 1,
      anon_sym_DQUOTE,
    STATE(284), 1,
      sym_string,
  [17025] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1471), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [17033] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1473), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [17041] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1396), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [17049] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1358), 1,
      sym_identifier,
    STATE(550), 1,
      sym_entity_reference,
  [17059] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1475), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [17067] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1463), 2,
      anon_sym_COMMA,
      anon_sym_RBRACE,
  [17075] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1477), 1,
      anon_sym_resource,
    STATE(564), 1,
      sym_resource,
  [17085] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1479), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [17095] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1481), 1,
      anon_sym_DQUOTE,
    STATE(591), 1,
      sym_string,
  [17105] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1483), 1,
      anon_sym_COLON_COLON,
    STATE(527), 1,
      aux_sym_entity_reference_repeat1,
  [17115] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1485), 1,
      anon_sym_DQUOTE,
    STATE(284), 1,
      sym_string,
  [17125] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1487), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [17133] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1358), 1,
      sym_identifier,
    STATE(463), 1,
      sym_entity_reference,
  [17143] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1489), 1,
      anon_sym_COLON_COLON,
    STATE(535), 1,
      aux_sym_entity_reference_repeat1,
  [17153] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(540), 1,
      sym_name,
  [17163] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1491), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [17173] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1028), 1,
      sym_identifier,
    STATE(545), 1,
      sym_entity_reference,
  [17183] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1493), 1,
      anon_sym_COLON_COLON,
    STATE(541), 1,
      aux_sym_entity_reference_repeat1,
  [17193] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1294), 1,
      sym_identifier,
    STATE(522), 1,
      sym_ref_init,
  [17203] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1487), 1,
      anon_sym_RPAREN,
    ACTIONS(1495), 1,
      anon_sym_in,
  [17213] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1487), 1,
      anon_sym_COMMA,
    ACTIONS(1497), 1,
      anon_sym_in,
  [17223] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1499), 1,
      anon_sym_COLON_COLON,
    STATE(174), 1,
      aux_sym_entity_reference_repeat1,
  [17233] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1501), 1,
      anon_sym_DQUOTE,
    STATE(284), 1,
      sym_string,
  [17243] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1503), 1,
      anon_sym_DQUOTE,
    STATE(284), 1,
      sym_string,
  [17253] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1505), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [17261] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1507), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [17269] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(357), 1,
      sym_name,
  [17279] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1148), 1,
      anon_sym_DQUOTE,
    STATE(610), 1,
      sym_string,
  [17289] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1509), 1,
      anon_sym_action,
    STATE(604), 1,
      sym_action,
  [17299] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1511), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [17307] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1448), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [17315] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1513), 1,
      anon_sym_DQUOTE,
    STATE(284), 1,
      sym_string,
  [17325] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1036), 1,
      sym_identifier,
    STATE(545), 1,
      sym_entity_reference,
  [17335] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(539), 1,
      sym_name,
  [17345] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(353), 1,
      sym_name,
  [17355] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(356), 1,
      sym_name,
  [17365] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(327), 1,
      sym_name,
  [17375] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(331), 1,
      sym_name,
  [17385] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(334), 1,
      sym_name,
  [17395] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1379), 2,
      anon_sym_RPAREN,
      anon_sym_COMMA,
  [17403] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1338), 1,
      sym_identifier,
    STATE(363), 1,
      sym_name,
  [17413] = 3,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(138), 1,
      anon_sym_QMARK,
    STATE(559), 1,
      sym_slot,
  [17423] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1515), 1,
      anon_sym_else,
  [17430] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1517), 1,
      anon_sym_else,
  [17437] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1519), 1,
      anon_sym_RPAREN,
  [17444] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1521), 1,
      anon_sym_COMMA,
  [17451] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1126), 1,
      sym_identifier,
  [17458] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1523), 1,
      anon_sym_RPAREN,
  [17465] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1433), 1,
      anon_sym_RBRACE,
  [17472] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1525), 1,
      anon_sym_COMMA,
  [17479] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1527), 1,
      anon_sym_LBRACE,
  [17486] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1529), 1,
      anon_sym_LPAREN,
  [17493] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1531), 1,
      anon_sym_COLON,
  [17500] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1533), 1,
      anon_sym_RPAREN,
  [17507] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1535), 1,
      anon_sym_LPAREN,
  [17514] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1537), 1,
      anon_sym_else,
  [17521] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1539), 1,
      anon_sym_RBRACE,
  [17528] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1541), 1,
      sym_identifier,
  [17535] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1543), 1,
      sym_identifier,
  [17542] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1545), 1,
      anon_sym_else,
  [17549] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1547), 1,
      anon_sym_RPAREN,
  [17556] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1549), 1,
      anon_sym_LPAREN,
  [17563] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1551), 1,
      anon_sym_COMMA,
  [17570] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1553), 1,
      anon_sym_LPAREN,
  [17577] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1555), 1,
      sym_identifier,
  [17584] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1557), 1,
      anon_sym_EQ_GT,
  [17591] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1559), 1,
      anon_sym_EQ_GT,
  [17598] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1561), 1,
      anon_sym_RPAREN,
  [17605] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1563), 1,
      anon_sym_else,
  [17612] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1454), 1,
      anon_sym_RBRACE,
  [17619] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1565), 1,
      sym_identifier,
  [17626] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1567), 1,
      anon_sym_RBRACK,
  [17633] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1569), 1,
      anon_sym_else,
  [17640] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1571), 1,
      anon_sym_COLON,
  [17647] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1573), 1,
      anon_sym_LPAREN,
  [17654] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1575), 1,
      anon_sym_else,
  [17661] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1577), 1,
      sym_identifier,
  [17668] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1579), 1,
      anon_sym_then,
  [17675] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1581), 1,
      anon_sym_then,
  [17682] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1583), 1,
      anon_sym_then,
  [17689] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1585), 1,
      anon_sym_then,
  [17696] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1587), 1,
      anon_sym_then,
  [17703] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1589), 1,
      anon_sym_then,
  [17710] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1591), 1,
      anon_sym_then,
  [17717] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1593), 1,
      anon_sym_COMMA,
  [17724] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1458), 1,
      anon_sym_RBRACK,
  [17731] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1595), 1,
      anon_sym_LPAREN,
  [17738] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1597), 1,
      anon_sym_RPAREN,
  [17745] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1599), 1,
      anon_sym_EQ_GT,
  [17752] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1601), 1,
      ts_builtin_sym_end,
  [17759] = 2,
    ACTIONS(3), 1,
      sym_comment,
    ACTIONS(1603), 1,
      anon_sym_RPAREN,
};

static const uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(2)] = 0,
  [SMALL_STATE(3)] = 87,
  [SMALL_STATE(4)] = 171,
  [SMALL_STATE(5)] = 255,
  [SMALL_STATE(6)] = 339,
  [SMALL_STATE(7)] = 423,
  [SMALL_STATE(8)] = 504,
  [SMALL_STATE(9)] = 585,
  [SMALL_STATE(10)] = 666,
  [SMALL_STATE(11)] = 747,
  [SMALL_STATE(12)] = 828,
  [SMALL_STATE(13)] = 909,
  [SMALL_STATE(14)] = 990,
  [SMALL_STATE(15)] = 1071,
  [SMALL_STATE(16)] = 1152,
  [SMALL_STATE(17)] = 1233,
  [SMALL_STATE(18)] = 1314,
  [SMALL_STATE(19)] = 1395,
  [SMALL_STATE(20)] = 1476,
  [SMALL_STATE(21)] = 1557,
  [SMALL_STATE(22)] = 1638,
  [SMALL_STATE(23)] = 1719,
  [SMALL_STATE(24)] = 1800,
  [SMALL_STATE(25)] = 1881,
  [SMALL_STATE(26)] = 1962,
  [SMALL_STATE(27)] = 2043,
  [SMALL_STATE(28)] = 2124,
  [SMALL_STATE(29)] = 2205,
  [SMALL_STATE(30)] = 2286,
  [SMALL_STATE(31)] = 2367,
  [SMALL_STATE(32)] = 2448,
  [SMALL_STATE(33)] = 2529,
  [SMALL_STATE(34)] = 2576,
  [SMALL_STATE(35)] = 2623,
  [SMALL_STATE(36)] = 2670,
  [SMALL_STATE(37)] = 2741,
  [SMALL_STATE(38)] = 2812,
  [SMALL_STATE(39)] = 2883,
  [SMALL_STATE(40)] = 2954,
  [SMALL_STATE(41)] = 3025,
  [SMALL_STATE(42)] = 3096,
  [SMALL_STATE(43)] = 3167,
  [SMALL_STATE(44)] = 3209,
  [SMALL_STATE(45)] = 3277,
  [SMALL_STATE(46)] = 3319,
  [SMALL_STATE(47)] = 3387,
  [SMALL_STATE(48)] = 3455,
  [SMALL_STATE(49)] = 3497,
  [SMALL_STATE(50)] = 3565,
  [SMALL_STATE(51)] = 3633,
  [SMALL_STATE(52)] = 3701,
  [SMALL_STATE(53)] = 3769,
  [SMALL_STATE(54)] = 3834,
  [SMALL_STATE(55)] = 3871,
  [SMALL_STATE(56)] = 3936,
  [SMALL_STATE(57)] = 4001,
  [SMALL_STATE(58)] = 4066,
  [SMALL_STATE(59)] = 4131,
  [SMALL_STATE(60)] = 4196,
  [SMALL_STATE(61)] = 4233,
  [SMALL_STATE(62)] = 4298,
  [SMALL_STATE(63)] = 4363,
  [SMALL_STATE(64)] = 4428,
  [SMALL_STATE(65)] = 4493,
  [SMALL_STATE(66)] = 4532,
  [SMALL_STATE(67)] = 4597,
  [SMALL_STATE(68)] = 4634,
  [SMALL_STATE(69)] = 4699,
  [SMALL_STATE(70)] = 4764,
  [SMALL_STATE(71)] = 4829,
  [SMALL_STATE(72)] = 4868,
  [SMALL_STATE(73)] = 4904,
  [SMALL_STATE(74)] = 4946,
  [SMALL_STATE(75)] = 4988,
  [SMALL_STATE(76)] = 5030,
  [SMALL_STATE(77)] = 5072,
  [SMALL_STATE(78)] = 5114,
  [SMALL_STATE(79)] = 5150,
  [SMALL_STATE(80)] = 5186,
  [SMALL_STATE(81)] = 5222,
  [SMALL_STATE(82)] = 5284,
  [SMALL_STATE(83)] = 5320,
  [SMALL_STATE(84)] = 5356,
  [SMALL_STATE(85)] = 5392,
  [SMALL_STATE(86)] = 5428,
  [SMALL_STATE(87)] = 5464,
  [SMALL_STATE(88)] = 5526,
  [SMALL_STATE(89)] = 5562,
  [SMALL_STATE(90)] = 5598,
  [SMALL_STATE(91)] = 5634,
  [SMALL_STATE(92)] = 5670,
  [SMALL_STATE(93)] = 5706,
  [SMALL_STATE(94)] = 5768,
  [SMALL_STATE(95)] = 5804,
  [SMALL_STATE(96)] = 5840,
  [SMALL_STATE(97)] = 5902,
  [SMALL_STATE(98)] = 5938,
  [SMALL_STATE(99)] = 6000,
  [SMALL_STATE(100)] = 6062,
  [SMALL_STATE(101)] = 6098,
  [SMALL_STATE(102)] = 6140,
  [SMALL_STATE(103)] = 6202,
  [SMALL_STATE(104)] = 6244,
  [SMALL_STATE(105)] = 6280,
  [SMALL_STATE(106)] = 6342,
  [SMALL_STATE(107)] = 6404,
  [SMALL_STATE(108)] = 6466,
  [SMALL_STATE(109)] = 6528,
  [SMALL_STATE(110)] = 6590,
  [SMALL_STATE(111)] = 6652,
  [SMALL_STATE(112)] = 6714,
  [SMALL_STATE(113)] = 6756,
  [SMALL_STATE(114)] = 6792,
  [SMALL_STATE(115)] = 6828,
  [SMALL_STATE(116)] = 6864,
  [SMALL_STATE(117)] = 6900,
  [SMALL_STATE(118)] = 6936,
  [SMALL_STATE(119)] = 6978,
  [SMALL_STATE(120)] = 7014,
  [SMALL_STATE(121)] = 7050,
  [SMALL_STATE(122)] = 7086,
  [SMALL_STATE(123)] = 7145,
  [SMALL_STATE(124)] = 7204,
  [SMALL_STATE(125)] = 7245,
  [SMALL_STATE(126)] = 7286,
  [SMALL_STATE(127)] = 7345,
  [SMALL_STATE(128)] = 7404,
  [SMALL_STATE(129)] = 7463,
  [SMALL_STATE(130)] = 7522,
  [SMALL_STATE(131)] = 7563,
  [SMALL_STATE(132)] = 7622,
  [SMALL_STATE(133)] = 7681,
  [SMALL_STATE(134)] = 7740,
  [SMALL_STATE(135)] = 7799,
  [SMALL_STATE(136)] = 7858,
  [SMALL_STATE(137)] = 7917,
  [SMALL_STATE(138)] = 7976,
  [SMALL_STATE(139)] = 8035,
  [SMALL_STATE(140)] = 8094,
  [SMALL_STATE(141)] = 8135,
  [SMALL_STATE(142)] = 8194,
  [SMALL_STATE(143)] = 8253,
  [SMALL_STATE(144)] = 8294,
  [SMALL_STATE(145)] = 8335,
  [SMALL_STATE(146)] = 8376,
  [SMALL_STATE(147)] = 8417,
  [SMALL_STATE(148)] = 8476,
  [SMALL_STATE(149)] = 8535,
  [SMALL_STATE(150)] = 8594,
  [SMALL_STATE(151)] = 8653,
  [SMALL_STATE(152)] = 8712,
  [SMALL_STATE(153)] = 8753,
  [SMALL_STATE(154)] = 8794,
  [SMALL_STATE(155)] = 8835,
  [SMALL_STATE(156)] = 8876,
  [SMALL_STATE(157)] = 8935,
  [SMALL_STATE(158)] = 8994,
  [SMALL_STATE(159)] = 9053,
  [SMALL_STATE(160)] = 9094,
  [SMALL_STATE(161)] = 9135,
  [SMALL_STATE(162)] = 9176,
  [SMALL_STATE(163)] = 9235,
  [SMALL_STATE(164)] = 9294,
  [SMALL_STATE(165)] = 9353,
  [SMALL_STATE(166)] = 9393,
  [SMALL_STATE(167)] = 9433,
  [SMALL_STATE(168)] = 9467,
  [SMALL_STATE(169)] = 9507,
  [SMALL_STATE(170)] = 9541,
  [SMALL_STATE(171)] = 9581,
  [SMALL_STATE(172)] = 9615,
  [SMALL_STATE(173)] = 9652,
  [SMALL_STATE(174)] = 9683,
  [SMALL_STATE(175)] = 9718,
  [SMALL_STATE(176)] = 9755,
  [SMALL_STATE(177)] = 9792,
  [SMALL_STATE(178)] = 9829,
  [SMALL_STATE(179)] = 9866,
  [SMALL_STATE(180)] = 9903,
  [SMALL_STATE(181)] = 9940,
  [SMALL_STATE(182)] = 9977,
  [SMALL_STATE(183)] = 10014,
  [SMALL_STATE(184)] = 10050,
  [SMALL_STATE(185)] = 10084,
  [SMALL_STATE(186)] = 10120,
  [SMALL_STATE(187)] = 10150,
  [SMALL_STATE(188)] = 10186,
  [SMALL_STATE(189)] = 10222,
  [SMALL_STATE(190)] = 10258,
  [SMALL_STATE(191)] = 10294,
  [SMALL_STATE(192)] = 10330,
  [SMALL_STATE(193)] = 10366,
  [SMALL_STATE(194)] = 10402,
  [SMALL_STATE(195)] = 10438,
  [SMALL_STATE(196)] = 10474,
  [SMALL_STATE(197)] = 10508,
  [SMALL_STATE(198)] = 10544,
  [SMALL_STATE(199)] = 10576,
  [SMALL_STATE(200)] = 10608,
  [SMALL_STATE(201)] = 10640,
  [SMALL_STATE(202)] = 10672,
  [SMALL_STATE(203)] = 10704,
  [SMALL_STATE(204)] = 10736,
  [SMALL_STATE(205)] = 10768,
  [SMALL_STATE(206)] = 10800,
  [SMALL_STATE(207)] = 10832,
  [SMALL_STATE(208)] = 10863,
  [SMALL_STATE(209)] = 10894,
  [SMALL_STATE(210)] = 10925,
  [SMALL_STATE(211)] = 10956,
  [SMALL_STATE(212)] = 10987,
  [SMALL_STATE(213)] = 11018,
  [SMALL_STATE(214)] = 11049,
  [SMALL_STATE(215)] = 11080,
  [SMALL_STATE(216)] = 11109,
  [SMALL_STATE(217)] = 11140,
  [SMALL_STATE(218)] = 11171,
  [SMALL_STATE(219)] = 11202,
  [SMALL_STATE(220)] = 11233,
  [SMALL_STATE(221)] = 11259,
  [SMALL_STATE(222)] = 11287,
  [SMALL_STATE(223)] = 11313,
  [SMALL_STATE(224)] = 11344,
  [SMALL_STATE(225)] = 11375,
  [SMALL_STATE(226)] = 11406,
  [SMALL_STATE(227)] = 11437,
  [SMALL_STATE(228)] = 11468,
  [SMALL_STATE(229)] = 11501,
  [SMALL_STATE(230)] = 11534,
  [SMALL_STATE(231)] = 11567,
  [SMALL_STATE(232)] = 11598,
  [SMALL_STATE(233)] = 11629,
  [SMALL_STATE(234)] = 11660,
  [SMALL_STATE(235)] = 11691,
  [SMALL_STATE(236)] = 11721,
  [SMALL_STATE(237)] = 11751,
  [SMALL_STATE(238)] = 11783,
  [SMALL_STATE(239)] = 11813,
  [SMALL_STATE(240)] = 11843,
  [SMALL_STATE(241)] = 11873,
  [SMALL_STATE(242)] = 11905,
  [SMALL_STATE(243)] = 11937,
  [SMALL_STATE(244)] = 11967,
  [SMALL_STATE(245)] = 11999,
  [SMALL_STATE(246)] = 12029,
  [SMALL_STATE(247)] = 12059,
  [SMALL_STATE(248)] = 12089,
  [SMALL_STATE(249)] = 12119,
  [SMALL_STATE(250)] = 12149,
  [SMALL_STATE(251)] = 12179,
  [SMALL_STATE(252)] = 12209,
  [SMALL_STATE(253)] = 12239,
  [SMALL_STATE(254)] = 12269,
  [SMALL_STATE(255)] = 12298,
  [SMALL_STATE(256)] = 12327,
  [SMALL_STATE(257)] = 12356,
  [SMALL_STATE(258)] = 12385,
  [SMALL_STATE(259)] = 12411,
  [SMALL_STATE(260)] = 12437,
  [SMALL_STATE(261)] = 12463,
  [SMALL_STATE(262)] = 12489,
  [SMALL_STATE(263)] = 12515,
  [SMALL_STATE(264)] = 12541,
  [SMALL_STATE(265)] = 12567,
  [SMALL_STATE(266)] = 12593,
  [SMALL_STATE(267)] = 12619,
  [SMALL_STATE(268)] = 12644,
  [SMALL_STATE(269)] = 12669,
  [SMALL_STATE(270)] = 12694,
  [SMALL_STATE(271)] = 12725,
  [SMALL_STATE(272)] = 12750,
  [SMALL_STATE(273)] = 12775,
  [SMALL_STATE(274)] = 12800,
  [SMALL_STATE(275)] = 12825,
  [SMALL_STATE(276)] = 12850,
  [SMALL_STATE(277)] = 12875,
  [SMALL_STATE(278)] = 12906,
  [SMALL_STATE(279)] = 12931,
  [SMALL_STATE(280)] = 12956,
  [SMALL_STATE(281)] = 12981,
  [SMALL_STATE(282)] = 13005,
  [SMALL_STATE(283)] = 13029,
  [SMALL_STATE(284)] = 13047,
  [SMALL_STATE(285)] = 13065,
  [SMALL_STATE(286)] = 13089,
  [SMALL_STATE(287)] = 13113,
  [SMALL_STATE(288)] = 13137,
  [SMALL_STATE(289)] = 13155,
  [SMALL_STATE(290)] = 13179,
  [SMALL_STATE(291)] = 13203,
  [SMALL_STATE(292)] = 13227,
  [SMALL_STATE(293)] = 13251,
  [SMALL_STATE(294)] = 13274,
  [SMALL_STATE(295)] = 13297,
  [SMALL_STATE(296)] = 13320,
  [SMALL_STATE(297)] = 13343,
  [SMALL_STATE(298)] = 13366,
  [SMALL_STATE(299)] = 13387,
  [SMALL_STATE(300)] = 13408,
  [SMALL_STATE(301)] = 13429,
  [SMALL_STATE(302)] = 13450,
  [SMALL_STATE(303)] = 13471,
  [SMALL_STATE(304)] = 13494,
  [SMALL_STATE(305)] = 13515,
  [SMALL_STATE(306)] = 13538,
  [SMALL_STATE(307)] = 13561,
  [SMALL_STATE(308)] = 13584,
  [SMALL_STATE(309)] = 13607,
  [SMALL_STATE(310)] = 13628,
  [SMALL_STATE(311)] = 13649,
  [SMALL_STATE(312)] = 13670,
  [SMALL_STATE(313)] = 13693,
  [SMALL_STATE(314)] = 13716,
  [SMALL_STATE(315)] = 13736,
  [SMALL_STATE(316)] = 13756,
  [SMALL_STATE(317)] = 13776,
  [SMALL_STATE(318)] = 13796,
  [SMALL_STATE(319)] = 13816,
  [SMALL_STATE(320)] = 13836,
  [SMALL_STATE(321)] = 13856,
  [SMALL_STATE(322)] = 13876,
  [SMALL_STATE(323)] = 13896,
  [SMALL_STATE(324)] = 13916,
  [SMALL_STATE(325)] = 13936,
  [SMALL_STATE(326)] = 13952,
  [SMALL_STATE(327)] = 13972,
  [SMALL_STATE(328)] = 13989,
  [SMALL_STATE(329)] = 14010,
  [SMALL_STATE(330)] = 14031,
  [SMALL_STATE(331)] = 14052,
  [SMALL_STATE(332)] = 14069,
  [SMALL_STATE(333)] = 14090,
  [SMALL_STATE(334)] = 14111,
  [SMALL_STATE(335)] = 14128,
  [SMALL_STATE(336)] = 14149,
  [SMALL_STATE(337)] = 14170,
  [SMALL_STATE(338)] = 14191,
  [SMALL_STATE(339)] = 14212,
  [SMALL_STATE(340)] = 14230,
  [SMALL_STATE(341)] = 14248,
  [SMALL_STATE(342)] = 14268,
  [SMALL_STATE(343)] = 14286,
  [SMALL_STATE(344)] = 14298,
  [SMALL_STATE(345)] = 14318,
  [SMALL_STATE(346)] = 14338,
  [SMALL_STATE(347)] = 14358,
  [SMALL_STATE(348)] = 14378,
  [SMALL_STATE(349)] = 14398,
  [SMALL_STATE(350)] = 14418,
  [SMALL_STATE(351)] = 14438,
  [SMALL_STATE(352)] = 14458,
  [SMALL_STATE(353)] = 14478,
  [SMALL_STATE(354)] = 14494,
  [SMALL_STATE(355)] = 14510,
  [SMALL_STATE(356)] = 14530,
  [SMALL_STATE(357)] = 14546,
  [SMALL_STATE(358)] = 14562,
  [SMALL_STATE(359)] = 14580,
  [SMALL_STATE(360)] = 14600,
  [SMALL_STATE(361)] = 14612,
  [SMALL_STATE(362)] = 14630,
  [SMALL_STATE(363)] = 14650,
  [SMALL_STATE(364)] = 14666,
  [SMALL_STATE(365)] = 14686,
  [SMALL_STATE(366)] = 14706,
  [SMALL_STATE(367)] = 14726,
  [SMALL_STATE(368)] = 14746,
  [SMALL_STATE(369)] = 14768,
  [SMALL_STATE(370)] = 14788,
  [SMALL_STATE(371)] = 14805,
  [SMALL_STATE(372)] = 14824,
  [SMALL_STATE(373)] = 14841,
  [SMALL_STATE(374)] = 14858,
  [SMALL_STATE(375)] = 14875,
  [SMALL_STATE(376)] = 14892,
  [SMALL_STATE(377)] = 14909,
  [SMALL_STATE(378)] = 14928,
  [SMALL_STATE(379)] = 14943,
  [SMALL_STATE(380)] = 14962,
  [SMALL_STATE(381)] = 14979,
  [SMALL_STATE(382)] = 14996,
  [SMALL_STATE(383)] = 15013,
  [SMALL_STATE(384)] = 15024,
  [SMALL_STATE(385)] = 15041,
  [SMALL_STATE(386)] = 15058,
  [SMALL_STATE(387)] = 15075,
  [SMALL_STATE(388)] = 15092,
  [SMALL_STATE(389)] = 15109,
  [SMALL_STATE(390)] = 15126,
  [SMALL_STATE(391)] = 15143,
  [SMALL_STATE(392)] = 15158,
  [SMALL_STATE(393)] = 15175,
  [SMALL_STATE(394)] = 15190,
  [SMALL_STATE(395)] = 15207,
  [SMALL_STATE(396)] = 15224,
  [SMALL_STATE(397)] = 15241,
  [SMALL_STATE(398)] = 15258,
  [SMALL_STATE(399)] = 15275,
  [SMALL_STATE(400)] = 15292,
  [SMALL_STATE(401)] = 15309,
  [SMALL_STATE(402)] = 15328,
  [SMALL_STATE(403)] = 15347,
  [SMALL_STATE(404)] = 15364,
  [SMALL_STATE(405)] = 15375,
  [SMALL_STATE(406)] = 15394,
  [SMALL_STATE(407)] = 15411,
  [SMALL_STATE(408)] = 15430,
  [SMALL_STATE(409)] = 15445,
  [SMALL_STATE(410)] = 15462,
  [SMALL_STATE(411)] = 15479,
  [SMALL_STATE(412)] = 15496,
  [SMALL_STATE(413)] = 15513,
  [SMALL_STATE(414)] = 15532,
  [SMALL_STATE(415)] = 15551,
  [SMALL_STATE(416)] = 15568,
  [SMALL_STATE(417)] = 15585,
  [SMALL_STATE(418)] = 15596,
  [SMALL_STATE(419)] = 15613,
  [SMALL_STATE(420)] = 15630,
  [SMALL_STATE(421)] = 15649,
  [SMALL_STATE(422)] = 15666,
  [SMALL_STATE(423)] = 15685,
  [SMALL_STATE(424)] = 15704,
  [SMALL_STATE(425)] = 15721,
  [SMALL_STATE(426)] = 15740,
  [SMALL_STATE(427)] = 15757,
  [SMALL_STATE(428)] = 15772,
  [SMALL_STATE(429)] = 15791,
  [SMALL_STATE(430)] = 15808,
  [SMALL_STATE(431)] = 15825,
  [SMALL_STATE(432)] = 15840,
  [SMALL_STATE(433)] = 15857,
  [SMALL_STATE(434)] = 15874,
  [SMALL_STATE(435)] = 15893,
  [SMALL_STATE(436)] = 15910,
  [SMALL_STATE(437)] = 15929,
  [SMALL_STATE(438)] = 15944,
  [SMALL_STATE(439)] = 15955,
  [SMALL_STATE(440)] = 15970,
  [SMALL_STATE(441)] = 15987,
  [SMALL_STATE(442)] = 16006,
  [SMALL_STATE(443)] = 16022,
  [SMALL_STATE(444)] = 16038,
  [SMALL_STATE(445)] = 16054,
  [SMALL_STATE(446)] = 16066,
  [SMALL_STATE(447)] = 16082,
  [SMALL_STATE(448)] = 16098,
  [SMALL_STATE(449)] = 16114,
  [SMALL_STATE(450)] = 16130,
  [SMALL_STATE(451)] = 16146,
  [SMALL_STATE(452)] = 16162,
  [SMALL_STATE(453)] = 16176,
  [SMALL_STATE(454)] = 16192,
  [SMALL_STATE(455)] = 16208,
  [SMALL_STATE(456)] = 16222,
  [SMALL_STATE(457)] = 16238,
  [SMALL_STATE(458)] = 16254,
  [SMALL_STATE(459)] = 16270,
  [SMALL_STATE(460)] = 16283,
  [SMALL_STATE(461)] = 16292,
  [SMALL_STATE(462)] = 16301,
  [SMALL_STATE(463)] = 16314,
  [SMALL_STATE(464)] = 16327,
  [SMALL_STATE(465)] = 16340,
  [SMALL_STATE(466)] = 16353,
  [SMALL_STATE(467)] = 16366,
  [SMALL_STATE(468)] = 16379,
  [SMALL_STATE(469)] = 16392,
  [SMALL_STATE(470)] = 16405,
  [SMALL_STATE(471)] = 16418,
  [SMALL_STATE(472)] = 16431,
  [SMALL_STATE(473)] = 16444,
  [SMALL_STATE(474)] = 16457,
  [SMALL_STATE(475)] = 16470,
  [SMALL_STATE(476)] = 16483,
  [SMALL_STATE(477)] = 16496,
  [SMALL_STATE(478)] = 16509,
  [SMALL_STATE(479)] = 16522,
  [SMALL_STATE(480)] = 16531,
  [SMALL_STATE(481)] = 16544,
  [SMALL_STATE(482)] = 16557,
  [SMALL_STATE(483)] = 16570,
  [SMALL_STATE(484)] = 16583,
  [SMALL_STATE(485)] = 16596,
  [SMALL_STATE(486)] = 16609,
  [SMALL_STATE(487)] = 16622,
  [SMALL_STATE(488)] = 16635,
  [SMALL_STATE(489)] = 16648,
  [SMALL_STATE(490)] = 16657,
  [SMALL_STATE(491)] = 16666,
  [SMALL_STATE(492)] = 16679,
  [SMALL_STATE(493)] = 16692,
  [SMALL_STATE(494)] = 16701,
  [SMALL_STATE(495)] = 16714,
  [SMALL_STATE(496)] = 16727,
  [SMALL_STATE(497)] = 16740,
  [SMALL_STATE(498)] = 16753,
  [SMALL_STATE(499)] = 16766,
  [SMALL_STATE(500)] = 16779,
  [SMALL_STATE(501)] = 16792,
  [SMALL_STATE(502)] = 16805,
  [SMALL_STATE(503)] = 16818,
  [SMALL_STATE(504)] = 16831,
  [SMALL_STATE(505)] = 16844,
  [SMALL_STATE(506)] = 16857,
  [SMALL_STATE(507)] = 16870,
  [SMALL_STATE(508)] = 16883,
  [SMALL_STATE(509)] = 16896,
  [SMALL_STATE(510)] = 16909,
  [SMALL_STATE(511)] = 16922,
  [SMALL_STATE(512)] = 16935,
  [SMALL_STATE(513)] = 16948,
  [SMALL_STATE(514)] = 16961,
  [SMALL_STATE(515)] = 16974,
  [SMALL_STATE(516)] = 16987,
  [SMALL_STATE(517)] = 16997,
  [SMALL_STATE(518)] = 17007,
  [SMALL_STATE(519)] = 17015,
  [SMALL_STATE(520)] = 17025,
  [SMALL_STATE(521)] = 17033,
  [SMALL_STATE(522)] = 17041,
  [SMALL_STATE(523)] = 17049,
  [SMALL_STATE(524)] = 17059,
  [SMALL_STATE(525)] = 17067,
  [SMALL_STATE(526)] = 17075,
  [SMALL_STATE(527)] = 17085,
  [SMALL_STATE(528)] = 17095,
  [SMALL_STATE(529)] = 17105,
  [SMALL_STATE(530)] = 17115,
  [SMALL_STATE(531)] = 17125,
  [SMALL_STATE(532)] = 17133,
  [SMALL_STATE(533)] = 17143,
  [SMALL_STATE(534)] = 17153,
  [SMALL_STATE(535)] = 17163,
  [SMALL_STATE(536)] = 17173,
  [SMALL_STATE(537)] = 17183,
  [SMALL_STATE(538)] = 17193,
  [SMALL_STATE(539)] = 17203,
  [SMALL_STATE(540)] = 17213,
  [SMALL_STATE(541)] = 17223,
  [SMALL_STATE(542)] = 17233,
  [SMALL_STATE(543)] = 17243,
  [SMALL_STATE(544)] = 17253,
  [SMALL_STATE(545)] = 17261,
  [SMALL_STATE(546)] = 17269,
  [SMALL_STATE(547)] = 17279,
  [SMALL_STATE(548)] = 17289,
  [SMALL_STATE(549)] = 17299,
  [SMALL_STATE(550)] = 17307,
  [SMALL_STATE(551)] = 17315,
  [SMALL_STATE(552)] = 17325,
  [SMALL_STATE(553)] = 17335,
  [SMALL_STATE(554)] = 17345,
  [SMALL_STATE(555)] = 17355,
  [SMALL_STATE(556)] = 17365,
  [SMALL_STATE(557)] = 17375,
  [SMALL_STATE(558)] = 17385,
  [SMALL_STATE(559)] = 17395,
  [SMALL_STATE(560)] = 17403,
  [SMALL_STATE(561)] = 17413,
  [SMALL_STATE(562)] = 17423,
  [SMALL_STATE(563)] = 17430,
  [SMALL_STATE(564)] = 17437,
  [SMALL_STATE(565)] = 17444,
  [SMALL_STATE(566)] = 17451,
  [SMALL_STATE(567)] = 17458,
  [SMALL_STATE(568)] = 17465,
  [SMALL_STATE(569)] = 17472,
  [SMALL_STATE(570)] = 17479,
  [SMALL_STATE(571)] = 17486,
  [SMALL_STATE(572)] = 17493,
  [SMALL_STATE(573)] = 17500,
  [SMALL_STATE(574)] = 17507,
  [SMALL_STATE(575)] = 17514,
  [SMALL_STATE(576)] = 17521,
  [SMALL_STATE(577)] = 17528,
  [SMALL_STATE(578)] = 17535,
  [SMALL_STATE(579)] = 17542,
  [SMALL_STATE(580)] = 17549,
  [SMALL_STATE(581)] = 17556,
  [SMALL_STATE(582)] = 17563,
  [SMALL_STATE(583)] = 17570,
  [SMALL_STATE(584)] = 17577,
  [SMALL_STATE(585)] = 17584,
  [SMALL_STATE(586)] = 17591,
  [SMALL_STATE(587)] = 17598,
  [SMALL_STATE(588)] = 17605,
  [SMALL_STATE(589)] = 17612,
  [SMALL_STATE(590)] = 17619,
  [SMALL_STATE(591)] = 17626,
  [SMALL_STATE(592)] = 17633,
  [SMALL_STATE(593)] = 17640,
  [SMALL_STATE(594)] = 17647,
  [SMALL_STATE(595)] = 17654,
  [SMALL_STATE(596)] = 17661,
  [SMALL_STATE(597)] = 17668,
  [SMALL_STATE(598)] = 17675,
  [SMALL_STATE(599)] = 17682,
  [SMALL_STATE(600)] = 17689,
  [SMALL_STATE(601)] = 17696,
  [SMALL_STATE(602)] = 17703,
  [SMALL_STATE(603)] = 17710,
  [SMALL_STATE(604)] = 17717,
  [SMALL_STATE(605)] = 17724,
  [SMALL_STATE(606)] = 17731,
  [SMALL_STATE(607)] = 17738,
  [SMALL_STATE(608)] = 17745,
  [SMALL_STATE(609)] = 17752,
  [SMALL_STATE(610)] = 17759,
};

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_policy_set, 0, 0, 0),
  [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(583),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(581),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(577),
  [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152),
  [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
  [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(605),
  [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100),
  [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368),
  [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31),
  [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
  [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
  [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(584),
  [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34),
  [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
  [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
  [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153),
  [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
  [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32),
  [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
  [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
  [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
  [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
  [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166),
  [57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14),
  [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158),
  [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143),
  [63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170),
  [65] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17),
  [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
  [69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
  [71] = {.entry = {.count = 1, .reusable = false}}, SHIFT(165),
  [73] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29),
  [75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
  [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159),
  [79] = {.entry = {.count = 1, .reusable = false}}, SHIFT(168),
  [81] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30),
  [83] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
  [85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
  [87] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154),
  [89] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
  [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
  [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
  [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_member_expression_repeat1, 2, 0, 0),
  [97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_member_expression_repeat1, 2, 0, 0),
  [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_member_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(596),
  [102] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_member_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(528),
  [105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member_expression, 1, 0, 0),
  [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member_expression, 1, 0, 0),
  [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(596),
  [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(528),
  [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member_expression, 2, 0, 0),
  [115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member_expression, 2, 0, 0),
  [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_entity_reference_repeat1, 2, 0, 0),
  [119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_entity_reference_repeat1, 2, 0, 0),
  [121] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entity_reference_repeat1, 2, 0, 0), SHIFT_REPEAT(590),
  [124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_name, 1, 0, 0),
  [126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_name, 1, 0, 0),
  [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(590),
  [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_name, 2, 0, 0),
  [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_name, 2, 0, 0),
  [134] = {.entry = {.count = 1, .reusable = false}}, SHIFT(251),
  [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164),
  [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(578),
  [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224),
  [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, 0, 0),
  [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3, 0, 0),
  [146] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255),
  [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
  [150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252),
  [152] = {.entry = {.count = 1, .reusable = false}}, SHIFT(235),
  [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
  [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226),
  [158] = {.entry = {.count = 1, .reusable = false}}, SHIFT(254),
  [160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
  [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238),
  [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2, 0, 0),
  [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2, 0, 0),
  [168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(250),
  [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
  [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233),
  [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(256),
  [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
  [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249),
  [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_access, 2, 0, 0),
  [184] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field_access, 2, 0, 0),
  [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(257),
  [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148),
  [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245),
  [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 2, 0, 0),
  [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 2, 0, 0),
  [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(494),
  [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_extension_call, 5, 0, 0),
  [200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_extension_call, 5, 0, 0),
  [202] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74),
  [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
  [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
  [208] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(),
  [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0),
  [212] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(74),
  [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0),
  [217] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(74),
  [220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 1, 0, 0),
  [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76),
  [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
  [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77),
  [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
  [232] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(77),
  [235] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(77),
  [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_record, 5, 0, 0),
  [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entity_record, 5, 0, 0),
  [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 5, 0, 0),
  [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 5, 0, 0),
  [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 2, 0, 0),
  [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 2, 0, 0),
  [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 5, 0, 0),
  [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list_expression, 5, 0, 0),
  [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 2, 0, 0),
  [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list_expression, 2, 0, 0),
  [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_method_call, 4, 0, 0),
  [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_method_call, 4, 0, 0),
  [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, 0, 0),
  [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list_expression, 4, 0, 0),
  [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_method_call, 5, 0, 0),
  [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_method_call, 5, 0, 0),
  [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_method_call, 6, 0, 0),
  [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_method_call, 6, 0, 0),
  [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_record, 2, 0, 0),
  [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entity_record, 2, 0, 0),
  [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_reference, 1, 0, 0),
  [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_reference, 1, 0, 0),
  [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_access, 3, 0, 0),
  [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_access, 3, 0, 0),
  [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_extension_call, 4, 0, 0),
  [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_extension_call, 4, 0, 0),
  [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_reference, 4, 0, 0),
  [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entity_reference, 4, 0, 0),
  [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_reference, 4, 0, 0),
  [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_reference, 4, 0, 0),
  [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_reference, 5, 0, 0),
  [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_reference, 5, 0, 0),
  [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1, 0, 0),
  [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 1, 0, 0),
  [306] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103),
  [308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
  [310] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112),
  [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
  [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 4, 0, 0),
  [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 4, 0, 0),
  [318] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(112),
  [321] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(112),
  [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_record, 3, 0, 0),
  [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entity_record, 3, 0, 0),
  [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3, 0, 0),
  [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3, 0, 0),
  [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 3, 0, 0),
  [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 3, 0, 0),
  [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_reference, 3, 0, 0),
  [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entity_reference, 3, 0, 0),
  [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 3, 0, 0),
  [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list_expression, 3, 0, 0),
  [344] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73),
  [346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
  [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_extension_call, 3, 0, 0),
  [350] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_extension_call, 3, 0, 0),
  [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_record, 4, 0, 0),
  [354] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entity_record, 4, 0, 0),
  [356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_expression, 4, 0, 0),
  [358] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_record_expression, 4, 0, 0),
  [360] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125),
  [362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
  [364] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(125),
  [367] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(125),
  [370] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140),
  [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
  [374] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145),
  [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
  [378] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146),
  [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
  [382] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124),
  [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [386] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(145),
  [389] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(145),
  [392] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155),
  [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155),
  [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__primary, 1, 0, 0),
  [398] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__primary, 1, 0, 0),
  [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(410),
  [402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(432),
  [404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(418),
  [406] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(155),
  [409] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(155),
  [412] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160),
  [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160),
  [416] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161),
  [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161),
  [420] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(161),
  [423] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(161),
  [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(406),
  [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(397),
  [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0),
  [432] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0),
  [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381),
  [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 1, 0, 0),
  [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 1, 0, 0),
  [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(440),
  [442] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, 0, 0),
  [444] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 2, 0, 0),
  [446] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(129),
  [449] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(129),
  [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0),
  [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0),
  [456] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entity_reference_repeat1, 2, 0, 0), SHIFT_REPEAT(566),
  [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiply_expression, 2, 0, 0),
  [461] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__multiply_expression, 2, 0, 0),
  [463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
  [465] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129),
  [467] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
  [469] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163),
  [471] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(163),
  [474] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(163),
  [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
  [479] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133),
  [481] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(133),
  [484] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(133),
  [487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiply_expression, 1, 0, 0),
  [489] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__multiply_expression, 1, 0, 0),
  [491] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(127),
  [494] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(127),
  [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(566),
  [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156),
  [501] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156),
  [503] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(156),
  [506] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(156),
  [509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
  [511] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127),
  [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
  [515] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132),
  [517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
  [519] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135),
  [521] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
  [524] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
  [527] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(132),
  [530] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(132),
  [533] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__add_expression, 2, 0, 0),
  [535] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__add_expression, 2, 0, 0),
  [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99),
  [539] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(99),
  [542] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(93),
  [545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
  [547] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(105),
  [550] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__add_expression, 1, 0, 0),
  [552] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__add_expression, 1, 0, 0),
  [554] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
  [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
  [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
  [562] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(87),
  [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
  [567] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(106),
  [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(469),
  [572] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(81),
  [575] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(96),
  [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(478),
  [580] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(223),
  [583] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(223),
  [586] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225),
  [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225),
  [590] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223),
  [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223),
  [594] = {.entry = {.count = 1, .reusable = false}}, SHIFT(234),
  [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234),
  [598] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(227),
  [601] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(227),
  [604] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relation_expression, 1, 0, 0),
  [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
  [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(557),
  [610] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_relation_expression, 1, 0, 0),
  [612] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61),
  [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(530),
  [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
  [618] = {.entry = {.count = 1, .reusable = true}}, SHIFT(556),
  [620] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56),
  [622] = {.entry = {.count = 1, .reusable = true}}, SHIFT(542),
  [624] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [626] = {.entry = {.count = 1, .reusable = true}}, SHIFT(558),
  [628] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53),
  [630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(519),
  [632] = {.entry = {.count = 1, .reusable = false}}, SHIFT(232),
  [634] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232),
  [636] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(232),
  [639] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(232),
  [642] = {.entry = {.count = 1, .reusable = false}}, SHIFT(231),
  [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231),
  [646] = {.entry = {.count = 1, .reusable = false}}, SHIFT(227),
  [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227),
  [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(389),
  [652] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(236),
  [655] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(236),
  [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(546),
  [662] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57),
  [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(551),
  [666] = {.entry = {.count = 1, .reusable = false}}, SHIFT(239),
  [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239),
  [670] = {.entry = {.count = 1, .reusable = false}}, SHIFT(240),
  [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240),
  [674] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(240),
  [677] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(240),
  [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
  [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(554),
  [684] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68),
  [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(543),
  [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
  [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(555),
  [692] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63),
  [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(517),
  [696] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(243),
  [699] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(243),
  [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69),
  [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(560),
  [706] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
  [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(516),
  [710] = {.entry = {.count = 1, .reusable = false}}, SHIFT(246),
  [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246),
  [714] = {.entry = {.count = 1, .reusable = false}}, SHIFT(247),
  [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247),
  [718] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(247),
  [721] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(247),
  [724] = {.entry = {.count = 1, .reusable = false}}, SHIFT(243),
  [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243),
  [728] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248),
  [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248),
  [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(421),
  [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373),
  [736] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253),
  [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
  [740] = {.entry = {.count = 1, .reusable = false}}, SHIFT(236),
  [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236),
  [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370),
  [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(394),
  [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(435),
  [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(375),
  [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
  [754] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122),
  [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
  [758] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147),
  [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
  [762] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141),
  [764] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(141),
  [767] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(141),
  [770] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(122),
  [773] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(122),
  [776] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(147),
  [779] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(147),
  [782] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
  [784] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128),
  [786] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [789] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [792] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_policy_set, 1, 0, 0),
  [794] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(128),
  [797] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(128),
  [800] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
  [802] = {.entry = {.count = 1, .reusable = false}}, SHIFT(151),
  [804] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
  [806] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138),
  [808] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
  [810] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150),
  [812] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(151),
  [815] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(151),
  [818] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_policy_set_repeat1, 2, 0, 0),
  [820] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_policy_set_repeat1, 2, 0, 0), SHIFT_REPEAT(583),
  [823] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_policy_set_repeat1, 2, 0, 0), SHIFT_REPEAT(581),
  [826] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_policy_set_repeat1, 2, 0, 0), SHIFT_REPEAT(577),
  [829] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(150),
  [832] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__multiply_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(150),
  [835] = {.entry = {.count = 1, .reusable = false}}, SHIFT(282),
  [837] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282),
  [839] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(282),
  [842] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(282),
  [845] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relation_expression, 5, 0, 0),
  [847] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_relation_expression, 5, 0, 0),
  [849] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relation_expression, 3, 0, 0),
  [851] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_relation_expression, 3, 0, 0),
  [853] = {.entry = {.count = 1, .reusable = false}}, SHIFT(292),
  [855] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292),
  [857] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(286),
  [860] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(286),
  [863] = {.entry = {.count = 1, .reusable = false}}, SHIFT(290),
  [865] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290),
  [867] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0),
  [869] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0),
  [871] = {.entry = {.count = 1, .reusable = false}}, SHIFT(281),
  [873] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281),
  [875] = {.entry = {.count = 1, .reusable = false}}, SHIFT(291),
  [877] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291),
  [879] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(291),
  [882] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(291),
  [885] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286),
  [887] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286),
  [889] = {.entry = {.count = 1, .reusable = false}}, SHIFT(297),
  [891] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297),
  [893] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(294),
  [896] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(294),
  [899] = {.entry = {.count = 1, .reusable = false}}, SHIFT(296),
  [901] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296),
  [903] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(296),
  [906] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(296),
  [909] = {.entry = {.count = 1, .reusable = false}}, SHIFT(305),
  [911] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305),
  [913] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
  [915] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(108),
  [918] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
  [920] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(109),
  [923] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110),
  [925] = {.entry = {.count = 1, .reusable = false}}, SHIFT(306),
  [927] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306),
  [929] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(110),
  [932] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(305),
  [935] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(305),
  [938] = {.entry = {.count = 1, .reusable = false}}, SHIFT(307),
  [940] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307),
  [942] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(307),
  [945] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(307),
  [948] = {.entry = {.count = 1, .reusable = false}}, SHIFT(295),
  [950] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295),
  [952] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313),
  [954] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313),
  [956] = {.entry = {.count = 1, .reusable = false}}, SHIFT(294),
  [958] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294),
  [960] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
  [962] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
  [964] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
  [966] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(98),
  [969] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
  [971] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(107),
  [974] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(102),
  [977] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0),
  [979] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0),
  [981] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__add_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(111),
  [984] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
  [986] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_and_expression, 1, 0, 0),
  [988] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_and_expression, 1, 0, 0),
  [990] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
  [992] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49),
  [994] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
  [996] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51),
  [998] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_and_expression, 2, 0, 0),
  [1000] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_and_expression, 2, 0, 0),
  [1002] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
  [1004] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
  [1006] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52),
  [1008] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(51),
  [1011] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(51),
  [1014] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
  [1016] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(49),
  [1019] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(49),
  [1022] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(52),
  [1025] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(52),
  [1028] = {.entry = {.count = 1, .reusable = true}}, SHIFT(533),
  [1030] = {.entry = {.count = 1, .reusable = true}}, SHIFT(532),
  [1032] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
  [1034] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50),
  [1036] = {.entry = {.count = 1, .reusable = true}}, SHIFT(529),
  [1038] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1, 0, 0),
  [1040] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(50),
  [1043] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(50),
  [1046] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(44),
  [1049] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(44),
  [1052] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
  [1054] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47),
  [1056] = {.entry = {.count = 1, .reusable = false}}, SHIFT(348),
  [1058] = {.entry = {.count = 1, .reusable = true}}, SHIFT(348),
  [1060] = {.entry = {.count = 1, .reusable = false}}, SHIFT(349),
  [1062] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349),
  [1064] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(349),
  [1067] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(349),
  [1070] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(47),
  [1073] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(47),
  [1076] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
  [1078] = {.entry = {.count = 1, .reusable = true}}, SHIFT(521),
  [1080] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364),
  [1082] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
  [1084] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46),
  [1086] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64),
  [1088] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
  [1090] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(46),
  [1093] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_and_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(46),
  [1096] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_expression, 6, 0, 0),
  [1098] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
  [1100] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44),
  [1102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
  [1104] = {.entry = {.count = 1, .reusable = false}}, SHIFT(365),
  [1106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(365),
  [1108] = {.entry = {.count = 1, .reusable = false}}, SHIFT(366),
  [1110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366),
  [1112] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(366),
  [1115] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(366),
  [1118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(593),
  [1120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(589),
  [1122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
  [1124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(402),
  [1126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
  [1128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(446),
  [1130] = {.entry = {.count = 1, .reusable = false}}, SHIFT(377),
  [1132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377),
  [1134] = {.entry = {.count = 1, .reusable = false}}, SHIFT(379),
  [1136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(379),
  [1138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(438),
  [1140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(570),
  [1142] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(379),
  [1145] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(379),
  [1148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(441),
  [1150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_policy, 6, 0, 0),
  [1152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347),
  [1154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_or_expression, 2, 0, 0),
  [1156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
  [1158] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
  [1160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(413),
  [1162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_or_expression, 1, 0, 0),
  [1164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
  [1166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39),
  [1168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(404),
  [1170] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(39),
  [1173] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(39),
  [1176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
  [1178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41),
  [1180] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(40),
  [1183] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(40),
  [1186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
  [1188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(423),
  [1190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(423),
  [1192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_policy, 5, 0, 0),
  [1194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_principal, 1, 0, 0),
  [1196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(455),
  [1198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342),
  [1200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(534),
  [1202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_resource, 1, 0, 0),
  [1204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(452),
  [1206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339),
  [1208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(553),
  [1210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_policy_repeat1, 2, 0, 0),
  [1212] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_policy_repeat1, 2, 0, 0), SHIFT_REPEAT(577),
  [1215] = {.entry = {.count = 1, .reusable = false}}, SHIFT(414),
  [1217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(414),
  [1219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(422),
  [1221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(422),
  [1223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_policy, 8, 0, 0),
  [1225] = {.entry = {.count = 1, .reusable = false}}, SHIFT(428),
  [1227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(428),
  [1229] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(422),
  [1232] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(422),
  [1235] = {.entry = {.count = 1, .reusable = false}}, SHIFT(425),
  [1237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(425),
  [1239] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(425),
  [1242] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(425),
  [1245] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(41),
  [1248] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(41),
  [1251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383),
  [1253] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(428),
  [1256] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(428),
  [1259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action, 1, 0, 0),
  [1261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
  [1263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_policy_repeat2, 2, 0, 0),
  [1265] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_policy_repeat2, 2, 0, 0), SHIFT_REPEAT(570),
  [1268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_policy, 7, 0, 0),
  [1270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(417),
  [1272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(420),
  [1274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(420),
  [1276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
  [1278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
  [1280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
  [1282] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36),
  [1284] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(37),
  [1287] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(37),
  [1290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(547),
  [1292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation, 2, 0, 0),
  [1294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(572),
  [1296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(568),
  [1298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
  [1300] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(38),
  [1303] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(38),
  [1306] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(36),
  [1309] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(36),
  [1312] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(42),
  [1315] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_or_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(42),
  [1318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
  [1320] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42),
  [1322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
  [1324] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38),
  [1326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(390),
  [1328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_declaration, 6, 0, 0),
  [1330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_declaration, 4, 0, 0),
  [1332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(586),
  [1334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(474),
  [1336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(544),
  [1338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184),
  [1340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(608),
  [1342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(561),
  [1344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(464),
  [1346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222),
  [1348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
  [1350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(485),
  [1352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(401),
  [1354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(405),
  [1356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [1358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(537),
  [1360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(549),
  [1362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(509),
  [1364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(416),
  [1366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_method_call_repeat1, 2, 0, 0),
  [1368] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_method_call_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
  [1371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_declaration, 5, 0, 0),
  [1373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
  [1375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [1377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(382),
  [1379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_template_declaration_repeat1, 2, 0, 0),
  [1381] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_template_declaration_repeat1, 2, 0, 0), SHIFT_REPEAT(561),
  [1384] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_reference_repeat1, 2, 0, 0), SHIFT_REPEAT(464),
  [1387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_reference_repeat1, 2, 0, 0),
  [1389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(411),
  [1391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
  [1393] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entity_record_repeat1, 2, 0, 0), SHIFT_REPEAT(538),
  [1396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_entity_record_repeat1, 2, 0, 0),
  [1398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(403),
  [1400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(409),
  [1402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation, 5, 0, 0),
  [1404] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_method_call_repeat1, 2, 0, 0), SHIFT_REPEAT(7),
  [1407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(433),
  [1409] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 4, 0, 0),
  [1411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
  [1413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
  [1415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(396),
  [1417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(419),
  [1419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
  [1421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(400),
  [1423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220),
  [1425] = {.entry = {.count = 1, .reusable = true}}, SHIFT(585),
  [1427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372),
  [1429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
  [1431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(467),
  [1433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
  [1435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
  [1437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(430),
  [1439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
  [1441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(374),
  [1443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(520),
  [1445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entity_list_repeat1, 2, 0, 0), SHIFT_REPEAT(523),
  [1448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_entity_list_repeat1, 2, 0, 0),
  [1450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(376),
  [1452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(436),
  [1454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
  [1456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [1458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
  [1460] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(453),
  [1463] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_expression_repeat1, 2, 0, 0),
  [1465] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293),
  [1467] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308),
  [1469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289),
  [1471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_list, 5, 0, 0),
  [1473] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ref_init, 3, 0, 0),
  [1475] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_entry, 3, 0, 0),
  [1477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(407),
  [1479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(429),
  [1481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
  [1483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(387),
  [1485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285),
  [1487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scope_constraint, 2, 0, 0),
  [1489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(424),
  [1491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(380),
  [1493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(384),
  [1495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(536),
  [1497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(552),
  [1499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(385),
  [1501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287),
  [1503] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312),
  [1505] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_list, 3, 0, 0),
  [1507] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scope_constraint, 4, 0, 0),
  [1509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(434),
  [1511] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_list, 4, 0, 0),
  [1513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303),
  [1515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
  [1517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
  [1519] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scope, 5, 0, 0),
  [1521] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_principal, 2, 0, 0),
  [1523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(378),
  [1525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_action, 2, 0, 0),
  [1527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
  [1529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(512),
  [1531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354),
  [1533] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_resource, 2, 0, 0),
  [1535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(473),
  [1537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
  [1539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(493),
  [1541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(445),
  [1543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221),
  [1545] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
  [1547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(391),
  [1549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_effect, 1, 0, 0),
  [1551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(548),
  [1553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(462),
  [1555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
  [1557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(479),
  [1559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(461),
  [1561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
  [1563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
  [1565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
  [1567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
  [1569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
  [1571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [1573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
  [1575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
  [1577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
  [1579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
  [1581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
  [1583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
  [1585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
  [1587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
  [1589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
  [1591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
  [1593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(526),
  [1595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(471),
  [1597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(431),
  [1599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(460),
  [1601] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [1603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(489),
};

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

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