#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 154
#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] = 4,
[6] = 6,
[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] = 13,
[24] = 24,
[25] = 14,
[26] = 26,
[27] = 27,
[28] = 28,
[29] = 29,
[30] = 20,
[31] = 19,
[32] = 32,
[33] = 24,
[34] = 22,
[35] = 21,
[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] = 44,
[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] = 88,
[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] = 130,
[145] = 145,
[146] = 145,
[147] = 147,
[148] = 124,
[149] = 134,
[150] = 150,
[151] = 147,
[152] = 125,
[153] = 133,
};
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 = 5},
[18] = {.lex_state = 0},
[19] = {.lex_state = 2},
[20] = {.lex_state = 2},
[21] = {.lex_state = 2},
[22] = {.lex_state = 2},
[23] = {.lex_state = 0},
[24] = {.lex_state = 2},
[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 = 5},
[33] = {.lex_state = 0},
[34] = {.lex_state = 0},
[35] = {.lex_state = 0},
[36] = {.lex_state = 5},
[37] = {.lex_state = 0},
[38] = {.lex_state = 5},
[39] = {.lex_state = 5},
[40] = {.lex_state = 5},
[41] = {.lex_state = 5},
[42] = {.lex_state = 5},
[43] = {.lex_state = 0},
[44] = {.lex_state = 2},
[45] = {.lex_state = 5},
[46] = {.lex_state = 5},
[47] = {.lex_state = 5},
[48] = {.lex_state = 5},
[49] = {.lex_state = 5},
[50] = {.lex_state = 5},
[51] = {.lex_state = 5},
[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 = 2},
[59] = {.lex_state = 0},
[60] = {.lex_state = 5},
[61] = {.lex_state = 0},
[62] = {.lex_state = 6},
[63] = {.lex_state = 0},
[64] = {.lex_state = 0},
[65] = {.lex_state = 6},
[66] = {.lex_state = 0},
[67] = {.lex_state = 0},
[68] = {.lex_state = 0},
[69] = {.lex_state = 5},
[70] = {.lex_state = 0},
[71] = {.lex_state = 0},
[72] = {.lex_state = 0},
[73] = {.lex_state = 0},
[74] = {.lex_state = 0},
[75] = {.lex_state = 5},
[76] = {.lex_state = 5},
[77] = {.lex_state = 0},
[78] = {.lex_state = 0},
[79] = {.lex_state = 6},
[80] = {.lex_state = 0},
[81] = {.lex_state = 0},
[82] = {.lex_state = 5},
[83] = {.lex_state = 5},
[84] = {.lex_state = 0},
[85] = {.lex_state = 5},
[86] = {.lex_state = 0},
[87] = {.lex_state = 0},
[88] = {.lex_state = 2},
[89] = {.lex_state = 0},
[90] = {.lex_state = 0},
[91] = {.lex_state = 0},
[92] = {.lex_state = 0},
[93] = {.lex_state = 0},
[94] = {.lex_state = 0},
[95] = {.lex_state = 0},
[96] = {.lex_state = 0},
[97] = {.lex_state = 0},
[98] = {.lex_state = 2},
[99] = {.lex_state = 5},
[100] = {.lex_state = 0},
[101] = {.lex_state = 0},
[102] = {.lex_state = 5},
[103] = {.lex_state = 0},
[104] = {.lex_state = 0},
[105] = {.lex_state = 0},
[106] = {.lex_state = 0},
[107] = {.lex_state = 0},
[108] = {.lex_state = 0},
[109] = {.lex_state = 0},
[110] = {.lex_state = 0},
[111] = {.lex_state = 0},
[112] = {.lex_state = 0},
[113] = {.lex_state = 0},
[114] = {.lex_state = 0},
[115] = {.lex_state = 0},
[116] = {.lex_state = 0},
[117] = {.lex_state = 0},
[118] = {.lex_state = 5},
[119] = {.lex_state = 0},
[120] = {.lex_state = 0},
[121] = {.lex_state = 0},
[122] = {.lex_state = 0},
[123] = {.lex_state = 0},
[124] = {.lex_state = 0},
[125] = {.lex_state = 0},
[126] = {.lex_state = 0},
[127] = {.lex_state = 0},
[128] = {.lex_state = 0},
[129] = {.lex_state = 0},
[130] = {.lex_state = 0},
[131] = {.lex_state = 0},
[132] = {.lex_state = 0},
[133] = {.lex_state = 0},
[134] = {.lex_state = 0},
[135] = {.lex_state = 0},
[136] = {.lex_state = 0},
[137] = {.lex_state = 0},
[138] = {.lex_state = 0},
[139] = {.lex_state = 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},
};
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(131),
[sym__block] = STATE(18),
[sym_body_block] = STATE(18),
[sym_promise_block] = STATE(18),
[sym_bundle_block] = STATE(18),
[aux_sym_source_file_repeat1] = STATE(18),
[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(134), 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(59), 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_RPAREN,
ACTIONS(27), 1,
sym_quoted_string,
STATE(13), 1,
sym_dollar_expression,
STATE(68), 1,
sym__right_value,
STATE(124), 1,
sym__value_list,
STATE(134), 1,
sym_calling_identifier,
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_RBRACE,
STATE(13), 1,
sym_dollar_expression,
STATE(68), 1,
sym__right_value,
STATE(130), 1,
sym__value_list,
STATE(134), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[120] = 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(31), 1,
anon_sym_RBRACE,
STATE(13), 1,
sym_dollar_expression,
STATE(68), 1,
sym__right_value,
STATE(134), 1,
sym_calling_identifier,
STATE(144), 1,
sym__value_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[161] = 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(97), 1,
sym__right_value,
STATE(134), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(33), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
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(97), 1,
sym__right_value,
STATE(134), 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(23), 1,
sym_dollar_expression,
STATE(149), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(15), 2,
anon_sym_SEMI,
anon_sym_COMMA,
STATE(59), 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_RPAREN,
STATE(13), 1,
sym_dollar_expression,
STATE(68), 1,
sym__right_value,
STATE(134), 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(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(116), 1,
sym__right_value,
STATE(134), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(2), 4,
sym__bare_value,
sym_at_expression,
sym_call,
sym_list,
[354] = 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(23), 1,
sym_dollar_expression,
STATE(43), 1,
sym__right_value,
STATE(149), 1,
sym_calling_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(8), 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(97), 1,
sym__right_value,
STATE(134), 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(107), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(65), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(17), 3,
sym_promise,
sym_half_promise,
aux_sym__promises_repeat1,
[490] = 6,
ACTIONS(71), 1,
ts_builtin_sym_end,
ACTIONS(73), 1,
sym_body_block_keyword,
ACTIONS(76), 1,
sym_promise_block_keyword,
ACTIONS(79), 1,
sym_bundle_block_keyword,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(16), 5,
sym__block,
sym_body_block,
sym_promise_block,
sym_bundle_block,
aux_sym_source_file_repeat1,
[514] = 7,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(67), 1,
sym_quoted_string,
ACTIONS(84), 1,
sym_promise_guard,
STATE(107), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(82), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(26), 3,
sym_promise,
sym_half_promise,
aux_sym__promises_repeat1,
[540] = 6,
ACTIONS(7), 1,
sym_body_block_keyword,
ACTIONS(9), 1,
sym_promise_block_keyword,
ACTIONS(11), 1,
sym_bundle_block_keyword,
ACTIONS(86), 1,
ts_builtin_sym_end,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(16), 5,
sym__block,
sym_body_block,
sym_promise_block,
sym_bundle_block,
aux_sym_source_file_repeat1,
[564] = 3,
ACTIONS(90), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(88), 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,
[582] = 3,
ACTIONS(94), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(92), 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,
[600] = 3,
ACTIONS(98), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(96), 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(102), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(100), 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] = 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,
[656] = 3,
ACTIONS(106), 1,
anon_sym_AT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(104), 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,
[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(108), 1,
sym_identifier,
ACTIONS(113), 1,
sym_quoted_string,
ACTIONS(116), 1,
sym_promise_guard,
STATE(107), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(111), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(26), 3,
sym_promise,
sym_half_promise,
aux_sym__promises_repeat1,
[718] = 7,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(118), 1,
anon_sym_RBRACE,
ACTIONS(120), 1,
sym_class_guard,
STATE(143), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(36), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
STATE(69), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[743] = 8,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(120), 1,
sym_class_guard,
ACTIONS(122), 1,
anon_sym_RBRACE,
STATE(82), 1,
aux_sym_promise_block_body_repeat1,
STATE(118), 1,
sym_class_guarded_body_attributes,
STATE(143), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(40), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[770] = 8,
ACTIONS(67), 1,
sym_quoted_string,
ACTIONS(124), 1,
anon_sym_RBRACE,
ACTIONS(126), 1,
sym_promise_guard,
ACTIONS(128), 1,
sym_class_guard,
STATE(15), 1,
sym_promise,
STATE(48), 1,
sym__promises,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(54), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[797] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(94), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(92), 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(90), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(88), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[831] = 8,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(120), 1,
sym_class_guard,
ACTIONS(130), 1,
anon_sym_RBRACE,
STATE(85), 1,
aux_sym_promise_block_body_repeat1,
STATE(118), 1,
sym_class_guarded_body_attributes,
STATE(143), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(28), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[858] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(106), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(104), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[875] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(102), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(100), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[892] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(98), 3,
anon_sym_AT,
sym_identifier,
sym_qualified_identifier,
ACTIONS(96), 5,
anon_sym_LBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_DOLLAR,
sym_quoted_string,
[909] = 7,
ACTIONS(63), 1,
sym_identifier,
ACTIONS(120), 1,
sym_class_guard,
ACTIONS(132), 1,
anon_sym_RBRACE,
STATE(143), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(40), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
STATE(75), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[934] = 7,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(136), 1,
anon_sym_SEMI,
ACTIONS(138), 1,
anon_sym_COMMA,
ACTIONS(140), 1,
anon_sym_DASH_GT,
STATE(94), 1,
sym_attribute,
STATE(110), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[957] = 5,
ACTIONS(63), 1,
sym_identifier,
STATE(143), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(142), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(40), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[976] = 5,
ACTIONS(63), 1,
sym_identifier,
STATE(143), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(144), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(38), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[995] = 5,
ACTIONS(146), 1,
sym_identifier,
STATE(143), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(149), 2,
anon_sym_RBRACE,
sym_class_guard,
STATE(40), 2,
sym__body_attribute,
aux_sym_body_block_body_repeat1,
[1014] = 6,
ACTIONS(67), 1,
sym_quoted_string,
ACTIONS(153), 1,
sym_promise_guard,
STATE(15), 1,
sym_promise,
STATE(99), 1,
sym__promises,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(151), 2,
anon_sym_RBRACE,
sym_class_guard,
[1035] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(157), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(155), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1049] = 6,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(159), 1,
anon_sym_SEMI,
ACTIONS(161), 1,
anon_sym_COMMA,
STATE(92), 1,
sym_attribute,
STATE(93), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1069] = 5,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(163), 1,
sym_qualified_identifier,
ACTIONS(165), 1,
sym_indexed_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(146), 2,
sym__variable_reference,
sym_dollar_expression,
[1087] = 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,
[1101] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(173), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(171), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1115] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(177), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(175), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1129] = 5,
ACTIONS(128), 1,
sym_class_guard,
ACTIONS(179), 1,
anon_sym_RBRACE,
ACTIONS(181), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(56), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1147] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(185), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(183), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1161] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(189), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(187), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1175] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(193), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(191), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1189] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(197), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(195), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1203] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(201), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(199), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1217] = 5,
ACTIONS(128), 1,
sym_class_guard,
ACTIONS(179), 1,
anon_sym_RBRACE,
ACTIONS(181), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(57), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1235] = 3,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(205), 2,
anon_sym_RBRACE,
sym_class_guard,
ACTIONS(203), 3,
sym_quoted_string,
sym_identifier,
sym_promise_guard,
[1249] = 5,
ACTIONS(128), 1,
sym_class_guard,
ACTIONS(207), 1,
anon_sym_RBRACE,
ACTIONS(209), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(57), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1267] = 5,
ACTIONS(211), 1,
anon_sym_RBRACE,
ACTIONS(213), 1,
sym_promise_guard,
ACTIONS(215), 1,
sym_class_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(57), 2,
sym_class_guarded_promises,
aux_sym_bundle_section_repeat1,
[1285] = 5,
ACTIONS(17), 1,
anon_sym_DOLLAR,
ACTIONS(163), 1,
sym_qualified_identifier,
ACTIONS(165), 1,
sym_indexed_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(145), 2,
sym__variable_reference,
sym_dollar_expression,
[1303] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(218), 5,
anon_sym_RBRACE,
anon_sym_SEMI,
anon_sym_COMMA,
anon_sym_RPAREN,
sym_identifier,
[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] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(224), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1340] = 4,
ACTIONS(226), 1,
anon_sym_RBRACE,
ACTIONS(228), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(62), 2,
sym_bundle_section,
aux_sym_bundle_block_body_repeat1,
[1355] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(231), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1366] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(233), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1377] = 4,
ACTIONS(235), 1,
anon_sym_RBRACE,
ACTIONS(237), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(62), 2,
sym_bundle_section,
aux_sym_bundle_block_body_repeat1,
[1392] = 5,
ACTIONS(239), 1,
anon_sym_LBRACE,
ACTIONS(241), 1,
anon_sym_LPAREN,
STATE(74), 1,
sym_body_block_body,
STATE(115), 1,
sym_parameter_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1409] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(243), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1420] = 4,
ACTIONS(247), 1,
anon_sym_COMMA,
STATE(73), 1,
aux_sym__value_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(245), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
[1435] = 4,
ACTIONS(120), 1,
sym_class_guard,
ACTIONS(132), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(76), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[1450] = 5,
ACTIONS(241), 1,
anon_sym_LPAREN,
ACTIONS(249), 1,
anon_sym_LBRACE,
STATE(81), 1,
sym_bundle_block_body,
STATE(120), 1,
sym_parameter_list,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1467] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(251), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1478] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(253), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1489] = 4,
ACTIONS(255), 1,
anon_sym_COMMA,
STATE(77), 1,
aux_sym__value_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(33), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
[1504] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(257), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1515] = 4,
ACTIONS(120), 1,
sym_class_guard,
ACTIONS(259), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(76), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[1530] = 4,
ACTIONS(261), 1,
anon_sym_RBRACE,
ACTIONS(263), 1,
sym_class_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(76), 2,
sym_class_guarded_body_attributes,
aux_sym_body_block_body_repeat2,
[1545] = 4,
ACTIONS(268), 1,
anon_sym_COMMA,
STATE(77), 1,
aux_sym__value_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(266), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
[1560] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(271), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1571] = 4,
ACTIONS(237), 1,
sym_promise_guard,
ACTIONS(273), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
STATE(65), 2,
sym_bundle_section,
aux_sym_bundle_block_body_repeat1,
[1586] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(275), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1597] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(277), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1608] = 5,
ACTIONS(120), 1,
sym_class_guard,
ACTIONS(279), 1,
anon_sym_RBRACE,
STATE(83), 1,
aux_sym_promise_block_body_repeat1,
STATE(118), 1,
sym_class_guarded_body_attributes,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1625] = 5,
ACTIONS(281), 1,
anon_sym_RBRACE,
ACTIONS(283), 1,
sym_class_guard,
STATE(83), 1,
aux_sym_promise_block_body_repeat1,
STATE(118), 1,
sym_class_guarded_body_attributes,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1642] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(286), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1653] = 5,
ACTIONS(120), 1,
sym_class_guard,
ACTIONS(122), 1,
anon_sym_RBRACE,
STATE(83), 1,
aux_sym_promise_block_body_repeat1,
STATE(118), 1,
sym_class_guarded_body_attributes,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1670] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(288), 4,
ts_builtin_sym_end,
sym_body_block_keyword,
sym_promise_block_keyword,
sym_bundle_block_keyword,
[1681] = 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,
[1692] = 4,
ACTIONS(163), 1,
sym_qualified_identifier,
ACTIONS(165), 1,
sym_indexed_identifier,
STATE(147), 1,
sym__variable_reference,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1706] = 4,
ACTIONS(292), 1,
sym_identifier,
ACTIONS(294), 1,
anon_sym_RPAREN,
STATE(112), 1,
aux_sym_parameter_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1720] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(296), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1734] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1748] = 4,
ACTIONS(298), 1,
anon_sym_SEMI,
ACTIONS(300), 1,
anon_sym_COMMA,
STATE(101), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1762] = 4,
ACTIONS(298), 1,
anon_sym_SEMI,
ACTIONS(300), 1,
anon_sym_COMMA,
STATE(106), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1776] = 4,
ACTIONS(296), 1,
anon_sym_SEMI,
ACTIONS(302), 1,
anon_sym_COMMA,
STATE(105), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1790] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(304), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1804] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(306), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1818] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(266), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_RPAREN,
[1828] = 4,
ACTIONS(163), 1,
sym_qualified_identifier,
ACTIONS(165), 1,
sym_indexed_identifier,
STATE(151), 1,
sym__variable_reference,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1842] = 3,
ACTIONS(310), 1,
sym_promise_guard,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(308), 2,
anon_sym_RBRACE,
sym_class_guard,
[1854] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(312), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1868] = 4,
ACTIONS(312), 1,
anon_sym_SEMI,
ACTIONS(314), 1,
anon_sym_COMMA,
STATE(106), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1882] = 3,
ACTIONS(316), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(318), 2,
anon_sym_RBRACE,
sym_class_guard,
[1894] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(320), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1908] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(322), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1922] = 4,
ACTIONS(322), 1,
anon_sym_SEMI,
ACTIONS(324), 1,
anon_sym_COMMA,
STATE(106), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1936] = 4,
ACTIONS(326), 1,
anon_sym_SEMI,
ACTIONS(328), 1,
anon_sym_COMMA,
STATE(106), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1950] = 4,
ACTIONS(331), 1,
anon_sym_SEMI,
ACTIONS(333), 1,
anon_sym_COMMA,
STATE(109), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1964] = 4,
ACTIONS(134), 1,
sym_identifier,
ACTIONS(335), 1,
anon_sym_SEMI,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1978] = 4,
ACTIONS(335), 1,
anon_sym_SEMI,
ACTIONS(337), 1,
anon_sym_COMMA,
STATE(106), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[1992] = 4,
ACTIONS(296), 1,
anon_sym_SEMI,
ACTIONS(302), 1,
anon_sym_COMMA,
STATE(106), 1,
aux_sym_promise_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2006] = 3,
ACTIONS(339), 1,
sym_identifier,
STATE(111), 1,
aux_sym_parameter_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2017] = 3,
ACTIONS(342), 1,
sym_identifier,
STATE(111), 1,
aux_sym_parameter_list_repeat1,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2028] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(326), 2,
anon_sym_SEMI,
anon_sym_COMMA,
[2037] = 3,
ACTIONS(344), 1,
sym_identifier,
ACTIONS(346), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2048] = 3,
ACTIONS(239), 1,
anon_sym_LBRACE,
STATE(61), 1,
sym_body_block_body,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2059] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(348), 2,
anon_sym_SEMI,
anon_sym_COMMA,
[2068] = 3,
ACTIONS(134), 1,
sym_identifier,
STATE(113), 1,
sym_attribute,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2079] = 2,
ACTIONS(3), 2,
sym_comment,
sym_macro,
ACTIONS(350), 2,
anon_sym_RBRACE,
sym_class_guard,
[2088] = 3,
ACTIONS(352), 1,
anon_sym_COMMA,
ACTIONS(354), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2099] = 3,
ACTIONS(249), 1,
anon_sym_LBRACE,
STATE(67), 1,
sym_bundle_block_body,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2110] = 3,
ACTIONS(356), 1,
anon_sym_COMMA,
ACTIONS(358), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2121] = 3,
ACTIONS(344), 1,
sym_identifier,
ACTIONS(358), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2132] = 3,
ACTIONS(360), 1,
anon_sym_LBRACE,
STATE(78), 1,
sym_promise_block_body,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2143] = 2,
ACTIONS(362), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2151] = 2,
ACTIONS(364), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2159] = 2,
ACTIONS(366), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2167] = 2,
ACTIONS(368), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2175] = 2,
ACTIONS(370), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2183] = 2,
ACTIONS(372), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2191] = 2,
ACTIONS(374), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2199] = 2,
ACTIONS(376), 1,
ts_builtin_sym_end,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2207] = 2,
ACTIONS(378), 1,
anon_sym_COMMA,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2215] = 2,
ACTIONS(380), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2223] = 2,
ACTIONS(382), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2231] = 2,
ACTIONS(384), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2239] = 2,
ACTIONS(386), 1,
anon_sym_EQ_GT,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2247] = 2,
ACTIONS(388), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2255] = 2,
ACTIONS(344), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2263] = 2,
ACTIONS(390), 1,
anon_sym_LBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2271] = 2,
ACTIONS(392), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2279] = 2,
ACTIONS(394), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2287] = 2,
ACTIONS(396), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2295] = 2,
ACTIONS(398), 1,
anon_sym_SEMI,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2303] = 2,
ACTIONS(400), 1,
anon_sym_RBRACE,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2311] = 2,
ACTIONS(402), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2319] = 2,
ACTIONS(404), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2327] = 2,
ACTIONS(406), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2335] = 2,
ACTIONS(408), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2343] = 2,
ACTIONS(410), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2351] = 2,
ACTIONS(412), 1,
sym_identifier,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2359] = 2,
ACTIONS(414), 1,
anon_sym_RPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2367] = 2,
ACTIONS(416), 1,
anon_sym_LPAREN,
ACTIONS(3), 2,
sym_comment,
sym_macro,
[2375] = 2,
ACTIONS(418), 1,
anon_sym_LPAREN,
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)] = 161,
[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)] = 540,
[SMALL_STATE(19)] = 564,
[SMALL_STATE(20)] = 582,
[SMALL_STATE(21)] = 600,
[SMALL_STATE(22)] = 618,
[SMALL_STATE(23)] = 636,
[SMALL_STATE(24)] = 656,
[SMALL_STATE(25)] = 674,
[SMALL_STATE(26)] = 692,
[SMALL_STATE(27)] = 718,
[SMALL_STATE(28)] = 743,
[SMALL_STATE(29)] = 770,
[SMALL_STATE(30)] = 797,
[SMALL_STATE(31)] = 814,
[SMALL_STATE(32)] = 831,
[SMALL_STATE(33)] = 858,
[SMALL_STATE(34)] = 875,
[SMALL_STATE(35)] = 892,
[SMALL_STATE(36)] = 909,
[SMALL_STATE(37)] = 934,
[SMALL_STATE(38)] = 957,
[SMALL_STATE(39)] = 976,
[SMALL_STATE(40)] = 995,
[SMALL_STATE(41)] = 1014,
[SMALL_STATE(42)] = 1035,
[SMALL_STATE(43)] = 1049,
[SMALL_STATE(44)] = 1069,
[SMALL_STATE(45)] = 1087,
[SMALL_STATE(46)] = 1101,
[SMALL_STATE(47)] = 1115,
[SMALL_STATE(48)] = 1129,
[SMALL_STATE(49)] = 1147,
[SMALL_STATE(50)] = 1161,
[SMALL_STATE(51)] = 1175,
[SMALL_STATE(52)] = 1189,
[SMALL_STATE(53)] = 1203,
[SMALL_STATE(54)] = 1217,
[SMALL_STATE(55)] = 1235,
[SMALL_STATE(56)] = 1249,
[SMALL_STATE(57)] = 1267,
[SMALL_STATE(58)] = 1285,
[SMALL_STATE(59)] = 1303,
[SMALL_STATE(60)] = 1315,
[SMALL_STATE(61)] = 1329,
[SMALL_STATE(62)] = 1340,
[SMALL_STATE(63)] = 1355,
[SMALL_STATE(64)] = 1366,
[SMALL_STATE(65)] = 1377,
[SMALL_STATE(66)] = 1392,
[SMALL_STATE(67)] = 1409,
[SMALL_STATE(68)] = 1420,
[SMALL_STATE(69)] = 1435,
[SMALL_STATE(70)] = 1450,
[SMALL_STATE(71)] = 1467,
[SMALL_STATE(72)] = 1478,
[SMALL_STATE(73)] = 1489,
[SMALL_STATE(74)] = 1504,
[SMALL_STATE(75)] = 1515,
[SMALL_STATE(76)] = 1530,
[SMALL_STATE(77)] = 1545,
[SMALL_STATE(78)] = 1560,
[SMALL_STATE(79)] = 1571,
[SMALL_STATE(80)] = 1586,
[SMALL_STATE(81)] = 1597,
[SMALL_STATE(82)] = 1608,
[SMALL_STATE(83)] = 1625,
[SMALL_STATE(84)] = 1642,
[SMALL_STATE(85)] = 1653,
[SMALL_STATE(86)] = 1670,
[SMALL_STATE(87)] = 1681,
[SMALL_STATE(88)] = 1692,
[SMALL_STATE(89)] = 1706,
[SMALL_STATE(90)] = 1720,
[SMALL_STATE(91)] = 1734,
[SMALL_STATE(92)] = 1748,
[SMALL_STATE(93)] = 1762,
[SMALL_STATE(94)] = 1776,
[SMALL_STATE(95)] = 1790,
[SMALL_STATE(96)] = 1804,
[SMALL_STATE(97)] = 1818,
[SMALL_STATE(98)] = 1828,
[SMALL_STATE(99)] = 1842,
[SMALL_STATE(100)] = 1854,
[SMALL_STATE(101)] = 1868,
[SMALL_STATE(102)] = 1882,
[SMALL_STATE(103)] = 1894,
[SMALL_STATE(104)] = 1908,
[SMALL_STATE(105)] = 1922,
[SMALL_STATE(106)] = 1936,
[SMALL_STATE(107)] = 1950,
[SMALL_STATE(108)] = 1964,
[SMALL_STATE(109)] = 1978,
[SMALL_STATE(110)] = 1992,
[SMALL_STATE(111)] = 2006,
[SMALL_STATE(112)] = 2017,
[SMALL_STATE(113)] = 2028,
[SMALL_STATE(114)] = 2037,
[SMALL_STATE(115)] = 2048,
[SMALL_STATE(116)] = 2059,
[SMALL_STATE(117)] = 2068,
[SMALL_STATE(118)] = 2079,
[SMALL_STATE(119)] = 2088,
[SMALL_STATE(120)] = 2099,
[SMALL_STATE(121)] = 2110,
[SMALL_STATE(122)] = 2121,
[SMALL_STATE(123)] = 2132,
[SMALL_STATE(124)] = 2143,
[SMALL_STATE(125)] = 2151,
[SMALL_STATE(126)] = 2159,
[SMALL_STATE(127)] = 2167,
[SMALL_STATE(128)] = 2175,
[SMALL_STATE(129)] = 2183,
[SMALL_STATE(130)] = 2191,
[SMALL_STATE(131)] = 2199,
[SMALL_STATE(132)] = 2207,
[SMALL_STATE(133)] = 2215,
[SMALL_STATE(134)] = 2223,
[SMALL_STATE(135)] = 2231,
[SMALL_STATE(136)] = 2239,
[SMALL_STATE(137)] = 2247,
[SMALL_STATE(138)] = 2255,
[SMALL_STATE(139)] = 2263,
[SMALL_STATE(140)] = 2271,
[SMALL_STATE(141)] = 2279,
[SMALL_STATE(142)] = 2287,
[SMALL_STATE(143)] = 2295,
[SMALL_STATE(144)] = 2303,
[SMALL_STATE(145)] = 2311,
[SMALL_STATE(146)] = 2319,
[SMALL_STATE(147)] = 2327,
[SMALL_STATE(148)] = 2335,
[SMALL_STATE(149)] = 2343,
[SMALL_STATE(150)] = 2351,
[SMALL_STATE(151)] = 2359,
[SMALL_STATE(152)] = 2367,
[SMALL_STATE(153)] = 2375,
};
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(140),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
[13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
[15] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__right_value, 1, 0, 0),
[17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
[19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133),
[21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
[27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
[29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
[31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
[33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 2, 0, 0),
[35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 3, 0, 0),
[37] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__right_value, 1, 0, 0),
[39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152),
[43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153),
[45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23),
[47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
[49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[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(136),
[65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__promises, 1, 0, 0),
[67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
[69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__promises, 1, 0, 0),
[71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0),
[73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(140),
[76] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(126),
[79] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
[82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__promises, 2, 0, 0),
[84] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__promises, 2, 0, 0),
[86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
[88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2, 0, 0),
[90] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2, 0, 0),
[92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3, 0, 0),
[94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3, 0, 0),
[96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3, 0, 0),
[98] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3, 0, 0),
[100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4, 0, 0),
[102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4, 0, 0),
[104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_at_expression, 4, 0, 9),
[106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_at_expression, 4, 0, 9),
[108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0), SHIFT_REPEAT(136),
[111] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0),
[113] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0), SHIFT_REPEAT(37),
[116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__promises_repeat1, 2, 0, 0),
[118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
[120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
[122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
[124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_section, 1, 0, 0),
[126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bundle_section, 1, 0, 0),
[128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
[130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
[132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
[134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
[140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_guarded_body_attributes, 2, 0, 0),
[144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_guarded_body_attributes, 1, 0, 0),
[146] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_body_block_body_repeat1, 2, 0, 0), SHIFT_REPEAT(136),
[149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_body_block_body_repeat1, 2, 0, 0),
[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 = false}}, REDUCE(sym_half_promise, 2, 0, 0),
[157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_half_promise, 2, 0, 0),
[159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
[161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
[163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142),
[165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
[167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 4, 0, 7),
[169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 4, 0, 7),
[171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 4, 0, 6),
[173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 4, 0, 6),
[175] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_half_promise, 3, 0, 0),
[177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_half_promise, 3, 0, 0),
[179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_section, 2, 0, 0),
[181] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bundle_section, 2, 0, 0),
[183] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 5, 0, 7),
[185] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 5, 0, 7),
[187] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 5, 0, 6),
[189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 5, 0, 6),
[191] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_half_promise, 4, 0, 0),
[193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_half_promise, 4, 0, 0),
[195] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 6, 0, 7),
[197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 6, 0, 7),
[199] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 7, 0, 7),
[201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 7, 0, 7),
[203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 2, 0, 6),
[205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 2, 0, 6),
[207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_section, 3, 0, 0),
[209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bundle_section, 3, 0, 0),
[211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_bundle_section_repeat1, 2, 0, 0),
[213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_bundle_section_repeat1, 2, 0, 0),
[215] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_bundle_section_repeat1, 2, 0, 0), SHIFT_REPEAT(41),
[218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__right_value, 2, 0, 0),
[220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_promise, 3, 0, 6),
[222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise, 3, 0, 6),
[224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block, 5, 0, 1),
[226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_bundle_block_body_repeat1, 2, 0, 0),
[228] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_bundle_block_body_repeat1, 2, 0, 0), SHIFT_REPEAT(29),
[231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block_body, 4, 0, 0),
[233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block_body, 4, 0, 0),
[235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
[237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
[239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
[243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block, 5, 0, 3),
[245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 1, 0, 0),
[247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
[249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
[251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block_body, 3, 0, 0),
[253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block_body, 2, 0, 0),
[255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block, 4, 0, 1),
[259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
[261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_body_block_body_repeat2, 2, 0, 0),
[263] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_body_block_body_repeat2, 2, 0, 0), SHIFT_REPEAT(39),
[266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__value_list_repeat1, 2, 0, 0),
[268] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__value_list_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
[271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block, 4, 0, 2),
[273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
[275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_promise_block_body, 3, 0, 0),
[277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block, 4, 0, 3),
[279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64),
[281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_promise_block_body_repeat1, 2, 0, 0),
[283] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_promise_block_body_repeat1, 2, 0, 0), SHIFT_REPEAT(39),
[286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body_block_body, 2, 0, 0),
[288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block_body, 2, 0, 0),
[290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bundle_block_body, 3, 0, 0),
[292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
[294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
[296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
[300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
[302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
[304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_guarded_promises, 2, 0, 0),
[310] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_guarded_promises, 2, 0, 0),
[312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
[316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__body_attribute, 2, 0, 0),
[318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__body_attribute, 2, 0, 0),
[320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
[322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
[326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_promise_repeat1, 2, 0, 0),
[328] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_promise_repeat1, 2, 0, 0), SHIFT_REPEAT(117),
[331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
[333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
[335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
[339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameter_list_repeat1, 2, 0, 0), SHIFT_REPEAT(132),
[342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
[344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameter_list_repeat1, 2, 0, 0),
[346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
[348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, 0, 5),
[350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_promise_block_body_repeat1, 1, 0, 4),
[352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
[354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
[356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
[358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
[360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
[362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
[366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
[368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 2, 0, 0),
[370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 4, 0, 0),
[372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
[374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[376] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
[380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
[382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
[386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 5, 0, 0),
[390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 3, 0, 0),
[392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
[394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_reference, 1, 0, 0),
[398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
[400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
[406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
[408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
[410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
[412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
[414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
[418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
};
#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 = 9,
},
};
return &language;
}
#ifdef __cplusplus
}
#endif