#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 162
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 58
#define ALIAS_COUNT 15
#define TOKEN_COUNT 22
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 0
#define MAX_ALIAS_SEQUENCE_LENGTH 7
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 10
#define SUPERTYPE_COUNT 0
enum ts_symbol_identifiers {
sym_identifier = 1,
sym_body_block_keyword = 2,
anon_sym_LBRACE = 3,
anon_sym_RBRACE = 4,
anon_sym_SEMI = 5,
sym_promise_block_keyword = 6,
sym_bundle_block_keyword = 7,
anon_sym_LPAREN = 8,
anon_sym_COMMA = 9,
anon_sym_RPAREN = 10,
anon_sym_DOLLAR = 11,
anon_sym_AT = 12,
anon_sym_DASH_GT = 13,
anon_sym_EQ_GT = 14,
sym_quoted_string = 15,
sym_qualified_identifier = 16,
sym_indexed_identifier = 17,
sym_promise_guard = 18,
sym_class_guard = 19,
sym_comment = 20,
sym_macro = 21,
sym_source_file = 22,
sym__block = 23,
sym_body_block = 24,
sym_body_block_body = 25,
sym__body_attribute = 26,
sym_promise_block = 27,
sym_promise_block_body = 28,
sym_class_guarded_body_attributes = 29,
sym_bundle_block = 30,
sym_parameter_list = 31,
sym_bundle_block_body = 32,
sym_bundle_section = 33,
sym__bare_value = 34,
sym__right_value = 35,
sym__variable_reference = 36,
sym_dollar_expression = 37,
sym_at_expression = 38,
sym_calling_identifier = 39,
sym_call = 40,
sym_list = 41,
sym__value_list = 42,
sym_class_guarded_promises = 43,
sym__promises = 44,
sym_promise = 45,
sym_half_promise = 46,
sym_attribute = 47,
aux_sym_source_file_repeat1 = 48,
aux_sym_body_block_body_repeat1 = 49,
aux_sym_body_block_body_repeat2 = 50,
aux_sym_promise_block_body_repeat1 = 51,
aux_sym_parameter_list_repeat1 = 52,
aux_sym_bundle_block_body_repeat1 = 53,
aux_sym_bundle_section_repeat1 = 54,
aux_sym__value_list_repeat1 = 55,
aux_sym__promises_repeat1 = 56,
aux_sym_promise_repeat1 = 57,
alias_sym_at_expression_end = 58,
alias_sym_at_expression_reference = 59,
alias_sym_at_expression_start = 60,
alias_sym_attribute_name = 61,
alias_sym_body_block_name = 62,
alias_sym_body_block_type = 63,
alias_sym_bundle_block_name = 64,
alias_sym_bundle_block_type = 65,
alias_sym_class_guarded_promise_block_attributes = 66,
alias_sym_dollar_expression_end = 67,
alias_sym_dollar_expression_start = 68,
alias_sym_promise_block_name = 69,
alias_sym_promise_block_type = 70,
alias_sym_promiser = 71,
alias_sym_stakeholder = 72,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[sym_identifier] = "parameter",
[sym_body_block_keyword] = "body_block_keyword",
[anon_sym_LBRACE] = "{",
[anon_sym_RBRACE] = "}",
[anon_sym_SEMI] = ";",
[sym_promise_block_keyword] = "promise_block_keyword",
[sym_bundle_block_keyword] = "bundle_block_keyword",
[anon_sym_LPAREN] = "(",
[anon_sym_COMMA] = ",",
[anon_sym_RPAREN] = ")",
[anon_sym_DOLLAR] = "dollar_expression_operator",
[anon_sym_AT] = "at_expression_operator",
[anon_sym_DASH_GT] = "->",
[anon_sym_EQ_GT] = "=>",
[sym_quoted_string] = "quoted_string",
[sym_qualified_identifier] = "qualified_identifier",
[sym_indexed_identifier] = "indexed_identifier",
[sym_promise_guard] = "promise_guard",
[sym_class_guard] = "class_guard",
[sym_comment] = "comment",
[sym_macro] = "macro",
[sym_source_file] = "source_file",
[sym__block] = "_block",
[sym_body_block] = "body_block",
[sym_body_block_body] = "body_block_body",
[sym__body_attribute] = "_body_attribute",
[sym_promise_block] = "promise_block",
[sym_promise_block_body] = "promise_block_body",
[sym_class_guarded_body_attributes] = "class_guarded_body_attributes",
[sym_bundle_block] = "bundle_block",
[sym_parameter_list] = "parameter_list",
[sym_bundle_block_body] = "bundle_block_body",
[sym_bundle_section] = "bundle_section",
[sym__bare_value] = "_bare_value",
[sym__right_value] = "_right_value",
[sym__variable_reference] = "dollar_expression_reference",
[sym_dollar_expression] = "dollar_expression",
[sym_at_expression] = "at_expression",
[sym_calling_identifier] = "calling_identifier",
[sym_call] = "call",
[sym_list] = "list",
[sym__value_list] = "_value_list",
[sym_class_guarded_promises] = "class_guarded_promises",
[sym__promises] = "_promises",
[sym_promise] = "promise",
[sym_half_promise] = "half_promise",
[sym_attribute] = "attribute",
[aux_sym_source_file_repeat1] = "source_file_repeat1",
[aux_sym_body_block_body_repeat1] = "body_block_body_repeat1",
[aux_sym_body_block_body_repeat2] = "body_block_body_repeat2",
[aux_sym_promise_block_body_repeat1] = "promise_block_body_repeat1",
[aux_sym_parameter_list_repeat1] = "parameter_list_repeat1",
[aux_sym_bundle_block_body_repeat1] = "bundle_block_body_repeat1",
[aux_sym_bundle_section_repeat1] = "bundle_section_repeat1",
[aux_sym__value_list_repeat1] = "_value_list_repeat1",
[aux_sym__promises_repeat1] = "_promises_repeat1",
[aux_sym_promise_repeat1] = "promise_repeat1",
[alias_sym_at_expression_end] = "at_expression_end",
[alias_sym_at_expression_reference] = "at_expression_reference",
[alias_sym_at_expression_start] = "at_expression_start",
[alias_sym_attribute_name] = "attribute_name",
[alias_sym_body_block_name] = "body_block_name",
[alias_sym_body_block_type] = "body_block_type",
[alias_sym_bundle_block_name] = "bundle_block_name",
[alias_sym_bundle_block_type] = "bundle_block_type",
[alias_sym_class_guarded_promise_block_attributes] = "class_guarded_promise_block_attributes",
[alias_sym_dollar_expression_end] = "dollar_expression_end",
[alias_sym_dollar_expression_start] = "dollar_expression_start",
[alias_sym_promise_block_name] = "promise_block_name",
[alias_sym_promise_block_type] = "promise_block_type",
[alias_sym_promiser] = "promiser",
[alias_sym_stakeholder] = "stakeholder",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[sym_identifier] = sym_identifier,
[sym_body_block_keyword] = sym_body_block_keyword,
[anon_sym_LBRACE] = anon_sym_LBRACE,
[anon_sym_RBRACE] = anon_sym_RBRACE,
[anon_sym_SEMI] = anon_sym_SEMI,
[sym_promise_block_keyword] = sym_promise_block_keyword,
[sym_bundle_block_keyword] = sym_bundle_block_keyword,
[anon_sym_LPAREN] = anon_sym_LPAREN,
[anon_sym_COMMA] = anon_sym_COMMA,
[anon_sym_RPAREN] = anon_sym_RPAREN,
[anon_sym_DOLLAR] = anon_sym_DOLLAR,
[anon_sym_AT] = anon_sym_AT,
[anon_sym_DASH_GT] = anon_sym_DASH_GT,
[anon_sym_EQ_GT] = anon_sym_EQ_GT,
[sym_quoted_string] = sym_quoted_string,
[sym_qualified_identifier] = sym_qualified_identifier,
[sym_indexed_identifier] = sym_indexed_identifier,
[sym_promise_guard] = sym_promise_guard,
[sym_class_guard] = sym_class_guard,
[sym_comment] = sym_comment,
[sym_macro] = sym_macro,
[sym_source_file] = sym_source_file,
[sym__block] = sym__block,
[sym_body_block] = sym_body_block,
[sym_body_block_body] = sym_body_block_body,
[sym__body_attribute] = sym__body_attribute,
[sym_promise_block] = sym_promise_block,
[sym_promise_block_body] = sym_promise_block_body,
[sym_class_guarded_body_attributes] = sym_class_guarded_body_attributes,
[sym_bundle_block] = sym_bundle_block,
[sym_parameter_list] = sym_parameter_list,
[sym_bundle_block_body] = sym_bundle_block_body,
[sym_bundle_section] = sym_bundle_section,
[sym__bare_value] = sym__bare_value,
[sym__right_value] = sym__right_value,
[sym__variable_reference] = sym__variable_reference,
[sym_dollar_expression] = sym_dollar_expression,
[sym_at_expression] = sym_at_expression,
[sym_calling_identifier] = sym_calling_identifier,
[sym_call] = sym_call,
[sym_list] = sym_list,
[sym__value_list] = sym__value_list,
[sym_class_guarded_promises] = sym_class_guarded_promises,
[sym__promises] = sym__promises,
[sym_promise] = sym_promise,
[sym_half_promise] = sym_half_promise,
[sym_attribute] = sym_attribute,
[aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1,
[aux_sym_body_block_body_repeat1] = aux_sym_body_block_body_repeat1,
[aux_sym_body_block_body_repeat2] = aux_sym_body_block_body_repeat2,
[aux_sym_promise_block_body_repeat1] = aux_sym_promise_block_body_repeat1,
[aux_sym_parameter_list_repeat1] = aux_sym_parameter_list_repeat1,
[aux_sym_bundle_block_body_repeat1] = aux_sym_bundle_block_body_repeat1,
[aux_sym_bundle_section_repeat1] = aux_sym_bundle_section_repeat1,
[aux_sym__value_list_repeat1] = aux_sym__value_list_repeat1,
[aux_sym__promises_repeat1] = aux_sym__promises_repeat1,
[aux_sym_promise_repeat1] = aux_sym_promise_repeat1,
[alias_sym_at_expression_end] = alias_sym_at_expression_end,
[alias_sym_at_expression_reference] = alias_sym_at_expression_reference,
[alias_sym_at_expression_start] = alias_sym_at_expression_start,
[alias_sym_attribute_name] = alias_sym_attribute_name,
[alias_sym_body_block_name] = alias_sym_body_block_name,
[alias_sym_body_block_type] = alias_sym_body_block_type,
[alias_sym_bundle_block_name] = alias_sym_bundle_block_name,
[alias_sym_bundle_block_type] = alias_sym_bundle_block_type,
[alias_sym_class_guarded_promise_block_attributes] = alias_sym_class_guarded_promise_block_attributes,
[alias_sym_dollar_expression_end] = alias_sym_dollar_expression_end,
[alias_sym_dollar_expression_start] = alias_sym_dollar_expression_start,
[alias_sym_promise_block_name] = alias_sym_promise_block_name,
[alias_sym_promise_block_type] = alias_sym_promise_block_type,
[alias_sym_promiser] = alias_sym_promiser,
[alias_sym_stakeholder] = alias_sym_stakeholder,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[sym_identifier] = {
.visible = true,
.named = true,
},
[sym_body_block_keyword] = {
.visible = true,
.named = true,
},
[anon_sym_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_SEMI] = {
.visible = true,
.named = false,
},
[sym_promise_block_keyword] = {
.visible = true,
.named = true,
},
[sym_bundle_block_keyword] = {
.visible = true,
.named = true,
},
[anon_sym_LPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_COMMA] = {
.visible = true,
.named = false,
},
[anon_sym_RPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_DOLLAR] = {
.visible = true,
.named = true,
},
[anon_sym_AT] = {
.visible = true,
.named = true,
},
[anon_sym_DASH_GT] = {
.visible = true,
.named = false,
},
[anon_sym_EQ_GT] = {
.visible = true,
.named = false,
},
[sym_quoted_string] = {
.visible = true,
.named = true,
},
[sym_qualified_identifier] = {
.visible = true,
.named = true,
},
[sym_indexed_identifier] = {
.visible = true,
.named = true,
},
[sym_promise_guard] = {
.visible = true,
.named = true,
},
[sym_class_guard] = {
.visible = true,
.named = true,
},
[sym_comment] = {
.visible = true,
.named = true,
},
[sym_macro] = {
.visible = true,
.named = true,
},
[sym_source_file] = {
.visible = true,
.named = true,
},
[sym__block] = {
.visible = false,
.named = true,
},
[sym_body_block] = {
.visible = true,
.named = true,
},
[sym_body_block_body] = {
.visible = true,
.named = true,
},
[sym__body_attribute] = {
.visible = false,
.named = true,
},
[sym_promise_block] = {
.visible = true,
.named = true,
},
[sym_promise_block_body] = {
.visible = true,
.named = true,
},
[sym_class_guarded_body_attributes] = {
.visible = true,
.named = true,
},
[sym_bundle_block] = {
.visible = true,
.named = true,
},
[sym_parameter_list] = {
.visible = true,
.named = true,
},
[sym_bundle_block_body] = {
.visible = true,
.named = true,
},
[sym_bundle_section] = {
.visible = true,
.named = true,
},
[sym__bare_value] = {
.visible = false,
.named = true,
},
[sym__right_value] = {
.visible = false,
.named = true,
},
[sym__variable_reference] = {
.visible = true,
.named = true,
},
[sym_dollar_expression] = {
.visible = true,
.named = true,
},
[sym_at_expression] = {
.visible = true,
.named = true,
},
[sym_calling_identifier] = {
.visible = true,
.named = true,
},
[sym_call] = {
.visible = true,
.named = true,
},
[sym_list] = {
.visible = true,
.named = true,
},
[sym__value_list] = {
.visible = false,
.named = true,
},
[sym_class_guarded_promises] = {
.visible = true,
.named = true,
},
[sym__promises] = {
.visible = false,
.named = true,
},
[sym_promise] = {
.visible = true,
.named = true,
},
[sym_half_promise] = {
.visible = true,
.named = true,
},
[sym_attribute] = {
.visible = true,
.named = true,
},
[aux_sym_source_file_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_body_block_body_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_body_block_body_repeat2] = {
.visible = false,
.named = false,
},
[aux_sym_promise_block_body_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_parameter_list_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_bundle_block_body_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_bundle_section_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__value_list_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__promises_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_promise_repeat1] = {
.visible = false,
.named = false,
},
[alias_sym_at_expression_end] = {
.visible = true,
.named = true,
},
[alias_sym_at_expression_reference] = {
.visible = true,
.named = true,
},
[alias_sym_at_expression_start] = {
.visible = true,
.named = true,
},
[alias_sym_attribute_name] = {
.visible = true,
.named = true,
},
[alias_sym_body_block_name] = {
.visible = true,
.named = true,
},
[alias_sym_body_block_type] = {
.visible = true,
.named = true,
},
[alias_sym_bundle_block_name] = {
.visible = true,
.named = true,
},
[alias_sym_bundle_block_type] = {
.visible = true,
.named = true,
},
[alias_sym_class_guarded_promise_block_attributes] = {
.visible = true,
.named = true,
},
[alias_sym_dollar_expression_end] = {
.visible = true,
.named = true,
},
[alias_sym_dollar_expression_start] = {
.visible = true,
.named = true,
},
[alias_sym_promise_block_name] = {
.visible = true,
.named = true,
},
[alias_sym_promise_block_type] = {
.visible = true,
.named = true,
},
[alias_sym_promiser] = {
.visible = true,
.named = true,
},
[alias_sym_stakeholder] = {
.visible = true,
.named = true,
},
};
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
[0] = {0},
[1] = {
[1] = alias_sym_body_block_type,
[2] = alias_sym_body_block_name,
},
[2] = {
[1] = alias_sym_promise_block_type,
[2] = alias_sym_promise_block_name,
},
[3] = {
[1] = alias_sym_bundle_block_type,
[2] = alias_sym_bundle_block_name,
},
[4] = {
[0] = alias_sym_class_guarded_promise_block_attributes,
},
[5] = {
[0] = alias_sym_attribute_name,
},
[6] = {
[0] = alias_sym_promiser,
},
[7] = {
[0] = alias_sym_promiser,
[2] = alias_sym_stakeholder,
},
[8] = {
[1] = alias_sym_dollar_expression_start,
[3] = alias_sym_dollar_expression_end,
},
[9] = {
[1] = alias_sym_at_expression_start,
[2] = alias_sym_at_expression_reference,
[3] = alias_sym_at_expression_end,
},
};
static const uint16_t ts_non_terminal_alias_map[] = {
sym_class_guarded_body_attributes, 2,
sym_class_guarded_body_attributes,
alias_sym_class_guarded_promise_block_attributes,
sym__right_value, 2,
sym__right_value,
alias_sym_stakeholder,
sym__variable_reference, 2,
sym__variable_reference,
alias_sym_at_expression_reference,
0,
};
static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
[0] = 0,
[1] = 1,
[2] = 2,
[3] = 3,
[4] = 4,
[5] = 5,
[6] = 4,
[7] = 7,
[8] = 2,
[9] = 3,
[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] = 13,
[25] = 14,
[26] = 26,
[27] = 27,
[28] = 28,
[29] = 29,
[30] = 21,
[31] = 22,
[32] = 17,
[33] = 18,
[34] = 23,
[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] = 43,
[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] = 61,
[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] = 91,
[114] = 112,
[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] = 124,
[132] = 125,
[133] = 133,
[134] = 134,
[135] = 135,
[136] = 136,
[137] = 137,
[138] = 138,
[139] = 139,
[140] = 140,
[141] = 141,
[142] = 142,
[143] = 133,
[144] = 144,
[145] = 145,
[146] = 146,
[147] = 147,
[148] = 145,
[149] = 149,
[150] = 142,
[151] = 151,
[152] = 146,
[153] = 153,
[154] = 154,
[155] = 137,
[156] = 153,
[157] = 157,
[158] = 154,
[159] = 159,
[160] = 160,
[161] = 161,
};
static const TSCharacterRange sym_class_guard_character_set_1[] = {
{'\t', '\t'}, {' ', '!'}, {'&', '&'}, {'(', ')'}, {'.', '.'}, {'0', ':'}, {'A', 'Z'}, {'_', '_'},
{'a', 'z'}, {'|', '|'},
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(39);
ADVANCE_MAP(
'"', 3,
'#', 65,
'$', 46,
'\'', 7,
'(', 43,
')', 45,
',', 44,
'-', 15,
';', 42,
'=', 16,
'@', 47,
'`', 18,
'{', 40,
'}', 41,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(0);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
('_' <= lookahead && lookahead <= 'z')) ADVANCE(52);
END_STATE();
case 1:
if (lookahead == ' ') ADVANCE(66);
END_STATE();
case 2:
ADVANCE_MAP(
'"', 3,
'#', 65,
'$', 46,
'\'', 7,
'(', 43,
')', 45,
',', 44,
';', 42,
'@', 47,
'`', 18,
'{', 40,
'}', 41,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(2);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
('_' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 3:
if (lookahead == '"') ADVANCE(50);
if (lookahead == '\\') ADVANCE(35);
if (lookahead != 0) ADVANCE(3);
END_STATE();
case 4:
if (lookahead == '"') ADVANCE(51);
if (lookahead == '\\') ADVANCE(37);
if (lookahead != 0) ADVANCE(4);
END_STATE();
case 5:
if (lookahead == '"') ADVANCE(4);
if (lookahead == '#') ADVANCE(65);
if (lookahead == '\'') ADVANCE(8);
if (lookahead == '@') ADVANCE(21);
if (lookahead == '`') ADVANCE(19);
if (lookahead == '}') ADVANCE(41);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(5);
if (lookahead == '!' ||
('&' <= lookahead && lookahead <= ')') ||
lookahead == '.' ||
lookahead == ':' ||
lookahead == '|') ADVANCE(14);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(54);
if (('A' <= lookahead && lookahead <= 'Z') ||
('_' <= lookahead && lookahead <= 'z')) ADVANCE(53);
END_STATE();
case 6:
if (lookahead == '#') ADVANCE(65);
if (lookahead == '@') ADVANCE(21);
if (lookahead == '}') ADVANCE(41);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(6);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(13);
END_STATE();
case 7:
if (lookahead == '\'') ADVANCE(50);
if (lookahead == '\\') ADVANCE(36);
if (lookahead != 0) ADVANCE(7);
END_STATE();
case 8:
if (lookahead == '\'') ADVANCE(51);
if (lookahead == '\\') ADVANCE(38);
if (lookahead != 0) ADVANCE(8);
END_STATE();
case 9:
if (lookahead == '.') ADVANCE(33);
if (lookahead == ':') ADVANCE(34);
if (lookahead == ']') ADVANCE(60);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(9);
END_STATE();
case 10:
if (lookahead == '.') ADVANCE(33);
if (lookahead == ']') ADVANCE(60);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(10);
END_STATE();
case 11:
if (lookahead == ':') ADVANCE(64);
if (set_contains(sym_class_guard_character_set_1, 10, lookahead)) ADVANCE(14);
END_STATE();
case 12:
if (lookahead == ':') ADVANCE(63);
END_STATE();
case 13:
if (lookahead == ':') ADVANCE(61);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(13);
END_STATE();
case 14:
if (lookahead == ':') ADVANCE(11);
if (set_contains(sym_class_guard_character_set_1, 10, lookahead)) ADVANCE(14);
END_STATE();
case 15:
if (lookahead == '>') ADVANCE(48);
END_STATE();
case 16:
if (lookahead == '>') ADVANCE(49);
END_STATE();
case 17:
if (lookahead == ']') ADVANCE(60);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(17);
END_STATE();
case 18:
if (lookahead == '`') ADVANCE(50);
if (lookahead != 0) ADVANCE(18);
END_STATE();
case 19:
if (lookahead == '`') ADVANCE(51);
if (lookahead != 0) ADVANCE(19);
END_STATE();
case 20:
if (lookahead == 'd') ADVANCE(25);
END_STATE();
case 21:
if (lookahead == 'e') ADVANCE(26);
if (lookahead == 'i') ADVANCE(23);
END_STATE();
case 22:
if (lookahead == 'e') ADVANCE(66);
END_STATE();
case 23:
if (lookahead == 'f') ADVANCE(1);
END_STATE();
case 24:
if (lookahead == 'f') ADVANCE(66);
END_STATE();
case 25:
if (lookahead == 'i') ADVANCE(24);
END_STATE();
case 26:
if (lookahead == 'l') ADVANCE(27);
if (lookahead == 'n') ADVANCE(20);
END_STATE();
case 27:
if (lookahead == 's') ADVANCE(22);
END_STATE();
case 28:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(59);
END_STATE();
case 29:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(55);
END_STATE();
case 30:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(58);
END_STATE();
case 31:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(57);
END_STATE();
case 32:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(9);
END_STATE();
case 33:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(17);
END_STATE();
case 34:
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(10);
END_STATE();
case 35:
if (lookahead != 0) ADVANCE(3);
END_STATE();
case 36:
if (lookahead != 0) ADVANCE(7);
END_STATE();
case 37:
if (lookahead != 0) ADVANCE(4);
END_STATE();
case 38:
if (lookahead != 0) ADVANCE(8);
END_STATE();
case 39:
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
case 40:
ACCEPT_TOKEN(anon_sym_LBRACE);
END_STATE();
case 41:
ACCEPT_TOKEN(anon_sym_RBRACE);
END_STATE();
case 42:
ACCEPT_TOKEN(anon_sym_SEMI);
END_STATE();
case 43:
ACCEPT_TOKEN(anon_sym_LPAREN);
END_STATE();
case 44:
ACCEPT_TOKEN(anon_sym_COMMA);
END_STATE();
case 45:
ACCEPT_TOKEN(anon_sym_RPAREN);
END_STATE();
case 46:
ACCEPT_TOKEN(anon_sym_DOLLAR);
END_STATE();
case 47:
ACCEPT_TOKEN(anon_sym_AT);
if (lookahead == 'e') ADVANCE(26);
if (lookahead == 'i') ADVANCE(23);
END_STATE();
case 48:
ACCEPT_TOKEN(anon_sym_DASH_GT);
END_STATE();
case 49:
ACCEPT_TOKEN(anon_sym_EQ_GT);
END_STATE();
case 50:
ACCEPT_TOKEN(sym_quoted_string);
END_STATE();
case 51:
ACCEPT_TOKEN(sym_quoted_string);
if (lookahead == ':') ADVANCE(12);
END_STATE();
case 52:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == '.') ADVANCE(28);
if (lookahead == ':') ADVANCE(29);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(52);
END_STATE();
case 53:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == ':') ADVANCE(62);
if (lookahead == '\t' ||
lookahead == ' ' ||
lookahead == '!' ||
lookahead == '&' ||
lookahead == '(' ||
lookahead == ')' ||
lookahead == '.' ||
lookahead == '|') ADVANCE(14);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(54);
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(53);
END_STATE();
case 54:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == ':') ADVANCE(11);
if (lookahead == '\t' ||
lookahead == ' ' ||
lookahead == '!' ||
lookahead == '&' ||
lookahead == '(' ||
lookahead == ')' ||
lookahead == '.' ||
lookahead == '|') ADVANCE(14);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(54);
END_STATE();
case 55:
ACCEPT_TOKEN(sym_qualified_identifier);
if (lookahead == '.') ADVANCE(28);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(55);
END_STATE();
case 56:
ACCEPT_TOKEN(sym_qualified_identifier);
if (lookahead == '.') ADVANCE(30);
if (lookahead == ':') ADVANCE(31);
if (lookahead == '[') ADVANCE(32);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(56);
END_STATE();
case 57:
ACCEPT_TOKEN(sym_qualified_identifier);
if (lookahead == '.') ADVANCE(30);
if (lookahead == '[') ADVANCE(32);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(57);
END_STATE();
case 58:
ACCEPT_TOKEN(sym_qualified_identifier);
if (lookahead == '[') ADVANCE(32);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(58);
END_STATE();
case 59:
ACCEPT_TOKEN(sym_qualified_identifier);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(59);
END_STATE();
case 60:
ACCEPT_TOKEN(sym_indexed_identifier);
if (lookahead == '[') ADVANCE(32);
END_STATE();
case 61:
ACCEPT_TOKEN(sym_promise_guard);
END_STATE();
case 62:
ACCEPT_TOKEN(sym_promise_guard);
if (lookahead == ':') ADVANCE(64);
if (set_contains(sym_class_guard_character_set_1, 10, lookahead)) ADVANCE(14);
END_STATE();
case 63:
ACCEPT_TOKEN(sym_class_guard);
END_STATE();
case 64:
ACCEPT_TOKEN(sym_class_guard);
if (lookahead == ':') ADVANCE(64);
if (set_contains(sym_class_guard_character_set_1, 10, lookahead)) ADVANCE(14);
END_STATE();
case 65:
ACCEPT_TOKEN(sym_comment);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(65);
END_STATE();
case 66:
ACCEPT_TOKEN(sym_macro);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(66);
END_STATE();
default:
return false;
}
}
static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (lookahead == 'b') ADVANCE(1);
if (lookahead == 'p') ADVANCE(2);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(0);
END_STATE();
case 1:
if (lookahead == 'o') ADVANCE(3);
if (lookahead == 'u') ADVANCE(4);
END_STATE();
case 2:
if (lookahead == 'r') ADVANCE(5);
END_STATE();
case 3:
if (lookahead == 'd') ADVANCE(6);
END_STATE();
case 4:
if (lookahead == 'n') ADVANCE(7);
END_STATE();
case 5:
if (lookahead == 'o') ADVANCE(8);
END_STATE();
case 6:
if (lookahead == 'y') ADVANCE(9);
END_STATE();
case 7:
if (lookahead == 'd') ADVANCE(10);
END_STATE();
case 8:
if (lookahead == 'm') ADVANCE(11);
END_STATE();
case 9:
ACCEPT_TOKEN(sym_body_block_keyword);
END_STATE();
case 10:
if (lookahead == 'l') ADVANCE(12);
END_STATE();
case 11:
if (lookahead == 'i') ADVANCE(13);
END_STATE();
case 12:
if (lookahead == 'e') ADVANCE(14);
END_STATE();
case 13:
if (lookahead == 's') ADVANCE(15);
END_STATE();
case 14:
ACCEPT_TOKEN(sym_bundle_block_keyword);
END_STATE();
case 15:
if (lookahead == 'e') ADVANCE(16);
END_STATE();
case 16:
ACCEPT_TOKEN(sym_promise_block_keyword);
END_STATE();
default:
return false;
}
}
static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0},
[1] = {.lex_state = 0},
[2] = {.lex_state = 2},
[3] = {.lex_state = 2},
[4] = {.lex_state = 2},
[5] = {.lex_state = 2},
[6] = {.lex_state = 2},
[7] = {.lex_state = 2},
[8] = {.lex_state = 0},
[9] = {.lex_state = 2},
[10] = {.lex_state = 2},
[11] = {.lex_state = 2},
[12] = {.lex_state = 2},
[13] = {.lex_state = 2},
[14] = {.lex_state = 2},
[15] = {.lex_state = 5},
[16] = {.lex_state = 0},
[17] = {.lex_state = 2},
[18] = {.lex_state = 2},
[19] = {.lex_state = 5},
[20] = {.lex_state = 0},
[21] = {.lex_state = 2},
[22] = {.lex_state = 2},
[23] = {.lex_state = 2},
[24] = {.lex_state = 0},
[25] = {.lex_state = 0},
[26] = {.lex_state = 5},
[27] = {.lex_state = 5},
[28] = {.lex_state = 5},
[29] = {.lex_state = 5},
[30] = {.lex_state = 0},
[31] = {.lex_state = 0},
[32] = {.lex_state = 0},
[33] = {.lex_state = 0},
[34] = {.lex_state = 0},
[35] = {.lex_state = 5},
[36] = {.lex_state = 5},
[37] = {.lex_state = 5},
[38] = {.lex_state = 5},
[39] = {.lex_state = 5},
[40] = {.lex_state = 0},
[41] = {.lex_state = 5},
[42] = {.lex_state = 5},
[43] = {.lex_state = 2},
[44] = {.lex_state = 5},
[45] = {.lex_state = 5},
[46] = {.lex_state = 5},
[47] = {.lex_state = 5},
[48] = {.lex_state = 2},
[49] = {.lex_state = 0},
[50] = {.lex_state = 5},
[51] = {.lex_state = 0},
[52] = {.lex_state = 5},
[53] = {.lex_state = 5},
[54] = {.lex_state = 5},
[55] = {.lex_state = 5},
[56] = {.lex_state = 5},
[57] = {.lex_state = 5},
[58] = {.lex_state = 5},
[59] = {.lex_state = 5},
[60] = {.lex_state = 5},
[61] = {.lex_state = 2},
[62] = {.lex_state = 2},
[63] = {.lex_state = 5},
[64] = {.lex_state = 0},
[65] = {.lex_state = 5},
[66] = {.lex_state = 0},
[67] = {.lex_state = 0},
[68] = {.lex_state = 0},
[69] = {.lex_state = 6},
[70] = {.lex_state = 0},
[71] = {.lex_state = 0},
[72] = {.lex_state = 0},
[73] = {.lex_state = 0},
[74] = {.lex_state = 5},
[75] = {.lex_state = 0},
[76] = {.lex_state = 5},
[77] = {.lex_state = 0},
[78] = {.lex_state = 6},
[79] = {.lex_state = 0},
[80] = {.lex_state = 5},
[81] = {.lex_state = 0},
[82] = {.lex_state = 0},
[83] = {.lex_state = 5},
[84] = {.lex_state = 0},
[85] = {.lex_state = 6},
[86] = {.lex_state = 0},
[87] = {.lex_state = 0},
[88] = {.lex_state = 0},
[89] = {.lex_state = 0},
[90] = {.lex_state = 5},
[91] = {.lex_state = 2},
[92] = {.lex_state = 0},
[93] = {.lex_state = 0},
[94] = {.lex_state = 0},
[95] = {.lex_state = 0},
[96] = {.lex_state = 0},
[97] = {.lex_state = 0},
[98] = {.lex_state = 0},
[99] = {.lex_state = 0},
[100] = {.lex_state = 0},
[101] = {.lex_state = 0},
[102] = {.lex_state = 0},
[103] = {.lex_state = 0},
[104] = {.lex_state = 0},
[105] = {.lex_state = 0},
[106] = {.lex_state = 0},
[107] = {.lex_state = 0},
[108] = {.lex_state = 0},
[109] = {.lex_state = 5},
[110] = {.lex_state = 0},
[111] = {.lex_state = 0},
[112] = {.lex_state = 2},
[113] = {.lex_state = 2},
[114] = {.lex_state = 2},
[115] = {.lex_state = 0},
[116] = {.lex_state = 0},
[117] = {.lex_state = 0},
[118] = {.lex_state = 0},
[119] = {.lex_state = 0},
[120] = {.lex_state = 0},
[121] = {.lex_state = 0},
[122] = {.lex_state = 5},
[123] = {.lex_state = 0},
[124] = {.lex_state = 0},
[125] = {.lex_state = 0},
[126] = {.lex_state = 0},
[127] = {.lex_state = 0},
[128] = {.lex_state = 0},
[129] = {.lex_state = 0},
[130] = {.lex_state = 0},
[131] = {.lex_state = 0},
[132] = {.lex_state = 0},
[133] = {.lex_state = 0},
[134] = {.lex_state = 0},
[135] = {.lex_state = 0},
[136] = {.lex_state = 0},
[137] = {.lex_state = 0},
[138] = {.lex_state = 0},
[139] = {.lex_state = 0},
[140] = {.lex_state = 0},
[141] = {.lex_state = 0},
[142] = {.lex_state = 0},
[143] = {.lex_state = 0},
[144] = {.lex_state = 0},
[145] = {.lex_state = 0},
[146] = {.lex_state = 0},
[147] = {.lex_state = 0},
[148] = {.lex_state = 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 = 0},
[161] = {.lex_state = 0},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[STATE(0)] = {
[ts_builtin_sym_end] = ACTIONS(1),
[sym_identifier] = ACTIONS(1),
[sym_body_block_keyword] = ACTIONS(1),
[anon_sym_LBRACE] = ACTIONS(1),
[anon_sym_RBRACE] = ACTIONS(1),
[anon_sym_SEMI] = ACTIONS(1),
[sym_promise_block_keyword] = ACTIONS(1),
[sym_bundle_block_keyword] = ACTIONS(1),
[anon_sym_LPAREN] = ACTIONS(1),
[anon_sym_COMMA] = ACTIONS(1),
[anon_sym_RPAREN] = ACTIONS(1),
[anon_sym_DOLLAR] = ACTIONS(1),
[anon_sym_AT] = ACTIONS(1),
[anon_sym_DASH_GT] = ACTIONS(1),
[anon_sym_EQ_GT] = ACTIONS(1),
[sym_quoted_string] = ACTIONS(1),
[sym_comment] = ACTIONS(3),
[sym_macro] = ACTIONS(3),
},
[STATE(1)] = {
[sym_source_file] = STATE(151),
[sym__block] = STATE(16),
[sym_body_block] = STATE(16),
[sym_promise_block] = STATE(16),
[sym_bundle_block] = STATE(16),
[aux_sym_source_file_repeat1] = STATE(16),
[ts_builtin_sym_end] = ACTIONS(5),
[sym_body_block_keyword] = ACTIONS(7),
[sym_promise_block_keyword] = ACTIONS(9),
[sym_bundle_block_keyword] = ACTIONS(11),
[sym_comment] = ACTIONS(3),
[sym_macro] = ACTIONS(3),
},
};
static const uint16_t ts_small_parse_table[] = {
[0] = 10,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(21), 1,
sym_quoted_string,
ACTIONS(23), 1,
sym_qualified_identifier,
STATE(13), 1,
sym_dollar_expression,
STATE(137), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(15), 4,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
STATE(49), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[38] = 12,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(25), 1,
anon_sym_RBRACE,
ACTIONS(27), 1,
sym_quoted_string,
STATE(13), 1,
sym_dollar_expression,
STATE(88), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
STATE(145), 1,
sym__value_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[79] = 12,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(27), 1,
sym_quoted_string,
ACTIONS(29), 1,
anon_sym_RPAREN,
STATE(13), 1,
sym_dollar_expression,
STATE(88), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
STATE(154), 1,
sym__value_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[120] = 11,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(27), 1,
sym_quoted_string,
STATE(13), 1,
sym_dollar_expression,
STATE(103), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(31), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[159] = 12,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(27), 1,
sym_quoted_string,
ACTIONS(33), 1,
anon_sym_RPAREN,
STATE(13), 1,
sym_dollar_expression,
STATE(88), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
STATE(158), 1,
sym__value_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[200] = 11,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(27), 1,
sym_quoted_string,
STATE(13), 1,
sym_dollar_expression,
STATE(103), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(35), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[239] = 11,
ACTIONS(21), 1,
sym_quoted_string,
ACTIONS(37), 1,
sym_identifier,
ACTIONS(39), 1,
anon_sym_LBRACE,
ACTIONS(41), 1,
anon_sym_DOLLAR,
ACTIONS(43), 1,
anon_sym_AT,
ACTIONS(45), 1,
sym_qualified_identifier,
STATE(24), 1,
sym_dollar_expression,
STATE(155), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(15), 2,
anon_sym_SEMI,
anon_sym_COMMA,
STATE(49), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[278] = 12,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(27), 1,
sym_quoted_string,
ACTIONS(47), 1,
anon_sym_RBRACE,
STATE(13), 1,
sym_dollar_expression,
STATE(88), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
STATE(148), 1,
sym__value_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[319] = 10,
ACTIONS(39), 1,
anon_sym_LBRACE,
ACTIONS(41), 1,
anon_sym_DOLLAR,
ACTIONS(43), 1,
anon_sym_AT,
ACTIONS(49), 1,
sym_quoted_string,
ACTIONS(51), 1,
sym_qualified_identifier,
STATE(24), 1,
sym_dollar_expression,
STATE(51), 1,
sym__right_value,
STATE(155), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(8), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[354] = 10,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(27), 1,
sym_quoted_string,
STATE(13), 1,
sym_dollar_expression,
STATE(119), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[389] = 10,
ACTIONS(13), 1,
anon_sym_LBRACE,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(19), 1,
anon_sym_AT,
ACTIONS(23), 1,
sym_qualified_identifier,
ACTIONS(27), 1,
sym_quoted_string,
STATE(13), 1,
sym_dollar_expression,
STATE(103), 1,
sym__right_value,
STATE(137), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[424] = 4,
ACTIONS(55), 1,
anon_sym_LPAREN,
ACTIONS(57), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(53), 8,
anon_sym_LBRACE,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DOLLAR,
sym_quoted_string,
sym_qualified_identifier,
[445] = 3,
ACTIONS(61), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(59), 9,
anon_sym_LBRACE,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_LPAREN,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DOLLAR,
sym_quoted_string,
sym_qualified_identifier,
[464] = 7,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(67), 1,
sym_quoted_string,
ACTIONS(69), 1,
sym_promise_guard,
STATE(110), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(65), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(19), 3,
sym_promise,
sym_half_promise,
aux_sym__promises_repeat1,
[490] = 6,
ACTIONS(7), 1,
sym_body_block_keyword,
ACTIONS(9), 1,
sym_promise_block_keyword,
ACTIONS(11), 1,
sym_bundle_block_keyword,
ACTIONS(71), 1,
ts_builtin_sym_end,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(20), 5,
sym__block,
sym_body_block,
sym_promise_block,
sym_bundle_block,
aux_sym_source_file_repeat1,
[514] = 3,
ACTIONS(75), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(73), 8,
anon_sym_LBRACE,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DOLLAR,
sym_quoted_string,
sym_qualified_identifier,
[532] = 3,
ACTIONS(79), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(77), 8,
anon_sym_LBRACE,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DOLLAR,
sym_quoted_string,
sym_qualified_identifier,
[550] = 7,
ACTIONS(81), 1,
sym_identifier,
ACTIONS(86), 1,
sym_quoted_string,
ACTIONS(89), 1,
sym_promise_guard,
STATE(110), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(84), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(19), 3,
sym_promise,
sym_half_promise,
aux_sym__promises_repeat1,
[576] = 6,
ACTIONS(91), 1,
ts_builtin_sym_end,
ACTIONS(93), 1,
sym_body_block_keyword,
ACTIONS(96), 1,
sym_promise_block_keyword,
ACTIONS(99), 1,
sym_bundle_block_keyword,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(20), 5,
sym__block,
sym_body_block,
sym_promise_block,
sym_bundle_block,
aux_sym_source_file_repeat1,
[600] = 3,
ACTIONS(104), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(102), 8,
anon_sym_LBRACE,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DOLLAR,
sym_quoted_string,
sym_qualified_identifier,
[618] = 3,
ACTIONS(108), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(106), 8,
anon_sym_LBRACE,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DOLLAR,
sym_quoted_string,
sym_qualified_identifier,
[636] = 3,
ACTIONS(112), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(110), 8,
anon_sym_LBRACE,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
anon_sym_DOLLAR,
sym_quoted_string,
sym_qualified_identifier,
[654] = 4,
ACTIONS(55), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(57), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(53), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[674] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(61), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(59), 6,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_LPAREN,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[692] = 7,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(67), 1,
sym_quoted_string,
ACTIONS(116), 1,
sym_promise_guard,
STATE(110), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(114), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(15), 3,
sym_promise,
sym_half_promise,
aux_sym__promises_repeat1,
[718] = 8,
ACTIONS(67), 1,
sym_quoted_string,
ACTIONS(118), 1,
anon_sym_RBRACE,
ACTIONS(120), 1,
sym_promise_guard,
ACTIONS(122), 1,
sym_class_guard,
STATE(26), 1,
sym_promise,
STATE(44), 1,
sym__promises,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(45), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[745] = 8,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(124), 1,
anon_sym_RBRACE,
ACTIONS(126), 1,
sym_class_guard,
STATE(76), 1,
aux_sym_promise_block_body_repeat1,
STATE(122), 1,
sym_class_guarded_body_attributes,
STATE(138), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(39), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[772] = 7,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(126), 1,
sym_class_guard,
ACTIONS(128), 1,
anon_sym_RBRACE,
STATE(138), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(39), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
STATE(63), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[797] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(104), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(102), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[814] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(108), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(106), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[831] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(75), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(73), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[848] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(79), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(77), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[865] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(112), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(110), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[882] = 8,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(126), 1,
sym_class_guard,
ACTIONS(130), 1,
anon_sym_RBRACE,
STATE(83), 1,
aux_sym_promise_block_body_repeat1,
STATE(122), 1,
sym_class_guarded_body_attributes,
STATE(138), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(28), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[909] = 7,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(126), 1,
sym_class_guard,
ACTIONS(132), 1,
anon_sym_RBRACE,
STATE(138), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(29), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
STATE(74), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[934] = 5,
ACTIONS(63), 1,
sym_identifier,
STATE(138), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(134), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(39), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[953] = 5,
ACTIONS(63), 1,
sym_identifier,
STATE(138), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(136), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(37), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[972] = 5,
ACTIONS(138), 1,
sym_identifier,
STATE(138), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(141), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(39), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[991] = 7,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(145), 1,
anon_sym_SEMI,
ACTIONS(147), 1,
anon_sym_COMMA,
ACTIONS(149), 1,
anon_sym_DASH_GT,
STATE(105), 1,
sym_attribute,
STATE(108), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1014] = 6,
ACTIONS(67), 1,
sym_quoted_string,
ACTIONS(153), 1,
sym_promise_guard,
STATE(26), 1,
sym_promise,
STATE(109), 1,
sym__promises,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(151), 2,
anon_sym_RBRACE,
sym_class_guard,
[1035] = 5,
ACTIONS(122), 1,
sym_class_guard,
ACTIONS(155), 1,
anon_sym_RBRACE,
ACTIONS(157), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(47), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1053] = 5,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(133), 2,
sym__variable_reference,
sym_dollar_expression,
[1071] = 5,
ACTIONS(122), 1,
sym_class_guard,
ACTIONS(163), 1,
anon_sym_RBRACE,
ACTIONS(165), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(42), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1089] = 5,
ACTIONS(122), 1,
sym_class_guard,
ACTIONS(163), 1,
anon_sym_RBRACE,
ACTIONS(165), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(47), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1107] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(169), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(167), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1121] = 5,
ACTIONS(171), 1,
anon_sym_RBRACE,
ACTIONS(173), 1,
sym_promise_guard,
ACTIONS(175), 1,
sym_class_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(47), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1139] = 5,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(143), 2,
sym__variable_reference,
sym_dollar_expression,
[1157] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(178), 5,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
sym_identifier,
[1169] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(182), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(180), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1183] = 6,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(184), 1,
anon_sym_SEMI,
ACTIONS(186), 1,
anon_sym_COMMA,
STATE(98), 1,
sym_attribute,
STATE(99), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1203] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(190), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(188), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1217] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(194), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(192), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1231] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(198), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(196), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1245] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(202), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(200), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1259] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(206), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(204), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1273] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(210), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(208), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1287] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(214), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(212), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1301] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(218), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(216), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1315] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(222), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(220), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1329] = 5,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(150), 2,
sym__variable_reference,
sym_dollar_expression,
[1347] = 5,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(142), 2,
sym__variable_reference,
sym_dollar_expression,
[1365] = 4,
ACTIONS(126), 1,
sym_class_guard,
ACTIONS(224), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(65), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[1380] = 5,
ACTIONS(226), 1,
anon_sym_LBRACE,
ACTIONS(228), 1,
anon_sym_LPAREN,
STATE(81), 1,
sym_bundle_block_body,
STATE(121), 1,
sym_parameter_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1397] = 4,
ACTIONS(230), 1,
anon_sym_RBRACE,
ACTIONS(232), 1,
sym_class_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(65), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[1412] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(235), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1423] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(237), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1434] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(239), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1445] = 4,
ACTIONS(241), 1,
anon_sym_RBRACE,
ACTIONS(243), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(69), 2,
sym_bundle_section,
aux_sym_bundle_block_body_repeat1,
[1460] = 4,
ACTIONS(246), 1,
anon_sym_COMMA,
STATE(75), 1,
aux_sym__value_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(35), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
[1475] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(248), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1486] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(250), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1497] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(252), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1508] = 4,
ACTIONS(126), 1,
sym_class_guard,
ACTIONS(128), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(65), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[1523] = 4,
ACTIONS(256), 1,
anon_sym_COMMA,
STATE(75), 1,
aux_sym__value_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(254), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
[1538] = 5,
ACTIONS(126), 1,
sym_class_guard,
ACTIONS(259), 1,
anon_sym_RBRACE,
STATE(80), 1,
aux_sym_promise_block_body_repeat1,
STATE(122), 1,
sym_class_guarded_body_attributes,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1555] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(261), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1566] = 4,
ACTIONS(263), 1,
anon_sym_RBRACE,
ACTIONS(265), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(85), 2,
sym_bundle_section,
aux_sym_bundle_block_body_repeat1,
[1581] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(267), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1592] = 5,
ACTIONS(269), 1,
anon_sym_RBRACE,
ACTIONS(271), 1,
sym_class_guard,
STATE(80), 1,
aux_sym_promise_block_body_repeat1,
STATE(122), 1,
sym_class_guarded_body_attributes,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1609] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(274), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1620] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(276), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1631] = 5,
ACTIONS(124), 1,
anon_sym_RBRACE,
ACTIONS(126), 1,
sym_class_guard,
STATE(80), 1,
aux_sym_promise_block_body_repeat1,
STATE(122), 1,
sym_class_guarded_body_attributes,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1648] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(278), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1659] = 4,
ACTIONS(265), 1,
sym_promise_guard,
ACTIONS(280), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(69), 2,
sym_bundle_section,
aux_sym_bundle_block_body_repeat1,
[1674] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(282), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1685] = 5,
ACTIONS(228), 1,
anon_sym_LPAREN,
ACTIONS(284), 1,
anon_sym_LBRACE,
STATE(71), 1,
sym_body_block_body,
STATE(126), 1,
sym_parameter_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1702] = 4,
ACTIONS(288), 1,
anon_sym_COMMA,
STATE(70), 1,
aux_sym__value_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(286), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
[1717] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(290), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1728] = 3,
ACTIONS(292), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(294), 2,
anon_sym_RBRACE,
sym_class_guard,
[1740] = 4,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
STATE(153), 1,
sym__variable_reference,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1754] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(296), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1768] = 4,
ACTIONS(296), 1,
anon_sym_SEMI,
ACTIONS(298), 1,
anon_sym_COMMA,
STATE(94), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1782] = 4,
ACTIONS(300), 1,
anon_sym_SEMI,
ACTIONS(302), 1,
anon_sym_COMMA,
STATE(94), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1796] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(305), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1810] = 4,
ACTIONS(305), 1,
anon_sym_SEMI,
ACTIONS(307), 1,
anon_sym_COMMA,
STATE(94), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1824] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(309), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1838] = 4,
ACTIONS(309), 1,
anon_sym_SEMI,
ACTIONS(311), 1,
anon_sym_COMMA,
STATE(107), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1852] = 4,
ACTIONS(309), 1,
anon_sym_SEMI,
ACTIONS(311), 1,
anon_sym_COMMA,
STATE(94), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1866] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(313), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1880] = 4,
ACTIONS(315), 1,
sym_identifier,
ACTIONS(317), 1,
anon_sym_RPAREN,
STATE(120), 1,
aux_sym_parameter_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1894] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(319), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1908] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(254), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RPAREN,
[1918] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(321), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1932] = 4,
ACTIONS(321), 1,
anon_sym_SEMI,
ACTIONS(323), 1,
anon_sym_COMMA,
STATE(93), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1946] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(325), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1960] = 4,
ACTIONS(325), 1,
anon_sym_SEMI,
ACTIONS(327), 1,
anon_sym_COMMA,
STATE(94), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1974] = 4,
ACTIONS(321), 1,
anon_sym_SEMI,
ACTIONS(323), 1,
anon_sym_COMMA,
STATE(94), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1988] = 3,
ACTIONS(331), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(329), 2,
anon_sym_RBRACE,
sym_class_guard,
[2000] = 4,
ACTIONS(333), 1,
anon_sym_SEMI,
ACTIONS(335), 1,
anon_sym_COMMA,
STATE(96), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2014] = 4,
ACTIONS(143), 1,
sym_identifier,
ACTIONS(337), 1,
anon_sym_SEMI,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2028] = 4,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
STATE(146), 1,
sym__variable_reference,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2042] = 4,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
STATE(156), 1,
sym__variable_reference,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2056] = 4,
ACTIONS(159), 1,
sym_qualified_identifier,
ACTIONS(161), 1,
sym_indexed_identifier,
STATE(152), 1,
sym__variable_reference,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2070] = 3,
ACTIONS(339), 1,
anon_sym_COMMA,
ACTIONS(341), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2081] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(300), 2,
anon_sym_SEMI,
anon_sym_COMMA,
[2090] = 3,
ACTIONS(343), 1,
anon_sym_LBRACE,
STATE(77), 1,
sym_promise_block_body,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2101] = 3,
ACTIONS(345), 1,
sym_identifier,
ACTIONS(347), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2112] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(349), 2,
anon_sym_SEMI,
anon_sym_COMMA,
[2121] = 3,
ACTIONS(351), 1,
sym_identifier,
STATE(128), 1,
aux_sym_parameter_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2132] = 3,
ACTIONS(226), 1,
anon_sym_LBRACE,
STATE(86), 1,
sym_bundle_block_body,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2143] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(353), 2,
anon_sym_RBRACE,
sym_class_guard,
[2152] = 3,
ACTIONS(347), 1,
anon_sym_RPAREN,
ACTIONS(355), 1,
anon_sym_COMMA,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2163] = 3,
ACTIONS(357), 1,
anon_sym_LBRACE,
ACTIONS(359), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2174] = 3,
ACTIONS(361), 1,
anon_sym_LBRACE,
ACTIONS(363), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2185] = 3,
ACTIONS(284), 1,
anon_sym_LBRACE,
STATE(79), 1,
sym_body_block_body,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2196] = 3,
ACTIONS(345), 1,
sym_identifier,
ACTIONS(365), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2207] = 3,
ACTIONS(367), 1,
sym_identifier,
STATE(128), 1,
aux_sym_parameter_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2218] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(370), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
[2227] = 3,
ACTIONS(143), 1,
sym_identifier,
STATE(116), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2238] = 3,
ACTIONS(372), 1,
anon_sym_LBRACE,
ACTIONS(374), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2249] = 3,
ACTIONS(376), 1,
anon_sym_LBRACE,
ACTIONS(378), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2260] = 2,
ACTIONS(380), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2268] = 2,
ACTIONS(345), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2276] = 2,
ACTIONS(382), 1,
anon_sym_EQ_GT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2284] = 2,
ACTIONS(384), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2292] = 2,
ACTIONS(386), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2300] = 2,
ACTIONS(388), 1,
anon_sym_SEMI,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2308] = 2,
ACTIONS(390), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2316] = 2,
ACTIONS(392), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2324] = 2,
ACTIONS(394), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2332] = 2,
ACTIONS(396), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2340] = 2,
ACTIONS(396), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2348] = 2,
ACTIONS(398), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2356] = 2,
ACTIONS(400), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2364] = 2,
ACTIONS(402), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2372] = 2,
ACTIONS(404), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2380] = 2,
ACTIONS(406), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2388] = 2,
ACTIONS(408), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2396] = 2,
ACTIONS(380), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2404] = 2,
ACTIONS(410), 1,
ts_builtin_sym_end,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2412] = 2,
ACTIONS(412), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2420] = 2,
ACTIONS(412), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2428] = 2,
ACTIONS(414), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2436] = 2,
ACTIONS(416), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2444] = 2,
ACTIONS(402), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2452] = 2,
ACTIONS(418), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2460] = 2,
ACTIONS(420), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2468] = 2,
ACTIONS(422), 1,
anon_sym_COMMA,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2476] = 2,
ACTIONS(424), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2484] = 2,
ACTIONS(426), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
[SMALL_STATE(3)] = 38,
[SMALL_STATE(4)] = 79,
[SMALL_STATE(5)] = 120,
[SMALL_STATE(6)] = 159,
[SMALL_STATE(7)] = 200,
[SMALL_STATE(8)] = 239,
[SMALL_STATE(9)] = 278,
[SMALL_STATE(10)] = 319,
[SMALL_STATE(11)] = 354,
[SMALL_STATE(12)] = 389,
[SMALL_STATE(13)] = 424,
[SMALL_STATE(14)] = 445,
[SMALL_STATE(15)] = 464,
[SMALL_STATE(16)] = 490,
[SMALL_STATE(17)] = 514,
[SMALL_STATE(18)] = 532,
[SMALL_STATE(19)] = 550,
[SMALL_STATE(20)] = 576,
[SMALL_STATE(21)] = 600,
[SMALL_STATE(22)] = 618,
[SMALL_STATE(23)] = 636,
[SMALL_STATE(24)] = 654,
[SMALL_STATE(25)] = 674,
[SMALL_STATE(26)] = 692,
[SMALL_STATE(27)] = 718,
[SMALL_STATE(28)] = 745,
[SMALL_STATE(29)] = 772,
[SMALL_STATE(30)] = 797,
[SMALL_STATE(31)] = 814,
[SMALL_STATE(32)] = 831,
[SMALL_STATE(33)] = 848,
[SMALL_STATE(34)] = 865,
[SMALL_STATE(35)] = 882,
[SMALL_STATE(36)] = 909,
[SMALL_STATE(37)] = 934,
[SMALL_STATE(38)] = 953,
[SMALL_STATE(39)] = 972,
[SMALL_STATE(40)] = 991,
[SMALL_STATE(41)] = 1014,
[SMALL_STATE(42)] = 1035,
[SMALL_STATE(43)] = 1053,
[SMALL_STATE(44)] = 1071,
[SMALL_STATE(45)] = 1089,
[SMALL_STATE(46)] = 1107,
[SMALL_STATE(47)] = 1121,
[SMALL_STATE(48)] = 1139,
[SMALL_STATE(49)] = 1157,
[SMALL_STATE(50)] = 1169,
[SMALL_STATE(51)] = 1183,
[SMALL_STATE(52)] = 1203,
[SMALL_STATE(53)] = 1217,
[SMALL_STATE(54)] = 1231,
[SMALL_STATE(55)] = 1245,
[SMALL_STATE(56)] = 1259,
[SMALL_STATE(57)] = 1273,
[SMALL_STATE(58)] = 1287,
[SMALL_STATE(59)] = 1301,
[SMALL_STATE(60)] = 1315,
[SMALL_STATE(61)] = 1329,
[SMALL_STATE(62)] = 1347,
[SMALL_STATE(63)] = 1365,
[SMALL_STATE(64)] = 1380,
[SMALL_STATE(65)] = 1397,
[SMALL_STATE(66)] = 1412,
[SMALL_STATE(67)] = 1423,
[SMALL_STATE(68)] = 1434,
[SMALL_STATE(69)] = 1445,
[SMALL_STATE(70)] = 1460,
[SMALL_STATE(71)] = 1475,
[SMALL_STATE(72)] = 1486,
[SMALL_STATE(73)] = 1497,
[SMALL_STATE(74)] = 1508,
[SMALL_STATE(75)] = 1523,
[SMALL_STATE(76)] = 1538,
[SMALL_STATE(77)] = 1555,
[SMALL_STATE(78)] = 1566,
[SMALL_STATE(79)] = 1581,
[SMALL_STATE(80)] = 1592,
[SMALL_STATE(81)] = 1609,
[SMALL_STATE(82)] = 1620,
[SMALL_STATE(83)] = 1631,
[SMALL_STATE(84)] = 1648,
[SMALL_STATE(85)] = 1659,
[SMALL_STATE(86)] = 1674,
[SMALL_STATE(87)] = 1685,
[SMALL_STATE(88)] = 1702,
[SMALL_STATE(89)] = 1717,
[SMALL_STATE(90)] = 1728,
[SMALL_STATE(91)] = 1740,
[SMALL_STATE(92)] = 1754,
[SMALL_STATE(93)] = 1768,
[SMALL_STATE(94)] = 1782,
[SMALL_STATE(95)] = 1796,
[SMALL_STATE(96)] = 1810,
[SMALL_STATE(97)] = 1824,
[SMALL_STATE(98)] = 1838,
[SMALL_STATE(99)] = 1852,
[SMALL_STATE(100)] = 1866,
[SMALL_STATE(101)] = 1880,
[SMALL_STATE(102)] = 1894,
[SMALL_STATE(103)] = 1908,
[SMALL_STATE(104)] = 1918,
[SMALL_STATE(105)] = 1932,
[SMALL_STATE(106)] = 1946,
[SMALL_STATE(107)] = 1960,
[SMALL_STATE(108)] = 1974,
[SMALL_STATE(109)] = 1988,
[SMALL_STATE(110)] = 2000,
[SMALL_STATE(111)] = 2014,
[SMALL_STATE(112)] = 2028,
[SMALL_STATE(113)] = 2042,
[SMALL_STATE(114)] = 2056,
[SMALL_STATE(115)] = 2070,
[SMALL_STATE(116)] = 2081,
[SMALL_STATE(117)] = 2090,
[SMALL_STATE(118)] = 2101,
[SMALL_STATE(119)] = 2112,
[SMALL_STATE(120)] = 2121,
[SMALL_STATE(121)] = 2132,
[SMALL_STATE(122)] = 2143,
[SMALL_STATE(123)] = 2152,
[SMALL_STATE(124)] = 2163,
[SMALL_STATE(125)] = 2174,
[SMALL_STATE(126)] = 2185,
[SMALL_STATE(127)] = 2196,
[SMALL_STATE(128)] = 2207,
[SMALL_STATE(129)] = 2218,
[SMALL_STATE(130)] = 2227,
[SMALL_STATE(131)] = 2238,
[SMALL_STATE(132)] = 2249,
[SMALL_STATE(133)] = 2260,
[SMALL_STATE(134)] = 2268,
[SMALL_STATE(135)] = 2276,
[SMALL_STATE(136)] = 2284,
[SMALL_STATE(137)] = 2292,
[SMALL_STATE(138)] = 2300,
[SMALL_STATE(139)] = 2308,
[SMALL_STATE(140)] = 2316,
[SMALL_STATE(141)] = 2324,
[SMALL_STATE(142)] = 2332,
[SMALL_STATE(143)] = 2340,
[SMALL_STATE(144)] = 2348,
[SMALL_STATE(145)] = 2356,
[SMALL_STATE(146)] = 2364,
[SMALL_STATE(147)] = 2372,
[SMALL_STATE(148)] = 2380,
[SMALL_STATE(149)] = 2388,
[SMALL_STATE(150)] = 2396,
[SMALL_STATE(151)] = 2404,
[SMALL_STATE(152)] = 2412,
[SMALL_STATE(153)] = 2420,
[SMALL_STATE(154)] = 2428,
[SMALL_STATE(155)] = 2436,
[SMALL_STATE(156)] = 2444,
[SMALL_STATE(157)] = 2452,
[SMALL_STATE(158)] = 2460,
[SMALL_STATE(159)] = 2468,
[SMALL_STATE(160)] = 2476,
[SMALL_STATE(161)] = 2484,
};
static const TSParseActionEntry ts_parse_actions[] = {
[0] = {.entry = {.count = 0, .reusable = false}},
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
[3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(),
[5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0),
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161),
[13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[15] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__right_value, 1, 0, 0),
[17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
[19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125),
[21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
[23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
[29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
[31] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 3, 0, 0),
[33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
[35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 2, 0, 0),
[37] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__right_value, 1, 0, 0),
[39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
[41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
[43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132),
[45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24),
[47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
[49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bare_value, 1, 0, 0),
[55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_calling_identifier, 1, 0, 0),
[57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bare_value, 1, 0, 0),
[59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dollar_expression, 4, 0, 8),
[61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_dollar_expression, 4, 0, 8),
[63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135),
[65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__promises, 2, 0, 0),
[67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
[69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__promises, 2, 0, 0),
[71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
[73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3, 0, 0),
[75] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3, 0, 0),
[77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3, 0, 0),
[79] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3, 0, 0),
[81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
[84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0),
[86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0), SHIFT_REPEAT(40),
[89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0),
[91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0),
[93] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(136),
[96] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(147),
[99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(161),
[102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2, 0, 0),
[104] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2, 0, 0),
[106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_at_expression, 4, 0, 9),
[108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_at_expression, 4, 0, 9),
[110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4, 0, 0),
[112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4, 0, 0),
[114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__promises, 1, 0, 0),
[116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__promises, 1, 0, 0),
[118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_section, 1, 0, 0),
[120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bundle_section, 1, 0, 0),
[122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
[124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
[126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
[130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
[132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
[134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_guarded_body_attributes, 2, 0, 0),
[136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_guarded_body_attributes, 1, 0, 0),
[138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_block_body_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
[141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_body_block_body_repeat1, 2, 0, 0),
[143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
[145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
[149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_guarded_promises, 1, 0, 0),
[153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_guarded_promises, 1, 0, 0),
[155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_section, 3, 0, 0),
[157] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bundle_section, 3, 0, 0),
[159] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129),
[161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
[163] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_section, 2, 0, 0),
[165] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bundle_section, 2, 0, 0),
[167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 2, 0, 6),
[169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 2, 0, 6),
[171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_bundle_section_repeat1, 2, 0, 0),
[173] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_bundle_section_repeat1, 2, 0, 0),
[175] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_bundle_section_repeat1, 2, 0, 0), SHIFT_REPEAT(41),
[178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__right_value, 2, 0, 0),
[180] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 3, 0, 6),
[182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 3, 0, 6),
[184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
[186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
[188] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_half_promise, 2, 0, 0),
[190] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_half_promise, 2, 0, 0),
[192] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 4, 0, 7),
[194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 4, 0, 7),
[196] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 4, 0, 6),
[198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 4, 0, 6),
[200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_half_promise, 3, 0, 0),
[202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_half_promise, 3, 0, 0),
[204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 5, 0, 7),
[206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 5, 0, 7),
[208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 5, 0, 6),
[210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 5, 0, 6),
[212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_half_promise, 4, 0, 0),
[214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_half_promise, 4, 0, 0),
[216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 6, 0, 7),
[218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 6, 0, 7),
[220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 7, 0, 7),
[222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 7, 0, 7),
[224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
[226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
[228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
[230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_body_block_body_repeat2, 2, 0, 0),
[232] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_body_block_body_repeat2, 2, 0, 0), SHIFT_REPEAT(38),
[235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block_body, 2, 0, 0),
[237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block_body, 3, 0, 0),
[239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block_body, 3, 0, 0),
[241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_bundle_block_body_repeat1, 2, 0, 0),
[243] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_bundle_block_body_repeat1, 2, 0, 0), SHIFT_REPEAT(27),
[246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block, 4, 0, 1),
[250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block_body, 4, 0, 0),
[252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block_body, 4, 0, 0),
[254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__value_list_repeat1, 2, 0, 0),
[256] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__value_list_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
[259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
[261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block, 4, 0, 2),
[263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
[265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block, 5, 0, 1),
[269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_promise_block_body_repeat1, 2, 0, 0),
[271] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_promise_block_body_repeat1, 2, 0, 0), SHIFT_REPEAT(38),
[274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block, 4, 0, 3),
[276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block_body, 2, 0, 0),
[278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block_body, 2, 0, 0),
[280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
[282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block, 5, 0, 3),
[284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 1, 0, 0),
[288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block_body, 3, 0, 0),
[292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__body_attribute, 2, 0, 0),
[294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__body_attribute, 2, 0, 0),
[296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
[298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
[300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_promise_repeat1, 2, 0, 0),
[302] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_promise_repeat1, 2, 0, 0), SHIFT_REPEAT(130),
[305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
[309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
[311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
[313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
[315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
[317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
[319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
[321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[323] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
[325] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
[329] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_guarded_promises, 2, 0, 0),
[331] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_guarded_promises, 2, 0, 0),
[333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
[337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
[341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
[343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[345] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameter_list_repeat1, 2, 0, 0),
[347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160),
[349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, 0, 5),
[351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_promise_block_body_repeat1, 1, 0, 4),
[355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
[357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
[361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
[363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
[365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
[367] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameter_list_repeat1, 2, 0, 0), SHIFT_REPEAT(159),
[370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_reference, 1, 0, 0),
[372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
[374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
[378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
[380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
[382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
[386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
[388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
[390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 3, 0, 0),
[392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 5, 0, 0),
[394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
[396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64),
[400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
[402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
[406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
[408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 2, 0, 0),
[410] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
[414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
[416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
[418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
[420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
[424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 4, 0, 0),
[426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
};
#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_cfengine(void) {
static const TSLanguage language = {
.abi_version = LANGUAGE_VERSION,
.symbol_count = SYMBOL_COUNT,
.alias_count = ALIAS_COUNT,
.token_count = TOKEN_COUNT,
.external_token_count = EXTERNAL_TOKEN_COUNT,
.state_count = STATE_COUNT,
.large_state_count = LARGE_STATE_COUNT,
.production_id_count = PRODUCTION_ID_COUNT,
.supertype_count = SUPERTYPE_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
.parse_table = &ts_parse_table[0][0],
.small_parse_table = ts_small_parse_table,
.small_parse_table_map = ts_small_parse_table_map,
.parse_actions = ts_parse_actions,
.symbol_names = ts_symbol_names,
.symbol_metadata = ts_symbol_metadata,
.public_symbol_map = ts_symbol_map,
.alias_map = ts_non_terminal_alias_map,
.alias_sequences = &ts_alias_sequences[0][0],
.lex_modes = (const void*)ts_lex_modes,
.lex_fn = ts_lex,
.keyword_lex_fn = ts_lex_keywords,
.keyword_capture_token = sym_identifier,
.primary_state_ids = ts_primary_state_ids,
.name = "cfengine",
.max_reserved_word_set_size = 0,
.metadata = {
.major_version = 1,
.minor_version = 1,
.patch_version = 10,
},
};
return &language;
}
#ifdef __cplusplus
}
#endif