#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 216
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 87
#define ALIAS_COUNT 0
#define TOKEN_COUNT 41
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 16
#define MAX_ALIAS_SEQUENCE_LENGTH 6
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 31
#define SUPERTYPE_COUNT 0
enum ts_symbol_identifiers {
anon_sym_COMMA = 1,
anon_sym_LBRACK = 2,
anon_sym_PIPE = 3,
anon_sym_RBRACK = 4,
anon_sym_AT = 5,
anon_sym_LPAREN = 6,
anon_sym_RPAREN = 7,
anon_sym_COLON = 8,
anon_sym_COLON_COLON = 9,
anon_sym_LBRACE = 10,
anon_sym_RBRACE = 11,
sym_symbol = 12,
anon_sym_DOT_DOT = 13,
anon_sym_DOT_DOT_DOT = 14,
anon_sym_true = 15,
anon_sym_false = 16,
sym_integer = 17,
sym_decimal = 18,
sym_hexadecimal = 19,
sym_octal = 20,
sym_measurement = 21,
anon_sym_SQUOTE = 22,
sym__single_quoted_text = 23,
anon_sym_DQUOTE = 24,
sym__double_quoted_text = 25,
anon_sym_BQUOTE = 26,
sym__backticked_text = 27,
anon_sym_BQUOTE_BQUOTE_BQUOTE = 28,
anon_sym_LF = 29,
sym__fenced_string_content = 30,
anon_sym_DASH = 31,
anon_sym_EQ = 32,
anon_sym_TILDE = 33,
anon_sym_DASH_GT = 34,
anon_sym_EQ_GT = 35,
anon_sym_TILDE_GT = 36,
anon_sym_LT_DASH = 37,
anon_sym_LT_EQ = 38,
anon_sym_LT_TILDE = 39,
sym_comment = 40,
sym_gram = 41,
sym_annotated_pattern = 42,
sym__annotated_pattern_element = 43,
sym_subject_pattern = 44,
sym_subject_pattern_elements = 45,
sym__subject_pattern_element = 46,
sym_annotations = 47,
sym_annotation = 48,
sym__path_pattern = 49,
sym_node_pattern = 50,
sym_relationship_pattern = 51,
sym_pattern_reference = 52,
sym__identifier = 53,
sym__subject = 54,
sym__value = 55,
sym__scalar_value = 56,
sym_array = 57,
sym_labels = 58,
sym__label = 59,
sym_record = 60,
sym_record_property = 61,
sym_map = 62,
sym_map_entry = 63,
sym_range = 64,
sym_boolean_literal = 65,
sym__numeric_literal = 66,
sym_string_literal = 67,
sym__single_quoted_string = 68,
sym__double_quoted_string = 69,
sym__backticked_string = 70,
sym__fenced_string = 71,
sym__fenced_string_body = 72,
sym_tagged_string = 73,
sym__relationship_kind = 74,
sym_undirected_arrow = 75,
sym_right_arrow = 76,
sym_left_arrow = 77,
sym_bidirectional_arrow = 78,
aux_sym_gram_repeat1 = 79,
aux_sym_annotated_pattern_repeat1 = 80,
aux_sym_subject_pattern_elements_repeat1 = 81,
aux_sym_annotations_repeat1 = 82,
aux_sym_array_repeat1 = 83,
aux_sym_labels_repeat1 = 84,
aux_sym_record_repeat1 = 85,
aux_sym_map_repeat1 = 86,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[anon_sym_COMMA] = ",",
[anon_sym_LBRACK] = "[",
[anon_sym_PIPE] = "|",
[anon_sym_RBRACK] = "]",
[anon_sym_AT] = "@",
[anon_sym_LPAREN] = "(",
[anon_sym_RPAREN] = ")",
[anon_sym_COLON] = ":",
[anon_sym_COLON_COLON] = "::",
[anon_sym_LBRACE] = "{",
[anon_sym_RBRACE] = "}",
[sym_symbol] = "symbol",
[anon_sym_DOT_DOT] = "..",
[anon_sym_DOT_DOT_DOT] = "...",
[anon_sym_true] = "true",
[anon_sym_false] = "false",
[sym_integer] = "integer",
[sym_decimal] = "decimal",
[sym_hexadecimal] = "hexadecimal",
[sym_octal] = "octal",
[sym_measurement] = "measurement",
[anon_sym_SQUOTE] = "'",
[sym__single_quoted_text] = "string_content",
[anon_sym_DQUOTE] = "\"",
[sym__double_quoted_text] = "string_content",
[anon_sym_BQUOTE] = "`",
[sym__backticked_text] = "string_content",
[anon_sym_BQUOTE_BQUOTE_BQUOTE] = "```",
[anon_sym_LF] = "\n",
[sym__fenced_string_content] = "string_content",
[anon_sym_DASH] = "-",
[anon_sym_EQ] = "=",
[anon_sym_TILDE] = "~",
[anon_sym_DASH_GT] = "->",
[anon_sym_EQ_GT] = "=>",
[anon_sym_TILDE_GT] = "~>",
[anon_sym_LT_DASH] = "<-",
[anon_sym_LT_EQ] = "<=",
[anon_sym_LT_TILDE] = "<~",
[sym_comment] = "comment",
[sym_gram] = "gram",
[sym_annotated_pattern] = "annotated_pattern",
[sym__annotated_pattern_element] = "_annotated_pattern_element",
[sym_subject_pattern] = "subject_pattern",
[sym_subject_pattern_elements] = "subject_pattern_elements",
[sym__subject_pattern_element] = "_subject_pattern_element",
[sym_annotations] = "annotations",
[sym_annotation] = "annotation",
[sym__path_pattern] = "_path_pattern",
[sym_node_pattern] = "node_pattern",
[sym_relationship_pattern] = "relationship_pattern",
[sym_pattern_reference] = "pattern_reference",
[sym__identifier] = "_identifier",
[sym__subject] = "_subject",
[sym__value] = "_value",
[sym__scalar_value] = "_scalar_value",
[sym_array] = "array",
[sym_labels] = "labels",
[sym__label] = "_label",
[sym_record] = "record",
[sym_record_property] = "record_property",
[sym_map] = "map",
[sym_map_entry] = "map_entry",
[sym_range] = "range",
[sym_boolean_literal] = "boolean_literal",
[sym__numeric_literal] = "_numeric_literal",
[sym_string_literal] = "string_literal",
[sym__single_quoted_string] = "_single_quoted_string",
[sym__double_quoted_string] = "_double_quoted_string",
[sym__backticked_string] = "_backticked_string",
[sym__fenced_string] = "_fenced_string",
[sym__fenced_string_body] = "_fenced_string_body",
[sym_tagged_string] = "tagged_string",
[sym__relationship_kind] = "_relationship_kind",
[sym_undirected_arrow] = "undirected_arrow",
[sym_right_arrow] = "right_arrow",
[sym_left_arrow] = "left_arrow",
[sym_bidirectional_arrow] = "bidirectional_arrow",
[aux_sym_gram_repeat1] = "gram_repeat1",
[aux_sym_annotated_pattern_repeat1] = "annotated_pattern_repeat1",
[aux_sym_subject_pattern_elements_repeat1] = "subject_pattern_elements_repeat1",
[aux_sym_annotations_repeat1] = "annotations_repeat1",
[aux_sym_array_repeat1] = "array_repeat1",
[aux_sym_labels_repeat1] = "labels_repeat1",
[aux_sym_record_repeat1] = "record_repeat1",
[aux_sym_map_repeat1] = "map_repeat1",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[anon_sym_COMMA] = anon_sym_COMMA,
[anon_sym_LBRACK] = anon_sym_LBRACK,
[anon_sym_PIPE] = anon_sym_PIPE,
[anon_sym_RBRACK] = anon_sym_RBRACK,
[anon_sym_AT] = anon_sym_AT,
[anon_sym_LPAREN] = anon_sym_LPAREN,
[anon_sym_RPAREN] = anon_sym_RPAREN,
[anon_sym_COLON] = anon_sym_COLON,
[anon_sym_COLON_COLON] = anon_sym_COLON_COLON,
[anon_sym_LBRACE] = anon_sym_LBRACE,
[anon_sym_RBRACE] = anon_sym_RBRACE,
[sym_symbol] = sym_symbol,
[anon_sym_DOT_DOT] = anon_sym_DOT_DOT,
[anon_sym_DOT_DOT_DOT] = anon_sym_DOT_DOT_DOT,
[anon_sym_true] = anon_sym_true,
[anon_sym_false] = anon_sym_false,
[sym_integer] = sym_integer,
[sym_decimal] = sym_decimal,
[sym_hexadecimal] = sym_hexadecimal,
[sym_octal] = sym_octal,
[sym_measurement] = sym_measurement,
[anon_sym_SQUOTE] = anon_sym_SQUOTE,
[sym__single_quoted_text] = sym__single_quoted_text,
[anon_sym_DQUOTE] = anon_sym_DQUOTE,
[sym__double_quoted_text] = sym__single_quoted_text,
[anon_sym_BQUOTE] = anon_sym_BQUOTE,
[sym__backticked_text] = sym__single_quoted_text,
[anon_sym_BQUOTE_BQUOTE_BQUOTE] = anon_sym_BQUOTE_BQUOTE_BQUOTE,
[anon_sym_LF] = anon_sym_LF,
[sym__fenced_string_content] = sym__single_quoted_text,
[anon_sym_DASH] = anon_sym_DASH,
[anon_sym_EQ] = anon_sym_EQ,
[anon_sym_TILDE] = anon_sym_TILDE,
[anon_sym_DASH_GT] = anon_sym_DASH_GT,
[anon_sym_EQ_GT] = anon_sym_EQ_GT,
[anon_sym_TILDE_GT] = anon_sym_TILDE_GT,
[anon_sym_LT_DASH] = anon_sym_LT_DASH,
[anon_sym_LT_EQ] = anon_sym_LT_EQ,
[anon_sym_LT_TILDE] = anon_sym_LT_TILDE,
[sym_comment] = sym_comment,
[sym_gram] = sym_gram,
[sym_annotated_pattern] = sym_annotated_pattern,
[sym__annotated_pattern_element] = sym__annotated_pattern_element,
[sym_subject_pattern] = sym_subject_pattern,
[sym_subject_pattern_elements] = sym_subject_pattern_elements,
[sym__subject_pattern_element] = sym__subject_pattern_element,
[sym_annotations] = sym_annotations,
[sym_annotation] = sym_annotation,
[sym__path_pattern] = sym__path_pattern,
[sym_node_pattern] = sym_node_pattern,
[sym_relationship_pattern] = sym_relationship_pattern,
[sym_pattern_reference] = sym_pattern_reference,
[sym__identifier] = sym__identifier,
[sym__subject] = sym__subject,
[sym__value] = sym__value,
[sym__scalar_value] = sym__scalar_value,
[sym_array] = sym_array,
[sym_labels] = sym_labels,
[sym__label] = sym__label,
[sym_record] = sym_record,
[sym_record_property] = sym_record_property,
[sym_map] = sym_map,
[sym_map_entry] = sym_map_entry,
[sym_range] = sym_range,
[sym_boolean_literal] = sym_boolean_literal,
[sym__numeric_literal] = sym__numeric_literal,
[sym_string_literal] = sym_string_literal,
[sym__single_quoted_string] = sym__single_quoted_string,
[sym__double_quoted_string] = sym__double_quoted_string,
[sym__backticked_string] = sym__backticked_string,
[sym__fenced_string] = sym__fenced_string,
[sym__fenced_string_body] = sym__fenced_string_body,
[sym_tagged_string] = sym_tagged_string,
[sym__relationship_kind] = sym__relationship_kind,
[sym_undirected_arrow] = sym_undirected_arrow,
[sym_right_arrow] = sym_right_arrow,
[sym_left_arrow] = sym_left_arrow,
[sym_bidirectional_arrow] = sym_bidirectional_arrow,
[aux_sym_gram_repeat1] = aux_sym_gram_repeat1,
[aux_sym_annotated_pattern_repeat1] = aux_sym_annotated_pattern_repeat1,
[aux_sym_subject_pattern_elements_repeat1] = aux_sym_subject_pattern_elements_repeat1,
[aux_sym_annotations_repeat1] = aux_sym_annotations_repeat1,
[aux_sym_array_repeat1] = aux_sym_array_repeat1,
[aux_sym_labels_repeat1] = aux_sym_labels_repeat1,
[aux_sym_record_repeat1] = aux_sym_record_repeat1,
[aux_sym_map_repeat1] = aux_sym_map_repeat1,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[anon_sym_COMMA] = {
.visible = true,
.named = false,
},
[anon_sym_LBRACK] = {
.visible = true,
.named = false,
},
[anon_sym_PIPE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACK] = {
.visible = true,
.named = false,
},
[anon_sym_AT] = {
.visible = true,
.named = false,
},
[anon_sym_LPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_RPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_COLON] = {
.visible = true,
.named = false,
},
[anon_sym_COLON_COLON] = {
.visible = true,
.named = false,
},
[anon_sym_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACE] = {
.visible = true,
.named = false,
},
[sym_symbol] = {
.visible = true,
.named = true,
},
[anon_sym_DOT_DOT] = {
.visible = true,
.named = false,
},
[anon_sym_DOT_DOT_DOT] = {
.visible = true,
.named = false,
},
[anon_sym_true] = {
.visible = true,
.named = false,
},
[anon_sym_false] = {
.visible = true,
.named = false,
},
[sym_integer] = {
.visible = true,
.named = true,
},
[sym_decimal] = {
.visible = true,
.named = true,
},
[sym_hexadecimal] = {
.visible = true,
.named = true,
},
[sym_octal] = {
.visible = true,
.named = true,
},
[sym_measurement] = {
.visible = true,
.named = true,
},
[anon_sym_SQUOTE] = {
.visible = true,
.named = false,
},
[sym__single_quoted_text] = {
.visible = true,
.named = true,
},
[anon_sym_DQUOTE] = {
.visible = true,
.named = false,
},
[sym__double_quoted_text] = {
.visible = true,
.named = true,
},
[anon_sym_BQUOTE] = {
.visible = true,
.named = false,
},
[sym__backticked_text] = {
.visible = true,
.named = true,
},
[anon_sym_BQUOTE_BQUOTE_BQUOTE] = {
.visible = true,
.named = false,
},
[anon_sym_LF] = {
.visible = true,
.named = false,
},
[sym__fenced_string_content] = {
.visible = true,
.named = true,
},
[anon_sym_DASH] = {
.visible = true,
.named = false,
},
[anon_sym_EQ] = {
.visible = true,
.named = false,
},
[anon_sym_TILDE] = {
.visible = true,
.named = false,
},
[anon_sym_DASH_GT] = {
.visible = true,
.named = false,
},
[anon_sym_EQ_GT] = {
.visible = true,
.named = false,
},
[anon_sym_TILDE_GT] = {
.visible = true,
.named = false,
},
[anon_sym_LT_DASH] = {
.visible = true,
.named = false,
},
[anon_sym_LT_EQ] = {
.visible = true,
.named = false,
},
[anon_sym_LT_TILDE] = {
.visible = true,
.named = false,
},
[sym_comment] = {
.visible = true,
.named = true,
},
[sym_gram] = {
.visible = true,
.named = true,
},
[sym_annotated_pattern] = {
.visible = true,
.named = true,
},
[sym__annotated_pattern_element] = {
.visible = false,
.named = true,
},
[sym_subject_pattern] = {
.visible = true,
.named = true,
},
[sym_subject_pattern_elements] = {
.visible = true,
.named = true,
},
[sym__subject_pattern_element] = {
.visible = false,
.named = true,
},
[sym_annotations] = {
.visible = true,
.named = true,
},
[sym_annotation] = {
.visible = true,
.named = true,
},
[sym__path_pattern] = {
.visible = false,
.named = true,
},
[sym_node_pattern] = {
.visible = true,
.named = true,
},
[sym_relationship_pattern] = {
.visible = true,
.named = true,
},
[sym_pattern_reference] = {
.visible = true,
.named = true,
},
[sym__identifier] = {
.visible = false,
.named = true,
},
[sym__subject] = {
.visible = false,
.named = true,
},
[sym__value] = {
.visible = false,
.named = true,
},
[sym__scalar_value] = {
.visible = false,
.named = true,
},
[sym_array] = {
.visible = true,
.named = true,
},
[sym_labels] = {
.visible = true,
.named = true,
},
[sym__label] = {
.visible = false,
.named = true,
},
[sym_record] = {
.visible = true,
.named = true,
},
[sym_record_property] = {
.visible = true,
.named = true,
},
[sym_map] = {
.visible = true,
.named = true,
},
[sym_map_entry] = {
.visible = true,
.named = true,
},
[sym_range] = {
.visible = true,
.named = true,
},
[sym_boolean_literal] = {
.visible = true,
.named = true,
},
[sym__numeric_literal] = {
.visible = false,
.named = true,
},
[sym_string_literal] = {
.visible = true,
.named = true,
},
[sym__single_quoted_string] = {
.visible = false,
.named = true,
},
[sym__double_quoted_string] = {
.visible = false,
.named = true,
},
[sym__backticked_string] = {
.visible = false,
.named = true,
},
[sym__fenced_string] = {
.visible = false,
.named = true,
},
[sym__fenced_string_body] = {
.visible = false,
.named = true,
},
[sym_tagged_string] = {
.visible = true,
.named = true,
},
[sym__relationship_kind] = {
.visible = false,
.named = true,
},
[sym_undirected_arrow] = {
.visible = true,
.named = true,
},
[sym_right_arrow] = {
.visible = true,
.named = true,
},
[sym_left_arrow] = {
.visible = true,
.named = true,
},
[sym_bidirectional_arrow] = {
.visible = true,
.named = true,
},
[aux_sym_gram_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_annotated_pattern_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_subject_pattern_elements_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_annotations_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_array_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_labels_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_record_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_map_repeat1] = {
.visible = false,
.named = false,
},
};
enum ts_field_identifiers {
field_annotations = 1,
field_content = 2,
field_elements = 3,
field_identifier = 4,
field_key = 5,
field_kind = 6,
field_labels = 7,
field_left = 8,
field_lower = 9,
field_record = 10,
field_right = 11,
field_root = 12,
field_subject = 13,
field_tag = 14,
field_upper = 15,
field_value = 16,
};
static const char * const ts_field_names[] = {
[0] = NULL,
[field_annotations] = "annotations",
[field_content] = "content",
[field_elements] = "elements",
[field_identifier] = "identifier",
[field_key] = "key",
[field_kind] = "kind",
[field_labels] = "labels",
[field_left] = "left",
[field_lower] = "lower",
[field_record] = "record",
[field_right] = "right",
[field_root] = "root",
[field_subject] = "subject",
[field_tag] = "tag",
[field_upper] = "upper",
[field_value] = "value",
};
static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
[1] = {.index = 0, .length = 1},
[2] = {.index = 1, .length = 1},
[3] = {.index = 2, .length = 1},
[4] = {.index = 3, .length = 1},
[5] = {.index = 4, .length = 1},
[6] = {.index = 5, .length = 1},
[7] = {.index = 6, .length = 2},
[8] = {.index = 8, .length = 2},
[9] = {.index = 10, .length = 1},
[10] = {.index = 11, .length = 2},
[11] = {.index = 13, .length = 2},
[12] = {.index = 15, .length = 4},
[13] = {.index = 19, .length = 2},
[14] = {.index = 21, .length = 3},
[15] = {.index = 24, .length = 3},
[16] = {.index = 27, .length = 2},
[17] = {.index = 29, .length = 1},
[18] = {.index = 30, .length = 3},
[19] = {.index = 33, .length = 2},
[20] = {.index = 35, .length = 6},
[21] = {.index = 41, .length = 1},
[22] = {.index = 42, .length = 2},
[23] = {.index = 44, .length = 1},
[24] = {.index = 45, .length = 2},
[25] = {.index = 47, .length = 1},
[26] = {.index = 48, .length = 4},
[27] = {.index = 52, .length = 2},
[28] = {.index = 54, .length = 1},
[29] = {.index = 55, .length = 5},
[30] = {.index = 60, .length = 2},
};
static const TSFieldMapEntry ts_field_map_entries[] = {
[0] =
{field_elements, 0},
[1] =
{field_root, 0},
[2] =
{field_identifier, 0},
[3] =
{field_labels, 0},
[4] =
{field_record, 0},
[5] =
{field_content, 0, .inherited = true},
[6] =
{field_elements, 0},
{field_elements, 1},
[8] =
{field_annotations, 0},
{field_elements, 1},
[10] =
{field_content, 1, .inherited = true},
[11] =
{field_identifier, 0},
{field_labels, 1},
[13] =
{field_identifier, 0},
{field_record, 1},
[15] =
{field_identifier, 1, .inherited = true},
{field_labels, 1, .inherited = true},
{field_record, 1, .inherited = true},
{field_subject, 1},
[19] =
{field_labels, 0},
{field_record, 1},
[21] =
{field_annotations, 0},
{field_elements, 1},
{field_elements, 2},
[24] =
{field_kind, 1},
{field_left, 0},
{field_right, 2},
[27] =
{field_elements, 1},
{field_elements, 2},
[29] =
{field_content, 1},
[30] =
{field_identifier, 0},
{field_labels, 1},
{field_record, 2},
[33] =
{field_key, 0},
{field_value, 2},
[35] =
{field_elements, 2},
{field_elements, 3},
{field_identifier, 1, .inherited = true},
{field_labels, 1, .inherited = true},
{field_record, 1, .inherited = true},
{field_subject, 1},
[41] =
{field_upper, 1},
[42] =
{field_key, 1},
{field_value, 3},
[44] =
{field_lower, 0},
[45] =
{field_lower, 0},
{field_upper, 2},
[47] =
{field_annotations, 2},
[48] =
{field_identifier, 2, .inherited = true},
{field_labels, 2, .inherited = true},
{field_record, 2, .inherited = true},
{field_subject, 2},
[52] =
{field_content, 2},
{field_tag, 0},
[54] =
{field_tag, 1},
[55] =
{field_annotations, 2},
{field_identifier, 3, .inherited = true},
{field_labels, 3, .inherited = true},
{field_record, 3, .inherited = true},
{field_subject, 3},
[60] =
{field_content, 3},
{field_tag, 1},
};
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
[0] = {0},
};
static const uint16_t ts_non_terminal_alias_map[] = {
0,
};
static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
[0] = 0,
[1] = 1,
[2] = 2,
[3] = 3,
[4] = 4,
[5] = 5,
[6] = 6,
[7] = 7,
[8] = 8,
[9] = 9,
[10] = 10,
[11] = 11,
[12] = 12,
[13] = 13,
[14] = 14,
[15] = 15,
[16] = 16,
[17] = 17,
[18] = 18,
[19] = 19,
[20] = 20,
[21] = 21,
[22] = 22,
[23] = 23,
[24] = 24,
[25] = 25,
[26] = 26,
[27] = 27,
[28] = 28,
[29] = 29,
[30] = 30,
[31] = 31,
[32] = 32,
[33] = 33,
[34] = 34,
[35] = 35,
[36] = 36,
[37] = 37,
[38] = 38,
[39] = 39,
[40] = 40,
[41] = 41,
[42] = 42,
[43] = 43,
[44] = 44,
[45] = 45,
[46] = 46,
[47] = 47,
[48] = 48,
[49] = 49,
[50] = 50,
[51] = 51,
[52] = 52,
[53] = 53,
[54] = 54,
[55] = 55,
[56] = 56,
[57] = 57,
[58] = 58,
[59] = 59,
[60] = 60,
[61] = 61,
[62] = 62,
[63] = 63,
[64] = 64,
[65] = 65,
[66] = 66,
[67] = 67,
[68] = 68,
[69] = 69,
[70] = 70,
[71] = 71,
[72] = 72,
[73] = 73,
[74] = 74,
[75] = 75,
[76] = 76,
[77] = 77,
[78] = 78,
[79] = 79,
[80] = 80,
[81] = 81,
[82] = 82,
[83] = 83,
[84] = 84,
[85] = 85,
[86] = 86,
[87] = 87,
[88] = 88,
[89] = 89,
[90] = 90,
[91] = 91,
[92] = 92,
[93] = 93,
[94] = 94,
[95] = 95,
[96] = 96,
[97] = 97,
[98] = 98,
[99] = 99,
[100] = 100,
[101] = 101,
[102] = 102,
[103] = 103,
[104] = 104,
[105] = 105,
[106] = 106,
[107] = 107,
[108] = 108,
[109] = 109,
[110] = 110,
[111] = 111,
[112] = 112,
[113] = 113,
[114] = 114,
[115] = 115,
[116] = 116,
[117] = 117,
[118] = 118,
[119] = 119,
[120] = 120,
[121] = 121,
[122] = 122,
[123] = 123,
[124] = 124,
[125] = 125,
[126] = 126,
[127] = 127,
[128] = 128,
[129] = 129,
[130] = 130,
[131] = 131,
[132] = 132,
[133] = 133,
[134] = 134,
[135] = 135,
[136] = 136,
[137] = 137,
[138] = 138,
[139] = 139,
[140] = 140,
[141] = 141,
[142] = 142,
[143] = 143,
[144] = 144,
[145] = 145,
[146] = 146,
[147] = 147,
[148] = 148,
[149] = 149,
[150] = 150,
[151] = 151,
[152] = 152,
[153] = 153,
[154] = 154,
[155] = 155,
[156] = 156,
[157] = 157,
[158] = 158,
[159] = 159,
[160] = 160,
[161] = 161,
[162] = 162,
[163] = 163,
[164] = 164,
[165] = 165,
[166] = 166,
[167] = 167,
[168] = 168,
[169] = 169,
[170] = 170,
[171] = 171,
[172] = 172,
[173] = 173,
[174] = 174,
[175] = 175,
[176] = 176,
[177] = 177,
[178] = 178,
[179] = 179,
[180] = 180,
[181] = 181,
[182] = 182,
[183] = 183,
[184] = 184,
[185] = 185,
[186] = 186,
[187] = 187,
[188] = 188,
[189] = 189,
[190] = 190,
[191] = 191,
[192] = 192,
[193] = 193,
[194] = 194,
[195] = 195,
[196] = 196,
[197] = 197,
[198] = 198,
[199] = 199,
[200] = 200,
[201] = 201,
[202] = 202,
[203] = 203,
[204] = 204,
[205] = 205,
[206] = 206,
[207] = 207,
[208] = 208,
[209] = 209,
[210] = 210,
[211] = 211,
[212] = 212,
[213] = 213,
[214] = 214,
[215] = 215,
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(22);
ADVANCE_MAP(
'"', 62,
'\'', 57,
'(', 28,
')', 29,
',', 23,
'-', 78,
'.', 5,
'/', 8,
'0', 47,
':', 30,
'<', 4,
'=', 81,
'@', 27,
'[', 24,
']', 26,
'`', 67,
'f', 34,
't', 38,
'{', 32,
'|', 25,
'}', 33,
'~', 83,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(0);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(48);
if (('A' <= lookahead && lookahead <= 'Z') ||
('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 1:
if (lookahead == '\n') ADVANCE(73);
if (lookahead == '/') ADVANCE(8);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(1);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 2:
ADVANCE_MAP(
'"', 62,
'\'', 57,
'(', 28,
')', 29,
'-', 11,
'/', 8,
'0', 46,
':', 30,
'@', 27,
'[', 24,
']', 26,
'`', 67,
'{', 32,
'|', 25,
'}', 33,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(2);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(50);
if (('A' <= lookahead && lookahead <= 'Z') ||
('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 3:
ADVANCE_MAP(
'"', 62,
'\'', 57,
'-', 10,
'.', 7,
'/', 8,
'0', 47,
'[', 24,
'`', 67,
'f', 34,
't', 38,
'{', 32,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(3);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(48);
if (('A' <= lookahead && lookahead <= 'Z') ||
('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 4:
if (lookahead == '-') ADVANCE(87);
if (lookahead == '=') ADVANCE(88);
if (lookahead == '~') ADVANCE(89);
END_STATE();
case 5:
if (lookahead == '.') ADVANCE(42);
END_STATE();
case 6:
if (lookahead == '.') ADVANCE(43);
END_STATE();
case 7:
if (lookahead == '.') ADVANCE(6);
END_STATE();
case 8:
if (lookahead == '/') ADVANCE(95);
END_STATE();
case 9:
if (lookahead == '/') ADVANCE(76);
if (lookahead == '`') ADVANCE(15);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') ADVANCE(75);
if (lookahead != 0) ADVANCE(77);
END_STATE();
case 10:
if (lookahead == '0') ADVANCE(49);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(48);
END_STATE();
case 11:
if (lookahead == '0') ADVANCE(46);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(50);
END_STATE();
case 12:
if (lookahead == '`') ADVANCE(72);
END_STATE();
case 13:
if (lookahead == '`') ADVANCE(72);
if (lookahead != 0) ADVANCE(77);
END_STATE();
case 14:
if (lookahead == '`') ADVANCE(20);
if (lookahead != 0) ADVANCE(77);
END_STATE();
case 15:
if (lookahead == '`') ADVANCE(13);
if (lookahead != 0) ADVANCE(77);
END_STATE();
case 16:
ADVANCE_MAP(
'"', 66,
'/', 66,
'\\', 66,
'b', 66,
'f', 66,
'n', 66,
'r', 66,
't', 66,
);
END_STATE();
case 17:
ADVANCE_MAP(
'\'', 61,
'/', 61,
'\\', 61,
'b', 61,
'f', 61,
'n', 61,
'r', 61,
't', 61,
);
END_STATE();
case 18:
ADVANCE_MAP(
'/', 70,
'\\', 70,
'`', 70,
'b', 70,
'f', 70,
'n', 70,
'r', 70,
't', 70,
);
END_STATE();
case 19:
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(51);
END_STATE();
case 20:
if (lookahead != 0 &&
lookahead != '`') ADVANCE(77);
END_STATE();
case 21:
if (eof) ADVANCE(22);
ADVANCE_MAP(
'(', 28,
',', 23,
'-', 79,
'/', 8,
'<', 4,
'=', 80,
'@', 27,
'[', 24,
']', 26,
'~', 82,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(21);
END_STATE();
case 22:
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
case 23:
ACCEPT_TOKEN(anon_sym_COMMA);
END_STATE();
case 24:
ACCEPT_TOKEN(anon_sym_LBRACK);
END_STATE();
case 25:
ACCEPT_TOKEN(anon_sym_PIPE);
END_STATE();
case 26:
ACCEPT_TOKEN(anon_sym_RBRACK);
END_STATE();
case 27:
ACCEPT_TOKEN(anon_sym_AT);
END_STATE();
case 28:
ACCEPT_TOKEN(anon_sym_LPAREN);
END_STATE();
case 29:
ACCEPT_TOKEN(anon_sym_RPAREN);
END_STATE();
case 30:
ACCEPT_TOKEN(anon_sym_COLON);
if (lookahead == ':') ADVANCE(31);
END_STATE();
case 31:
ACCEPT_TOKEN(anon_sym_COLON_COLON);
END_STATE();
case 32:
ACCEPT_TOKEN(anon_sym_LBRACE);
END_STATE();
case 33:
ACCEPT_TOKEN(anon_sym_RBRACE);
END_STATE();
case 34:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == 'a') ADVANCE(37);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('b' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 35:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == 'e') ADVANCE(44);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 36:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == 'e') ADVANCE(45);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 37:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == 'l') ADVANCE(39);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 38:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == 'r') ADVANCE(40);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 39:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == 's') ADVANCE(36);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 40:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == 'u') ADVANCE(35);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 41:
ACCEPT_TOKEN(sym_symbol);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 42:
ACCEPT_TOKEN(anon_sym_DOT_DOT);
if (lookahead == '.') ADVANCE(43);
END_STATE();
case 43:
ACCEPT_TOKEN(anon_sym_DOT_DOT_DOT);
END_STATE();
case 44:
ACCEPT_TOKEN(anon_sym_true);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 45:
ACCEPT_TOKEN(anon_sym_false);
if (lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(41);
END_STATE();
case 46:
ACCEPT_TOKEN(sym_integer);
END_STATE();
case 47:
ACCEPT_TOKEN(sym_integer);
if (lookahead == '.') ADVANCE(19);
if (lookahead == 'x') ADVANCE(55);
if (('0' <= lookahead && lookahead <= '7')) ADVANCE(54);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 48:
ACCEPT_TOKEN(sym_integer);
if (lookahead == '.') ADVANCE(19);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(48);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 49:
ACCEPT_TOKEN(sym_integer);
if (lookahead == '.') ADVANCE(19);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 50:
ACCEPT_TOKEN(sym_integer);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(50);
END_STATE();
case 51:
ACCEPT_TOKEN(sym_decimal);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(51);
END_STATE();
case 52:
ACCEPT_TOKEN(sym_hexadecimal);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(53);
if (('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(52);
if (('G' <= lookahead && lookahead <= 'Z') ||
('g' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 53:
ACCEPT_TOKEN(sym_hexadecimal);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(53);
END_STATE();
case 54:
ACCEPT_TOKEN(sym_octal);
if (('0' <= lookahead && lookahead <= '7')) ADVANCE(54);
END_STATE();
case 55:
ACCEPT_TOKEN(sym_measurement);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(53);
if (('A' <= lookahead && lookahead <= 'F') ||
('a' <= lookahead && lookahead <= 'f')) ADVANCE(52);
if (('G' <= lookahead && lookahead <= 'Z') ||
('g' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 56:
ACCEPT_TOKEN(sym_measurement);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 57:
ACCEPT_TOKEN(anon_sym_SQUOTE);
END_STATE();
case 58:
ACCEPT_TOKEN(sym__single_quoted_text);
if (lookahead == '\'') ADVANCE(95);
if (lookahead == '\\') ADVANCE(93);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(58);
END_STATE();
case 59:
ACCEPT_TOKEN(sym__single_quoted_text);
if (lookahead == '/') ADVANCE(60);
if (lookahead == '\\') ADVANCE(17);
if (lookahead == '\t' ||
(0x0b <= lookahead && lookahead <= '\r') ||
lookahead == ' ') ADVANCE(59);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '\'') ADVANCE(61);
END_STATE();
case 60:
ACCEPT_TOKEN(sym__single_quoted_text);
if (lookahead == '/') ADVANCE(58);
if (lookahead == '\\') ADVANCE(17);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\'') ADVANCE(61);
END_STATE();
case 61:
ACCEPT_TOKEN(sym__single_quoted_text);
if (lookahead == '\\') ADVANCE(17);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\'') ADVANCE(61);
END_STATE();
case 62:
ACCEPT_TOKEN(anon_sym_DQUOTE);
END_STATE();
case 63:
ACCEPT_TOKEN(sym__double_quoted_text);
if (lookahead == '"') ADVANCE(95);
if (lookahead == '\\') ADVANCE(92);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(63);
END_STATE();
case 64:
ACCEPT_TOKEN(sym__double_quoted_text);
if (lookahead == '/') ADVANCE(65);
if (lookahead == '\\') ADVANCE(16);
if (lookahead == '\t' ||
(0x0b <= lookahead && lookahead <= '\r') ||
lookahead == ' ') ADVANCE(64);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '"') ADVANCE(66);
END_STATE();
case 65:
ACCEPT_TOKEN(sym__double_quoted_text);
if (lookahead == '/') ADVANCE(63);
if (lookahead == '\\') ADVANCE(16);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '"') ADVANCE(66);
END_STATE();
case 66:
ACCEPT_TOKEN(sym__double_quoted_text);
if (lookahead == '\\') ADVANCE(16);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '"') ADVANCE(66);
END_STATE();
case 67:
ACCEPT_TOKEN(anon_sym_BQUOTE);
if (lookahead == '`') ADVANCE(12);
END_STATE();
case 68:
ACCEPT_TOKEN(sym__backticked_text);
if (lookahead == '/') ADVANCE(69);
if (lookahead == '\\') ADVANCE(18);
if (lookahead == '\t' ||
(0x0b <= lookahead && lookahead <= '\r') ||
lookahead == ' ') ADVANCE(68);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '`') ADVANCE(70);
END_STATE();
case 69:
ACCEPT_TOKEN(sym__backticked_text);
if (lookahead == '/') ADVANCE(71);
if (lookahead == '\\') ADVANCE(18);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '`') ADVANCE(70);
END_STATE();
case 70:
ACCEPT_TOKEN(sym__backticked_text);
if (lookahead == '\\') ADVANCE(18);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '`') ADVANCE(70);
END_STATE();
case 71:
ACCEPT_TOKEN(sym__backticked_text);
if (lookahead == '\\') ADVANCE(94);
if (lookahead == '`') ADVANCE(95);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(71);
END_STATE();
case 72:
ACCEPT_TOKEN(anon_sym_BQUOTE_BQUOTE_BQUOTE);
END_STATE();
case 73:
ACCEPT_TOKEN(anon_sym_LF);
if (lookahead == '\n') ADVANCE(73);
END_STATE();
case 74:
ACCEPT_TOKEN(sym__fenced_string_content);
if (lookahead == '\n') ADVANCE(77);
if (lookahead == '`') ADVANCE(91);
if (lookahead != 0) ADVANCE(74);
END_STATE();
case 75:
ACCEPT_TOKEN(sym__fenced_string_content);
if (lookahead == '/') ADVANCE(76);
if (lookahead == '`') ADVANCE(15);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') ADVANCE(75);
if (lookahead != 0) ADVANCE(77);
END_STATE();
case 76:
ACCEPT_TOKEN(sym__fenced_string_content);
if (lookahead == '/') ADVANCE(74);
if (lookahead == '`') ADVANCE(14);
if (lookahead != 0) ADVANCE(77);
END_STATE();
case 77:
ACCEPT_TOKEN(sym__fenced_string_content);
if (lookahead == '`') ADVANCE(14);
if (lookahead != 0) ADVANCE(77);
END_STATE();
case 78:
ACCEPT_TOKEN(anon_sym_DASH);
if (lookahead == '0') ADVANCE(49);
if (lookahead == '>') ADVANCE(84);
if (('1' <= lookahead && lookahead <= '9')) ADVANCE(48);
END_STATE();
case 79:
ACCEPT_TOKEN(anon_sym_DASH);
if (lookahead == '>') ADVANCE(84);
END_STATE();
case 80:
ACCEPT_TOKEN(anon_sym_EQ);
END_STATE();
case 81:
ACCEPT_TOKEN(anon_sym_EQ);
if (lookahead == '>') ADVANCE(85);
END_STATE();
case 82:
ACCEPT_TOKEN(anon_sym_TILDE);
END_STATE();
case 83:
ACCEPT_TOKEN(anon_sym_TILDE);
if (lookahead == '>') ADVANCE(86);
END_STATE();
case 84:
ACCEPT_TOKEN(anon_sym_DASH_GT);
END_STATE();
case 85:
ACCEPT_TOKEN(anon_sym_EQ_GT);
END_STATE();
case 86:
ACCEPT_TOKEN(anon_sym_TILDE_GT);
END_STATE();
case 87:
ACCEPT_TOKEN(anon_sym_LT_DASH);
END_STATE();
case 88:
ACCEPT_TOKEN(anon_sym_LT_EQ);
END_STATE();
case 89:
ACCEPT_TOKEN(anon_sym_LT_TILDE);
END_STATE();
case 90:
ACCEPT_TOKEN(sym_comment);
if (lookahead == '\n') ADVANCE(77);
if (lookahead == '`') ADVANCE(95);
if (lookahead != 0) ADVANCE(74);
END_STATE();
case 91:
ACCEPT_TOKEN(sym_comment);
if (lookahead == '\n') ADVANCE(77);
if (lookahead == '`') ADVANCE(90);
if (lookahead != 0) ADVANCE(74);
END_STATE();
case 92:
ACCEPT_TOKEN(sym_comment);
ADVANCE_MAP(
'"', 63,
'/', 63,
'\\', 63,
'b', 63,
'f', 63,
'n', 63,
'r', 63,
't', 63,
);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(95);
END_STATE();
case 93:
ACCEPT_TOKEN(sym_comment);
ADVANCE_MAP(
'\'', 58,
'/', 58,
'\\', 58,
'b', 58,
'f', 58,
'n', 58,
'r', 58,
't', 58,
);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(95);
END_STATE();
case 94:
ACCEPT_TOKEN(sym_comment);
ADVANCE_MAP(
'/', 71,
'\\', 71,
'`', 71,
'b', 71,
'f', 71,
'n', 71,
'r', 71,
't', 71,
);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(95);
END_STATE();
case 95:
ACCEPT_TOKEN(sym_comment);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(95);
END_STATE();
default:
return false;
}
}
static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0},
[1] = {.lex_state = 0},
[2] = {.lex_state = 3},
[3] = {.lex_state = 3},
[4] = {.lex_state = 2},
[5] = {.lex_state = 2},
[6] = {.lex_state = 2},
[7] = {.lex_state = 2},
[8] = {.lex_state = 2},
[9] = {.lex_state = 2},
[10] = {.lex_state = 3},
[11] = {.lex_state = 3},
[12] = {.lex_state = 3},
[13] = {.lex_state = 2},
[14] = {.lex_state = 2},
[15] = {.lex_state = 2},
[16] = {.lex_state = 2},
[17] = {.lex_state = 2},
[18] = {.lex_state = 2},
[19] = {.lex_state = 2},
[20] = {.lex_state = 2},
[21] = {.lex_state = 2},
[22] = {.lex_state = 2},
[23] = {.lex_state = 2},
[24] = {.lex_state = 21},
[25] = {.lex_state = 2},
[26] = {.lex_state = 2},
[27] = {.lex_state = 0},
[28] = {.lex_state = 0},
[29] = {.lex_state = 2},
[30] = {.lex_state = 0},
[31] = {.lex_state = 0},
[32] = {.lex_state = 2},
[33] = {.lex_state = 2},
[34] = {.lex_state = 2},
[35] = {.lex_state = 2},
[36] = {.lex_state = 21},
[37] = {.lex_state = 21},
[38] = {.lex_state = 0},
[39] = {.lex_state = 0},
[40] = {.lex_state = 0},
[41] = {.lex_state = 0},
[42] = {.lex_state = 0},
[43] = {.lex_state = 0},
[44] = {.lex_state = 0},
[45] = {.lex_state = 0},
[46] = {.lex_state = 0},
[47] = {.lex_state = 0},
[48] = {.lex_state = 0},
[49] = {.lex_state = 0},
[50] = {.lex_state = 0},
[51] = {.lex_state = 0},
[52] = {.lex_state = 0},
[53] = {.lex_state = 0},
[54] = {.lex_state = 0},
[55] = {.lex_state = 0},
[56] = {.lex_state = 0},
[57] = {.lex_state = 0},
[58] = {.lex_state = 0},
[59] = {.lex_state = 0},
[60] = {.lex_state = 0},
[61] = {.lex_state = 0},
[62] = {.lex_state = 0},
[63] = {.lex_state = 3},
[64] = {.lex_state = 0},
[65] = {.lex_state = 0},
[66] = {.lex_state = 0},
[67] = {.lex_state = 3},
[68] = {.lex_state = 0},
[69] = {.lex_state = 0},
[70] = {.lex_state = 0},
[71] = {.lex_state = 0},
[72] = {.lex_state = 0},
[73] = {.lex_state = 0},
[74] = {.lex_state = 0},
[75] = {.lex_state = 0},
[76] = {.lex_state = 0},
[77] = {.lex_state = 0},
[78] = {.lex_state = 0},
[79] = {.lex_state = 0},
[80] = {.lex_state = 0},
[81] = {.lex_state = 0},
[82] = {.lex_state = 0},
[83] = {.lex_state = 0},
[84] = {.lex_state = 0},
[85] = {.lex_state = 0},
[86] = {.lex_state = 0},
[87] = {.lex_state = 0},
[88] = {.lex_state = 0},
[89] = {.lex_state = 0},
[90] = {.lex_state = 1},
[91] = {.lex_state = 0},
[92] = {.lex_state = 0},
[93] = {.lex_state = 0},
[94] = {.lex_state = 0},
[95] = {.lex_state = 0},
[96] = {.lex_state = 0},
[97] = {.lex_state = 0},
[98] = {.lex_state = 0},
[99] = {.lex_state = 21},
[100] = {.lex_state = 0},
[101] = {.lex_state = 0},
[102] = {.lex_state = 0},
[103] = {.lex_state = 0},
[104] = {.lex_state = 0},
[105] = {.lex_state = 0},
[106] = {.lex_state = 0},
[107] = {.lex_state = 0},
[108] = {.lex_state = 0},
[109] = {.lex_state = 21},
[110] = {.lex_state = 0},
[111] = {.lex_state = 0},
[112] = {.lex_state = 0},
[113] = {.lex_state = 0},
[114] = {.lex_state = 0},
[115] = {.lex_state = 0},
[116] = {.lex_state = 0},
[117] = {.lex_state = 1},
[118] = {.lex_state = 9},
[119] = {.lex_state = 21},
[120] = {.lex_state = 21},
[121] = {.lex_state = 0},
[122] = {.lex_state = 0},
[123] = {.lex_state = 0},
[124] = {.lex_state = 0},
[125] = {.lex_state = 21},
[126] = {.lex_state = 21},
[127] = {.lex_state = 0},
[128] = {.lex_state = 21},
[129] = {.lex_state = 0},
[130] = {.lex_state = 0},
[131] = {.lex_state = 0},
[132] = {.lex_state = 0},
[133] = {.lex_state = 0},
[134] = {.lex_state = 9},
[135] = {.lex_state = 21},
[136] = {.lex_state = 21},
[137] = {.lex_state = 0},
[138] = {.lex_state = 0},
[139] = {.lex_state = 21},
[140] = {.lex_state = 0},
[141] = {.lex_state = 0},
[142] = {.lex_state = 0},
[143] = {.lex_state = 0},
[144] = {.lex_state = 0},
[145] = {.lex_state = 0},
[146] = {.lex_state = 0},
[147] = {.lex_state = 0},
[148] = {.lex_state = 0},
[149] = {.lex_state = 0},
[150] = {.lex_state = 0},
[151] = {.lex_state = 0},
[152] = {.lex_state = 0},
[153] = {.lex_state = 0},
[154] = {.lex_state = 0},
[155] = {.lex_state = 0},
[156] = {.lex_state = 0},
[157] = {.lex_state = 0},
[158] = {.lex_state = 0},
[159] = {.lex_state = 0},
[160] = {.lex_state = 2},
[161] = {.lex_state = 0},
[162] = {.lex_state = 0},
[163] = {.lex_state = 68},
[164] = {.lex_state = 0},
[165] = {.lex_state = 1},
[166] = {.lex_state = 0},
[167] = {.lex_state = 0},
[168] = {.lex_state = 59},
[169] = {.lex_state = 0},
[170] = {.lex_state = 0},
[171] = {.lex_state = 0},
[172] = {.lex_state = 0},
[173] = {.lex_state = 0},
[174] = {.lex_state = 0},
[175] = {.lex_state = 0},
[176] = {.lex_state = 0},
[177] = {.lex_state = 0},
[178] = {.lex_state = 0},
[179] = {.lex_state = 0},
[180] = {.lex_state = 0},
[181] = {.lex_state = 0},
[182] = {.lex_state = 0},
[183] = {.lex_state = 64},
[184] = {.lex_state = 2},
[185] = {.lex_state = 0},
[186] = {.lex_state = 0},
[187] = {.lex_state = 0},
[188] = {.lex_state = 0},
[189] = {.lex_state = 0},
[190] = {.lex_state = 0},
[191] = {.lex_state = 0},
[192] = {.lex_state = 0},
[193] = {.lex_state = 0},
[194] = {.lex_state = 0},
[195] = {.lex_state = 0},
[196] = {.lex_state = 0},
[197] = {.lex_state = 68},
[198] = {.lex_state = 0},
[199] = {.lex_state = 0},
[200] = {.lex_state = 0},
[201] = {.lex_state = 0},
[202] = {.lex_state = 0},
[203] = {.lex_state = 0},
[204] = {.lex_state = 0},
[205] = {.lex_state = 0},
[206] = {.lex_state = 0},
[207] = {.lex_state = 0},
[208] = {.lex_state = 0},
[209] = {.lex_state = 0},
[210] = {.lex_state = 0},
[211] = {.lex_state = 0},
[212] = {.lex_state = 0},
[213] = {.lex_state = 0},
[214] = {.lex_state = 0},
[215] = {.lex_state = 0},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[STATE(0)] = {
[ts_builtin_sym_end] = ACTIONS(1),
[anon_sym_COMMA] = ACTIONS(1),
[anon_sym_LBRACK] = ACTIONS(1),
[anon_sym_PIPE] = ACTIONS(1),
[anon_sym_RBRACK] = ACTIONS(1),
[anon_sym_AT] = ACTIONS(1),
[anon_sym_LPAREN] = ACTIONS(1),
[anon_sym_RPAREN] = ACTIONS(1),
[anon_sym_COLON] = ACTIONS(1),
[anon_sym_COLON_COLON] = ACTIONS(1),
[anon_sym_LBRACE] = ACTIONS(1),
[anon_sym_RBRACE] = ACTIONS(1),
[sym_symbol] = ACTIONS(1),
[anon_sym_DOT_DOT] = ACTIONS(1),
[anon_sym_DOT_DOT_DOT] = ACTIONS(1),
[anon_sym_true] = ACTIONS(1),
[anon_sym_false] = ACTIONS(1),
[sym_integer] = ACTIONS(1),
[sym_decimal] = ACTIONS(1),
[sym_hexadecimal] = ACTIONS(1),
[sym_octal] = ACTIONS(1),
[sym_measurement] = ACTIONS(1),
[anon_sym_SQUOTE] = ACTIONS(1),
[anon_sym_DQUOTE] = ACTIONS(1),
[anon_sym_BQUOTE] = ACTIONS(1),
[anon_sym_BQUOTE_BQUOTE_BQUOTE] = ACTIONS(1),
[anon_sym_DASH] = ACTIONS(1),
[anon_sym_EQ] = ACTIONS(1),
[anon_sym_TILDE] = ACTIONS(1),
[anon_sym_DASH_GT] = ACTIONS(1),
[anon_sym_EQ_GT] = ACTIONS(1),
[anon_sym_TILDE_GT] = ACTIONS(1),
[anon_sym_LT_DASH] = ACTIONS(1),
[anon_sym_LT_EQ] = ACTIONS(1),
[anon_sym_LT_TILDE] = ACTIONS(1),
[sym_comment] = ACTIONS(3),
},
[STATE(1)] = {
[sym_gram] = STATE(214),
[sym_annotated_pattern] = STATE(31),
[sym__annotated_pattern_element] = STATE(57),
[sym_subject_pattern] = STATE(57),
[sym_annotations] = STATE(54),
[sym_annotation] = STATE(26),
[sym__path_pattern] = STATE(57),
[sym_node_pattern] = STATE(24),
[sym_relationship_pattern] = STATE(57),
[sym_record] = STATE(30),
[aux_sym_gram_repeat1] = STATE(31),
[aux_sym_annotations_repeat1] = STATE(26),
[ts_builtin_sym_end] = ACTIONS(5),
[anon_sym_LBRACK] = ACTIONS(7),
[anon_sym_AT] = ACTIONS(9),
[anon_sym_LPAREN] = ACTIONS(11),
[anon_sym_LBRACE] = ACTIONS(13),
[sym_comment] = ACTIONS(3),
},
};
static const uint16_t ts_small_parse_table[] = {
[0] = 18,
ACTIONS(3), 1,
sym_comment,
ACTIONS(15), 1,
anon_sym_LBRACK,
ACTIONS(17), 1,
anon_sym_LBRACE,
ACTIONS(19), 1,
sym_symbol,
ACTIONS(21), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(35), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(71), 1,
sym__numeric_literal,
ACTIONS(23), 2,
anon_sym_true,
anon_sym_false,
ACTIONS(27), 2,
sym_decimal,
sym_octal,
ACTIONS(25), 3,
sym_integer,
sym_hexadecimal,
sym_measurement,
STATE(161), 7,
sym__value,
sym_array,
sym_map,
sym_range,
sym_boolean_literal,
sym_string_literal,
sym_tagged_string,
[65] = 18,
ACTIONS(3), 1,
sym_comment,
ACTIONS(15), 1,
anon_sym_LBRACK,
ACTIONS(17), 1,
anon_sym_LBRACE,
ACTIONS(19), 1,
sym_symbol,
ACTIONS(21), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(35), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(71), 1,
sym__numeric_literal,
ACTIONS(23), 2,
anon_sym_true,
anon_sym_false,
ACTIONS(27), 2,
sym_decimal,
sym_octal,
ACTIONS(25), 3,
sym_integer,
sym_hexadecimal,
sym_measurement,
STATE(131), 7,
sym__value,
sym_array,
sym_map,
sym_range,
sym_boolean_literal,
sym_string_literal,
sym_tagged_string,
[130] = 22,
ACTIONS(3), 1,
sym_comment,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(37), 1,
anon_sym_RBRACK,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(19), 1,
sym_annotations,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(194), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[201] = 22,
ACTIONS(3), 1,
sym_comment,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(47), 1,
anon_sym_RBRACK,
STATE(17), 1,
sym_annotations,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(199), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[272] = 22,
ACTIONS(3), 1,
sym_comment,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(49), 1,
anon_sym_RBRACK,
STATE(20), 1,
sym_annotations,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(167), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[343] = 22,
ACTIONS(3), 1,
sym_comment,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(51), 1,
anon_sym_RBRACK,
STATE(21), 1,
sym_annotations,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(192), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[414] = 22,
ACTIONS(3), 1,
sym_comment,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(53), 1,
anon_sym_RBRACK,
STATE(22), 1,
sym_annotations,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(189), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[485] = 22,
ACTIONS(3), 1,
sym_comment,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(55), 1,
anon_sym_RBRACK,
STATE(18), 1,
sym_annotations,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(151), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[556] = 16,
ACTIONS(3), 1,
sym_comment,
ACTIONS(21), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(35), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(57), 1,
sym_symbol,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(73), 1,
sym__numeric_literal,
ACTIONS(23), 2,
anon_sym_true,
anon_sym_false,
ACTIONS(61), 2,
sym_decimal,
sym_octal,
ACTIONS(59), 3,
sym_integer,
sym_hexadecimal,
sym_measurement,
STATE(89), 5,
sym__scalar_value,
sym_range,
sym_boolean_literal,
sym_string_literal,
sym_tagged_string,
[613] = 16,
ACTIONS(3), 1,
sym_comment,
ACTIONS(21), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(35), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(57), 1,
sym_symbol,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(73), 1,
sym__numeric_literal,
ACTIONS(23), 2,
anon_sym_true,
anon_sym_false,
ACTIONS(61), 2,
sym_decimal,
sym_octal,
ACTIONS(59), 3,
sym_integer,
sym_hexadecimal,
sym_measurement,
STATE(143), 5,
sym__scalar_value,
sym_range,
sym_boolean_literal,
sym_string_literal,
sym_tagged_string,
[670] = 16,
ACTIONS(3), 1,
sym_comment,
ACTIONS(21), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(35), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(57), 1,
sym_symbol,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(73), 1,
sym__numeric_literal,
ACTIONS(23), 2,
anon_sym_true,
anon_sym_false,
ACTIONS(61), 2,
sym_decimal,
sym_octal,
ACTIONS(59), 3,
sym_integer,
sym_hexadecimal,
sym_measurement,
STATE(142), 5,
sym__scalar_value,
sym_range,
sym_boolean_literal,
sym_string_literal,
sym_tagged_string,
[727] = 20,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(63), 1,
anon_sym_PIPE,
ACTIONS(65), 1,
anon_sym_RBRACK,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(133), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[791] = 16,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(24), 1,
sym_node_pattern,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(156), 1,
sym_subject_pattern_elements,
ACTIONS(67), 2,
sym_symbol,
sym_integer,
STATE(116), 2,
sym__identifier,
sym_string_literal,
STATE(87), 5,
sym_subject_pattern,
sym__subject_pattern_element,
sym__path_pattern,
sym_relationship_pattern,
sym_pattern_reference,
[846] = 16,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(24), 1,
sym_node_pattern,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(196), 1,
sym_subject_pattern_elements,
ACTIONS(67), 2,
sym_symbol,
sym_integer,
STATE(116), 2,
sym__identifier,
sym_string_literal,
STATE(87), 5,
sym_subject_pattern,
sym__subject_pattern_element,
sym__path_pattern,
sym_relationship_pattern,
sym_pattern_reference,
[901] = 19,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(69), 1,
anon_sym_RPAREN,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(198), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[962] = 19,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(71), 1,
anon_sym_RBRACK,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(195), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[1023] = 19,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(73), 1,
anon_sym_RBRACK,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(155), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[1084] = 19,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(75), 1,
anon_sym_RBRACK,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(186), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[1145] = 19,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(77), 1,
anon_sym_RBRACK,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(200), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[1206] = 19,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(79), 1,
anon_sym_RBRACK,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(152), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[1267] = 19,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(81), 1,
anon_sym_RBRACK,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(70), 1,
sym_labels,
STATE(93), 1,
sym_record,
STATE(158), 1,
sym__subject,
ACTIONS(43), 2,
sym_symbol,
sym_integer,
STATE(38), 2,
sym__identifier,
sym_string_literal,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
[1328] = 15,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(24), 1,
sym_node_pattern,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
ACTIONS(67), 2,
sym_symbol,
sym_integer,
STATE(116), 2,
sym__identifier,
sym_string_literal,
STATE(115), 5,
sym_subject_pattern,
sym__subject_pattern_element,
sym__path_pattern,
sym_relationship_pattern,
sym_pattern_reference,
[1380] = 9,
ACTIONS(3), 1,
sym_comment,
ACTIONS(85), 1,
anon_sym_DASH,
ACTIONS(87), 1,
anon_sym_EQ,
ACTIONS(89), 1,
anon_sym_TILDE,
ACTIONS(91), 1,
anon_sym_LT_DASH,
ACTIONS(93), 1,
anon_sym_LT_EQ,
ACTIONS(95), 1,
anon_sym_LT_TILDE,
STATE(79), 5,
sym__relationship_kind,
sym_undirected_arrow,
sym_right_arrow,
sym_left_arrow,
sym_bidirectional_arrow,
ACTIONS(83), 6,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[1417] = 5,
ACTIONS(3), 1,
sym_comment,
ACTIONS(99), 1,
anon_sym_AT,
ACTIONS(102), 2,
anon_sym_COLON,
anon_sym_BQUOTE,
STATE(25), 2,
sym_annotation,
aux_sym_annotations_repeat1,
ACTIONS(97), 10,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_LPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
sym_symbol,
sym_integer,
anon_sym_SQUOTE,
anon_sym_DQUOTE,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
[1444] = 5,
ACTIONS(3), 1,
sym_comment,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(106), 2,
anon_sym_COLON,
anon_sym_BQUOTE,
STATE(25), 2,
sym_annotation,
aux_sym_annotations_repeat1,
ACTIONS(104), 10,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_LPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
sym_symbol,
sym_integer,
anon_sym_SQUOTE,
anon_sym_DQUOTE,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
[1471] = 10,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(108), 1,
ts_builtin_sym_end,
STATE(24), 1,
sym_node_pattern,
STATE(54), 1,
sym_annotations,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(28), 2,
sym_annotated_pattern,
aux_sym_gram_repeat1,
STATE(57), 4,
sym__annotated_pattern_element,
sym_subject_pattern,
sym__path_pattern,
sym_relationship_pattern,
[1507] = 10,
ACTIONS(3), 1,
sym_comment,
ACTIONS(110), 1,
ts_builtin_sym_end,
ACTIONS(112), 1,
anon_sym_LBRACK,
ACTIONS(115), 1,
anon_sym_AT,
ACTIONS(118), 1,
anon_sym_LPAREN,
STATE(24), 1,
sym_node_pattern,
STATE(54), 1,
sym_annotations,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(28), 2,
sym_annotated_pattern,
aux_sym_gram_repeat1,
STATE(57), 4,
sym__annotated_pattern_element,
sym_subject_pattern,
sym__path_pattern,
sym_relationship_pattern,
[1543] = 13,
ACTIONS(3), 1,
sym_comment,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(121), 1,
anon_sym_RBRACE,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(86), 1,
sym_record_property,
ACTIONS(123), 2,
sym_symbol,
sym_integer,
STATE(113), 2,
sym__identifier,
sym_string_literal,
[1585] = 10,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(125), 1,
ts_builtin_sym_end,
STATE(24), 1,
sym_node_pattern,
STATE(54), 1,
sym_annotations,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(27), 2,
sym_annotated_pattern,
aux_sym_gram_repeat1,
STATE(57), 4,
sym__annotated_pattern_element,
sym_subject_pattern,
sym__path_pattern,
sym_relationship_pattern,
[1621] = 10,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(11), 1,
anon_sym_LPAREN,
ACTIONS(127), 1,
ts_builtin_sym_end,
STATE(24), 1,
sym_node_pattern,
STATE(54), 1,
sym_annotations,
STATE(26), 2,
sym_annotation,
aux_sym_annotations_repeat1,
STATE(28), 2,
sym_annotated_pattern,
aux_sym_gram_repeat1,
STATE(57), 4,
sym__annotated_pattern_element,
sym_subject_pattern,
sym__path_pattern,
sym_relationship_pattern,
[1657] = 13,
ACTIONS(3), 1,
sym_comment,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(129), 1,
anon_sym_RBRACE,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(92), 1,
sym_map_entry,
ACTIONS(131), 2,
sym_symbol,
sym_integer,
STATE(157), 2,
sym__identifier,
sym_string_literal,
[1699] = 12,
ACTIONS(3), 1,
sym_comment,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(132), 1,
sym_record_property,
ACTIONS(123), 2,
sym_symbol,
sym_integer,
STATE(113), 2,
sym__identifier,
sym_string_literal,
[1738] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(135), 2,
anon_sym_COLON,
anon_sym_BQUOTE,
ACTIONS(133), 11,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
sym_symbol,
sym_integer,
anon_sym_SQUOTE,
anon_sym_DQUOTE,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
[1759] = 12,
ACTIONS(3), 1,
sym_comment,
ACTIONS(29), 1,
anon_sym_SQUOTE,
ACTIONS(31), 1,
anon_sym_DQUOTE,
ACTIONS(33), 1,
anon_sym_BQUOTE,
ACTIONS(45), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
STATE(41), 1,
sym__double_quoted_string,
STATE(42), 1,
sym__backticked_string,
STATE(46), 1,
sym__single_quoted_string,
STATE(48), 1,
sym__fenced_string,
STATE(144), 1,
sym_map_entry,
ACTIONS(131), 2,
sym_symbol,
sym_integer,
STATE(157), 2,
sym__identifier,
sym_string_literal,
[1798] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(137), 12,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_DASH,
anon_sym_EQ,
anon_sym_TILDE,
anon_sym_LT_DASH,
anon_sym_LT_EQ,
anon_sym_LT_TILDE,
[1816] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(139), 12,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_DASH,
anon_sym_EQ,
anon_sym_TILDE,
anon_sym_LT_DASH,
anon_sym_LT_EQ,
anon_sym_LT_TILDE,
[1834] = 8,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
STATE(69), 1,
sym_labels,
STATE(88), 1,
sym_record,
STATE(49), 2,
sym__label,
aux_sym_labels_repeat1,
ACTIONS(141), 3,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
[1862] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(145), 1,
anon_sym_COLON,
ACTIONS(143), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[1878] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(149), 1,
anon_sym_COLON,
ACTIONS(147), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[1894] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(153), 1,
anon_sym_COLON,
ACTIONS(151), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[1910] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(153), 1,
anon_sym_COLON,
ACTIONS(151), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[1926] = 5,
ACTIONS(3), 1,
sym_comment,
ACTIONS(157), 1,
anon_sym_COLON,
ACTIONS(160), 1,
anon_sym_COLON_COLON,
STATE(43), 2,
sym__label,
aux_sym_labels_repeat1,
ACTIONS(155), 4,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_LBRACE,
[1946] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(165), 1,
anon_sym_COLON,
ACTIONS(163), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[1962] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(169), 1,
anon_sym_COLON,
ACTIONS(167), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[1978] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(153), 1,
anon_sym_COLON,
ACTIONS(151), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[1994] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(173), 1,
anon_sym_COLON,
ACTIONS(171), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[2010] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(153), 1,
anon_sym_COLON,
ACTIONS(151), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[2026] = 5,
ACTIONS(3), 1,
sym_comment,
ACTIONS(39), 1,
anon_sym_COLON,
ACTIONS(41), 1,
anon_sym_COLON_COLON,
STATE(43), 2,
sym__label,
aux_sym_labels_repeat1,
ACTIONS(175), 4,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_LBRACE,
[2046] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(179), 1,
anon_sym_COLON,
ACTIONS(177), 7,
anon_sym_COMMA,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
anon_sym_RBRACE,
[2062] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(181), 7,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_RPAREN,
[2075] = 5,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(11), 1,
anon_sym_LPAREN,
STATE(24), 1,
sym_node_pattern,
STATE(72), 4,
sym__annotated_pattern_element,
sym_subject_pattern,
sym__path_pattern,
sym_relationship_pattern,
[2094] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(183), 7,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_RPAREN,
[2107] = 5,
ACTIONS(3), 1,
sym_comment,
ACTIONS(7), 1,
anon_sym_LBRACK,
ACTIONS(11), 1,
anon_sym_LPAREN,
STATE(24), 1,
sym_node_pattern,
STATE(61), 4,
sym__annotated_pattern_element,
sym_subject_pattern,
sym__path_pattern,
sym_relationship_pattern,
[2126] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(185), 7,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_RPAREN,
[2139] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(187), 6,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2151] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(191), 1,
anon_sym_COMMA,
STATE(58), 1,
aux_sym_annotated_pattern_repeat1,
ACTIONS(189), 4,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2167] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(191), 1,
anon_sym_COMMA,
STATE(64), 1,
aux_sym_annotated_pattern_repeat1,
ACTIONS(193), 4,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2183] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(195), 6,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2195] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(199), 1,
anon_sym_COLON,
ACTIONS(197), 5,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_COLON_COLON,
anon_sym_LBRACE,
[2209] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(191), 1,
anon_sym_COMMA,
STATE(66), 1,
aux_sym_annotated_pattern_repeat1,
ACTIONS(201), 4,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2225] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(203), 6,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2237] = 4,
ACTIONS(3), 1,
sym_comment,
STATE(77), 1,
sym__numeric_literal,
ACTIONS(207), 2,
sym_decimal,
sym_octal,
ACTIONS(205), 3,
sym_integer,
sym_hexadecimal,
sym_measurement,
[2253] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(211), 1,
anon_sym_COMMA,
STATE(64), 1,
aux_sym_annotated_pattern_repeat1,
ACTIONS(209), 4,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2269] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(214), 6,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2281] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(191), 1,
anon_sym_COMMA,
STATE(64), 1,
aux_sym_annotated_pattern_repeat1,
ACTIONS(216), 4,
ts_builtin_sym_end,
anon_sym_LBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2297] = 4,
ACTIONS(3), 1,
sym_comment,
STATE(80), 1,
sym__numeric_literal,
ACTIONS(220), 2,
sym_decimal,
sym_octal,
ACTIONS(218), 3,
sym_integer,
sym_hexadecimal,
sym_measurement,
[2313] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(222), 6,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_RBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2325] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
STATE(94), 1,
sym_record,
ACTIONS(224), 3,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
[2340] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(13), 1,
anon_sym_LBRACE,
STATE(111), 1,
sym_record,
ACTIONS(226), 3,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
[2355] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(230), 1,
anon_sym_DOT_DOT,
ACTIONS(232), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(228), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2370] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(209), 5,
ts_builtin_sym_end,
anon_sym_COMMA,
anon_sym_LBRACK,
anon_sym_AT,
anon_sym_LPAREN,
[2381] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(230), 1,
anon_sym_DOT_DOT,
ACTIONS(232), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(234), 3,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RBRACE,
[2396] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(236), 1,
anon_sym_BQUOTE,
ACTIONS(228), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2408] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(238), 4,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2418] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(236), 1,
anon_sym_BQUOTE,
ACTIONS(234), 3,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RBRACE,
[2430] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(240), 4,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2440] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(242), 4,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2450] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(11), 1,
anon_sym_LPAREN,
STATE(24), 1,
sym_node_pattern,
STATE(56), 2,
sym__path_pattern,
sym_relationship_pattern,
[2464] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(244), 4,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2474] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(246), 4,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2484] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(248), 4,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2494] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(250), 4,
anon_sym_COMMA,
anon_sym_RBRACK,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2504] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(252), 1,
anon_sym_COMMA,
ACTIONS(254), 1,
anon_sym_RBRACK,
STATE(106), 1,
aux_sym_array_repeat1,
[2517] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(256), 1,
anon_sym_COMMA,
ACTIONS(259), 1,
anon_sym_RBRACK,
STATE(85), 1,
aux_sym_subject_pattern_elements_repeat1,
[2530] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(261), 1,
anon_sym_COMMA,
ACTIONS(263), 1,
anon_sym_RBRACE,
STATE(110), 1,
aux_sym_record_repeat1,
[2543] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(265), 1,
anon_sym_COMMA,
ACTIONS(267), 1,
anon_sym_RBRACK,
STATE(96), 1,
aux_sym_subject_pattern_elements_repeat1,
[2556] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(269), 3,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
[2565] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(252), 1,
anon_sym_COMMA,
ACTIONS(271), 1,
anon_sym_RBRACK,
STATE(84), 1,
aux_sym_array_repeat1,
[2578] = 4,
ACTIONS(273), 1,
sym_symbol,
ACTIONS(275), 1,
anon_sym_LF,
ACTIONS(277), 1,
sym_comment,
STATE(44), 1,
sym__fenced_string_body,
[2591] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(279), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2600] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(281), 1,
anon_sym_COMMA,
ACTIONS(283), 1,
anon_sym_RBRACE,
STATE(103), 1,
aux_sym_map_repeat1,
[2613] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(285), 3,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
[2622] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(287), 3,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
[2631] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(289), 1,
anon_sym_COMMA,
ACTIONS(292), 1,
anon_sym_RBRACE,
STATE(95), 1,
aux_sym_record_repeat1,
[2644] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(265), 1,
anon_sym_COMMA,
ACTIONS(294), 1,
anon_sym_RBRACK,
STATE(85), 1,
aux_sym_subject_pattern_elements_repeat1,
[2657] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(296), 1,
anon_sym_LBRACK,
ACTIONS(298), 1,
anon_sym_EQ,
ACTIONS(300), 1,
anon_sym_EQ_GT,
[2670] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(302), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2679] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(304), 1,
anon_sym_LBRACK,
ACTIONS(306), 1,
anon_sym_DASH,
ACTIONS(308), 1,
anon_sym_DASH_GT,
[2692] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(298), 1,
anon_sym_TILDE,
ACTIONS(300), 1,
anon_sym_TILDE_GT,
ACTIONS(310), 1,
anon_sym_LBRACK,
[2705] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(306), 1,
anon_sym_EQ,
ACTIONS(308), 1,
anon_sym_EQ_GT,
ACTIONS(312), 1,
anon_sym_LBRACK,
[2718] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(314), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2727] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(281), 1,
anon_sym_COMMA,
ACTIONS(316), 1,
anon_sym_RBRACE,
STATE(108), 1,
aux_sym_map_repeat1,
[2740] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(306), 1,
anon_sym_TILDE,
ACTIONS(308), 1,
anon_sym_TILDE_GT,
ACTIONS(318), 1,
anon_sym_LBRACK,
[2753] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(320), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2762] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(322), 1,
anon_sym_COMMA,
ACTIONS(325), 1,
anon_sym_RBRACK,
STATE(106), 1,
aux_sym_array_repeat1,
[2775] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(327), 3,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_RBRACE,
[2784] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(329), 1,
anon_sym_COMMA,
ACTIONS(332), 1,
anon_sym_RBRACE,
STATE(108), 1,
aux_sym_map_repeat1,
[2797] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(298), 1,
anon_sym_DASH,
ACTIONS(300), 1,
anon_sym_DASH_GT,
ACTIONS(334), 1,
anon_sym_LBRACK,
[2810] = 4,
ACTIONS(3), 1,
sym_comment,
ACTIONS(261), 1,
anon_sym_COMMA,
ACTIONS(336), 1,
anon_sym_RBRACE,
STATE(95), 1,
aux_sym_record_repeat1,
[2823] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(338), 3,
anon_sym_PIPE,
anon_sym_RBRACK,
anon_sym_RPAREN,
[2832] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(340), 1,
anon_sym_TILDE,
ACTIONS(342), 1,
anon_sym_TILDE_GT,
[2842] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(344), 1,
anon_sym_COLON,
ACTIONS(346), 1,
anon_sym_COLON_COLON,
[2852] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(340), 1,
anon_sym_EQ,
ACTIONS(342), 1,
anon_sym_EQ_GT,
[2862] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(259), 2,
anon_sym_COMMA,
anon_sym_RBRACK,
[2870] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(348), 2,
anon_sym_COMMA,
anon_sym_RBRACK,
[2878] = 3,
ACTIONS(275), 1,
anon_sym_LF,
ACTIONS(277), 1,
sym_comment,
STATE(44), 1,
sym__fenced_string_body,
[2888] = 3,
ACTIONS(277), 1,
sym_comment,
ACTIONS(350), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(352), 1,
sym__fenced_string_content,
[2898] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(354), 1,
anon_sym_DASH,
ACTIONS(356), 1,
anon_sym_DASH_GT,
[2908] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(358), 1,
anon_sym_DASH,
ACTIONS(360), 1,
anon_sym_DASH_GT,
[2918] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(354), 1,
anon_sym_EQ,
ACTIONS(356), 1,
anon_sym_EQ_GT,
[2928] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(362), 1,
anon_sym_EQ,
ACTIONS(364), 1,
anon_sym_EQ_GT,
[2938] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(354), 1,
anon_sym_TILDE,
ACTIONS(356), 1,
anon_sym_TILDE_GT,
[2948] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(366), 1,
anon_sym_TILDE,
ACTIONS(368), 1,
anon_sym_TILDE_GT,
[2958] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(370), 1,
anon_sym_DASH,
ACTIONS(372), 1,
anon_sym_DASH_GT,
[2968] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(374), 1,
anon_sym_DASH,
ACTIONS(376), 1,
anon_sym_DASH_GT,
[2978] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(370), 1,
anon_sym_EQ,
ACTIONS(372), 1,
anon_sym_EQ_GT,
[2988] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(340), 1,
anon_sym_DASH,
ACTIONS(342), 1,
anon_sym_DASH_GT,
[2998] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(370), 1,
anon_sym_TILDE,
ACTIONS(372), 1,
anon_sym_TILDE_GT,
[3008] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(378), 1,
anon_sym_TILDE,
ACTIONS(380), 1,
anon_sym_TILDE_GT,
[3018] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(382), 2,
anon_sym_COMMA,
anon_sym_RBRACE,
[3026] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(292), 2,
anon_sym_COMMA,
anon_sym_RBRACE,
[3034] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(384), 1,
anon_sym_PIPE,
ACTIONS(386), 1,
anon_sym_RBRACK,
[3044] = 3,
ACTIONS(277), 1,
sym_comment,
ACTIONS(388), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
ACTIONS(390), 1,
sym__fenced_string_content,
[3054] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(392), 1,
anon_sym_DASH,
ACTIONS(394), 1,
anon_sym_DASH_GT,
[3064] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(396), 1,
anon_sym_DASH,
ACTIONS(398), 1,
anon_sym_DASH_GT,
[3074] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(400), 1,
anon_sym_EQ,
ACTIONS(402), 1,
anon_sym_EQ_GT,
[3084] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(404), 1,
anon_sym_TILDE,
ACTIONS(406), 1,
anon_sym_TILDE_GT,
[3094] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(408), 1,
anon_sym_DASH,
ACTIONS(410), 1,
anon_sym_DASH_GT,
[3104] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(412), 1,
anon_sym_EQ,
ACTIONS(414), 1,
anon_sym_EQ_GT,
[3114] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(416), 1,
anon_sym_TILDE,
ACTIONS(418), 1,
anon_sym_TILDE_GT,
[3124] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(325), 2,
anon_sym_COMMA,
anon_sym_RBRACK,
[3132] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(420), 2,
anon_sym_COMMA,
anon_sym_RBRACE,
[3140] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(332), 2,
anon_sym_COMMA,
anon_sym_RBRACE,
[3148] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(392), 1,
anon_sym_EQ,
ACTIONS(394), 1,
anon_sym_EQ_GT,
[3158] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(392), 1,
anon_sym_TILDE,
ACTIONS(394), 1,
anon_sym_TILDE_GT,
[3168] = 3,
ACTIONS(3), 1,
sym_comment,
ACTIONS(422), 1,
anon_sym_EQ,
ACTIONS(424), 1,
anon_sym_EQ_GT,
[3178] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(426), 1,
anon_sym_BQUOTE,
[3185] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(428), 1,
anon_sym_LPAREN,
[3192] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(430), 1,
anon_sym_LPAREN,
[3199] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(432), 1,
anon_sym_RBRACK,
[3206] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(434), 1,
anon_sym_RBRACK,
[3213] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(436), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
[3220] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(438), 1,
anon_sym_SQUOTE,
[3227] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(440), 1,
anon_sym_RBRACK,
[3234] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(442), 1,
anon_sym_RBRACK,
[3241] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(444), 1,
anon_sym_COLON,
[3248] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(446), 1,
anon_sym_RBRACK,
[3255] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(448), 1,
anon_sym_DQUOTE,
[3262] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(450), 1,
sym_symbol,
[3269] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(452), 1,
anon_sym_RPAREN,
[3276] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(454), 1,
anon_sym_LPAREN,
[3283] = 2,
ACTIONS(277), 1,
sym_comment,
ACTIONS(456), 1,
sym__backticked_text,
[3290] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(458), 1,
anon_sym_BQUOTE,
[3297] = 2,
ACTIONS(277), 1,
sym_comment,
ACTIONS(460), 1,
anon_sym_LF,
[3304] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(462), 1,
anon_sym_LPAREN,
[3311] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(464), 1,
anon_sym_RBRACK,
[3318] = 2,
ACTIONS(277), 1,
sym_comment,
ACTIONS(466), 1,
sym__single_quoted_text,
[3325] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(468), 1,
anon_sym_LPAREN,
[3332] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(470), 1,
anon_sym_LPAREN,
[3339] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(472), 1,
anon_sym_LPAREN,
[3346] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(474), 1,
anon_sym_LPAREN,
[3353] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(476), 1,
anon_sym_LPAREN,
[3360] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(478), 1,
anon_sym_LPAREN,
[3367] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(480), 1,
anon_sym_LPAREN,
[3374] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(476), 1,
anon_sym_LPAREN,
[3381] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(478), 1,
anon_sym_LPAREN,
[3388] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(482), 1,
anon_sym_LPAREN,
[3395] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(476), 1,
anon_sym_LPAREN,
[3402] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(478), 1,
anon_sym_LPAREN,
[3409] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(484), 1,
anon_sym_LPAREN,
[3416] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(486), 1,
anon_sym_LPAREN,
[3423] = 2,
ACTIONS(277), 1,
sym_comment,
ACTIONS(488), 1,
sym__double_quoted_text,
[3430] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(490), 1,
sym_symbol,
[3437] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(492), 1,
anon_sym_LPAREN,
[3444] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(494), 1,
anon_sym_RBRACK,
[3451] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(496), 1,
anon_sym_LPAREN,
[3458] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(492), 1,
anon_sym_LPAREN,
[3465] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(498), 1,
anon_sym_RBRACK,
[3472] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(496), 1,
anon_sym_LPAREN,
[3479] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(492), 1,
anon_sym_LPAREN,
[3486] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(500), 1,
anon_sym_RBRACK,
[3493] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(502), 1,
anon_sym_LPAREN,
[3500] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(504), 1,
anon_sym_RBRACK,
[3507] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(506), 1,
anon_sym_RBRACK,
[3514] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(508), 1,
anon_sym_RBRACK,
[3521] = 2,
ACTIONS(277), 1,
sym_comment,
ACTIONS(510), 1,
sym__backticked_text,
[3528] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(512), 1,
anon_sym_RPAREN,
[3535] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(514), 1,
anon_sym_RBRACK,
[3542] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(516), 1,
anon_sym_RBRACK,
[3549] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(518), 1,
anon_sym_BQUOTE_BQUOTE_BQUOTE,
[3556] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(520), 1,
anon_sym_LPAREN,
[3563] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(522), 1,
anon_sym_LPAREN,
[3570] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(520), 1,
anon_sym_LPAREN,
[3577] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(522), 1,
anon_sym_LPAREN,
[3584] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(520), 1,
anon_sym_LPAREN,
[3591] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(522), 1,
anon_sym_LPAREN,
[3598] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(524), 1,
anon_sym_LPAREN,
[3605] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(526), 1,
anon_sym_LPAREN,
[3612] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(524), 1,
anon_sym_LPAREN,
[3619] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(526), 1,
anon_sym_LPAREN,
[3626] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(524), 1,
anon_sym_LPAREN,
[3633] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(526), 1,
anon_sym_LPAREN,
[3640] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(528), 1,
ts_builtin_sym_end,
[3647] = 2,
ACTIONS(3), 1,
sym_comment,
ACTIONS(496), 1,
anon_sym_LPAREN,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
[SMALL_STATE(3)] = 65,
[SMALL_STATE(4)] = 130,
[SMALL_STATE(5)] = 201,
[SMALL_STATE(6)] = 272,
[SMALL_STATE(7)] = 343,
[SMALL_STATE(8)] = 414,
[SMALL_STATE(9)] = 485,
[SMALL_STATE(10)] = 556,
[SMALL_STATE(11)] = 613,
[SMALL_STATE(12)] = 670,
[SMALL_STATE(13)] = 727,
[SMALL_STATE(14)] = 791,
[SMALL_STATE(15)] = 846,
[SMALL_STATE(16)] = 901,
[SMALL_STATE(17)] = 962,
[SMALL_STATE(18)] = 1023,
[SMALL_STATE(19)] = 1084,
[SMALL_STATE(20)] = 1145,
[SMALL_STATE(21)] = 1206,
[SMALL_STATE(22)] = 1267,
[SMALL_STATE(23)] = 1328,
[SMALL_STATE(24)] = 1380,
[SMALL_STATE(25)] = 1417,
[SMALL_STATE(26)] = 1444,
[SMALL_STATE(27)] = 1471,
[SMALL_STATE(28)] = 1507,
[SMALL_STATE(29)] = 1543,
[SMALL_STATE(30)] = 1585,
[SMALL_STATE(31)] = 1621,
[SMALL_STATE(32)] = 1657,
[SMALL_STATE(33)] = 1699,
[SMALL_STATE(34)] = 1738,
[SMALL_STATE(35)] = 1759,
[SMALL_STATE(36)] = 1798,
[SMALL_STATE(37)] = 1816,
[SMALL_STATE(38)] = 1834,
[SMALL_STATE(39)] = 1862,
[SMALL_STATE(40)] = 1878,
[SMALL_STATE(41)] = 1894,
[SMALL_STATE(42)] = 1910,
[SMALL_STATE(43)] = 1926,
[SMALL_STATE(44)] = 1946,
[SMALL_STATE(45)] = 1962,
[SMALL_STATE(46)] = 1978,
[SMALL_STATE(47)] = 1994,
[SMALL_STATE(48)] = 2010,
[SMALL_STATE(49)] = 2026,
[SMALL_STATE(50)] = 2046,
[SMALL_STATE(51)] = 2062,
[SMALL_STATE(52)] = 2075,
[SMALL_STATE(53)] = 2094,
[SMALL_STATE(54)] = 2107,
[SMALL_STATE(55)] = 2126,
[SMALL_STATE(56)] = 2139,
[SMALL_STATE(57)] = 2151,
[SMALL_STATE(58)] = 2167,
[SMALL_STATE(59)] = 2183,
[SMALL_STATE(60)] = 2195,
[SMALL_STATE(61)] = 2209,
[SMALL_STATE(62)] = 2225,
[SMALL_STATE(63)] = 2237,
[SMALL_STATE(64)] = 2253,
[SMALL_STATE(65)] = 2269,
[SMALL_STATE(66)] = 2281,
[SMALL_STATE(67)] = 2297,
[SMALL_STATE(68)] = 2313,
[SMALL_STATE(69)] = 2325,
[SMALL_STATE(70)] = 2340,
[SMALL_STATE(71)] = 2355,
[SMALL_STATE(72)] = 2370,
[SMALL_STATE(73)] = 2381,
[SMALL_STATE(74)] = 2396,
[SMALL_STATE(75)] = 2408,
[SMALL_STATE(76)] = 2418,
[SMALL_STATE(77)] = 2430,
[SMALL_STATE(78)] = 2440,
[SMALL_STATE(79)] = 2450,
[SMALL_STATE(80)] = 2464,
[SMALL_STATE(81)] = 2474,
[SMALL_STATE(82)] = 2484,
[SMALL_STATE(83)] = 2494,
[SMALL_STATE(84)] = 2504,
[SMALL_STATE(85)] = 2517,
[SMALL_STATE(86)] = 2530,
[SMALL_STATE(87)] = 2543,
[SMALL_STATE(88)] = 2556,
[SMALL_STATE(89)] = 2565,
[SMALL_STATE(90)] = 2578,
[SMALL_STATE(91)] = 2591,
[SMALL_STATE(92)] = 2600,
[SMALL_STATE(93)] = 2613,
[SMALL_STATE(94)] = 2622,
[SMALL_STATE(95)] = 2631,
[SMALL_STATE(96)] = 2644,
[SMALL_STATE(97)] = 2657,
[SMALL_STATE(98)] = 2670,
[SMALL_STATE(99)] = 2679,
[SMALL_STATE(100)] = 2692,
[SMALL_STATE(101)] = 2705,
[SMALL_STATE(102)] = 2718,
[SMALL_STATE(103)] = 2727,
[SMALL_STATE(104)] = 2740,
[SMALL_STATE(105)] = 2753,
[SMALL_STATE(106)] = 2762,
[SMALL_STATE(107)] = 2775,
[SMALL_STATE(108)] = 2784,
[SMALL_STATE(109)] = 2797,
[SMALL_STATE(110)] = 2810,
[SMALL_STATE(111)] = 2823,
[SMALL_STATE(112)] = 2832,
[SMALL_STATE(113)] = 2842,
[SMALL_STATE(114)] = 2852,
[SMALL_STATE(115)] = 2862,
[SMALL_STATE(116)] = 2870,
[SMALL_STATE(117)] = 2878,
[SMALL_STATE(118)] = 2888,
[SMALL_STATE(119)] = 2898,
[SMALL_STATE(120)] = 2908,
[SMALL_STATE(121)] = 2918,
[SMALL_STATE(122)] = 2928,
[SMALL_STATE(123)] = 2938,
[SMALL_STATE(124)] = 2948,
[SMALL_STATE(125)] = 2958,
[SMALL_STATE(126)] = 2968,
[SMALL_STATE(127)] = 2978,
[SMALL_STATE(128)] = 2988,
[SMALL_STATE(129)] = 2998,
[SMALL_STATE(130)] = 3008,
[SMALL_STATE(131)] = 3018,
[SMALL_STATE(132)] = 3026,
[SMALL_STATE(133)] = 3034,
[SMALL_STATE(134)] = 3044,
[SMALL_STATE(135)] = 3054,
[SMALL_STATE(136)] = 3064,
[SMALL_STATE(137)] = 3074,
[SMALL_STATE(138)] = 3084,
[SMALL_STATE(139)] = 3094,
[SMALL_STATE(140)] = 3104,
[SMALL_STATE(141)] = 3114,
[SMALL_STATE(142)] = 3124,
[SMALL_STATE(143)] = 3132,
[SMALL_STATE(144)] = 3140,
[SMALL_STATE(145)] = 3148,
[SMALL_STATE(146)] = 3158,
[SMALL_STATE(147)] = 3168,
[SMALL_STATE(148)] = 3178,
[SMALL_STATE(149)] = 3185,
[SMALL_STATE(150)] = 3192,
[SMALL_STATE(151)] = 3199,
[SMALL_STATE(152)] = 3206,
[SMALL_STATE(153)] = 3213,
[SMALL_STATE(154)] = 3220,
[SMALL_STATE(155)] = 3227,
[SMALL_STATE(156)] = 3234,
[SMALL_STATE(157)] = 3241,
[SMALL_STATE(158)] = 3248,
[SMALL_STATE(159)] = 3255,
[SMALL_STATE(160)] = 3262,
[SMALL_STATE(161)] = 3269,
[SMALL_STATE(162)] = 3276,
[SMALL_STATE(163)] = 3283,
[SMALL_STATE(164)] = 3290,
[SMALL_STATE(165)] = 3297,
[SMALL_STATE(166)] = 3304,
[SMALL_STATE(167)] = 3311,
[SMALL_STATE(168)] = 3318,
[SMALL_STATE(169)] = 3325,
[SMALL_STATE(170)] = 3332,
[SMALL_STATE(171)] = 3339,
[SMALL_STATE(172)] = 3346,
[SMALL_STATE(173)] = 3353,
[SMALL_STATE(174)] = 3360,
[SMALL_STATE(175)] = 3367,
[SMALL_STATE(176)] = 3374,
[SMALL_STATE(177)] = 3381,
[SMALL_STATE(178)] = 3388,
[SMALL_STATE(179)] = 3395,
[SMALL_STATE(180)] = 3402,
[SMALL_STATE(181)] = 3409,
[SMALL_STATE(182)] = 3416,
[SMALL_STATE(183)] = 3423,
[SMALL_STATE(184)] = 3430,
[SMALL_STATE(185)] = 3437,
[SMALL_STATE(186)] = 3444,
[SMALL_STATE(187)] = 3451,
[SMALL_STATE(188)] = 3458,
[SMALL_STATE(189)] = 3465,
[SMALL_STATE(190)] = 3472,
[SMALL_STATE(191)] = 3479,
[SMALL_STATE(192)] = 3486,
[SMALL_STATE(193)] = 3493,
[SMALL_STATE(194)] = 3500,
[SMALL_STATE(195)] = 3507,
[SMALL_STATE(196)] = 3514,
[SMALL_STATE(197)] = 3521,
[SMALL_STATE(198)] = 3528,
[SMALL_STATE(199)] = 3535,
[SMALL_STATE(200)] = 3542,
[SMALL_STATE(201)] = 3549,
[SMALL_STATE(202)] = 3556,
[SMALL_STATE(203)] = 3563,
[SMALL_STATE(204)] = 3570,
[SMALL_STATE(205)] = 3577,
[SMALL_STATE(206)] = 3584,
[SMALL_STATE(207)] = 3591,
[SMALL_STATE(208)] = 3598,
[SMALL_STATE(209)] = 3605,
[SMALL_STATE(210)] = 3612,
[SMALL_STATE(211)] = 3619,
[SMALL_STATE(212)] = 3626,
[SMALL_STATE(213)] = 3633,
[SMALL_STATE(214)] = 3640,
[SMALL_STATE(215)] = 3647,
};
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_gram, 0, 0, 0),
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
[13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
[15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
[19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74),
[21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
[23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75),
[25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71),
[27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
[29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168),
[31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183),
[33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197),
[35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
[37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
[39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184),
[41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184),
[43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
[47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
[49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
[51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
[53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
[55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
[57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76),
[59] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73),
[61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
[63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
[65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
[67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
[69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
[71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
[73] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
[75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
[77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[79] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
[81] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
[83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__path_pattern, 1, 0, 0),
[85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99),
[87] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
[89] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
[91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
[93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
[95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
[97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_annotations_repeat1, 2, 0, 0),
[99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_annotations_repeat1, 2, 0, 0), SHIFT_REPEAT(160),
[102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_annotations_repeat1, 2, 0, 0),
[104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotations, 1, 0, 0),
[106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_annotations, 1, 0, 0),
[108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_gram, 2, 0, 2),
[110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_gram_repeat1, 2, 0, 0),
[112] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_gram_repeat1, 2, 0, 0), SHIFT_REPEAT(13),
[115] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_gram_repeat1, 2, 0, 0), SHIFT_REPEAT(160),
[118] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_gram_repeat1, 2, 0, 0), SHIFT_REPEAT(16),
[121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
[125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_gram, 1, 0, 2),
[127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_gram, 1, 0, 0),
[129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
[131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
[133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation, 5, 0, 22),
[135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_annotation, 5, 0, 22),
[137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_pattern, 3, 0, 12),
[139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_pattern, 2, 0, 0),
[141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__subject, 1, 0, 3),
[143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__backticked_string, 3, 0, 17),
[145] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__backticked_string, 3, 0, 17),
[147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__fenced_string_body, 2, 0, 0),
[149] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__fenced_string_body, 2, 0, 0),
[151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string_literal, 1, 0, 6),
[153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string_literal, 1, 0, 6),
[155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_labels_repeat1, 2, 0, 0),
[157] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_labels_repeat1, 2, 0, 0), SHIFT_REPEAT(184),
[160] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_labels_repeat1, 2, 0, 0), SHIFT_REPEAT(184),
[163] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__fenced_string, 2, 0, 9),
[165] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__fenced_string, 2, 0, 9),
[167] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__fenced_string_body, 3, 0, 17),
[169] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__fenced_string_body, 3, 0, 17),
[171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__single_quoted_string, 3, 0, 17),
[173] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__single_quoted_string, 3, 0, 17),
[175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_labels, 1, 0, 0),
[177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__double_quoted_string, 3, 0, 17),
[179] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__double_quoted_string, 3, 0, 17),
[181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record, 2, 0, 0),
[183] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record, 3, 0, 0),
[185] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record, 4, 0, 0),
[187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relationship_pattern, 3, 0, 15),
[189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotated_pattern, 1, 0, 1),
[191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotated_pattern, 2, 0, 7),
[195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subject_pattern, 4, 0, 16),
[197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__label, 2, 0, 0),
[199] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__label, 2, 0, 0),
[201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotated_pattern, 2, 0, 8),
[203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subject_pattern, 3, 0, 12),
[205] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77),
[207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
[209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_annotated_pattern_repeat1, 2, 0, 0),
[211] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_annotated_pattern_repeat1, 2, 0, 0), SHIFT_REPEAT(52),
[214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subject_pattern, 5, 0, 20),
[216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotated_pattern, 3, 0, 14),
[218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80),
[220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
[222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subject_pattern, 2, 0, 0),
[224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__subject, 2, 0, 10),
[226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__subject, 1, 0, 4),
[228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value, 1, 0, 0),
[230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67),
[232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
[234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__scalar_value, 1, 0, 0),
[236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
[238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_literal, 1, 0, 0),
[240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range, 2, 0, 21),
[242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range, 2, 0, 23),
[244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range, 3, 0, 24),
[246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tagged_string, 4, 0, 27),
[248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tagged_string, 4, 0, 28),
[250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tagged_string, 5, 0, 30),
[252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
[254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
[256] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subject_pattern_elements_repeat1, 2, 0, 0), SHIFT_REPEAT(23),
[259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subject_pattern_elements_repeat1, 2, 0, 0),
[261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
[263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
[265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subject_pattern_elements, 1, 0, 0),
[269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__subject, 2, 0, 11),
[271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
[273] = {.entry = {.count = 1, .reusable = false}}, SHIFT(165),
[275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
[277] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(),
[279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2, 0, 0),
[281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
[285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__subject, 1, 0, 5),
[287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__subject, 3, 0, 18),
[289] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_record_repeat1, 2, 0, 0), SHIFT_REPEAT(33),
[292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_record_repeat1, 2, 0, 0),
[294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subject_pattern_elements, 2, 0, 0),
[296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
[298] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166),
[300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193),
[302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3, 0, 0),
[304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
[306] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169),
[308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
[310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3, 0, 0),
[316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
[318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
[320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, 0, 0),
[322] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
[325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0),
[327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 4, 0, 0),
[329] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2, 0, 0), SHIFT_REPEAT(35),
[332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2, 0, 0),
[334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__subject, 2, 0, 13),
[340] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149),
[342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
[344] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3),
[346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern_reference, 1, 0, 3),
[350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
[352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153),
[354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170),
[356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
[358] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173),
[360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
[362] = {.entry = {.count = 1, .reusable = false}}, SHIFT(176),
[364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177),
[366] = {.entry = {.count = 1, .reusable = false}}, SHIFT(179),
[368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180),
[370] = {.entry = {.count = 1, .reusable = false}}, SHIFT(181),
[372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182),
[374] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215),
[376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185),
[378] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190),
[380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191),
[382] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_record_property, 3, 0, 19),
[384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[388] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82),
[390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
[392] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175),
[394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178),
[396] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202),
[398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203),
[400] = {.entry = {.count = 1, .reusable = false}}, SHIFT(204),
[402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
[404] = {.entry = {.count = 1, .reusable = false}}, SHIFT(206),
[406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207),
[408] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208),
[410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209),
[412] = {.entry = {.count = 1, .reusable = false}}, SHIFT(210),
[414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211),
[416] = {.entry = {.count = 1, .reusable = false}}, SHIFT(212),
[418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213),
[420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_entry, 3, 0, 19),
[422] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187),
[424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188),
[426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
[428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_left_arrow, 4, 0, 0),
[430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bidirectional_arrow, 4, 0, 0),
[432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
[434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
[436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
[438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
[442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
[444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
[448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
[452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
[454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
[456] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148),
[458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
[460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
[462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_left_arrow, 2, 0, 0),
[464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
[466] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154),
[468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_undirected_arrow, 2, 0, 0),
[470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_undirected_arrow, 5, 0, 25),
[472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_right_arrow, 5, 0, 25),
[474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_right_arrow, 2, 0, 0),
[476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_undirected_arrow, 5, 0, 26),
[478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_right_arrow, 5, 0, 26),
[480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_undirected_arrow, 4, 0, 0),
[482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_right_arrow, 4, 0, 0),
[484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_left_arrow, 5, 0, 25),
[486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bidirectional_arrow, 5, 0, 25),
[488] = {.entry = {.count = 1, .reusable = false}}, SHIFT(159),
[490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bidirectional_arrow, 5, 0, 26),
[494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_left_arrow, 5, 0, 26),
[498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
[500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
[502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bidirectional_arrow, 2, 0, 0),
[504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
[506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
[508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[510] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164),
[512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
[516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
[518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
[520] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_undirected_arrow, 6, 0, 29),
[522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_right_arrow, 6, 0, 29),
[524] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_left_arrow, 6, 0, 29),
[526] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bidirectional_arrow, 6, 0, 29),
[528] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
};
#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_gram(void) {
static const TSLanguage language = {
.abi_version = LANGUAGE_VERSION,
.symbol_count = SYMBOL_COUNT,
.alias_count = ALIAS_COUNT,
.token_count = TOKEN_COUNT,
.external_token_count = EXTERNAL_TOKEN_COUNT,
.state_count = STATE_COUNT,
.large_state_count = LARGE_STATE_COUNT,
.production_id_count = PRODUCTION_ID_COUNT,
.supertype_count = SUPERTYPE_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
.parse_table = &ts_parse_table[0][0],
.small_parse_table = ts_small_parse_table,
.small_parse_table_map = ts_small_parse_table_map,
.parse_actions = ts_parse_actions,
.symbol_names = ts_symbol_names,
.field_names = ts_field_names,
.field_map_slices = ts_field_map_slices,
.field_map_entries = ts_field_map_entries,
.symbol_metadata = ts_symbol_metadata,
.public_symbol_map = ts_symbol_map,
.alias_map = ts_non_terminal_alias_map,
.alias_sequences = &ts_alias_sequences[0][0],
.lex_modes = (const void*)ts_lex_modes,
.lex_fn = ts_lex,
.primary_state_ids = ts_primary_state_ids,
.name = "gram",
.max_reserved_word_set_size = 0,
.metadata = {
.major_version = 0,
.minor_version = 2,
.patch_version = 4,
},
};
return &language;
}
#ifdef __cplusplus
}
#endif