From e3075c9441b763bc8b7853252e997a6fcdb1f3e9 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Sun, 24 Nov 2024 14:32:08 -0500 Subject: [PATCH] feat: use the new reserved rules api --- a.go | 8 + grammar.js | 11 + log.html | 3827 ++++++++++++++++++++++++++++++++++++++ src/grammar.json | 106 +- src/parser.c | 1327 +++++++------ src/tree_sitter/array.h | 3 +- src/tree_sitter/parser.h | 11 +- test/corpus/errors.txt | 57 + 8 files changed, 4755 insertions(+), 595 deletions(-) create mode 100644 a.go create mode 100644 log.html create mode 100644 test/corpus/errors.txt diff --git a/a.go b/a.go new file mode 100644 index 00000000..a94e6dd9 --- /dev/null +++ b/a.go @@ -0,0 +1,8 @@ +func a() { + x. // Should error here + + switch v { + case 1: + doSomething() + } +} diff --git a/grammar.js b/grammar.js index b4712508..88497a2d 100644 --- a/grammar.js +++ b/grammar.js @@ -95,6 +95,17 @@ module.exports = grammar({ [$.type_parameter_declaration, $._simple_type, $.generic_type, $._expression], ], + reserved: { + global: $ => [ + // https://go.dev/ref/spec#Keywords + 'break', 'default', 'func', 'interface', 'select', + 'case', 'defer', 'go', 'map', 'struct', + 'chan', 'else', 'goto', 'package', 'switch', + 'const', 'fallthrough', 'if', 'range', 'type', + 'continue', 'for', 'import', 'return', 'var', + ], + }, + supertypes: $ => [ $._expression, $._type, diff --git a/log.html b/log.html new file mode 100644 index 00000000..49e4717d --- /dev/null +++ b/log.html @@ -0,0 +1,3827 @@ + + + + + + + + + + + + +new_parse + + + + + + + + + +process version:0, version_count:1, state:1, row:0, col:0 + + + + + + + + + +lex_internal state:58, row:0, column:0 + + + + + + + + + +lexed_lookahead sym:func, size:4 + + + + + + + + + +shift state:1148 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_head_0->node_0x602a9f78c750 + + +0 + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:1148, row:0, col:4 + + + + + + + + + +lex_internal state:0, row:0, column:4 + + + + + + + + + +lexed_lookahead sym:identifier, size:17 + + + + + + + + + +shift state:1076 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_head_0->node_0x602a9f77dfe0 + + +0 + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:1076, row:0, col:21 + + + + + + + + + +lex_internal state:0, row:0, column:21 + + + + + + + + + +lexed_lookahead sym:(, size:1 + + + + + + + + + +shift state:510 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f753560 + + +510 + + + + + +node_head_0->node_0x602a9f753560 + + +0 + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:510, row:0, col:22 + + + + + + + + + +lex_internal state:0, row:0, column:22 + + + + + + + + + +lexed_lookahead sym:[, size:1 + + + + + + + + + +shift state:84 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f75c2c0 + + +84 + + + + + +node_head_0->node_0x602a9f75c2c0 + + +0 + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f75c2c0->node_0x602a9f753560 + + +'[' + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:84, row:0, col:23 + + + + + + + + + +lex_internal state:58, row:0, column:23 + + + + + + + + + +lexed_lookahead sym:], size:1 + + + + + + + + + +shift state:702 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73eb50 + + +702 + + + + + +node_head_0->node_0x602a9f73eb50 + + +0 + + + + + +node_0x602a9f75c2c0 + + +84 + + + + + +node_0x602a9f73eb50->node_0x602a9f75c2c0 + + +']' + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f75c2c0->node_0x602a9f753560 + + +'[' + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:702, row:0, col:24 + + + + + + + + + +lex_internal state:0, row:0, column:24 + + + + + + + + + +lexed_lookahead sym:identifier, size:6 + + + + + + + + + +shift state:855 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73c420 + + +855 + + + + + +node_head_0->node_0x602a9f73c420 + + +0 + + + + + +node_0x602a9f73eb50 + + +702 + + + + + +node_0x602a9f73c420->node_0x602a9f73eb50 + + +identifier + + + + + +node_0x602a9f75c2c0 + + +84 + + + + + +node_0x602a9f73eb50->node_0x602a9f75c2c0 + + +']' + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f75c2c0->node_0x602a9f753560 + + +'[' + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:855, row:0, col:30 + + + + + + + + + +lex_internal state:3, row:0, column:30 + + + + + + + + + +lexed_lookahead sym:,, size:1 + + + + + + + + + +reduce sym:_simple_type, child_count:1 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f6f7a30 + + +864 + + + + + +node_head_0->node_0x602a9f6f7a30 + + +0 + + + + + +node_0x602a9f73eb50 + + +702 + + + + + +node_0x602a9f6f7a30->node_0x602a9f73eb50 + + +_simple_type + + + + + +node_0x602a9f75c2c0 + + +84 + + + + + +node_0x602a9f73eb50->node_0x602a9f75c2c0 + + +']' + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f75c2c0->node_0x602a9f753560 + + +'[' + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +reduce sym:slice_type, child_count:3 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73c420 + + +867 + + + + + +node_head_0->node_0x602a9f73c420 + + +0 + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +slice_type + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +reduce sym:_simple_type, child_count:1 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f75c2c0 + + +1267 + + + + + +node_head_0->node_0x602a9f75c2c0 + + +0 + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f75c2c0->node_0x602a9f753560 + + +_simple_type + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +reduce sym:parameter_declaration, child_count:1 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73c420 + + +1161 + + + + + +node_head_0->node_0x602a9f73c420 + + +0 + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +parameter_declaration + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +shift state:521 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f75c2c0 + + +521 + + + + + +node_head_0->node_0x602a9f75c2c0 + + +0 + + + + + +node_0x602a9f73c420 + + +1161 + + + + + +node_0x602a9f75c2c0->node_0x602a9f73c420 + + +',' + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +parameter_declaration + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:521, row:0, col:31 + + + + + + + + + +lex_internal state:0, row:0, column:31 + + + + + + + + + +lexed_lookahead sym:identifier, size:4 + + + + + + + + + +shift state:453 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73eb50 + + +453 + + + + + +node_head_0->node_0x602a9f73eb50 + + +0 + + + + + +node_0x602a9f75c2c0 + + +521 + + + + + +node_0x602a9f73eb50->node_0x602a9f75c2c0 + + +identifier + + + + + +node_0x602a9f73c420 + + +1161 + + + + + +node_0x602a9f75c2c0->node_0x602a9f73c420 + + +',' + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +parameter_declaration + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:453, row:0, col:35 + + + + + + + + + +lex_internal state:3, row:0, column:35 + + + + + + + + + +lexed_lookahead sym:), size:1 + + + + + + + + + +reduce sym:_simple_type, child_count:1 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f6f7a30 + + +1267 + + + + + +node_head_0->node_0x602a9f6f7a30 + + +0 + + + + + +node_0x602a9f75c2c0 + + +521 + + + + + +node_0x602a9f6f7a30->node_0x602a9f75c2c0 + + +_simple_type + + + + + +node_0x602a9f73c420 + + +1161 + + + + + +node_0x602a9f75c2c0->node_0x602a9f73c420 + + +',' + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +parameter_declaration + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +reduce sym:parameter_declaration, child_count:1 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73eb50 + + +1304 + + + + + +node_head_0->node_0x602a9f73eb50 + + +0 + + + + + +node_0x602a9f75c2c0 + + +521 + + + + + +node_0x602a9f73eb50->node_0x602a9f75c2c0 + + +parameter_declaration + + + + + +node_0x602a9f73c420 + + +1161 + + + + + +node_0x602a9f75c2c0->node_0x602a9f73c420 + + +',' + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +parameter_declaration + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +reduce sym:parameter_list_repeat1, child_count:2 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f6f7a30 + + +1182 + + + + + +node_head_0->node_0x602a9f6f7a30 + + +0 + + + + + +node_0x602a9f73c420 + + +1161 + + + + + +node_0x602a9f6f7a30->node_0x602a9f73c420 + + +parameter_list_repeat1 + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +parameter_declaration + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +shift state:794 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f75c2c0 + + +794 + + + + + +node_head_0->node_0x602a9f75c2c0 + + +0 + + + + + +node_0x602a9f6f7a30 + + +1182 + + + + + +node_0x602a9f75c2c0->node_0x602a9f6f7a30 + + +')' + + + + + +node_0x602a9f73c420 + + +1161 + + + + + +node_0x602a9f6f7a30->node_0x602a9f73c420 + + +parameter_list_repeat1 + + + + + +node_0x602a9f753560 + + +510 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +parameter_declaration + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f753560->node_0x602a9f77dfe0 + + +'(' + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:794, row:0, col:36 + + + + + + + + + +lex_internal state:55, row:0, column:36 + + + + + + + + + +lexed_lookahead sym:{, size:2 + + + + + + + + + +reduce sym:parameter_list, child_count:4 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73eb50 + + +454 + + + + + +node_head_0->node_0x602a9f73eb50 + + +0 + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f73eb50->node_0x602a9f77dfe0 + + +parameter_list + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +shift state:15 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f753560 + + +15 + + + + + +node_head_0->node_0x602a9f753560 + + +0 + + + + + +node_0x602a9f73eb50 + + +454 + + + + + +node_0x602a9f753560->node_0x602a9f73eb50 + + +'{' + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f73eb50->node_0x602a9f77dfe0 + + +parameter_list + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:15, row:0, col:38 + + + + + + + + + +lex_internal state:58, row:0, column:38 + + + + + + + + + +lexed_lookahead sym:}, size:2 + + + + + + + + + +shift state:1094 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f73c420 + + +1094 + + + + + +node_head_0->node_0x602a9f73c420 + + +0 + + + + + +node_0x602a9f753560 + + +15 + + + + + +node_0x602a9f73c420->node_0x602a9f753560 + + +'}' + + + + + +node_0x602a9f73eb50 + + +454 + + + + + +node_0x602a9f753560->node_0x602a9f73eb50 + + +'{' + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f73eb50->node_0x602a9f77dfe0 + + +parameter_list + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +process version:0, version_count:1, state:1094, row:1, col:1 + + + + + + + + + +lex_internal state:55, row:1, column:1 + + + + + + + + + +lexed_lookahead sym:source_file_token1, size:1 + + + + + + + + + +reduce sym:block, child_count:2 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f6f7a30 + + +1111 + + + + + +node_head_0->node_0x602a9f6f7a30 + + +0 + + + + + +node_0x602a9f73eb50 + + +454 + + + + + +node_0x602a9f6f7a30->node_0x602a9f73eb50 + + +block + + + + + +node_0x602a9f77dfe0 + + +1076 + + + + + +node_0x602a9f73eb50->node_0x602a9f77dfe0 + + +parameter_list + + + + + +node_0x602a9f78c750 + + +1148 + + + + + +node_0x602a9f77dfe0->node_0x602a9f78c750 + + +identifier + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f78c750->node_0x602a9f6facf0 + + +'func' + + + + + + + + + + + + +reduce sym:function_declaration, child_count:4 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f753560 + + +1087 + + + + + +node_head_0->node_0x602a9f753560 + + +0 + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f753560->node_0x602a9f6facf0 + + +function_declaration + + + + + + + + + + + + +shift state:246 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f78c750 + + +246 + + + + + +node_head_0->node_0x602a9f78c750 + + +0 + + + + + +node_0x602a9f753560 + + +1087 + + + + + +node_0x602a9f78c750->node_0x602a9f753560 + + +source_file_token1 + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f753560->node_0x602a9f6facf0 + + +function_declaration + + + + + + + + + + + + +process version:0, version_count:1, state:246, row:2, col:0 + + + + + + + + + +lex_internal state:58, row:2, column:0 + + + + + + + + + +lexed_lookahead sym:end, size:0 + + + + + + + + + +reduce sym:source_file_repeat1, child_count:2 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f77dfe0 + + +3 + + + + + +node_head_0->node_0x602a9f77dfe0 + + +0 + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f77dfe0->node_0x602a9f6facf0 + + +source_file_repeat1 + + + + + + + + + + + + +reduce sym:source_file, child_count:1 + + + + + + + + +stack + + + +node_head_0 + + + +node_0x602a9f753560 + + +1363 + + + + + +node_head_0->node_0x602a9f753560 + + +0 + + + + + +node_0x602a9f6facf0 + + +1 + + + + + +node_0x602a9f753560->node_0x602a9f6facf0 + + +source_file + + + + + + + + + + + + +accept + + + + + + + + +stack + + + + + + + + + + +done + + + + + + + + +tree + + + +tree_0x7ffeff9e1a48 + + +source_file + + + + + +tree_0x602a9f8879b0 + + +source_file_repeat1 + + + + + +tree_0x7ffeff9e1a48->tree_0x602a9f8879b0 + + + + + + + +tree_0x602a9f8879b8 + +end + + + + + +tree_0x7ffeff9e1a48->tree_0x602a9f8879b8 + + + + + + + +tree_0x602a9f889820 + + +function_declaration + + + + + +tree_0x602a9f8879b0->tree_0x602a9f889820 + + + + + + + +tree_0x602a9f889828 + +source_file_token1 + + + + + +tree_0x602a9f8879b0->tree_0x602a9f889828 + + + + + + + +tree_0x602a9f6fa560 + +func + + + + + +tree_0x602a9f889820->tree_0x602a9f6fa560 + + + + + + + +tree_0x602a9f6fa568 + +identifier + + + + + +tree_0x602a9f889820->tree_0x602a9f6fa568 + + + + + + + +tree_0x602a9f6fa570 + + +parameter_list + + + + + +tree_0x602a9f889820->tree_0x602a9f6fa570 + + + + + + + +tree_0x602a9f6fa578 + + +block + + + + + +tree_0x602a9f889820->tree_0x602a9f6fa578 + + + + + + + +tree_0x602a9f782ab0 + +( + + + + + +tree_0x602a9f6fa570->tree_0x602a9f782ab0 + + + + + + + +tree_0x602a9f782ab8 + + +parameter_declaration + + + + + +tree_0x602a9f6fa570->tree_0x602a9f782ab8 + + + + + + + +tree_0x602a9f782ac0 + + +parameter_list_repeat1 + + + + + +tree_0x602a9f6fa570->tree_0x602a9f782ac0 + + + + + + + +tree_0x602a9f782ac8 + +) + + + + + +tree_0x602a9f6fa570->tree_0x602a9f782ac8 + + + + + + + +tree_0x602a9f87d800 + + +_simple_type + + + + + +tree_0x602a9f782ab8->tree_0x602a9f87d800 + + + + + + + +tree_0x602a9f8896f0 + + +slice_type + + + + + +tree_0x602a9f87d800->tree_0x602a9f8896f0 + + + + + + + +tree_0x602a9f887aa0 + +[ + + + + + +tree_0x602a9f8896f0->tree_0x602a9f887aa0 + + + + + + + +tree_0x602a9f887aa8 + +] + + + + + +tree_0x602a9f8896f0->tree_0x602a9f887aa8 + + + + + + + +tree_0x602a9f887ab0 + + +_simple_type + + + + + +tree_0x602a9f8896f0->tree_0x602a9f887ab0 + + + + + + + +tree_0x602a9f87f170 + +type_identifier + + + + + +tree_0x602a9f887ab0->tree_0x602a9f87f170 + + + + + + + +tree_0x602a9f887a30 + +, + + + + + +tree_0x602a9f782ac0->tree_0x602a9f887a30 + + + + + + + +tree_0x602a9f887a38 + + +parameter_declaration + + + + + +tree_0x602a9f782ac0->tree_0x602a9f887a38 + + + + + + + +tree_0x602a9f7f8660 + + +_simple_type + + + + + +tree_0x602a9f887a38->tree_0x602a9f7f8660 + + + + + + + +tree_0x602a9f7fbed0 + +type_identifier + + + + + +tree_0x602a9f7f8660->tree_0x602a9f7fbed0 + + + + + + + +tree_0x602a9f889890 + +{ + + + + + +tree_0x602a9f6fa578->tree_0x602a9f889890 + + + + + + + +tree_0x602a9f889898 + +} + + + + + +tree_0x602a9f6fa578->tree_0x602a9f889898 + + + + + + + diff --git a/src/grammar.json b/src/grammar.json index a8fd60e7..f5a865cc 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -6994,5 +6994,109 @@ "_simple_type", "_statement", "_simple_statement" - ] + ], + "reserved": { + "global": [ + { + "type": "STRING", + "value": "break" + }, + { + "type": "STRING", + "value": "default" + }, + { + "type": "STRING", + "value": "func" + }, + { + "type": "STRING", + "value": "interface" + }, + { + "type": "STRING", + "value": "select" + }, + { + "type": "STRING", + "value": "case" + }, + { + "type": "STRING", + "value": "defer" + }, + { + "type": "STRING", + "value": "go" + }, + { + "type": "STRING", + "value": "map" + }, + { + "type": "STRING", + "value": "struct" + }, + { + "type": "STRING", + "value": "chan" + }, + { + "type": "STRING", + "value": "else" + }, + { + "type": "STRING", + "value": "goto" + }, + { + "type": "STRING", + "value": "package" + }, + { + "type": "STRING", + "value": "switch" + }, + { + "type": "STRING", + "value": "const" + }, + { + "type": "STRING", + "value": "fallthrough" + }, + { + "type": "STRING", + "value": "if" + }, + { + "type": "STRING", + "value": "range" + }, + { + "type": "STRING", + "value": "type" + }, + { + "type": "STRING", + "value": "continue" + }, + { + "type": "STRING", + "value": "for" + }, + { + "type": "STRING", + "value": "import" + }, + { + "type": "STRING", + "value": "return" + }, + { + "type": "STRING", + "value": "var" + } + ] + } } diff --git a/src/parser.c b/src/parser.c index 5fea0f63..9ab31cbe 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1,10 +1,12 @@ +/* Automatically generated by tree-sitter v0.25.0 (ebb9df536c1fa3f7cc733cdc4c749d0b9a1bc096) */ + #include "tree_sitter/parser.h" #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif -#define LANGUAGE_VERSION 14 +#define LANGUAGE_VERSION 15 #define STATE_COUNT 1434 #define LARGE_STATE_COUNT 29 #define SYMBOL_COUNT 214 @@ -13,6 +15,7 @@ #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 35 #define MAX_ALIAS_SEQUENCE_LENGTH 9 +#define MAX_RESERVED_WORD_SET_SIZE 25 #define PRODUCTION_ID_COUNT 110 enum ts_symbol_identifiers { @@ -3618,7 +3621,7 @@ static TSCharacterRange sym_identifier_character_set_1[] = { {0x1760, 0x176c}, {0x176e, 0x1770}, {0x1780, 0x17b3}, {0x17d7, 0x17d7}, {0x17dc, 0x17dc}, {0x1820, 0x1878}, {0x1880, 0x18a8}, {0x18aa, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1950, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x1a00, 0x1a16}, {0x1a20, 0x1a54}, {0x1aa7, 0x1aa7}, {0x1b05, 0x1b33}, {0x1b45, 0x1b4c}, {0x1b83, 0x1ba0}, {0x1bae, 0x1baf}, {0x1bba, 0x1be5}, {0x1c00, 0x1c23}, {0x1c4d, 0x1c4f}, - {0x1c5a, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1ce9, 0x1cec}, {0x1cee, 0x1cf3}, {0x1cf5, 0x1cf6}, {0x1cfa, 0x1cfa}, + {0x1c5a, 0x1c7d}, {0x1c80, 0x1c8a}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1ce9, 0x1cec}, {0x1cee, 0x1cf3}, {0x1cf5, 0x1cf6}, {0x1cfa, 0x1cfa}, {0x1d00, 0x1dbf}, {0x1e00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2071, 0x2071}, {0x207f, 0x207f}, {0x2090, 0x209c}, {0x2102, 0x2102}, @@ -3628,7 +3631,7 @@ static TSCharacterRange sym_identifier_character_set_1[] = { {0x2db8, 0x2dbe}, {0x2dc0, 0x2dc6}, {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x3005, 0x3007}, {0x3021, 0x3029}, {0x3031, 0x3035}, {0x3038, 0x303c}, {0x3041, 0x3096}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, {0x3105, 0x312f}, {0x3131, 0x318e}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3400, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa61f}, {0xa62a, 0xa62b}, {0xa640, 0xa66e}, - {0xa67f, 0xa69d}, {0xa6a0, 0xa6ef}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7d9}, + {0xa67f, 0xa69d}, {0xa6a0, 0xa6ef}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7cd}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7dc}, {0xa7f2, 0xa801}, {0xa803, 0xa805}, {0xa807, 0xa80a}, {0xa80c, 0xa822}, {0xa840, 0xa873}, {0xa882, 0xa8b3}, {0xa8f2, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa8fe}, {0xa90a, 0xa925}, {0xa930, 0xa946}, {0xa960, 0xa97c}, {0xa984, 0xa9b2}, {0xa9cf, 0xa9cf}, {0xa9e0, 0xa9e4}, {0xa9e6, 0xa9ef}, {0xa9fa, 0xa9fe}, {0xaa00, 0xaa28}, {0xaa40, 0xaa42}, {0xaa44, 0xaa4b}, {0xaa60, 0xaa76}, {0xaa7a, 0xaa7a}, {0xaa7e, 0xaaaf}, {0xaab1, 0xaab1}, @@ -3642,38 +3645,40 @@ static TSCharacterRange sym_identifier_character_set_1[] = { {0x10080, 0x100fa}, {0x10140, 0x10174}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x10300, 0x1031f}, {0x1032d, 0x1034a}, {0x10350, 0x10375}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, - {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, - {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10860, 0x10876}, {0x10880, 0x1089e}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, - {0x10900, 0x10915}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109be, 0x109bf}, {0x10a00, 0x10a00}, {0x10a10, 0x10a13}, {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, - {0x10a60, 0x10a7c}, {0x10a80, 0x10a9c}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae4}, {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b60, 0x10b72}, {0x10b80, 0x10b91}, - {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, {0x10cc0, 0x10cf2}, {0x10d00, 0x10d23}, {0x10e80, 0x10ea9}, {0x10eb0, 0x10eb1}, {0x10f00, 0x10f1c}, {0x10f27, 0x10f27}, - {0x10f30, 0x10f45}, {0x10f70, 0x10f81}, {0x10fb0, 0x10fc4}, {0x10fe0, 0x10ff6}, {0x11003, 0x11037}, {0x11071, 0x11072}, {0x11075, 0x11075}, {0x11083, 0x110af}, - {0x110d0, 0x110e8}, {0x11103, 0x11126}, {0x11144, 0x11144}, {0x11147, 0x11147}, {0x11150, 0x11172}, {0x11176, 0x11176}, {0x11183, 0x111b2}, {0x111c1, 0x111c4}, - {0x111da, 0x111da}, {0x111dc, 0x111dc}, {0x11200, 0x11211}, {0x11213, 0x1122b}, {0x1123f, 0x11240}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, - {0x1128f, 0x1129d}, {0x1129f, 0x112a8}, {0x112b0, 0x112de}, {0x11305, 0x1130c}, {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, {0x11332, 0x11333}, - {0x11335, 0x11339}, {0x1133d, 0x1133d}, {0x11350, 0x11350}, {0x1135d, 0x11361}, {0x11400, 0x11434}, {0x11447, 0x1144a}, {0x1145f, 0x11461}, {0x11480, 0x114af}, - {0x114c4, 0x114c5}, {0x114c7, 0x114c7}, {0x11580, 0x115ae}, {0x115d8, 0x115db}, {0x11600, 0x1162f}, {0x11644, 0x11644}, {0x11680, 0x116aa}, {0x116b8, 0x116b8}, - {0x11700, 0x1171a}, {0x11740, 0x11746}, {0x11800, 0x1182b}, {0x118a0, 0x118df}, {0x118ff, 0x11906}, {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, - {0x11918, 0x1192f}, {0x1193f, 0x1193f}, {0x11941, 0x11941}, {0x119a0, 0x119a7}, {0x119aa, 0x119d0}, {0x119e1, 0x119e1}, {0x119e3, 0x119e3}, {0x11a00, 0x11a00}, - {0x11a0b, 0x11a32}, {0x11a3a, 0x11a3a}, {0x11a50, 0x11a50}, {0x11a5c, 0x11a89}, {0x11a9d, 0x11a9d}, {0x11ab0, 0x11af8}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c2e}, - {0x11c40, 0x11c40}, {0x11c72, 0x11c8f}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d30}, {0x11d46, 0x11d46}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, - {0x11d6a, 0x11d89}, {0x11d98, 0x11d98}, {0x11ee0, 0x11ef2}, {0x11f02, 0x11f02}, {0x11f04, 0x11f10}, {0x11f12, 0x11f33}, {0x11fb0, 0x11fb0}, {0x12000, 0x12399}, - {0x12400, 0x1246e}, {0x12480, 0x12543}, {0x12f90, 0x12ff0}, {0x13000, 0x1342f}, {0x13441, 0x13446}, {0x14400, 0x14646}, {0x16800, 0x16a38}, {0x16a40, 0x16a5e}, - {0x16a70, 0x16abe}, {0x16ad0, 0x16aed}, {0x16b00, 0x16b2f}, {0x16b40, 0x16b43}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16e40, 0x16e7f}, {0x16f00, 0x16f4a}, - {0x16f50, 0x16f50}, {0x16f93, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe3}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, {0x18d00, 0x18d08}, {0x1aff0, 0x1aff3}, - {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, {0x1b170, 0x1b2fb}, - {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, - {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, - {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, - {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, - {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, {0x1df00, 0x1df1e}, {0x1df25, 0x1df2a}, {0x1e030, 0x1e06d}, {0x1e100, 0x1e12c}, {0x1e137, 0x1e13d}, {0x1e14e, 0x1e14e}, - {0x1e290, 0x1e2ad}, {0x1e2c0, 0x1e2eb}, {0x1e4d0, 0x1e4eb}, {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, {0x1e800, 0x1e8c4}, - {0x1e900, 0x1e943}, {0x1e94b, 0x1e94b}, {0x1ee00, 0x1ee03}, {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, {0x1ee24, 0x1ee24}, {0x1ee27, 0x1ee27}, {0x1ee29, 0x1ee32}, - {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, {0x1ee49, 0x1ee49}, {0x1ee4b, 0x1ee4b}, {0x1ee4d, 0x1ee4f}, - {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, {0x1ee5d, 0x1ee5d}, {0x1ee5f, 0x1ee5f}, {0x1ee61, 0x1ee62}, - {0x1ee64, 0x1ee64}, {0x1ee67, 0x1ee6a}, {0x1ee6c, 0x1ee72}, {0x1ee74, 0x1ee77}, {0x1ee79, 0x1ee7c}, {0x1ee7e, 0x1ee7e}, {0x1ee80, 0x1ee89}, {0x1ee8b, 0x1ee9b}, - {0x1eea1, 0x1eea3}, {0x1eea5, 0x1eea9}, {0x1eeab, 0x1eebb}, {0x20000, 0x2a6df}, {0x2a700, 0x2b739}, {0x2b740, 0x2b81d}, {0x2b820, 0x2cea1}, {0x2ceb0, 0x2ebe0}, - {0x2ebf0, 0x2ee5d}, {0x2f800, 0x2fa1d}, {0x30000, 0x3134a}, {0x31350, 0x323af}, + {0x105c0, 0x105f3}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, + {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10860, 0x10876}, {0x10880, 0x1089e}, {0x108e0, 0x108f2}, + {0x108f4, 0x108f5}, {0x10900, 0x10915}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109be, 0x109bf}, {0x10a00, 0x10a00}, {0x10a10, 0x10a13}, {0x10a15, 0x10a17}, + {0x10a19, 0x10a35}, {0x10a60, 0x10a7c}, {0x10a80, 0x10a9c}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae4}, {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b60, 0x10b72}, + {0x10b80, 0x10b91}, {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, {0x10cc0, 0x10cf2}, {0x10d00, 0x10d23}, {0x10d4a, 0x10d65}, {0x10d6f, 0x10d85}, {0x10e80, 0x10ea9}, + {0x10eb0, 0x10eb1}, {0x10ec2, 0x10ec4}, {0x10f00, 0x10f1c}, {0x10f27, 0x10f27}, {0x10f30, 0x10f45}, {0x10f70, 0x10f81}, {0x10fb0, 0x10fc4}, {0x10fe0, 0x10ff6}, + {0x11003, 0x11037}, {0x11071, 0x11072}, {0x11075, 0x11075}, {0x11083, 0x110af}, {0x110d0, 0x110e8}, {0x11103, 0x11126}, {0x11144, 0x11144}, {0x11147, 0x11147}, + {0x11150, 0x11172}, {0x11176, 0x11176}, {0x11183, 0x111b2}, {0x111c1, 0x111c4}, {0x111da, 0x111da}, {0x111dc, 0x111dc}, {0x11200, 0x11211}, {0x11213, 0x1122b}, + {0x1123f, 0x11240}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, {0x1128f, 0x1129d}, {0x1129f, 0x112a8}, {0x112b0, 0x112de}, {0x11305, 0x1130c}, + {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, {0x11332, 0x11333}, {0x11335, 0x11339}, {0x1133d, 0x1133d}, {0x11350, 0x11350}, {0x1135d, 0x11361}, + {0x11380, 0x11389}, {0x1138b, 0x1138b}, {0x1138e, 0x1138e}, {0x11390, 0x113b5}, {0x113b7, 0x113b7}, {0x113d1, 0x113d1}, {0x113d3, 0x113d3}, {0x11400, 0x11434}, + {0x11447, 0x1144a}, {0x1145f, 0x11461}, {0x11480, 0x114af}, {0x114c4, 0x114c5}, {0x114c7, 0x114c7}, {0x11580, 0x115ae}, {0x115d8, 0x115db}, {0x11600, 0x1162f}, + {0x11644, 0x11644}, {0x11680, 0x116aa}, {0x116b8, 0x116b8}, {0x11700, 0x1171a}, {0x11740, 0x11746}, {0x11800, 0x1182b}, {0x118a0, 0x118df}, {0x118ff, 0x11906}, + {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, {0x11918, 0x1192f}, {0x1193f, 0x1193f}, {0x11941, 0x11941}, {0x119a0, 0x119a7}, {0x119aa, 0x119d0}, + {0x119e1, 0x119e1}, {0x119e3, 0x119e3}, {0x11a00, 0x11a00}, {0x11a0b, 0x11a32}, {0x11a3a, 0x11a3a}, {0x11a50, 0x11a50}, {0x11a5c, 0x11a89}, {0x11a9d, 0x11a9d}, + {0x11ab0, 0x11af8}, {0x11bc0, 0x11be0}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c2e}, {0x11c40, 0x11c40}, {0x11c72, 0x11c8f}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, + {0x11d0b, 0x11d30}, {0x11d46, 0x11d46}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d89}, {0x11d98, 0x11d98}, {0x11ee0, 0x11ef2}, {0x11f02, 0x11f02}, + {0x11f04, 0x11f10}, {0x11f12, 0x11f33}, {0x11fb0, 0x11fb0}, {0x12000, 0x12399}, {0x12400, 0x1246e}, {0x12480, 0x12543}, {0x12f90, 0x12ff0}, {0x13000, 0x1342f}, + {0x13441, 0x13446}, {0x13460, 0x143fa}, {0x14400, 0x14646}, {0x16100, 0x1611d}, {0x16800, 0x16a38}, {0x16a40, 0x16a5e}, {0x16a70, 0x16abe}, {0x16ad0, 0x16aed}, + {0x16b00, 0x16b2f}, {0x16b40, 0x16b43}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16d40, 0x16d6c}, {0x16e40, 0x16e7f}, {0x16f00, 0x16f4a}, {0x16f50, 0x16f50}, + {0x16f93, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe3}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, {0x18cff, 0x18d08}, {0x1aff0, 0x1aff3}, {0x1aff5, 0x1affb}, + {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, {0x1b170, 0x1b2fb}, {0x1bc00, 0x1bc6a}, + {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, {0x1d4a5, 0x1d4a6}, + {0x1d4a9, 0x1d4ac}, {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, {0x1d516, 0x1d51c}, + {0x1d51e, 0x1d539}, {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, {0x1d6c2, 0x1d6da}, + {0x1d6dc, 0x1d6fa}, {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, {0x1d7aa, 0x1d7c2}, + {0x1d7c4, 0x1d7cb}, {0x1df00, 0x1df1e}, {0x1df25, 0x1df2a}, {0x1e030, 0x1e06d}, {0x1e100, 0x1e12c}, {0x1e137, 0x1e13d}, {0x1e14e, 0x1e14e}, {0x1e290, 0x1e2ad}, + {0x1e2c0, 0x1e2eb}, {0x1e4d0, 0x1e4eb}, {0x1e5d0, 0x1e5ed}, {0x1e5f0, 0x1e5f0}, {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, + {0x1e800, 0x1e8c4}, {0x1e900, 0x1e943}, {0x1e94b, 0x1e94b}, {0x1ee00, 0x1ee03}, {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, {0x1ee24, 0x1ee24}, {0x1ee27, 0x1ee27}, + {0x1ee29, 0x1ee32}, {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, {0x1ee49, 0x1ee49}, {0x1ee4b, 0x1ee4b}, + {0x1ee4d, 0x1ee4f}, {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, {0x1ee5d, 0x1ee5d}, {0x1ee5f, 0x1ee5f}, + {0x1ee61, 0x1ee62}, {0x1ee64, 0x1ee64}, {0x1ee67, 0x1ee6a}, {0x1ee6c, 0x1ee72}, {0x1ee74, 0x1ee77}, {0x1ee79, 0x1ee7c}, {0x1ee7e, 0x1ee7e}, {0x1ee80, 0x1ee89}, + {0x1ee8b, 0x1ee9b}, {0x1eea1, 0x1eea3}, {0x1eea5, 0x1eea9}, {0x1eeab, 0x1eebb}, {0x20000, 0x2a6df}, {0x2a700, 0x2b739}, {0x2b740, 0x2b81d}, {0x2b820, 0x2cea1}, + {0x2ceb0, 0x2ebe0}, {0x2ebf0, 0x2ee5d}, {0x2f800, 0x2fa1d}, {0x30000, 0x3134a}, {0x31350, 0x323af}, }; static TSCharacterRange sym_identifier_character_set_2[] = { @@ -3683,7 +3688,7 @@ static TSCharacterRange sym_identifier_character_set_2[] = { {0x483, 0x487}, {0x48a, 0x52f}, {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x591, 0x5bd}, {0x5bf, 0x5bf}, {0x5c1, 0x5c2}, {0x5c4, 0x5c5}, {0x5c7, 0x5c7}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x610, 0x61a}, {0x620, 0x669}, {0x66e, 0x6d3}, {0x6d5, 0x6dc}, {0x6df, 0x6e8}, {0x6ea, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x74a}, {0x74d, 0x7b1}, {0x7c0, 0x7f5}, {0x7fa, 0x7fa}, {0x7fd, 0x7fd}, - {0x800, 0x82d}, {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x898, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, + {0x800, 0x82d}, {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x897, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, {0x971, 0x983}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, {0x9bc, 0x9c4}, {0x9c7, 0x9c8}, {0x9cb, 0x9ce}, {0x9d7, 0x9d7}, {0x9dc, 0x9dd}, {0x9df, 0x9e3}, {0x9e6, 0x9f1}, {0x9fc, 0x9fc}, {0x9fe, 0x9fe}, {0xa01, 0xa03}, {0xa05, 0xa0a}, {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, @@ -3711,7 +3716,7 @@ static TSCharacterRange sym_identifier_character_set_2[] = { {0x180b, 0x180d}, {0x180f, 0x1819}, {0x1820, 0x1878}, {0x1880, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1920, 0x192b}, {0x1930, 0x193b}, {0x1946, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x19d0, 0x19da}, {0x1a00, 0x1a1b}, {0x1a20, 0x1a5e}, {0x1a60, 0x1a7c}, {0x1a7f, 0x1a89}, {0x1a90, 0x1a99}, {0x1aa7, 0x1aa7}, {0x1ab0, 0x1abd}, {0x1abf, 0x1ace}, {0x1b00, 0x1b4c}, {0x1b50, 0x1b59}, {0x1b6b, 0x1b73}, - {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, + {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c8a}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, {0x1cd4, 0x1cfa}, {0x1d00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x200c, 0x200d}, {0x203f, 0x2040}, {0x2054, 0x2054}, {0x2071, 0x2071}, @@ -3722,7 +3727,7 @@ static TSCharacterRange sym_identifier_character_set_2[] = { {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x2de0, 0x2dff}, {0x3005, 0x3007}, {0x3021, 0x302f}, {0x3031, 0x3035}, {0x3038, 0x303c}, {0x3041, 0x3096}, {0x3099, 0x309a}, {0x309d, 0x309f}, {0x30a1, 0x30ff}, {0x3105, 0x312f}, {0x3131, 0x318e}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3400, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, {0xa640, 0xa66f}, {0xa674, 0xa67d}, {0xa67f, 0xa6f1}, {0xa717, 0xa71f}, - {0xa722, 0xa788}, {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7d9}, {0xa7f2, 0xa827}, {0xa82c, 0xa82c}, {0xa840, 0xa873}, + {0xa722, 0xa788}, {0xa78b, 0xa7cd}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7dc}, {0xa7f2, 0xa827}, {0xa82c, 0xa82c}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa92d}, {0xa930, 0xa953}, {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, {0xaa40, 0xaa4d}, {0xaa50, 0xaa59}, {0xaa60, 0xaa76}, {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, @@ -3735,39 +3740,42 @@ static TSCharacterRange sym_identifier_character_set_2[] = { {0x10050, 0x1005d}, {0x10080, 0x100fa}, {0x10140, 0x10174}, {0x101fd, 0x101fd}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x102e0, 0x102e0}, {0x10300, 0x1031f}, {0x1032d, 0x1034a}, {0x10350, 0x1037a}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104a0, 0x104a9}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, - {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, - {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, - {0x10860, 0x10876}, {0x10880, 0x1089e}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x10900, 0x10915}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109be, 0x109bf}, - {0x10a00, 0x10a03}, {0x10a05, 0x10a06}, {0x10a0c, 0x10a13}, {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, {0x10a38, 0x10a3a}, {0x10a3f, 0x10a3f}, {0x10a60, 0x10a7c}, - {0x10a80, 0x10a9c}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae6}, {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b60, 0x10b72}, {0x10b80, 0x10b91}, {0x10c00, 0x10c48}, - {0x10c80, 0x10cb2}, {0x10cc0, 0x10cf2}, {0x10d00, 0x10d27}, {0x10d30, 0x10d39}, {0x10e80, 0x10ea9}, {0x10eab, 0x10eac}, {0x10eb0, 0x10eb1}, {0x10efd, 0x10f1c}, - {0x10f27, 0x10f27}, {0x10f30, 0x10f50}, {0x10f70, 0x10f85}, {0x10fb0, 0x10fc4}, {0x10fe0, 0x10ff6}, {0x11000, 0x11046}, {0x11066, 0x11075}, {0x1107f, 0x110ba}, - {0x110c2, 0x110c2}, {0x110d0, 0x110e8}, {0x110f0, 0x110f9}, {0x11100, 0x11134}, {0x11136, 0x1113f}, {0x11144, 0x11147}, {0x11150, 0x11173}, {0x11176, 0x11176}, - {0x11180, 0x111c4}, {0x111c9, 0x111cc}, {0x111ce, 0x111da}, {0x111dc, 0x111dc}, {0x11200, 0x11211}, {0x11213, 0x11237}, {0x1123e, 0x11241}, {0x11280, 0x11286}, - {0x11288, 0x11288}, {0x1128a, 0x1128d}, {0x1128f, 0x1129d}, {0x1129f, 0x112a8}, {0x112b0, 0x112ea}, {0x112f0, 0x112f9}, {0x11300, 0x11303}, {0x11305, 0x1130c}, - {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, {0x11332, 0x11333}, {0x11335, 0x11339}, {0x1133b, 0x11344}, {0x11347, 0x11348}, {0x1134b, 0x1134d}, - {0x11350, 0x11350}, {0x11357, 0x11357}, {0x1135d, 0x11363}, {0x11366, 0x1136c}, {0x11370, 0x11374}, {0x11400, 0x1144a}, {0x11450, 0x11459}, {0x1145e, 0x11461}, - {0x11480, 0x114c5}, {0x114c7, 0x114c7}, {0x114d0, 0x114d9}, {0x11580, 0x115b5}, {0x115b8, 0x115c0}, {0x115d8, 0x115dd}, {0x11600, 0x11640}, {0x11644, 0x11644}, - {0x11650, 0x11659}, {0x11680, 0x116b8}, {0x116c0, 0x116c9}, {0x11700, 0x1171a}, {0x1171d, 0x1172b}, {0x11730, 0x11739}, {0x11740, 0x11746}, {0x11800, 0x1183a}, + {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x105c0, 0x105f3}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, + {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, + {0x1083f, 0x10855}, {0x10860, 0x10876}, {0x10880, 0x1089e}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x10900, 0x10915}, {0x10920, 0x10939}, {0x10980, 0x109b7}, + {0x109be, 0x109bf}, {0x10a00, 0x10a03}, {0x10a05, 0x10a06}, {0x10a0c, 0x10a13}, {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, {0x10a38, 0x10a3a}, {0x10a3f, 0x10a3f}, + {0x10a60, 0x10a7c}, {0x10a80, 0x10a9c}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae6}, {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b60, 0x10b72}, {0x10b80, 0x10b91}, + {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, {0x10cc0, 0x10cf2}, {0x10d00, 0x10d27}, {0x10d30, 0x10d39}, {0x10d40, 0x10d65}, {0x10d69, 0x10d6d}, {0x10d6f, 0x10d85}, + {0x10e80, 0x10ea9}, {0x10eab, 0x10eac}, {0x10eb0, 0x10eb1}, {0x10ec2, 0x10ec4}, {0x10efc, 0x10f1c}, {0x10f27, 0x10f27}, {0x10f30, 0x10f50}, {0x10f70, 0x10f85}, + {0x10fb0, 0x10fc4}, {0x10fe0, 0x10ff6}, {0x11000, 0x11046}, {0x11066, 0x11075}, {0x1107f, 0x110ba}, {0x110c2, 0x110c2}, {0x110d0, 0x110e8}, {0x110f0, 0x110f9}, + {0x11100, 0x11134}, {0x11136, 0x1113f}, {0x11144, 0x11147}, {0x11150, 0x11173}, {0x11176, 0x11176}, {0x11180, 0x111c4}, {0x111c9, 0x111cc}, {0x111ce, 0x111da}, + {0x111dc, 0x111dc}, {0x11200, 0x11211}, {0x11213, 0x11237}, {0x1123e, 0x11241}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, {0x1128f, 0x1129d}, + {0x1129f, 0x112a8}, {0x112b0, 0x112ea}, {0x112f0, 0x112f9}, {0x11300, 0x11303}, {0x11305, 0x1130c}, {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, + {0x11332, 0x11333}, {0x11335, 0x11339}, {0x1133b, 0x11344}, {0x11347, 0x11348}, {0x1134b, 0x1134d}, {0x11350, 0x11350}, {0x11357, 0x11357}, {0x1135d, 0x11363}, + {0x11366, 0x1136c}, {0x11370, 0x11374}, {0x11380, 0x11389}, {0x1138b, 0x1138b}, {0x1138e, 0x1138e}, {0x11390, 0x113b5}, {0x113b7, 0x113c0}, {0x113c2, 0x113c2}, + {0x113c5, 0x113c5}, {0x113c7, 0x113ca}, {0x113cc, 0x113d3}, {0x113e1, 0x113e2}, {0x11400, 0x1144a}, {0x11450, 0x11459}, {0x1145e, 0x11461}, {0x11480, 0x114c5}, + {0x114c7, 0x114c7}, {0x114d0, 0x114d9}, {0x11580, 0x115b5}, {0x115b8, 0x115c0}, {0x115d8, 0x115dd}, {0x11600, 0x11640}, {0x11644, 0x11644}, {0x11650, 0x11659}, + {0x11680, 0x116b8}, {0x116c0, 0x116c9}, {0x116d0, 0x116e3}, {0x11700, 0x1171a}, {0x1171d, 0x1172b}, {0x11730, 0x11739}, {0x11740, 0x11746}, {0x11800, 0x1183a}, {0x118a0, 0x118e9}, {0x118ff, 0x11906}, {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, {0x11918, 0x11935}, {0x11937, 0x11938}, {0x1193b, 0x11943}, {0x11950, 0x11959}, {0x119a0, 0x119a7}, {0x119aa, 0x119d7}, {0x119da, 0x119e1}, {0x119e3, 0x119e4}, {0x11a00, 0x11a3e}, {0x11a47, 0x11a47}, {0x11a50, 0x11a99}, - {0x11a9d, 0x11a9d}, {0x11ab0, 0x11af8}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c36}, {0x11c38, 0x11c40}, {0x11c50, 0x11c59}, {0x11c72, 0x11c8f}, {0x11c92, 0x11ca7}, - {0x11ca9, 0x11cb6}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d36}, {0x11d3a, 0x11d3a}, {0x11d3c, 0x11d3d}, {0x11d3f, 0x11d47}, {0x11d50, 0x11d59}, - {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d8e}, {0x11d90, 0x11d91}, {0x11d93, 0x11d98}, {0x11da0, 0x11da9}, {0x11ee0, 0x11ef6}, {0x11f00, 0x11f10}, - {0x11f12, 0x11f3a}, {0x11f3e, 0x11f42}, {0x11f50, 0x11f59}, {0x11fb0, 0x11fb0}, {0x12000, 0x12399}, {0x12400, 0x1246e}, {0x12480, 0x12543}, {0x12f90, 0x12ff0}, - {0x13000, 0x1342f}, {0x13440, 0x13455}, {0x14400, 0x14646}, {0x16800, 0x16a38}, {0x16a40, 0x16a5e}, {0x16a60, 0x16a69}, {0x16a70, 0x16abe}, {0x16ac0, 0x16ac9}, - {0x16ad0, 0x16aed}, {0x16af0, 0x16af4}, {0x16b00, 0x16b36}, {0x16b40, 0x16b43}, {0x16b50, 0x16b59}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16e40, 0x16e7f}, - {0x16f00, 0x16f4a}, {0x16f4f, 0x16f87}, {0x16f8f, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe4}, {0x16ff0, 0x16ff1}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, - {0x18d00, 0x18d08}, {0x1aff0, 0x1aff3}, {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, - {0x1b164, 0x1b167}, {0x1b170, 0x1b2fb}, {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1bc9d, 0x1bc9e}, {0x1cf00, 0x1cf2d}, - {0x1cf30, 0x1cf46}, {0x1d165, 0x1d169}, {0x1d16d, 0x1d172}, {0x1d17b, 0x1d182}, {0x1d185, 0x1d18b}, {0x1d1aa, 0x1d1ad}, {0x1d242, 0x1d244}, {0x1d400, 0x1d454}, - {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, - {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, - {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, - {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, {0x1d7ce, 0x1d7ff}, {0x1da00, 0x1da36}, {0x1da3b, 0x1da6c}, - {0x1da75, 0x1da75}, {0x1da84, 0x1da84}, {0x1da9b, 0x1da9f}, {0x1daa1, 0x1daaf}, {0x1df00, 0x1df1e}, {0x1df25, 0x1df2a}, {0x1e000, 0x1e006}, {0x1e008, 0x1e018}, - {0x1e01b, 0x1e021}, {0x1e023, 0x1e024}, {0x1e026, 0x1e02a}, {0x1e030, 0x1e06d}, {0x1e08f, 0x1e08f}, {0x1e100, 0x1e12c}, {0x1e130, 0x1e13d}, {0x1e140, 0x1e149}, - {0x1e14e, 0x1e14e}, {0x1e290, 0x1e2ae}, {0x1e2c0, 0x1e2f9}, {0x1e4d0, 0x1e4f9}, {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, + {0x11a9d, 0x11a9d}, {0x11ab0, 0x11af8}, {0x11bc0, 0x11be0}, {0x11bf0, 0x11bf9}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c36}, {0x11c38, 0x11c40}, {0x11c50, 0x11c59}, + {0x11c72, 0x11c8f}, {0x11c92, 0x11ca7}, {0x11ca9, 0x11cb6}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d36}, {0x11d3a, 0x11d3a}, {0x11d3c, 0x11d3d}, + {0x11d3f, 0x11d47}, {0x11d50, 0x11d59}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d8e}, {0x11d90, 0x11d91}, {0x11d93, 0x11d98}, {0x11da0, 0x11da9}, + {0x11ee0, 0x11ef6}, {0x11f00, 0x11f10}, {0x11f12, 0x11f3a}, {0x11f3e, 0x11f42}, {0x11f50, 0x11f5a}, {0x11fb0, 0x11fb0}, {0x12000, 0x12399}, {0x12400, 0x1246e}, + {0x12480, 0x12543}, {0x12f90, 0x12ff0}, {0x13000, 0x1342f}, {0x13440, 0x13455}, {0x13460, 0x143fa}, {0x14400, 0x14646}, {0x16100, 0x16139}, {0x16800, 0x16a38}, + {0x16a40, 0x16a5e}, {0x16a60, 0x16a69}, {0x16a70, 0x16abe}, {0x16ac0, 0x16ac9}, {0x16ad0, 0x16aed}, {0x16af0, 0x16af4}, {0x16b00, 0x16b36}, {0x16b40, 0x16b43}, + {0x16b50, 0x16b59}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16d40, 0x16d6c}, {0x16d70, 0x16d79}, {0x16e40, 0x16e7f}, {0x16f00, 0x16f4a}, {0x16f4f, 0x16f87}, + {0x16f8f, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe4}, {0x16ff0, 0x16ff1}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, {0x18cff, 0x18d08}, {0x1aff0, 0x1aff3}, + {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, {0x1b170, 0x1b2fb}, + {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1bc9d, 0x1bc9e}, {0x1ccf0, 0x1ccf9}, {0x1cf00, 0x1cf2d}, {0x1cf30, 0x1cf46}, + {0x1d165, 0x1d169}, {0x1d16d, 0x1d172}, {0x1d17b, 0x1d182}, {0x1d185, 0x1d18b}, {0x1d1aa, 0x1d1ad}, {0x1d242, 0x1d244}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, + {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, + {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, + {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, + {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, {0x1d7ce, 0x1d7ff}, {0x1da00, 0x1da36}, {0x1da3b, 0x1da6c}, {0x1da75, 0x1da75}, + {0x1da84, 0x1da84}, {0x1da9b, 0x1da9f}, {0x1daa1, 0x1daaf}, {0x1df00, 0x1df1e}, {0x1df25, 0x1df2a}, {0x1e000, 0x1e006}, {0x1e008, 0x1e018}, {0x1e01b, 0x1e021}, + {0x1e023, 0x1e024}, {0x1e026, 0x1e02a}, {0x1e030, 0x1e06d}, {0x1e08f, 0x1e08f}, {0x1e100, 0x1e12c}, {0x1e130, 0x1e13d}, {0x1e140, 0x1e149}, {0x1e14e, 0x1e14e}, + {0x1e290, 0x1e2ae}, {0x1e2c0, 0x1e2f9}, {0x1e4d0, 0x1e4f9}, {0x1e5d0, 0x1e5fa}, {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, {0x1e800, 0x1e8c4}, {0x1e8d0, 0x1e8d6}, {0x1e900, 0x1e94b}, {0x1e950, 0x1e959}, {0x1ee00, 0x1ee03}, {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, {0x1ee24, 0x1ee24}, {0x1ee27, 0x1ee27}, {0x1ee29, 0x1ee32}, {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, {0x1ee49, 0x1ee49}, {0x1ee4b, 0x1ee4b}, {0x1ee4d, 0x1ee4f}, {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, {0x1ee5d, 0x1ee5d}, @@ -3821,7 +3829,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(57); if (('1' <= lookahead && lookahead <= '9')) ADVANCE(154); - if (set_contains(sym_identifier_character_set_1, 668, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_1, 685, lookahead)) ADVANCE(134); END_STATE(); case 1: ADVANCE_MAP( @@ -3849,7 +3857,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(1); - if (set_contains(sym_identifier_character_set_1, 668, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_1, 685, lookahead)) ADVANCE(134); END_STATE(); case 2: if (lookahead == '\n') SKIP(16); @@ -3888,7 +3896,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(3); - if (set_contains(sym_identifier_character_set_1, 668, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_1, 685, lookahead)) ADVANCE(134); END_STATE(); case 4: ADVANCE_MAP( @@ -4222,7 +4230,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(55); if (('1' <= lookahead && lookahead <= '9')) ADVANCE(154); - if (set_contains(sym_identifier_character_set_1, 668, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_1, 685, lookahead)) ADVANCE(134); END_STATE(); case 56: if (eof) ADVANCE(59); @@ -4256,7 +4264,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(56); - if (set_contains(sym_identifier_character_set_1, 668, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_1, 685, lookahead)) ADVANCE(134); END_STATE(); case 57: if (eof) ADVANCE(59); @@ -4293,7 +4301,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(57); if (('1' <= lookahead && lookahead <= '9')) ADVANCE(154); - if (set_contains(sym_identifier_character_set_1, 668, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_1, 685, lookahead)) ADVANCE(134); END_STATE(); case 58: if (eof) ADVANCE(59); @@ -4325,7 +4333,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(58); if (('1' <= lookahead && lookahead <= '9')) ADVANCE(154); - if (set_contains(sym_identifier_character_set_1, 668, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_1, 685, lookahead)) ADVANCE(134); END_STATE(); case 59: ACCEPT_TOKEN(ts_builtin_sym_end); @@ -4600,7 +4608,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 134: ACCEPT_TOKEN(sym_identifier); - if (set_contains(sym_identifier_character_set_2, 776, lookahead)) ADVANCE(134); + if (set_contains(sym_identifier_character_set_2, 800, lookahead)) ADVANCE(134); END_STATE(); case 135: ACCEPT_TOKEN(anon_sym_BQUOTE); @@ -5239,244 +5247,244 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { } } -static const TSLexMode ts_lex_modes[STATE_COUNT] = { +static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 58}, - [2] = {.lex_state = 58}, - [3] = {.lex_state = 58}, - [4] = {.lex_state = 58}, - [5] = {.lex_state = 58}, - [6] = {.lex_state = 58}, - [7] = {.lex_state = 58}, - [8] = {.lex_state = 58}, - [9] = {.lex_state = 58}, - [10] = {.lex_state = 58}, - [11] = {.lex_state = 58}, - [12] = {.lex_state = 58}, - [13] = {.lex_state = 58}, - [14] = {.lex_state = 58}, - [15] = {.lex_state = 58}, - [16] = {.lex_state = 58}, - [17] = {.lex_state = 58}, - [18] = {.lex_state = 58}, - [19] = {.lex_state = 58}, - [20] = {.lex_state = 58}, - [21] = {.lex_state = 58}, - [22] = {.lex_state = 58}, - [23] = {.lex_state = 58}, - [24] = {.lex_state = 58}, - [25] = {.lex_state = 58}, - [26] = {.lex_state = 58}, - [27] = {.lex_state = 58}, - [28] = {.lex_state = 55}, - [29] = {.lex_state = 58}, - [30] = {.lex_state = 58}, - [31] = {.lex_state = 58}, - [32] = {.lex_state = 58}, - [33] = {.lex_state = 58}, - [34] = {.lex_state = 58}, - [35] = {.lex_state = 58}, - [36] = {.lex_state = 58}, - [37] = {.lex_state = 58}, - [38] = {.lex_state = 58}, - [39] = {.lex_state = 58}, - [40] = {.lex_state = 58}, - [41] = {.lex_state = 58}, - [42] = {.lex_state = 58}, - [43] = {.lex_state = 58}, - [44] = {.lex_state = 58}, - [45] = {.lex_state = 58}, - [46] = {.lex_state = 58}, - [47] = {.lex_state = 58}, - [48] = {.lex_state = 58}, - [49] = {.lex_state = 58}, - [50] = {.lex_state = 58}, - [51] = {.lex_state = 58}, - [52] = {.lex_state = 58}, - [53] = {.lex_state = 58}, - [54] = {.lex_state = 58}, - [55] = {.lex_state = 58}, - [56] = {.lex_state = 58}, - [57] = {.lex_state = 58}, - [58] = {.lex_state = 58}, - [59] = {.lex_state = 58}, - [60] = {.lex_state = 58}, - [61] = {.lex_state = 58}, - [62] = {.lex_state = 58}, - [63] = {.lex_state = 58}, - [64] = {.lex_state = 58}, - [65] = {.lex_state = 58}, - [66] = {.lex_state = 58}, - [67] = {.lex_state = 58}, - [68] = {.lex_state = 58}, - [69] = {.lex_state = 58}, - [70] = {.lex_state = 58}, - [71] = {.lex_state = 58}, - [72] = {.lex_state = 58}, - [73] = {.lex_state = 58}, - [74] = {.lex_state = 58}, - [75] = {.lex_state = 58}, - [76] = {.lex_state = 58}, - [77] = {.lex_state = 58}, - [78] = {.lex_state = 58}, - [79] = {.lex_state = 58}, - [80] = {.lex_state = 58}, - [81] = {.lex_state = 58}, - [82] = {.lex_state = 58}, - [83] = {.lex_state = 58}, - [84] = {.lex_state = 58}, - [85] = {.lex_state = 58}, - [86] = {.lex_state = 58}, - [87] = {.lex_state = 58}, - [88] = {.lex_state = 58}, - [89] = {.lex_state = 58}, - [90] = {.lex_state = 58}, - [91] = {.lex_state = 58}, - [92] = {.lex_state = 58}, - [93] = {.lex_state = 58}, - [94] = {.lex_state = 58}, - [95] = {.lex_state = 58}, - [96] = {.lex_state = 58}, - [97] = {.lex_state = 58}, - [98] = {.lex_state = 58}, - [99] = {.lex_state = 58}, - [100] = {.lex_state = 58}, - [101] = {.lex_state = 58}, - [102] = {.lex_state = 58}, - [103] = {.lex_state = 58}, - [104] = {.lex_state = 58}, - [105] = {.lex_state = 58}, - [106] = {.lex_state = 58}, - [107] = {.lex_state = 58}, - [108] = {.lex_state = 58}, - [109] = {.lex_state = 58}, - [110] = {.lex_state = 58}, - [111] = {.lex_state = 58}, - [112] = {.lex_state = 58}, - [113] = {.lex_state = 58}, - [114] = {.lex_state = 58}, - [115] = {.lex_state = 58}, - [116] = {.lex_state = 58}, - [117] = {.lex_state = 58}, - [118] = {.lex_state = 58}, - [119] = {.lex_state = 58}, - [120] = {.lex_state = 58}, - [121] = {.lex_state = 58}, - [122] = {.lex_state = 58}, - [123] = {.lex_state = 58}, - [124] = {.lex_state = 58}, - [125] = {.lex_state = 58}, - [126] = {.lex_state = 58}, - [127] = {.lex_state = 58}, - [128] = {.lex_state = 58}, - [129] = {.lex_state = 58}, - [130] = {.lex_state = 58}, - [131] = {.lex_state = 58}, - [132] = {.lex_state = 58}, - [133] = {.lex_state = 58}, - [134] = {.lex_state = 58}, - [135] = {.lex_state = 58}, - [136] = {.lex_state = 58}, - [137] = {.lex_state = 58}, - [138] = {.lex_state = 58}, - [139] = {.lex_state = 58}, - [140] = {.lex_state = 58}, - [141] = {.lex_state = 58}, - [142] = {.lex_state = 58}, - [143] = {.lex_state = 58}, - [144] = {.lex_state = 58}, - [145] = {.lex_state = 58}, - [146] = {.lex_state = 58}, - [147] = {.lex_state = 58}, - [148] = {.lex_state = 58}, - [149] = {.lex_state = 58}, - [150] = {.lex_state = 58}, - [151] = {.lex_state = 58}, - [152] = {.lex_state = 58}, - [153] = {.lex_state = 58}, - [154] = {.lex_state = 58}, - [155] = {.lex_state = 58}, - [156] = {.lex_state = 58}, - [157] = {.lex_state = 58}, - [158] = {.lex_state = 58}, - [159] = {.lex_state = 58}, - [160] = {.lex_state = 58}, - [161] = {.lex_state = 58}, - [162] = {.lex_state = 58}, - [163] = {.lex_state = 58}, - [164] = {.lex_state = 58}, - [165] = {.lex_state = 58}, - [166] = {.lex_state = 58}, - [167] = {.lex_state = 58}, - [168] = {.lex_state = 58}, - [169] = {.lex_state = 58}, - [170] = {.lex_state = 58}, - [171] = {.lex_state = 58}, - [172] = {.lex_state = 58}, - [173] = {.lex_state = 58}, - [174] = {.lex_state = 58}, - [175] = {.lex_state = 58}, - [176] = {.lex_state = 58}, - [177] = {.lex_state = 58}, - [178] = {.lex_state = 58}, - [179] = {.lex_state = 58}, - [180] = {.lex_state = 58}, - [181] = {.lex_state = 58}, - [182] = {.lex_state = 58}, - [183] = {.lex_state = 58}, - [184] = {.lex_state = 58}, - [185] = {.lex_state = 58}, - [186] = {.lex_state = 58}, - [187] = {.lex_state = 58}, - [188] = {.lex_state = 58}, - [189] = {.lex_state = 58}, - [190] = {.lex_state = 58}, - [191] = {.lex_state = 58}, - [192] = {.lex_state = 58}, - [193] = {.lex_state = 58}, - [194] = {.lex_state = 58}, - [195] = {.lex_state = 58}, - [196] = {.lex_state = 58}, - [197] = {.lex_state = 58}, - [198] = {.lex_state = 58}, - [199] = {.lex_state = 58}, - [200] = {.lex_state = 58}, - [201] = {.lex_state = 58}, - [202] = {.lex_state = 58}, - [203] = {.lex_state = 58}, - [204] = {.lex_state = 58}, - [205] = {.lex_state = 58}, - [206] = {.lex_state = 58}, - [207] = {.lex_state = 58}, - [208] = {.lex_state = 58}, - [209] = {.lex_state = 58}, - [210] = {.lex_state = 58}, - [211] = {.lex_state = 58}, - [212] = {.lex_state = 58}, - [213] = {.lex_state = 58}, - [214] = {.lex_state = 58}, - [215] = {.lex_state = 58}, - [216] = {.lex_state = 58}, - [217] = {.lex_state = 58}, - [218] = {.lex_state = 58}, - [219] = {.lex_state = 58}, - [220] = {.lex_state = 58}, - [221] = {.lex_state = 58}, - [222] = {.lex_state = 58}, - [223] = {.lex_state = 58}, - [224] = {.lex_state = 58}, - [225] = {.lex_state = 58}, - [226] = {.lex_state = 58}, - [227] = {.lex_state = 58}, - [228] = {.lex_state = 58}, - [229] = {.lex_state = 58}, - [230] = {.lex_state = 58}, - [231] = {.lex_state = 58}, - [232] = {.lex_state = 58}, - [233] = {.lex_state = 58}, - [234] = {.lex_state = 58}, - [235] = {.lex_state = 58}, - [236] = {.lex_state = 3}, + [1] = {.lex_state = 58, .reserved_word_set_id = 1}, + [2] = {.lex_state = 58, .reserved_word_set_id = 1}, + [3] = {.lex_state = 58, .reserved_word_set_id = 1}, + [4] = {.lex_state = 58, .reserved_word_set_id = 1}, + [5] = {.lex_state = 58, .reserved_word_set_id = 1}, + [6] = {.lex_state = 58, .reserved_word_set_id = 1}, + [7] = {.lex_state = 58, .reserved_word_set_id = 1}, + [8] = {.lex_state = 58, .reserved_word_set_id = 1}, + [9] = {.lex_state = 58, .reserved_word_set_id = 2}, + [10] = {.lex_state = 58, .reserved_word_set_id = 2}, + [11] = {.lex_state = 58, .reserved_word_set_id = 3}, + [12] = {.lex_state = 58, .reserved_word_set_id = 2}, + [13] = {.lex_state = 58, .reserved_word_set_id = 1}, + [14] = {.lex_state = 58, .reserved_word_set_id = 3}, + [15] = {.lex_state = 58, .reserved_word_set_id = 3}, + [16] = {.lex_state = 58, .reserved_word_set_id = 1}, + [17] = {.lex_state = 58, .reserved_word_set_id = 3}, + [18] = {.lex_state = 58, .reserved_word_set_id = 1}, + [19] = {.lex_state = 58, .reserved_word_set_id = 3}, + [20] = {.lex_state = 58, .reserved_word_set_id = 3}, + [21] = {.lex_state = 58, .reserved_word_set_id = 4}, + [22] = {.lex_state = 58, .reserved_word_set_id = 5}, + [23] = {.lex_state = 58, .reserved_word_set_id = 1}, + [24] = {.lex_state = 58, .reserved_word_set_id = 1}, + [25] = {.lex_state = 58, .reserved_word_set_id = 1}, + [26] = {.lex_state = 58, .reserved_word_set_id = 1}, + [27] = {.lex_state = 58, .reserved_word_set_id = 5}, + [28] = {.lex_state = 55, .reserved_word_set_id = 6}, + [29] = {.lex_state = 58, .reserved_word_set_id = 1}, + [30] = {.lex_state = 58, .reserved_word_set_id = 5}, + [31] = {.lex_state = 58, .reserved_word_set_id = 5}, + [32] = {.lex_state = 58, .reserved_word_set_id = 5}, + [33] = {.lex_state = 58, .reserved_word_set_id = 5}, + [34] = {.lex_state = 58, .reserved_word_set_id = 1}, + [35] = {.lex_state = 58, .reserved_word_set_id = 5}, + [36] = {.lex_state = 58, .reserved_word_set_id = 5}, + [37] = {.lex_state = 58, .reserved_word_set_id = 5}, + [38] = {.lex_state = 58, .reserved_word_set_id = 5}, + [39] = {.lex_state = 58, .reserved_word_set_id = 5}, + [40] = {.lex_state = 58, .reserved_word_set_id = 5}, + [41] = {.lex_state = 58, .reserved_word_set_id = 5}, + [42] = {.lex_state = 58, .reserved_word_set_id = 5}, + [43] = {.lex_state = 58, .reserved_word_set_id = 1}, + [44] = {.lex_state = 58, .reserved_word_set_id = 1}, + [45] = {.lex_state = 58, .reserved_word_set_id = 1}, + [46] = {.lex_state = 58, .reserved_word_set_id = 1}, + [47] = {.lex_state = 58, .reserved_word_set_id = 1}, + [48] = {.lex_state = 58, .reserved_word_set_id = 1}, + [49] = {.lex_state = 58, .reserved_word_set_id = 1}, + [50] = {.lex_state = 58, .reserved_word_set_id = 5}, + [51] = {.lex_state = 58, .reserved_word_set_id = 1}, + [52] = {.lex_state = 58, .reserved_word_set_id = 5}, + [53] = {.lex_state = 58, .reserved_word_set_id = 5}, + [54] = {.lex_state = 58, .reserved_word_set_id = 5}, + [55] = {.lex_state = 58, .reserved_word_set_id = 5}, + [56] = {.lex_state = 58, .reserved_word_set_id = 5}, + [57] = {.lex_state = 58, .reserved_word_set_id = 1}, + [58] = {.lex_state = 58, .reserved_word_set_id = 5}, + [59] = {.lex_state = 58, .reserved_word_set_id = 5}, + [60] = {.lex_state = 58, .reserved_word_set_id = 5}, + [61] = {.lex_state = 58, .reserved_word_set_id = 5}, + [62] = {.lex_state = 58, .reserved_word_set_id = 5}, + [63] = {.lex_state = 58, .reserved_word_set_id = 5}, + [64] = {.lex_state = 58, .reserved_word_set_id = 1}, + [65] = {.lex_state = 58, .reserved_word_set_id = 1}, + [66] = {.lex_state = 58, .reserved_word_set_id = 5}, + [67] = {.lex_state = 58, .reserved_word_set_id = 5}, + [68] = {.lex_state = 58, .reserved_word_set_id = 5}, + [69] = {.lex_state = 58, .reserved_word_set_id = 5}, + [70] = {.lex_state = 58, .reserved_word_set_id = 1}, + [71] = {.lex_state = 58, .reserved_word_set_id = 1}, + [72] = {.lex_state = 58, .reserved_word_set_id = 1}, + [73] = {.lex_state = 58, .reserved_word_set_id = 1}, + [74] = {.lex_state = 58, .reserved_word_set_id = 1}, + [75] = {.lex_state = 58, .reserved_word_set_id = 5}, + [76] = {.lex_state = 58, .reserved_word_set_id = 1}, + [77] = {.lex_state = 58, .reserved_word_set_id = 5}, + [78] = {.lex_state = 58, .reserved_word_set_id = 5}, + [79] = {.lex_state = 58, .reserved_word_set_id = 5}, + [80] = {.lex_state = 58, .reserved_word_set_id = 1}, + [81] = {.lex_state = 58, .reserved_word_set_id = 5}, + [82] = {.lex_state = 58, .reserved_word_set_id = 5}, + [83] = {.lex_state = 58, .reserved_word_set_id = 5}, + [84] = {.lex_state = 58, .reserved_word_set_id = 5}, + [85] = {.lex_state = 58, .reserved_word_set_id = 5}, + [86] = {.lex_state = 58, .reserved_word_set_id = 5}, + [87] = {.lex_state = 58, .reserved_word_set_id = 5}, + [88] = {.lex_state = 58, .reserved_word_set_id = 1}, + [89] = {.lex_state = 58, .reserved_word_set_id = 1}, + [90] = {.lex_state = 58, .reserved_word_set_id = 5}, + [91] = {.lex_state = 58, .reserved_word_set_id = 1}, + [92] = {.lex_state = 58, .reserved_word_set_id = 5}, + [93] = {.lex_state = 58, .reserved_word_set_id = 5}, + [94] = {.lex_state = 58, .reserved_word_set_id = 5}, + [95] = {.lex_state = 58, .reserved_word_set_id = 1}, + [96] = {.lex_state = 58, .reserved_word_set_id = 5}, + [97] = {.lex_state = 58, .reserved_word_set_id = 5}, + [98] = {.lex_state = 58, .reserved_word_set_id = 5}, + [99] = {.lex_state = 58, .reserved_word_set_id = 1}, + [100] = {.lex_state = 58, .reserved_word_set_id = 1}, + [101] = {.lex_state = 58, .reserved_word_set_id = 1}, + [102] = {.lex_state = 58, .reserved_word_set_id = 1}, + [103] = {.lex_state = 58, .reserved_word_set_id = 1}, + [104] = {.lex_state = 58, .reserved_word_set_id = 5}, + [105] = {.lex_state = 58, .reserved_word_set_id = 5}, + [106] = {.lex_state = 58, .reserved_word_set_id = 1}, + [107] = {.lex_state = 58, .reserved_word_set_id = 1}, + [108] = {.lex_state = 58, .reserved_word_set_id = 5}, + [109] = {.lex_state = 58, .reserved_word_set_id = 1}, + [110] = {.lex_state = 58, .reserved_word_set_id = 1}, + [111] = {.lex_state = 58, .reserved_word_set_id = 5}, + [112] = {.lex_state = 58, .reserved_word_set_id = 5}, + [113] = {.lex_state = 58, .reserved_word_set_id = 5}, + [114] = {.lex_state = 58, .reserved_word_set_id = 1}, + [115] = {.lex_state = 58, .reserved_word_set_id = 5}, + [116] = {.lex_state = 58, .reserved_word_set_id = 5}, + [117] = {.lex_state = 58, .reserved_word_set_id = 1}, + [118] = {.lex_state = 58, .reserved_word_set_id = 1}, + [119] = {.lex_state = 58, .reserved_word_set_id = 5}, + [120] = {.lex_state = 58, .reserved_word_set_id = 5}, + [121] = {.lex_state = 58, .reserved_word_set_id = 1}, + [122] = {.lex_state = 58, .reserved_word_set_id = 1}, + [123] = {.lex_state = 58, .reserved_word_set_id = 5}, + [124] = {.lex_state = 58, .reserved_word_set_id = 5}, + [125] = {.lex_state = 58, .reserved_word_set_id = 5}, + [126] = {.lex_state = 58, .reserved_word_set_id = 5}, + [127] = {.lex_state = 58, .reserved_word_set_id = 5}, + [128] = {.lex_state = 58, .reserved_word_set_id = 5}, + [129] = {.lex_state = 58, .reserved_word_set_id = 5}, + [130] = {.lex_state = 58, .reserved_word_set_id = 1}, + [131] = {.lex_state = 58, .reserved_word_set_id = 5}, + [132] = {.lex_state = 58, .reserved_word_set_id = 5}, + [133] = {.lex_state = 58, .reserved_word_set_id = 5}, + [134] = {.lex_state = 58, .reserved_word_set_id = 1}, + [135] = {.lex_state = 58, .reserved_word_set_id = 5}, + [136] = {.lex_state = 58, .reserved_word_set_id = 5}, + [137] = {.lex_state = 58, .reserved_word_set_id = 5}, + [138] = {.lex_state = 58, .reserved_word_set_id = 1}, + [139] = {.lex_state = 58, .reserved_word_set_id = 5}, + [140] = {.lex_state = 58, .reserved_word_set_id = 5}, + [141] = {.lex_state = 58, .reserved_word_set_id = 5}, + [142] = {.lex_state = 58, .reserved_word_set_id = 5}, + [143] = {.lex_state = 58, .reserved_word_set_id = 5}, + [144] = {.lex_state = 58, .reserved_word_set_id = 5}, + [145] = {.lex_state = 58, .reserved_word_set_id = 5}, + [146] = {.lex_state = 58, .reserved_word_set_id = 5}, + [147] = {.lex_state = 58, .reserved_word_set_id = 5}, + [148] = {.lex_state = 58, .reserved_word_set_id = 5}, + [149] = {.lex_state = 58, .reserved_word_set_id = 5}, + [150] = {.lex_state = 58, .reserved_word_set_id = 5}, + [151] = {.lex_state = 58, .reserved_word_set_id = 1}, + [152] = {.lex_state = 58, .reserved_word_set_id = 5}, + [153] = {.lex_state = 58, .reserved_word_set_id = 5}, + [154] = {.lex_state = 58, .reserved_word_set_id = 5}, + [155] = {.lex_state = 58, .reserved_word_set_id = 5}, + [156] = {.lex_state = 58, .reserved_word_set_id = 5}, + [157] = {.lex_state = 58, .reserved_word_set_id = 5}, + [158] = {.lex_state = 58, .reserved_word_set_id = 5}, + [159] = {.lex_state = 58, .reserved_word_set_id = 5}, + [160] = {.lex_state = 58, .reserved_word_set_id = 5}, + [161] = {.lex_state = 58, .reserved_word_set_id = 5}, + [162] = {.lex_state = 58, .reserved_word_set_id = 5}, + [163] = {.lex_state = 58, .reserved_word_set_id = 5}, + [164] = {.lex_state = 58, .reserved_word_set_id = 5}, + [165] = {.lex_state = 58, .reserved_word_set_id = 5}, + [166] = {.lex_state = 58, .reserved_word_set_id = 1}, + [167] = {.lex_state = 58, .reserved_word_set_id = 5}, + [168] = {.lex_state = 58, .reserved_word_set_id = 5}, + [169] = {.lex_state = 58, .reserved_word_set_id = 5}, + [170] = {.lex_state = 58, .reserved_word_set_id = 5}, + [171] = {.lex_state = 58, .reserved_word_set_id = 5}, + [172] = {.lex_state = 58, .reserved_word_set_id = 5}, + [173] = {.lex_state = 58, .reserved_word_set_id = 5}, + [174] = {.lex_state = 58, .reserved_word_set_id = 5}, + [175] = {.lex_state = 58, .reserved_word_set_id = 5}, + [176] = {.lex_state = 58, .reserved_word_set_id = 5}, + [177] = {.lex_state = 58, .reserved_word_set_id = 5}, + [178] = {.lex_state = 58, .reserved_word_set_id = 5}, + [179] = {.lex_state = 58, .reserved_word_set_id = 5}, + [180] = {.lex_state = 58, .reserved_word_set_id = 5}, + [181] = {.lex_state = 58, .reserved_word_set_id = 5}, + [182] = {.lex_state = 58, .reserved_word_set_id = 5}, + [183] = {.lex_state = 58, .reserved_word_set_id = 1}, + [184] = {.lex_state = 58, .reserved_word_set_id = 1}, + [185] = {.lex_state = 58, .reserved_word_set_id = 1}, + [186] = {.lex_state = 58, .reserved_word_set_id = 1}, + [187] = {.lex_state = 58, .reserved_word_set_id = 1}, + [188] = {.lex_state = 58, .reserved_word_set_id = 1}, + [189] = {.lex_state = 58, .reserved_word_set_id = 5}, + [190] = {.lex_state = 58, .reserved_word_set_id = 1}, + [191] = {.lex_state = 58, .reserved_word_set_id = 5}, + [192] = {.lex_state = 58, .reserved_word_set_id = 1}, + [193] = {.lex_state = 58, .reserved_word_set_id = 1}, + [194] = {.lex_state = 58, .reserved_word_set_id = 1}, + [195] = {.lex_state = 58, .reserved_word_set_id = 1}, + [196] = {.lex_state = 58, .reserved_word_set_id = 1}, + [197] = {.lex_state = 58, .reserved_word_set_id = 1}, + [198] = {.lex_state = 58, .reserved_word_set_id = 5}, + [199] = {.lex_state = 58, .reserved_word_set_id = 5}, + [200] = {.lex_state = 58, .reserved_word_set_id = 1}, + [201] = {.lex_state = 58, .reserved_word_set_id = 1}, + [202] = {.lex_state = 58, .reserved_word_set_id = 5}, + [203] = {.lex_state = 58, .reserved_word_set_id = 5}, + [204] = {.lex_state = 58, .reserved_word_set_id = 5}, + [205] = {.lex_state = 58, .reserved_word_set_id = 1}, + [206] = {.lex_state = 58, .reserved_word_set_id = 1}, + [207] = {.lex_state = 58, .reserved_word_set_id = 1}, + [208] = {.lex_state = 58, .reserved_word_set_id = 5}, + [209] = {.lex_state = 58, .reserved_word_set_id = 1}, + [210] = {.lex_state = 58, .reserved_word_set_id = 5}, + [211] = {.lex_state = 58, .reserved_word_set_id = 5}, + [212] = {.lex_state = 58, .reserved_word_set_id = 5}, + [213] = {.lex_state = 58, .reserved_word_set_id = 5}, + [214] = {.lex_state = 58, .reserved_word_set_id = 5}, + [215] = {.lex_state = 58, .reserved_word_set_id = 5}, + [216] = {.lex_state = 58, .reserved_word_set_id = 5}, + [217] = {.lex_state = 58, .reserved_word_set_id = 5}, + [218] = {.lex_state = 58, .reserved_word_set_id = 5}, + [219] = {.lex_state = 58, .reserved_word_set_id = 5}, + [220] = {.lex_state = 58, .reserved_word_set_id = 5}, + [221] = {.lex_state = 58, .reserved_word_set_id = 5}, + [222] = {.lex_state = 58, .reserved_word_set_id = 1}, + [223] = {.lex_state = 58, .reserved_word_set_id = 5}, + [224] = {.lex_state = 58, .reserved_word_set_id = 5}, + [225] = {.lex_state = 58, .reserved_word_set_id = 1}, + [226] = {.lex_state = 58, .reserved_word_set_id = 1}, + [227] = {.lex_state = 58, .reserved_word_set_id = 5}, + [228] = {.lex_state = 58, .reserved_word_set_id = 1}, + [229] = {.lex_state = 58, .reserved_word_set_id = 1}, + [230] = {.lex_state = 58, .reserved_word_set_id = 1}, + [231] = {.lex_state = 58, .reserved_word_set_id = 1}, + [232] = {.lex_state = 58, .reserved_word_set_id = 5}, + [233] = {.lex_state = 58, .reserved_word_set_id = 1}, + [234] = {.lex_state = 58, .reserved_word_set_id = 1}, + [235] = {.lex_state = 58, .reserved_word_set_id = 1}, + [236] = {.lex_state = 3, .reserved_word_set_id = 1}, [237] = {.lex_state = 56}, [238] = {.lex_state = 56}, [239] = {.lex_state = 56}, @@ -5484,7 +5492,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [241] = {.lex_state = 56}, [242] = {.lex_state = 56}, [243] = {.lex_state = 56}, - [244] = {.lex_state = 58}, + [244] = {.lex_state = 58, .reserved_word_set_id = 1}, [245] = {.lex_state = 56}, [246] = {.lex_state = 56}, [247] = {.lex_state = 56}, @@ -5626,15 +5634,15 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [383] = {.lex_state = 5}, [384] = {.lex_state = 5}, [385] = {.lex_state = 5}, - [386] = {.lex_state = 56}, + [386] = {.lex_state = 56, .reserved_word_set_id = 1}, [387] = {.lex_state = 5}, - [388] = {.lex_state = 55}, - [389] = {.lex_state = 55}, + [388] = {.lex_state = 55, .reserved_word_set_id = 6}, + [389] = {.lex_state = 55, .reserved_word_set_id = 6}, [390] = {.lex_state = 6}, [391] = {.lex_state = 6}, [392] = {.lex_state = 6}, - [393] = {.lex_state = 55}, - [394] = {.lex_state = 55}, + [393] = {.lex_state = 55, .reserved_word_set_id = 6}, + [394] = {.lex_state = 55, .reserved_word_set_id = 6}, [395] = {.lex_state = 6}, [396] = {.lex_state = 6}, [397] = {.lex_state = 6}, @@ -5684,26 +5692,26 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [441] = {.lex_state = 1}, [442] = {.lex_state = 1}, [443] = {.lex_state = 1}, - [444] = {.lex_state = 0}, + [444] = {.lex_state = 0, .reserved_word_set_id = 5}, [445] = {.lex_state = 6}, [446] = {.lex_state = 6}, [447] = {.lex_state = 6}, [448] = {.lex_state = 1}, - [449] = {.lex_state = 0}, - [450] = {.lex_state = 0}, + [449] = {.lex_state = 0, .reserved_word_set_id = 5}, + [450] = {.lex_state = 0, .reserved_word_set_id = 5}, [451] = {.lex_state = 1}, [452] = {.lex_state = 3}, [453] = {.lex_state = 1}, [454] = {.lex_state = 3}, [455] = {.lex_state = 1}, - [456] = {.lex_state = 55}, + [456] = {.lex_state = 55, .reserved_word_set_id = 1}, [457] = {.lex_state = 1}, - [458] = {.lex_state = 3}, - [459] = {.lex_state = 55}, - [460] = {.lex_state = 55}, + [458] = {.lex_state = 3, .reserved_word_set_id = 1}, + [459] = {.lex_state = 55, .reserved_word_set_id = 1}, + [460] = {.lex_state = 55, .reserved_word_set_id = 1}, [461] = {.lex_state = 1}, - [462] = {.lex_state = 0}, - [463] = {.lex_state = 55}, + [462] = {.lex_state = 0, .reserved_word_set_id = 5}, + [463] = {.lex_state = 55, .reserved_word_set_id = 1}, [464] = {.lex_state = 3}, [465] = {.lex_state = 1}, [466] = {.lex_state = 1}, @@ -5734,7 +5742,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [491] = {.lex_state = 1}, [492] = {.lex_state = 1}, [493] = {.lex_state = 3}, - [494] = {.lex_state = 0}, + [494] = {.lex_state = 0, .reserved_word_set_id = 5}, [495] = {.lex_state = 1}, [496] = {.lex_state = 1}, [497] = {.lex_state = 1}, @@ -5742,45 +5750,45 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [499] = {.lex_state = 1}, [500] = {.lex_state = 1}, [501] = {.lex_state = 3}, - [502] = {.lex_state = 55}, - [503] = {.lex_state = 0}, + [502] = {.lex_state = 55, .reserved_word_set_id = 1}, + [503] = {.lex_state = 0, .reserved_word_set_id = 5}, [504] = {.lex_state = 3}, [505] = {.lex_state = 1}, [506] = {.lex_state = 1}, - [507] = {.lex_state = 55}, + [507] = {.lex_state = 55, .reserved_word_set_id = 1}, [508] = {.lex_state = 3}, [509] = {.lex_state = 1}, [510] = {.lex_state = 1}, [511] = {.lex_state = 1}, - [512] = {.lex_state = 55}, - [513] = {.lex_state = 55}, + [512] = {.lex_state = 55, .reserved_word_set_id = 1}, + [513] = {.lex_state = 55, .reserved_word_set_id = 1}, [514] = {.lex_state = 1}, - [515] = {.lex_state = 55}, - [516] = {.lex_state = 0}, + [515] = {.lex_state = 55, .reserved_word_set_id = 1}, + [516] = {.lex_state = 0, .reserved_word_set_id = 5}, [517] = {.lex_state = 6}, [518] = {.lex_state = 6}, [519] = {.lex_state = 6}, [520] = {.lex_state = 6}, [521] = {.lex_state = 3}, - [522] = {.lex_state = 0}, - [523] = {.lex_state = 0}, + [522] = {.lex_state = 0, .reserved_word_set_id = 5}, + [523] = {.lex_state = 0, .reserved_word_set_id = 5}, [524] = {.lex_state = 6}, [525] = {.lex_state = 6}, [526] = {.lex_state = 6}, [527] = {.lex_state = 6}, [528] = {.lex_state = 6}, [529] = {.lex_state = 6}, - [530] = {.lex_state = 0}, - [531] = {.lex_state = 0}, - [532] = {.lex_state = 0}, - [533] = {.lex_state = 0}, - [534] = {.lex_state = 0}, + [530] = {.lex_state = 0, .reserved_word_set_id = 5}, + [531] = {.lex_state = 0, .reserved_word_set_id = 5}, + [532] = {.lex_state = 0, .reserved_word_set_id = 5}, + [533] = {.lex_state = 0, .reserved_word_set_id = 5}, + [534] = {.lex_state = 0, .reserved_word_set_id = 5}, [535] = {.lex_state = 3}, [536] = {.lex_state = 3}, [537] = {.lex_state = 3}, [538] = {.lex_state = 3}, [539] = {.lex_state = 3}, - [540] = {.lex_state = 0}, + [540] = {.lex_state = 0, .reserved_word_set_id = 5}, [541] = {.lex_state = 3}, [542] = {.lex_state = 3}, [543] = {.lex_state = 3}, @@ -5791,7 +5799,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [548] = {.lex_state = 6}, [549] = {.lex_state = 3}, [550] = {.lex_state = 3}, - [551] = {.lex_state = 0}, + [551] = {.lex_state = 0, .reserved_word_set_id = 5}, [552] = {.lex_state = 3}, [553] = {.lex_state = 3}, [554] = {.lex_state = 3}, @@ -5802,59 +5810,59 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [559] = {.lex_state = 3}, [560] = {.lex_state = 3}, [561] = {.lex_state = 3}, - [562] = {.lex_state = 0}, + [562] = {.lex_state = 0, .reserved_word_set_id = 5}, [563] = {.lex_state = 3}, [564] = {.lex_state = 6}, [565] = {.lex_state = 3}, - [566] = {.lex_state = 0}, + [566] = {.lex_state = 0, .reserved_word_set_id = 5}, [567] = {.lex_state = 6}, [568] = {.lex_state = 3}, [569] = {.lex_state = 3}, [570] = {.lex_state = 6}, - [571] = {.lex_state = 0}, + [571] = {.lex_state = 0, .reserved_word_set_id = 5}, [572] = {.lex_state = 3}, - [573] = {.lex_state = 0}, + [573] = {.lex_state = 0, .reserved_word_set_id = 1}, [574] = {.lex_state = 3}, [575] = {.lex_state = 3}, [576] = {.lex_state = 6}, [577] = {.lex_state = 3}, - [578] = {.lex_state = 0}, + [578] = {.lex_state = 0, .reserved_word_set_id = 5}, [579] = {.lex_state = 3}, [580] = {.lex_state = 3}, [581] = {.lex_state = 6}, [582] = {.lex_state = 6}, [583] = {.lex_state = 6}, [584] = {.lex_state = 6}, - [585] = {.lex_state = 0}, + [585] = {.lex_state = 0, .reserved_word_set_id = 5}, [586] = {.lex_state = 3}, [587] = {.lex_state = 3}, [588] = {.lex_state = 6}, - [589] = {.lex_state = 0}, + [589] = {.lex_state = 0, .reserved_word_set_id = 1}, [590] = {.lex_state = 3}, [591] = {.lex_state = 6}, - [592] = {.lex_state = 0}, + [592] = {.lex_state = 0, .reserved_word_set_id = 5}, [593] = {.lex_state = 3}, [594] = {.lex_state = 3}, [595] = {.lex_state = 3}, - [596] = {.lex_state = 0}, - [597] = {.lex_state = 0}, + [596] = {.lex_state = 0, .reserved_word_set_id = 1}, + [597] = {.lex_state = 0, .reserved_word_set_id = 5}, [598] = {.lex_state = 3}, - [599] = {.lex_state = 0}, - [600] = {.lex_state = 0}, - [601] = {.lex_state = 0}, - [602] = {.lex_state = 0}, + [599] = {.lex_state = 0, .reserved_word_set_id = 1}, + [600] = {.lex_state = 0, .reserved_word_set_id = 1}, + [601] = {.lex_state = 0, .reserved_word_set_id = 5}, + [602] = {.lex_state = 0, .reserved_word_set_id = 5}, [603] = {.lex_state = 6}, - [604] = {.lex_state = 0}, - [605] = {.lex_state = 0}, - [606] = {.lex_state = 0}, + [604] = {.lex_state = 0, .reserved_word_set_id = 5}, + [605] = {.lex_state = 0, .reserved_word_set_id = 1}, + [606] = {.lex_state = 0, .reserved_word_set_id = 5}, [607] = {.lex_state = 6}, [608] = {.lex_state = 6}, [609] = {.lex_state = 6}, [610] = {.lex_state = 6}, [611] = {.lex_state = 6}, - [612] = {.lex_state = 0}, - [613] = {.lex_state = 0}, - [614] = {.lex_state = 0}, + [612] = {.lex_state = 0, .reserved_word_set_id = 5}, + [613] = {.lex_state = 0, .reserved_word_set_id = 1}, + [614] = {.lex_state = 0, .reserved_word_set_id = 5}, [615] = {.lex_state = 6}, [616] = {.lex_state = 6}, [617] = {.lex_state = 6}, @@ -5868,191 +5876,191 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [625] = {.lex_state = 6}, [626] = {.lex_state = 6}, [627] = {.lex_state = 6}, - [628] = {.lex_state = 0}, + [628] = {.lex_state = 0, .reserved_word_set_id = 1}, [629] = {.lex_state = 6}, - [630] = {.lex_state = 0}, + [630] = {.lex_state = 0, .reserved_word_set_id = 5}, [631] = {.lex_state = 6}, [632] = {.lex_state = 6}, [633] = {.lex_state = 6}, - [634] = {.lex_state = 0}, - [635] = {.lex_state = 0}, + [634] = {.lex_state = 0, .reserved_word_set_id = 1}, + [635] = {.lex_state = 0, .reserved_word_set_id = 5}, [636] = {.lex_state = 6}, [637] = {.lex_state = 6}, [638] = {.lex_state = 6}, [639] = {.lex_state = 6}, - [640] = {.lex_state = 0}, - [641] = {.lex_state = 0}, + [640] = {.lex_state = 0, .reserved_word_set_id = 1}, + [641] = {.lex_state = 0, .reserved_word_set_id = 5}, [642] = {.lex_state = 6}, - [643] = {.lex_state = 0}, - [644] = {.lex_state = 0}, + [643] = {.lex_state = 0, .reserved_word_set_id = 5}, + [644] = {.lex_state = 0, .reserved_word_set_id = 1}, [645] = {.lex_state = 6}, [646] = {.lex_state = 6}, - [647] = {.lex_state = 0}, + [647] = {.lex_state = 0, .reserved_word_set_id = 5}, [648] = {.lex_state = 6}, - [649] = {.lex_state = 0}, - [650] = {.lex_state = 0}, - [651] = {.lex_state = 0}, + [649] = {.lex_state = 0, .reserved_word_set_id = 5}, + [650] = {.lex_state = 0, .reserved_word_set_id = 1}, + [651] = {.lex_state = 0, .reserved_word_set_id = 5}, [652] = {.lex_state = 6}, - [653] = {.lex_state = 0}, + [653] = {.lex_state = 0, .reserved_word_set_id = 5}, [654] = {.lex_state = 6}, [655] = {.lex_state = 6}, - [656] = {.lex_state = 0}, - [657] = {.lex_state = 0}, - [658] = {.lex_state = 0}, + [656] = {.lex_state = 0, .reserved_word_set_id = 5}, + [657] = {.lex_state = 0, .reserved_word_set_id = 5}, + [658] = {.lex_state = 0, .reserved_word_set_id = 5}, [659] = {.lex_state = 6}, [660] = {.lex_state = 6}, [661] = {.lex_state = 6}, - [662] = {.lex_state = 0}, - [663] = {.lex_state = 0}, + [662] = {.lex_state = 0, .reserved_word_set_id = 1}, + [663] = {.lex_state = 0, .reserved_word_set_id = 1}, [664] = {.lex_state = 6}, [665] = {.lex_state = 6}, [666] = {.lex_state = 6}, - [667] = {.lex_state = 0}, + [667] = {.lex_state = 0, .reserved_word_set_id = 5}, [668] = {.lex_state = 6}, [669] = {.lex_state = 6}, - [670] = {.lex_state = 0}, - [671] = {.lex_state = 0}, + [670] = {.lex_state = 0, .reserved_word_set_id = 5}, + [671] = {.lex_state = 0, .reserved_word_set_id = 5}, [672] = {.lex_state = 6}, [673] = {.lex_state = 6}, [674] = {.lex_state = 6}, - [675] = {.lex_state = 0}, + [675] = {.lex_state = 0, .reserved_word_set_id = 1}, [676] = {.lex_state = 6}, [677] = {.lex_state = 6}, - [678] = {.lex_state = 0}, - [679] = {.lex_state = 0}, - [680] = {.lex_state = 0}, + [678] = {.lex_state = 0, .reserved_word_set_id = 5}, + [679] = {.lex_state = 0, .reserved_word_set_id = 5}, + [680] = {.lex_state = 0, .reserved_word_set_id = 5}, [681] = {.lex_state = 6}, [682] = {.lex_state = 6}, [683] = {.lex_state = 6}, [684] = {.lex_state = 6}, - [685] = {.lex_state = 0}, - [686] = {.lex_state = 0}, - [687] = {.lex_state = 0}, + [685] = {.lex_state = 0, .reserved_word_set_id = 1}, + [686] = {.lex_state = 0, .reserved_word_set_id = 1}, + [687] = {.lex_state = 0, .reserved_word_set_id = 1}, [688] = {.lex_state = 6}, [689] = {.lex_state = 6}, [690] = {.lex_state = 6}, [691] = {.lex_state = 6}, - [692] = {.lex_state = 0}, - [693] = {.lex_state = 0}, + [692] = {.lex_state = 0, .reserved_word_set_id = 1}, + [693] = {.lex_state = 0, .reserved_word_set_id = 1}, [694] = {.lex_state = 6}, [695] = {.lex_state = 6}, - [696] = {.lex_state = 0}, - [697] = {.lex_state = 0}, + [696] = {.lex_state = 0, .reserved_word_set_id = 5}, + [697] = {.lex_state = 0, .reserved_word_set_id = 5}, [698] = {.lex_state = 6}, - [699] = {.lex_state = 0}, - [700] = {.lex_state = 0}, - [701] = {.lex_state = 0}, - [702] = {.lex_state = 0}, - [703] = {.lex_state = 0}, - [704] = {.lex_state = 0}, - [705] = {.lex_state = 0}, - [706] = {.lex_state = 0}, - [707] = {.lex_state = 0}, - [708] = {.lex_state = 0}, - [709] = {.lex_state = 0}, - [710] = {.lex_state = 0}, - [711] = {.lex_state = 0}, - [712] = {.lex_state = 0}, - [713] = {.lex_state = 0}, - [714] = {.lex_state = 0}, - [715] = {.lex_state = 0}, - [716] = {.lex_state = 0}, - [717] = {.lex_state = 0}, - [718] = {.lex_state = 0}, - [719] = {.lex_state = 0}, + [699] = {.lex_state = 0, .reserved_word_set_id = 1}, + [700] = {.lex_state = 0, .reserved_word_set_id = 5}, + [701] = {.lex_state = 0, .reserved_word_set_id = 1}, + [702] = {.lex_state = 0, .reserved_word_set_id = 1}, + [703] = {.lex_state = 0, .reserved_word_set_id = 1}, + [704] = {.lex_state = 0, .reserved_word_set_id = 1}, + [705] = {.lex_state = 0, .reserved_word_set_id = 1}, + [706] = {.lex_state = 0, .reserved_word_set_id = 5}, + [707] = {.lex_state = 0, .reserved_word_set_id = 5}, + [708] = {.lex_state = 0, .reserved_word_set_id = 5}, + [709] = {.lex_state = 0, .reserved_word_set_id = 5}, + [710] = {.lex_state = 0, .reserved_word_set_id = 5}, + [711] = {.lex_state = 0, .reserved_word_set_id = 5}, + [712] = {.lex_state = 0, .reserved_word_set_id = 5}, + [713] = {.lex_state = 0, .reserved_word_set_id = 5}, + [714] = {.lex_state = 0, .reserved_word_set_id = 5}, + [715] = {.lex_state = 0, .reserved_word_set_id = 1}, + [716] = {.lex_state = 0, .reserved_word_set_id = 5}, + [717] = {.lex_state = 0, .reserved_word_set_id = 5}, + [718] = {.lex_state = 0, .reserved_word_set_id = 5}, + [719] = {.lex_state = 0, .reserved_word_set_id = 5}, [720] = {.lex_state = 6}, - [721] = {.lex_state = 0}, - [722] = {.lex_state = 0}, - [723] = {.lex_state = 0}, - [724] = {.lex_state = 0}, - [725] = {.lex_state = 0}, - [726] = {.lex_state = 0}, - [727] = {.lex_state = 0}, - [728] = {.lex_state = 0}, - [729] = {.lex_state = 0}, - [730] = {.lex_state = 0}, - [731] = {.lex_state = 0}, - [732] = {.lex_state = 0}, - [733] = {.lex_state = 0}, - [734] = {.lex_state = 0}, - [735] = {.lex_state = 0}, - [736] = {.lex_state = 0}, - [737] = {.lex_state = 0}, - [738] = {.lex_state = 0}, - [739] = {.lex_state = 0}, - [740] = {.lex_state = 0}, - [741] = {.lex_state = 0}, - [742] = {.lex_state = 0}, - [743] = {.lex_state = 0}, - [744] = {.lex_state = 0}, - [745] = {.lex_state = 0}, - [746] = {.lex_state = 0}, - [747] = {.lex_state = 0}, - [748] = {.lex_state = 0}, - [749] = {.lex_state = 0}, - [750] = {.lex_state = 0}, - [751] = {.lex_state = 0}, - [752] = {.lex_state = 0}, - [753] = {.lex_state = 0}, - [754] = {.lex_state = 0}, - [755] = {.lex_state = 0}, - [756] = {.lex_state = 0}, - [757] = {.lex_state = 0}, - [758] = {.lex_state = 0}, - [759] = {.lex_state = 0}, - [760] = {.lex_state = 0}, - [761] = {.lex_state = 0}, - [762] = {.lex_state = 0}, - [763] = {.lex_state = 0}, - [764] = {.lex_state = 0}, - [765] = {.lex_state = 0}, - [766] = {.lex_state = 0}, - [767] = {.lex_state = 0}, - [768] = {.lex_state = 0}, - [769] = {.lex_state = 0}, - [770] = {.lex_state = 0}, - [771] = {.lex_state = 0}, - [772] = {.lex_state = 0}, - [773] = {.lex_state = 0}, - [774] = {.lex_state = 0}, - [775] = {.lex_state = 0}, - [776] = {.lex_state = 0}, - [777] = {.lex_state = 0}, - [778] = {.lex_state = 0}, - [779] = {.lex_state = 0}, - [780] = {.lex_state = 0}, - [781] = {.lex_state = 0}, - [782] = {.lex_state = 55}, - [783] = {.lex_state = 55}, - [784] = {.lex_state = 55}, - [785] = {.lex_state = 55}, - [786] = {.lex_state = 55}, - [787] = {.lex_state = 55}, - [788] = {.lex_state = 0}, - [789] = {.lex_state = 0}, - [790] = {.lex_state = 0}, - [791] = {.lex_state = 0}, - [792] = {.lex_state = 55}, - [793] = {.lex_state = 55}, - [794] = {.lex_state = 55}, - [795] = {.lex_state = 55}, + [721] = {.lex_state = 0, .reserved_word_set_id = 5}, + [722] = {.lex_state = 0, .reserved_word_set_id = 1}, + [723] = {.lex_state = 0, .reserved_word_set_id = 5}, + [724] = {.lex_state = 0, .reserved_word_set_id = 5}, + [725] = {.lex_state = 0, .reserved_word_set_id = 5}, + [726] = {.lex_state = 0, .reserved_word_set_id = 5}, + [727] = {.lex_state = 0, .reserved_word_set_id = 5}, + [728] = {.lex_state = 0, .reserved_word_set_id = 5}, + [729] = {.lex_state = 0, .reserved_word_set_id = 1}, + [730] = {.lex_state = 0, .reserved_word_set_id = 1}, + [731] = {.lex_state = 0, .reserved_word_set_id = 5}, + [732] = {.lex_state = 0, .reserved_word_set_id = 5}, + [733] = {.lex_state = 0, .reserved_word_set_id = 5}, + [734] = {.lex_state = 0, .reserved_word_set_id = 5}, + [735] = {.lex_state = 0, .reserved_word_set_id = 5}, + [736] = {.lex_state = 0, .reserved_word_set_id = 5}, + [737] = {.lex_state = 0, .reserved_word_set_id = 5}, + [738] = {.lex_state = 0, .reserved_word_set_id = 1}, + [739] = {.lex_state = 0, .reserved_word_set_id = 1}, + [740] = {.lex_state = 0, .reserved_word_set_id = 1}, + [741] = {.lex_state = 0, .reserved_word_set_id = 5}, + [742] = {.lex_state = 0, .reserved_word_set_id = 5}, + [743] = {.lex_state = 0, .reserved_word_set_id = 1}, + [744] = {.lex_state = 0, .reserved_word_set_id = 5}, + [745] = {.lex_state = 0, .reserved_word_set_id = 1}, + [746] = {.lex_state = 0, .reserved_word_set_id = 5}, + [747] = {.lex_state = 0, .reserved_word_set_id = 5}, + [748] = {.lex_state = 0, .reserved_word_set_id = 5}, + [749] = {.lex_state = 0, .reserved_word_set_id = 5}, + [750] = {.lex_state = 0, .reserved_word_set_id = 1}, + [751] = {.lex_state = 0, .reserved_word_set_id = 1}, + [752] = {.lex_state = 0, .reserved_word_set_id = 1}, + [753] = {.lex_state = 0, .reserved_word_set_id = 1}, + [754] = {.lex_state = 0, .reserved_word_set_id = 1}, + [755] = {.lex_state = 0, .reserved_word_set_id = 5}, + [756] = {.lex_state = 0, .reserved_word_set_id = 1}, + [757] = {.lex_state = 0, .reserved_word_set_id = 1}, + [758] = {.lex_state = 0, .reserved_word_set_id = 5}, + [759] = {.lex_state = 0, .reserved_word_set_id = 5}, + [760] = {.lex_state = 0, .reserved_word_set_id = 1}, + [761] = {.lex_state = 0, .reserved_word_set_id = 5}, + [762] = {.lex_state = 0, .reserved_word_set_id = 1}, + [763] = {.lex_state = 0, .reserved_word_set_id = 5}, + [764] = {.lex_state = 0, .reserved_word_set_id = 5}, + [765] = {.lex_state = 0, .reserved_word_set_id = 5}, + [766] = {.lex_state = 0, .reserved_word_set_id = 5}, + [767] = {.lex_state = 0, .reserved_word_set_id = 5}, + [768] = {.lex_state = 0, .reserved_word_set_id = 5}, + [769] = {.lex_state = 0, .reserved_word_set_id = 5}, + [770] = {.lex_state = 0, .reserved_word_set_id = 5}, + [771] = {.lex_state = 0, .reserved_word_set_id = 5}, + [772] = {.lex_state = 0, .reserved_word_set_id = 5}, + [773] = {.lex_state = 0, .reserved_word_set_id = 5}, + [774] = {.lex_state = 0, .reserved_word_set_id = 1}, + [775] = {.lex_state = 0, .reserved_word_set_id = 1}, + [776] = {.lex_state = 0, .reserved_word_set_id = 1}, + [777] = {.lex_state = 0, .reserved_word_set_id = 5}, + [778] = {.lex_state = 0, .reserved_word_set_id = 1}, + [779] = {.lex_state = 0, .reserved_word_set_id = 1}, + [780] = {.lex_state = 0, .reserved_word_set_id = 1}, + [781] = {.lex_state = 0, .reserved_word_set_id = 5}, + [782] = {.lex_state = 55, .reserved_word_set_id = 6}, + [783] = {.lex_state = 55, .reserved_word_set_id = 6}, + [784] = {.lex_state = 55, .reserved_word_set_id = 6}, + [785] = {.lex_state = 55, .reserved_word_set_id = 6}, + [786] = {.lex_state = 55, .reserved_word_set_id = 6}, + [787] = {.lex_state = 55, .reserved_word_set_id = 6}, + [788] = {.lex_state = 0, .reserved_word_set_id = 5}, + [789] = {.lex_state = 0, .reserved_word_set_id = 5}, + [790] = {.lex_state = 0, .reserved_word_set_id = 5}, + [791] = {.lex_state = 0, .reserved_word_set_id = 5}, + [792] = {.lex_state = 55, .reserved_word_set_id = 5}, + [793] = {.lex_state = 55, .reserved_word_set_id = 5}, + [794] = {.lex_state = 55, .reserved_word_set_id = 5}, + [795] = {.lex_state = 55, .reserved_word_set_id = 5}, [796] = {.lex_state = 0}, [797] = {.lex_state = 0}, - [798] = {.lex_state = 0}, + [798] = {.lex_state = 0, .reserved_word_set_id = 5}, [799] = {.lex_state = 56}, [800] = {.lex_state = 56}, [801] = {.lex_state = 0}, - [802] = {.lex_state = 0}, + [802] = {.lex_state = 0, .reserved_word_set_id = 5}, [803] = {.lex_state = 0}, [804] = {.lex_state = 0}, [805] = {.lex_state = 55}, [806] = {.lex_state = 0}, - [807] = {.lex_state = 0}, + [807] = {.lex_state = 0, .reserved_word_set_id = 1}, [808] = {.lex_state = 55}, [809] = {.lex_state = 0}, [810] = {.lex_state = 55}, [811] = {.lex_state = 55}, - [812] = {.lex_state = 0}, + [812] = {.lex_state = 0, .reserved_word_set_id = 1}, [813] = {.lex_state = 55}, [814] = {.lex_state = 55}, [815] = {.lex_state = 55}, @@ -6079,24 +6087,24 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [836] = {.lex_state = 55}, [837] = {.lex_state = 55}, [838] = {.lex_state = 55}, - [839] = {.lex_state = 0}, - [840] = {.lex_state = 3}, - [841] = {.lex_state = 0}, - [842] = {.lex_state = 0}, + [839] = {.lex_state = 0, .reserved_word_set_id = 5}, + [840] = {.lex_state = 3, .reserved_word_set_id = 1}, + [841] = {.lex_state = 0, .reserved_word_set_id = 5}, + [842] = {.lex_state = 0, .reserved_word_set_id = 5}, [843] = {.lex_state = 3}, [844] = {.lex_state = 56}, - [845] = {.lex_state = 3}, + [845] = {.lex_state = 3, .reserved_word_set_id = 1}, [846] = {.lex_state = 0}, - [847] = {.lex_state = 3}, + [847] = {.lex_state = 3, .reserved_word_set_id = 1}, [848] = {.lex_state = 55}, - [849] = {.lex_state = 3}, - [850] = {.lex_state = 3}, + [849] = {.lex_state = 3, .reserved_word_set_id = 1}, + [850] = {.lex_state = 3, .reserved_word_set_id = 1}, [851] = {.lex_state = 3}, - [852] = {.lex_state = 3}, + [852] = {.lex_state = 3, .reserved_word_set_id = 1}, [853] = {.lex_state = 56}, - [854] = {.lex_state = 3}, + [854] = {.lex_state = 3, .reserved_word_set_id = 1}, [855] = {.lex_state = 55}, - [856] = {.lex_state = 3}, + [856] = {.lex_state = 3, .reserved_word_set_id = 1}, [857] = {.lex_state = 0}, [858] = {.lex_state = 0}, [859] = {.lex_state = 0}, @@ -6127,41 +6135,41 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [884] = {.lex_state = 0}, [885] = {.lex_state = 0}, [886] = {.lex_state = 0}, - [887] = {.lex_state = 3}, + [887] = {.lex_state = 3, .reserved_word_set_id = 1}, [888] = {.lex_state = 56}, - [889] = {.lex_state = 0}, + [889] = {.lex_state = 0, .reserved_word_set_id = 1}, [890] = {.lex_state = 55}, [891] = {.lex_state = 0}, - [892] = {.lex_state = 0}, + [892] = {.lex_state = 0, .reserved_word_set_id = 1}, [893] = {.lex_state = 55}, - [894] = {.lex_state = 0}, + [894] = {.lex_state = 0, .reserved_word_set_id = 1}, [895] = {.lex_state = 56}, [896] = {.lex_state = 0}, [897] = {.lex_state = 55}, [898] = {.lex_state = 55}, [899] = {.lex_state = 55}, - [900] = {.lex_state = 0}, - [901] = {.lex_state = 0}, + [900] = {.lex_state = 0, .reserved_word_set_id = 1}, + [901] = {.lex_state = 0, .reserved_word_set_id = 1}, [902] = {.lex_state = 55}, - [903] = {.lex_state = 0}, + [903] = {.lex_state = 0, .reserved_word_set_id = 1}, [904] = {.lex_state = 55}, - [905] = {.lex_state = 0}, + [905] = {.lex_state = 0, .reserved_word_set_id = 1}, [906] = {.lex_state = 0}, - [907] = {.lex_state = 0}, - [908] = {.lex_state = 0}, - [909] = {.lex_state = 55}, + [907] = {.lex_state = 0, .reserved_word_set_id = 1}, + [908] = {.lex_state = 0, .reserved_word_set_id = 1}, + [909] = {.lex_state = 55, .reserved_word_set_id = 7}, [910] = {.lex_state = 55}, [911] = {.lex_state = 55}, [912] = {.lex_state = 55}, [913] = {.lex_state = 55}, [914] = {.lex_state = 55}, - [915] = {.lex_state = 55}, + [915] = {.lex_state = 55, .reserved_word_set_id = 7}, [916] = {.lex_state = 55}, [917] = {.lex_state = 55}, [918] = {.lex_state = 55}, [919] = {.lex_state = 55}, [920] = {.lex_state = 55}, - [921] = {.lex_state = 0}, + [921] = {.lex_state = 0, .reserved_word_set_id = 1}, [922] = {.lex_state = 55}, [923] = {.lex_state = 55}, [924] = {.lex_state = 0}, @@ -6271,9 +6279,9 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1028] = {.lex_state = 55}, [1029] = {.lex_state = 55}, [1030] = {.lex_state = 55}, - [1031] = {.lex_state = 0}, + [1031] = {.lex_state = 0, .reserved_word_set_id = 1}, [1032] = {.lex_state = 55}, - [1033] = {.lex_state = 0}, + [1033] = {.lex_state = 0, .reserved_word_set_id = 1}, [1034] = {.lex_state = 55}, [1035] = {.lex_state = 55}, [1036] = {.lex_state = 55}, @@ -6284,10 +6292,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1041] = {.lex_state = 55}, [1042] = {.lex_state = 55}, [1043] = {.lex_state = 55}, - [1044] = {.lex_state = 0}, + [1044] = {.lex_state = 0, .reserved_word_set_id = 1}, [1045] = {.lex_state = 55}, [1046] = {.lex_state = 55}, - [1047] = {.lex_state = 0}, + [1047] = {.lex_state = 0, .reserved_word_set_id = 1}, [1048] = {.lex_state = 55}, [1049] = {.lex_state = 55}, [1050] = {.lex_state = 0}, @@ -6300,7 +6308,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1057] = {.lex_state = 0}, [1058] = {.lex_state = 55}, [1059] = {.lex_state = 55}, - [1060] = {.lex_state = 0}, + [1060] = {.lex_state = 0, .reserved_word_set_id = 1}, [1061] = {.lex_state = 0}, [1062] = {.lex_state = 55}, [1063] = {.lex_state = 55}, @@ -6324,12 +6332,12 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1081] = {.lex_state = 0}, [1082] = {.lex_state = 55}, [1083] = {.lex_state = 0}, - [1084] = {.lex_state = 0}, - [1085] = {.lex_state = 0}, + [1084] = {.lex_state = 0, .reserved_word_set_id = 1}, + [1085] = {.lex_state = 0, .reserved_word_set_id = 1}, [1086] = {.lex_state = 55}, [1087] = {.lex_state = 2}, [1088] = {.lex_state = 55}, - [1089] = {.lex_state = 0}, + [1089] = {.lex_state = 0, .reserved_word_set_id = 1}, [1090] = {.lex_state = 55}, [1091] = {.lex_state = 55}, [1092] = {.lex_state = 58}, @@ -6340,11 +6348,11 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1097] = {.lex_state = 2}, [1098] = {.lex_state = 0}, [1099] = {.lex_state = 0}, - [1100] = {.lex_state = 0}, + [1100] = {.lex_state = 0, .reserved_word_set_id = 1}, [1101] = {.lex_state = 2}, [1102] = {.lex_state = 0}, [1103] = {.lex_state = 0}, - [1104] = {.lex_state = 0}, + [1104] = {.lex_state = 0, .reserved_word_set_id = 1}, [1105] = {.lex_state = 55}, [1106] = {.lex_state = 0}, [1107] = {.lex_state = 58}, @@ -6388,11 +6396,11 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1145] = {.lex_state = 2}, [1146] = {.lex_state = 55}, [1147] = {.lex_state = 0}, - [1148] = {.lex_state = 0}, + [1148] = {.lex_state = 0, .reserved_word_set_id = 1}, [1149] = {.lex_state = 2}, [1150] = {.lex_state = 0}, [1151] = {.lex_state = 55}, - [1152] = {.lex_state = 0}, + [1152] = {.lex_state = 0, .reserved_word_set_id = 1}, [1153] = {.lex_state = 2}, [1154] = {.lex_state = 0}, [1155] = {.lex_state = 0}, @@ -6408,8 +6416,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1165] = {.lex_state = 0}, [1166] = {.lex_state = 0}, [1167] = {.lex_state = 0}, - [1168] = {.lex_state = 0}, - [1169] = {.lex_state = 0}, + [1168] = {.lex_state = 0, .reserved_word_set_id = 1}, + [1169] = {.lex_state = 0, .reserved_word_set_id = 1}, [1170] = {.lex_state = 0}, [1171] = {.lex_state = 0}, [1172] = {.lex_state = 55}, @@ -6432,14 +6440,14 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1189] = {.lex_state = 55}, [1190] = {.lex_state = 0}, [1191] = {.lex_state = 0}, - [1192] = {.lex_state = 0}, + [1192] = {.lex_state = 0, .reserved_word_set_id = 1}, [1193] = {.lex_state = 0}, [1194] = {.lex_state = 0}, [1195] = {.lex_state = 0}, [1196] = {.lex_state = 0}, [1197] = {.lex_state = 0}, [1198] = {.lex_state = 0}, - [1199] = {.lex_state = 0}, + [1199] = {.lex_state = 0, .reserved_word_set_id = 1}, [1200] = {.lex_state = 0}, [1201] = {.lex_state = 0}, [1202] = {.lex_state = 0}, @@ -6473,7 +6481,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1230] = {.lex_state = 0}, [1231] = {.lex_state = 0}, [1232] = {.lex_state = 0}, - [1233] = {.lex_state = 0}, + [1233] = {.lex_state = 0, .reserved_word_set_id = 1}, [1234] = {.lex_state = 0}, [1235] = {.lex_state = 0}, [1236] = {.lex_state = 0}, @@ -6500,7 +6508,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1257] = {.lex_state = 55}, [1258] = {.lex_state = 0}, [1259] = {.lex_state = 0}, - [1260] = {.lex_state = 0}, + [1260] = {.lex_state = 0, .reserved_word_set_id = 1}, [1261] = {.lex_state = 0}, [1262] = {.lex_state = 0}, [1263] = {.lex_state = 0}, @@ -6508,9 +6516,9 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1265] = {.lex_state = 58}, [1266] = {.lex_state = 0}, [1267] = {.lex_state = 0}, - [1268] = {.lex_state = 0}, + [1268] = {.lex_state = 0, .reserved_word_set_id = 1}, [1269] = {.lex_state = 0}, - [1270] = {.lex_state = 0}, + [1270] = {.lex_state = 0, .reserved_word_set_id = 1}, [1271] = {.lex_state = 0}, [1272] = {.lex_state = 0}, [1273] = {.lex_state = 0}, @@ -6523,11 +6531,11 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1280] = {.lex_state = 0}, [1281] = {.lex_state = 0}, [1282] = {.lex_state = 0}, - [1283] = {.lex_state = 0}, - [1284] = {.lex_state = 0}, + [1283] = {.lex_state = 0, .reserved_word_set_id = 1}, + [1284] = {.lex_state = 0, .reserved_word_set_id = 1}, [1285] = {.lex_state = 0}, [1286] = {.lex_state = 0}, - [1287] = {.lex_state = 0}, + [1287] = {.lex_state = 0, .reserved_word_set_id = 1}, [1288] = {.lex_state = 0}, [1289] = {.lex_state = 0}, [1290] = {.lex_state = 0}, @@ -6537,37 +6545,37 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1294] = {.lex_state = 0}, [1295] = {.lex_state = 0}, [1296] = {.lex_state = 0}, - [1297] = {.lex_state = 0}, + [1297] = {.lex_state = 0, .reserved_word_set_id = 1}, [1298] = {.lex_state = 0}, [1299] = {.lex_state = 0}, [1300] = {.lex_state = 0}, [1301] = {.lex_state = 0}, - [1302] = {.lex_state = 0}, + [1302] = {.lex_state = 0, .reserved_word_set_id = 1}, [1303] = {.lex_state = 0}, - [1304] = {.lex_state = 0}, + [1304] = {.lex_state = 0, .reserved_word_set_id = 1}, [1305] = {.lex_state = 0}, [1306] = {.lex_state = 0}, - [1307] = {.lex_state = 0}, + [1307] = {.lex_state = 0, .reserved_word_set_id = 1}, [1308] = {.lex_state = 0}, [1309] = {.lex_state = 0}, [1310] = {.lex_state = 0}, [1311] = {.lex_state = 0}, [1312] = {.lex_state = 0}, - [1313] = {.lex_state = 0}, + [1313] = {.lex_state = 0, .reserved_word_set_id = 1}, [1314] = {.lex_state = 0}, [1315] = {.lex_state = 0}, [1316] = {.lex_state = 0}, [1317] = {.lex_state = 0}, - [1318] = {.lex_state = 0}, + [1318] = {.lex_state = 0, .reserved_word_set_id = 1}, [1319] = {.lex_state = 0}, [1320] = {.lex_state = 0}, [1321] = {.lex_state = 0}, - [1322] = {.lex_state = 0}, + [1322] = {.lex_state = 0, .reserved_word_set_id = 1}, [1323] = {.lex_state = 0}, - [1324] = {.lex_state = 0}, + [1324] = {.lex_state = 0, .reserved_word_set_id = 1}, [1325] = {.lex_state = 0}, [1326] = {.lex_state = 0}, - [1327] = {.lex_state = 0}, + [1327] = {.lex_state = 0, .reserved_word_set_id = 1}, [1328] = {.lex_state = 0}, [1329] = {.lex_state = 0}, [1330] = {.lex_state = 0}, @@ -6600,7 +6608,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1357] = {.lex_state = 0}, [1358] = {.lex_state = 0}, [1359] = {.lex_state = 0}, - [1360] = {.lex_state = 0}, + [1360] = {.lex_state = 0, .reserved_word_set_id = 1}, [1361] = {.lex_state = 0}, [1362] = {.lex_state = 0}, [1363] = {.lex_state = 0}, @@ -6615,23 +6623,23 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1372] = {.lex_state = 0}, [1373] = {.lex_state = 0}, [1374] = {.lex_state = 0}, - [1375] = {.lex_state = 0}, + [1375] = {.lex_state = 0, .reserved_word_set_id = 1}, [1376] = {.lex_state = 0}, [1377] = {.lex_state = 0}, - [1378] = {.lex_state = 0}, + [1378] = {.lex_state = 0, .reserved_word_set_id = 1}, [1379] = {.lex_state = 0}, - [1380] = {.lex_state = 0}, + [1380] = {.lex_state = 0, .reserved_word_set_id = 1}, [1381] = {.lex_state = 0}, [1382] = {.lex_state = 140}, [1383] = {.lex_state = 0}, [1384] = {.lex_state = 0}, [1385] = {.lex_state = 140}, [1386] = {.lex_state = 0}, - [1387] = {.lex_state = 0}, - [1388] = {.lex_state = 0}, + [1387] = {.lex_state = 0, .reserved_word_set_id = 1}, + [1388] = {.lex_state = 0, .reserved_word_set_id = 1}, [1389] = {.lex_state = 0}, [1390] = {.lex_state = 0}, - [1391] = {.lex_state = 0}, + [1391] = {.lex_state = 0, .reserved_word_set_id = 1}, [1392] = {.lex_state = 0}, [1393] = {.lex_state = 140}, [1394] = {.lex_state = 0}, @@ -6654,10 +6662,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1411] = {.lex_state = 0}, [1412] = {.lex_state = 0}, [1413] = {.lex_state = 0}, - [1414] = {.lex_state = 0}, + [1414] = {.lex_state = 0, .reserved_word_set_id = 1}, [1415] = {.lex_state = 0}, [1416] = {.lex_state = 0}, - [1417] = {.lex_state = 0}, + [1417] = {.lex_state = 0, .reserved_word_set_id = 1}, [1418] = {.lex_state = 0}, [1419] = {.lex_state = 0}, [1420] = {.lex_state = 0}, @@ -6676,8 +6684,140 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [1433] = {.lex_state = 0}, }; +static const TSSymbol ts_reserved_words[8][MAX_RESERVED_WORD_SET_SIZE] = { + [1] = { + anon_sym_package, + anon_sym_import, + anon_sym_const, + anon_sym_var, + anon_sym_func, + anon_sym_type, + anon_sym_struct, + anon_sym_interface, + anon_sym_map, + anon_sym_chan, + anon_sym_fallthrough, + anon_sym_break, + anon_sym_continue, + anon_sym_goto, + anon_sym_return, + anon_sym_go, + anon_sym_defer, + anon_sym_if, + anon_sym_else, + anon_sym_for, + anon_sym_range, + anon_sym_switch, + anon_sym_case, + anon_sym_default, + anon_sym_select, + }, + [2] = { + anon_sym_package, + anon_sym_import, + anon_sym_else, + anon_sym_range, + }, + [3] = { + anon_sym_package, + anon_sym_import, + anon_sym_else, + anon_sym_range, + anon_sym_case, + anon_sym_default, + }, + [4] = { + anon_sym_package, + anon_sym_import, + anon_sym_const, + anon_sym_var, + anon_sym_type, + anon_sym_fallthrough, + anon_sym_break, + anon_sym_continue, + anon_sym_goto, + anon_sym_return, + anon_sym_go, + anon_sym_defer, + anon_sym_if, + anon_sym_else, + anon_sym_for, + anon_sym_switch, + anon_sym_case, + anon_sym_default, + anon_sym_select, + }, + [5] = { + anon_sym_package, + anon_sym_import, + anon_sym_const, + anon_sym_var, + anon_sym_type, + anon_sym_fallthrough, + anon_sym_break, + anon_sym_continue, + anon_sym_goto, + anon_sym_return, + anon_sym_go, + anon_sym_defer, + anon_sym_if, + anon_sym_else, + anon_sym_for, + anon_sym_range, + anon_sym_switch, + anon_sym_case, + anon_sym_default, + anon_sym_select, + }, + [6] = { + anon_sym_package, + anon_sym_import, + anon_sym_const, + anon_sym_var, + anon_sym_type, + anon_sym_fallthrough, + anon_sym_break, + anon_sym_continue, + anon_sym_goto, + anon_sym_return, + anon_sym_go, + anon_sym_defer, + anon_sym_if, + anon_sym_else, + anon_sym_for, + anon_sym_range, + anon_sym_switch, + anon_sym_select, + }, + [7] = { + anon_sym_package, + anon_sym_import, + anon_sym_const, + anon_sym_var, + anon_sym_func, + anon_sym_type, + anon_sym_struct, + anon_sym_interface, + anon_sym_map, + anon_sym_chan, + anon_sym_fallthrough, + anon_sym_break, + anon_sym_continue, + anon_sym_goto, + anon_sym_return, + anon_sym_go, + anon_sym_defer, + anon_sym_if, + anon_sym_else, + anon_sym_for, + anon_sym_range, + anon_sym_switch, + anon_sym_select, + }, +}; + static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { - [0] = { + [STATE(0)] = { [ts_builtin_sym_end] = ACTIONS(1), [sym_identifier] = ACTIONS(1), [anon_sym_SEMI] = ACTIONS(1), @@ -6771,7 +6911,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(1), [sym_comment] = ACTIONS(3), }, - [1] = { + [STATE(1)] = { [sym_source_file] = STATE(1418), [sym_package_clause] = STATE(1095), [sym_import_declaration] = STATE(1095), @@ -6884,7 +7024,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [2] = { + [STATE(2)] = { [sym_package_clause] = STATE(1112), [sym_import_declaration] = STATE(1112), [sym__declaration] = STATE(1000), @@ -6996,7 +7136,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [3] = { + [STATE(3)] = { [sym_package_clause] = STATE(1257), [sym_import_declaration] = STATE(1257), [sym__declaration] = STATE(1000), @@ -7108,7 +7248,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(180), [sym_comment] = ACTIONS(3), }, - [4] = { + [STATE(4)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7217,7 +7357,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [5] = { + [STATE(5)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7326,7 +7466,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [6] = { + [STATE(6)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7435,7 +7575,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [7] = { + [STATE(7)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7544,7 +7684,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [8] = { + [STATE(8)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7653,7 +7793,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [9] = { + [STATE(9)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7761,7 +7901,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [10] = { + [STATE(10)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7869,7 +8009,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [11] = { + [STATE(11)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -7976,7 +8116,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [12] = { + [STATE(12)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8083,7 +8223,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [13] = { + [STATE(13)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8190,7 +8330,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [14] = { + [STATE(14)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8297,7 +8437,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [15] = { + [STATE(15)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8404,7 +8544,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [16] = { + [STATE(16)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8511,7 +8651,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [17] = { + [STATE(17)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8618,7 +8758,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [18] = { + [STATE(18)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8725,7 +8865,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [19] = { + [STATE(19)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8829,7 +8969,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [20] = { + [STATE(20)] = { [sym__declaration] = STATE(1000), [sym_const_declaration] = STATE(1000), [sym_var_declaration] = STATE(1000), @@ -8933,7 +9073,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(73), [sym_comment] = ACTIONS(3), }, - [21] = { + [STATE(21)] = { [sym_expression_list] = STATE(806), [sym_parenthesized_type] = STATE(1330), [sym__simple_type] = STATE(1330), @@ -9007,7 +9147,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(258), [sym_comment] = ACTIONS(3), }, - [22] = { + [STATE(22)] = { [sym_expression_list] = STATE(801), [sym_parenthesized_type] = STATE(1330), [sym__simple_type] = STATE(1330), @@ -9077,7 +9217,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(258), [sym_comment] = ACTIONS(3), }, - [23] = { + [STATE(23)] = { [sym_expression_list] = STATE(804), [sym_parenthesized_type] = STATE(1330), [sym__simple_type] = STATE(1330), @@ -9146,7 +9286,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(258), [sym_comment] = ACTIONS(3), }, - [24] = { + [STATE(24)] = { [sym_expression_list] = STATE(804), [sym_parenthesized_type] = STATE(1330), [sym__simple_type] = STATE(1330), @@ -9215,7 +9355,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(258), [sym_comment] = ACTIONS(3), }, - [25] = { + [STATE(25)] = { [sym_expression_list] = STATE(804), [sym_parenthesized_type] = STATE(1330), [sym__simple_type] = STATE(1330), @@ -9284,7 +9424,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(258), [sym_comment] = ACTIONS(3), }, - [26] = { + [STATE(26)] = { [sym_expression_list] = STATE(804), [sym_parenthesized_type] = STATE(1330), [sym__simple_type] = STATE(1330), @@ -9353,7 +9493,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(258), [sym_comment] = ACTIONS(3), }, - [27] = { + [STATE(27)] = { [sym_expression_list] = STATE(803), [sym_parenthesized_type] = STATE(1330), [sym__simple_type] = STATE(1330), @@ -9421,7 +9561,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_iota] = ACTIONS(258), [sym_comment] = ACTIONS(3), }, - [28] = { + [STATE(28)] = { [sym_expression_list] = STATE(926), [sym_parenthesized_type] = STATE(1329), [sym__simple_type] = STATE(1329), @@ -61068,6 +61208,9 @@ TS_PUBLIC const TSLanguage *tree_sitter_go(void) { .keyword_lex_fn = ts_lex_keywords, .keyword_capture_token = sym_identifier, .primary_state_ids = ts_primary_state_ids, + .name = "go", + .reserved_words = &ts_reserved_words[0][0], + .max_reserved_word_set_size = 25, }; return &language; } diff --git a/src/tree_sitter/array.h b/src/tree_sitter/array.h index 15a3b233..a17a574f 100644 --- a/src/tree_sitter/array.h +++ b/src/tree_sitter/array.h @@ -14,6 +14,7 @@ extern "C" { #include #ifdef _MSC_VER +#pragma warning(push) #pragma warning(disable : 4101) #elif defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push @@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size, #define _compare_int(a, b) ((int)*(a) - (int)(b)) #ifdef _MSC_VER -#pragma warning(default : 4101) +#pragma warning(pop) #elif defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic pop #endif diff --git a/src/tree_sitter/parser.h b/src/tree_sitter/parser.h index 799f599b..30fa7f18 100644 --- a/src/tree_sitter/parser.h +++ b/src/tree_sitter/parser.h @@ -79,6 +79,12 @@ typedef struct { uint16_t external_lex_state; } TSLexMode; +typedef struct { + uint16_t lex_state; + uint16_t external_lex_state; + uint16_t reserved_word_set_id; +} TSLexerMode; + typedef union { TSParseAction action; struct { @@ -115,7 +121,7 @@ struct TSLanguage { const TSSymbol *public_symbol_map; const uint16_t *alias_map; const TSSymbol *alias_sequences; - const TSLexMode *lex_modes; + const TSLexerMode *lex_modes; bool (*lex_fn)(TSLexer *, TSStateId); bool (*keyword_lex_fn)(TSLexer *, TSStateId); TSSymbol keyword_capture_token; @@ -129,6 +135,9 @@ struct TSLanguage { void (*deserialize)(void *, const char *, unsigned); } external_scanner; const TSStateId *primary_state_ids; + const char *name; + const TSSymbol *reserved_words; + uint16_t max_reserved_word_set_size; }; static inline bool set_contains(TSCharacterRange *ranges, uint32_t len, int32_t lookahead) { diff --git a/test/corpus/errors.txt b/test/corpus/errors.txt new file mode 100644 index 00000000..abd03626 --- /dev/null +++ b/test/corpus/errors.txt @@ -0,0 +1,57 @@ +================================================= +Error detected at globally reserved keyword +================================================= + +func a() { + a. // Should error here, and not use 'if' as a field + + if b > c { + d() + } +} + + +func b() { + b. // Should error here, and not use 'switch' as a field + + switch v { + case 1: + doSomething() + } +} + +--- + +(source_file + (function_declaration + (identifier) + (parameter_list) + (block + (ERROR + (identifier)) + (comment) + (if_statement + (binary_expression + (identifier) + (identifier)) + (block + (expression_statement + (call_expression + (identifier) + (argument_list))))))) + (function_declaration + (identifier) + (parameter_list) + (block + (ERROR + (identifier)) + (comment) + (expression_switch_statement + (identifier) + (expression_case + (expression_list + (int_literal)) + (expression_statement + (call_expression + (identifier) + (argument_list))))))))