From 89844be795cbe94e425b57fa23dd30013a0aa682 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Fri, 15 Nov 2024 14:35:16 +0100 Subject: [PATCH] matching now less awkward --- grammar.js | 2 +- src/grammar.json | 2 +- src/node-types.json | 2 +- src/parser.c | 90 ++++++++++++++++++++++----------------------- 4 files changed, 48 insertions(+), 48 deletions(-) diff --git a/grammar.js b/grammar.js index 4863cb7..f04f372 100644 --- a/grammar.js +++ b/grammar.js @@ -61,7 +61,7 @@ module.exports = grammar({ ';', ), array: $ => seq('[', $._spacing, optional(repeat($._statement)), ']'), - operation: $ => choice(/[+\-*\/%&]/, "=>?", "=>"), + operation: $ => choice(/[+\-*\/%&]/, "=>!", "=>"), variable: $ => choice( seq('def', $._spacing, $.identifier), seq('=', $.identifier), diff --git a/src/grammar.json b/src/grammar.json index be51638..b98b593 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -461,7 +461,7 @@ }, { "type": "STRING", - "value": "=>?" + "value": "=>!" }, { "type": "STRING", diff --git a/src/node-types.json b/src/node-types.json index 3daeff7..fdf59ac 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -675,7 +675,7 @@ "named": false }, { - "type": "=>?", + "type": "=>!", "named": false }, { diff --git a/src/parser.c b/src/parser.c index 43a0e34..34b57ca 100644 --- a/src/parser.c +++ b/src/parser.c @@ -37,7 +37,7 @@ enum ts_symbol_identifiers { anon_sym_LBRACK = 19, anon_sym_RBRACK = 20, aux_sym_operation_token1 = 21, - anon_sym_EQ_GT_QMARK = 22, + anon_sym_EQ_GT_BANG = 22, anon_sym_EQ_GT = 23, anon_sym_construct = 24, anon_sym_namespace = 25, @@ -102,7 +102,7 @@ static const char * const ts_symbol_names[] = { [anon_sym_LBRACK] = "[", [anon_sym_RBRACK] = "]", [aux_sym_operation_token1] = "operation_token1", - [anon_sym_EQ_GT_QMARK] = "=>\?", + [anon_sym_EQ_GT_BANG] = "=>!", [anon_sym_EQ_GT] = "=>", [anon_sym_construct] = "construct", [anon_sym_namespace] = "namespace", @@ -167,7 +167,7 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_LBRACK] = anon_sym_LBRACK, [anon_sym_RBRACK] = anon_sym_RBRACK, [aux_sym_operation_token1] = aux_sym_operation_token1, - [anon_sym_EQ_GT_QMARK] = anon_sym_EQ_GT_QMARK, + [anon_sym_EQ_GT_BANG] = anon_sym_EQ_GT_BANG, [anon_sym_EQ_GT] = anon_sym_EQ_GT, [anon_sym_construct] = anon_sym_construct, [anon_sym_namespace] = anon_sym_namespace, @@ -298,7 +298,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, - [anon_sym_EQ_GT_QMARK] = { + [anon_sym_EQ_GT_BANG] = { .visible = true, .named = false, }, @@ -1333,11 +1333,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ACCEPT_TOKEN(aux_sym_operation_token1); END_STATE(); case 113: - ACCEPT_TOKEN(anon_sym_EQ_GT_QMARK); + ACCEPT_TOKEN(anon_sym_EQ_GT_BANG); END_STATE(); case 114: ACCEPT_TOKEN(anon_sym_EQ_GT); - if (lookahead == '?') ADVANCE(113); + if (lookahead == '!') ADVANCE(113); END_STATE(); case 115: ACCEPT_TOKEN(anon_sym_construct); @@ -1633,7 +1633,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LBRACK] = ACTIONS(1), [anon_sym_RBRACK] = ACTIONS(1), [aux_sym_operation_token1] = ACTIONS(1), - [anon_sym_EQ_GT_QMARK] = ACTIONS(1), + [anon_sym_EQ_GT_BANG] = ACTIONS(1), [anon_sym_EQ_GT] = ACTIONS(1), [anon_sym_construct] = ACTIONS(1), [anon_sym_namespace] = ACTIONS(1), @@ -1678,7 +1678,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -1722,7 +1722,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LBRACK] = ACTIONS(70), [anon_sym_RBRACK] = ACTIONS(50), [aux_sym_operation_token1] = ACTIONS(73), - [anon_sym_EQ_GT_QMARK] = ACTIONS(73), + [anon_sym_EQ_GT_BANG] = ACTIONS(73), [anon_sym_EQ_GT] = ACTIONS(73), [anon_sym_construct] = ACTIONS(76), [anon_sym_if] = ACTIONS(79), @@ -1765,7 +1765,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -1808,7 +1808,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -1851,7 +1851,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LBRACK] = ACTIONS(23), [anon_sym_RBRACK] = ACTIONS(101), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -1894,7 +1894,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(67), [anon_sym_LBRACK] = ACTIONS(70), [aux_sym_operation_token1] = ACTIONS(73), - [anon_sym_EQ_GT_QMARK] = ACTIONS(73), + [anon_sym_EQ_GT_BANG] = ACTIONS(73), [anon_sym_EQ_GT] = ACTIONS(73), [anon_sym_construct] = ACTIONS(76), [anon_sym_if] = ACTIONS(79), @@ -1937,7 +1937,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -1980,7 +1980,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LBRACK] = ACTIONS(23), [anon_sym_RBRACK] = ACTIONS(107), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2023,7 +2023,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2066,7 +2066,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2109,7 +2109,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2152,7 +2152,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2195,7 +2195,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2238,7 +2238,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2281,7 +2281,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2324,7 +2324,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2367,7 +2367,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2410,7 +2410,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2453,7 +2453,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2496,7 +2496,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2539,7 +2539,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2582,7 +2582,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2625,7 +2625,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2668,7 +2668,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2711,7 +2711,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2754,7 +2754,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2796,7 +2796,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [sym__spacing] = ACTIONS(137), @@ -2840,7 +2840,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2883,7 +2883,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2925,7 +2925,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -2967,7 +2967,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -3009,7 +3009,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_with] = ACTIONS(21), [anon_sym_LBRACK] = ACTIONS(23), [aux_sym_operation_token1] = ACTIONS(25), - [anon_sym_EQ_GT_QMARK] = ACTIONS(25), + [anon_sym_EQ_GT_BANG] = ACTIONS(25), [anon_sym_EQ_GT] = ACTIONS(25), [anon_sym_construct] = ACTIONS(27), [anon_sym_if] = ACTIONS(29), @@ -3037,7 +3037,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, aux_sym_operation_token1, - anon_sym_EQ_GT_QMARK, + anon_sym_EQ_GT_BANG, anon_sym_EQ_GT, anon_sym_construct, anon_sym_if, @@ -3061,7 +3061,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_with, anon_sym_LBRACK, aux_sym_operation_token1, - anon_sym_EQ_GT_QMARK, + anon_sym_EQ_GT_BANG, anon_sym_EQ_GT, anon_sym_construct, anon_sym_if, @@ -3085,7 +3085,7 @@ static const uint16_t ts_small_parse_table[] = { sym_operation, ACTIONS(25), 3, aux_sym_operation_token1, - anon_sym_EQ_GT_QMARK, + anon_sym_EQ_GT_BANG, anon_sym_EQ_GT, [75] = 3, ACTIONS(147), 1, @@ -3096,7 +3096,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_COLON, aux_sym_operation_token1, - anon_sym_EQ_GT_QMARK, + anon_sym_EQ_GT_BANG, anon_sym_EQ_GT, [89] = 5, ACTIONS(11), 1, @@ -3109,7 +3109,7 @@ static const uint16_t ts_small_parse_table[] = { sym_call, ACTIONS(25), 3, aux_sym_operation_token1, - anon_sym_EQ_GT_QMARK, + anon_sym_EQ_GT_BANG, anon_sym_EQ_GT, [107] = 5, ACTIONS(11), 1, @@ -3122,7 +3122,7 @@ static const uint16_t ts_small_parse_table[] = { sym_call, ACTIONS(25), 3, aux_sym_operation_token1, - anon_sym_EQ_GT_QMARK, + anon_sym_EQ_GT_BANG, anon_sym_EQ_GT, [125] = 6, ACTIONS(19), 1,