diff --git a/crates/core/src/test.rs b/crates/core/src/test.rs index e31273d33..84dcc1ffa 100644 --- a/crates/core/src/test.rs +++ b/crates/core/src/test.rs @@ -2797,6 +2797,25 @@ fn quote_snippet_rewrite() { .unwrap(); } +#[test] +fn simple_toml() { + run_test_expected({ + TestArgExpected { + pattern: r#" + |language toml + |`[$foo]` where { + | $foo => `bar` + |} + |"# + .trim_margin() + .unwrap(), + source: r#"[workspace]"#.to_owned(), + expected: r#"[bar]"#.to_owned(), + } + }) + .unwrap(); +} + #[test] fn multi_args_snippet() { run_test_match({ diff --git a/crates/language/src/toml.rs b/crates/language/src/toml.rs index 084e8ced6..657e90f23 100644 --- a/crates/language/src/toml.rs +++ b/crates/language/src/toml.rs @@ -71,8 +71,8 @@ mod tests { use super::*; #[test] - fn pair_snippet() { - let snippet = "fmt.Println($foo)"; + fn table_snippet() { + let snippet = "[workspace]"; let lang = Toml::new(None); let snippets = lang.parse_snippet_contexts(snippet); let nodes = nodes_from_indices(&snippets); diff --git a/crates/wasm-bindings/wasm_parsers/tree-sitter-toml.wasm b/crates/wasm-bindings/wasm_parsers/tree-sitter-toml.wasm index 7834d11e5..e1d1bcd0d 100755 Binary files a/crates/wasm-bindings/wasm_parsers/tree-sitter-toml.wasm and b/crates/wasm-bindings/wasm_parsers/tree-sitter-toml.wasm differ diff --git a/resources/edit_grammars.mjs b/resources/edit_grammars.mjs index c33db82f4..543a94cf4 100644 --- a/resources/edit_grammars.mjs +++ b/resources/edit_grammars.mjs @@ -279,6 +279,12 @@ async function buildLanguage(language) { `${METAVARIABLE_GRAMMARS}/c_build.rs`, `${tsLangDir}/bindings/rust/build.rs`, ); + } else if (language === 'toml') { + await buildSimpleLanguage(log, language); + await fs.copyFile( + `${METAVARIABLE_GRAMMARS}/c_build.rs`, + `${tsLangDir}/bindings/rust/build.rs`, + ); } else { await buildSimpleLanguage(log, language); } diff --git a/resources/language-metavariables/tree-sitter-css/tree-sitter-css.wasm b/resources/language-metavariables/tree-sitter-css/tree-sitter-css.wasm deleted file mode 100755 index d62a709c2..000000000 Binary files a/resources/language-metavariables/tree-sitter-css/tree-sitter-css.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-go/tree-sitter-go.wasm b/resources/language-metavariables/tree-sitter-go/tree-sitter-go.wasm deleted file mode 100755 index 82a8b85ee..000000000 Binary files a/resources/language-metavariables/tree-sitter-go/tree-sitter-go.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-hcl/tree-sitter-hcl.wasm b/resources/language-metavariables/tree-sitter-hcl/tree-sitter-hcl.wasm deleted file mode 100755 index ee895ecdf..000000000 Binary files a/resources/language-metavariables/tree-sitter-hcl/tree-sitter-hcl.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-html/tree-sitter-html.wasm b/resources/language-metavariables/tree-sitter-html/tree-sitter-html.wasm deleted file mode 100755 index 2d2835ca4..000000000 Binary files a/resources/language-metavariables/tree-sitter-html/tree-sitter-html.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-java/tree-sitter-java.wasm b/resources/language-metavariables/tree-sitter-java/tree-sitter-java.wasm deleted file mode 100755 index 889206a4b..000000000 Binary files a/resources/language-metavariables/tree-sitter-java/tree-sitter-java.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-javascript/tree-sitter-javascript.wasm b/resources/language-metavariables/tree-sitter-javascript/tree-sitter-javascript.wasm deleted file mode 100755 index e01894e1a..000000000 Binary files a/resources/language-metavariables/tree-sitter-javascript/tree-sitter-javascript.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-json/tree-sitter-json.wasm b/resources/language-metavariables/tree-sitter-json/tree-sitter-json.wasm deleted file mode 100755 index 98d526fcb..000000000 Binary files a/resources/language-metavariables/tree-sitter-json/tree-sitter-json.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-markdown/tree-sitter-markdown-inline/tree-sitter-markdown_inline.wasm b/resources/language-metavariables/tree-sitter-markdown/tree-sitter-markdown-inline/tree-sitter-markdown_inline.wasm deleted file mode 100755 index accc76206..000000000 Binary files a/resources/language-metavariables/tree-sitter-markdown/tree-sitter-markdown-inline/tree-sitter-markdown_inline.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-markdown/tree-sitter-markdown/tree-sitter-markdown.wasm b/resources/language-metavariables/tree-sitter-markdown/tree-sitter-markdown/tree-sitter-markdown.wasm deleted file mode 100755 index 961e7ef82..000000000 Binary files a/resources/language-metavariables/tree-sitter-markdown/tree-sitter-markdown/tree-sitter-markdown.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-python/tree-sitter-python.wasm b/resources/language-metavariables/tree-sitter-python/tree-sitter-python.wasm deleted file mode 100755 index aff6ed2e0..000000000 Binary files a/resources/language-metavariables/tree-sitter-python/tree-sitter-python.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-ruby/tree-sitter-ruby.wasm b/resources/language-metavariables/tree-sitter-ruby/tree-sitter-ruby.wasm deleted file mode 100755 index 22af3a1cb..000000000 Binary files a/resources/language-metavariables/tree-sitter-ruby/tree-sitter-ruby.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-rust/tree-sitter-rust.wasm b/resources/language-metavariables/tree-sitter-rust/tree-sitter-rust.wasm deleted file mode 100755 index 85b996e2d..000000000 Binary files a/resources/language-metavariables/tree-sitter-rust/tree-sitter-rust.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-solidity/tree-sitter-solidity.wasm b/resources/language-metavariables/tree-sitter-solidity/tree-sitter-solidity.wasm deleted file mode 100755 index 211212c00..000000000 Binary files a/resources/language-metavariables/tree-sitter-solidity/tree-sitter-solidity.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-toml/bindings/rust/build.rs b/resources/language-metavariables/tree-sitter-toml/bindings/rust/build.rs index f14262473..04f0e3f61 100644 --- a/resources/language-metavariables/tree-sitter-toml/bindings/rust/build.rs +++ b/resources/language-metavariables/tree-sitter-toml/bindings/rust/build.rs @@ -10,14 +10,9 @@ fn main() { let parser_path = src_dir.join("parser.c"); c_config.file(&parser_path); - // If your language uses an external scanner written in C, - // then include this block of code: - - /* let scanner_path = src_dir.join("scanner.c"); c_config.file(&scanner_path); println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap()); - */ c_config.compile("parser"); println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap()); diff --git a/resources/language-metavariables/tree-sitter-toml/grammar.js b/resources/language-metavariables/tree-sitter-toml/grammar.js index 2e0857303..3cf6fc9cd 100644 --- a/resources/language-metavariables/tree-sitter-toml/grammar.js +++ b/resources/language-metavariables/tree-sitter-toml/grammar.js @@ -35,8 +35,8 @@ module.exports = grammar({ rules: { document: $ => seq( - repeat(choice($.pair, newline)), - repeat(choice($.table, $.table_array_element)), + field('pair', repeat(choice($._pair, newline))), + field('table', repeat(choice($.table, $.table_array_element))), ), comment: $ => @@ -48,25 +48,25 @@ module.exports = grammar({ table: $ => seq( "[", - choice($.dotted_key, $._key), + field('key', choice($.dotted_key, $._key)), "]", $._line_ending_or_eof, - repeat(choice($.pair, newline)), + field('pair', repeat(choice($._pair, newline))), ), table_array_element: $ => seq( "[[", - choice($.dotted_key, $._key), + field('key', choice($.dotted_key, $._key)), "]]", $._line_ending_or_eof, - repeat(choice($.pair, newline)), + field('pair', repeat(choice($._pair, newline))), ), - pair: $ => seq($._inline_pair, $._line_ending_or_eof), - _inline_pair: $ => seq(choice($.dotted_key, $._key), "=", $._inline_value), + _pair: $ => seq(choice($.grit_metavariable, $.inline_pair), $._line_ending_or_eof), + inline_pair: $ => seq(field('key', choice($.dotted_key, $._key)), "=", field('value', $._inline_value)), - _key: $ => choice($.bare_key, $.quoted_key), + _key: $ => choice($.bare_key, $.quoted_key, $.grit_metavariable), dotted_key: $ => seq(choice($.dotted_key, $._key), ".", $._key), bare_key: $ => /[A-Za-z0-9_-]+/, quoted_key: $ => choice($._basic_string, $._literal_string), @@ -83,6 +83,7 @@ module.exports = grammar({ $.local_time, $.array, $.inline_table, + $.grit_metavariable ), string: $ => @@ -190,9 +191,9 @@ module.exports = grammar({ repeat(newline), optional( seq( - $._inline_value, + field('value', $._inline_value), repeat(newline), - repeat(seq(",", repeat(newline), $._inline_value, repeat(newline))), + repeat(seq(",", repeat(newline), field('value', $._inline_value), repeat(newline))), optional(seq(",", repeat(newline))), ), ), @@ -204,11 +205,13 @@ module.exports = grammar({ "{", optional( seq( - alias($._inline_pair, $.pair), - repeat(seq(",", alias($._inline_pair, $.pair))), + field('pair', alias($.inline_pair, $._pair)), + repeat(seq(",", field('pair', alias($.inline_pair, $._pair)))), ), ), "}", ), + + grit_metavariable: ($) => token(prec(100, choice("µ...", /µ[a-zA-Z_][a-zA-Z0-9_]*/))), }, }); diff --git a/resources/language-metavariables/tree-sitter-toml/src/grammar.json b/resources/language-metavariables/tree-sitter-toml/src/grammar.json index 24421fcbb..90dadf246 100644 --- a/resources/language-metavariables/tree-sitter-toml/src/grammar.json +++ b/resources/language-metavariables/tree-sitter-toml/src/grammar.json @@ -5,35 +5,43 @@ "type": "SEQ", "members": [ { - "type": "REPEAT", + "type": "FIELD", + "name": "pair", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "pair" - }, - { - "type": "PATTERN", - "value": "\\r?\\n" - } - ] + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_pair" + }, + { + "type": "PATTERN", + "value": "\\r?\\n" + } + ] + } } }, { - "type": "REPEAT", + "type": "FIELD", + "name": "table", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "table" - }, - { - "type": "SYMBOL", - "name": "table_array_element" - } - ] + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "table" + }, + { + "type": "SYMBOL", + "name": "table_array_element" + } + ] + } } } ] @@ -69,17 +77,21 @@ "value": "[" }, { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "dotted_key" - }, - { - "type": "SYMBOL", - "name": "_key" - } - ] + "type": "FIELD", + "name": "key", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "dotted_key" + }, + { + "type": "SYMBOL", + "name": "_key" + } + ] + } }, { "type": "STRING", @@ -90,19 +102,23 @@ "name": "_line_ending_or_eof" }, { - "type": "REPEAT", + "type": "FIELD", + "name": "pair", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "pair" - }, - { - "type": "PATTERN", - "value": "\\r?\\n" - } - ] + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_pair" + }, + { + "type": "PATTERN", + "value": "\\r?\\n" + } + ] + } } } ] @@ -115,58 +131,53 @@ "value": "[[" }, { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "dotted_key" - }, - { - "type": "SYMBOL", - "name": "_key" - } - ] - }, - { - "type": "STRING", - "value": "]]" - }, - { - "type": "SYMBOL", - "name": "_line_ending_or_eof" - }, - { - "type": "REPEAT", + "type": "FIELD", + "name": "key", "content": { "type": "CHOICE", "members": [ { "type": "SYMBOL", - "name": "pair" + "name": "dotted_key" }, { - "type": "PATTERN", - "value": "\\r?\\n" + "type": "SYMBOL", + "name": "_key" } ] } - } - ] - }, - "pair": { - "type": "SEQ", - "members": [ + }, { - "type": "SYMBOL", - "name": "_inline_pair" + "type": "STRING", + "value": "]]" }, { "type": "SYMBOL", "name": "_line_ending_or_eof" + }, + { + "type": "FIELD", + "name": "pair", + "content": { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_pair" + }, + { + "type": "PATTERN", + "value": "\\r?\\n" + } + ] + } + } } ] }, - "_inline_pair": { + "_pair": { "type": "SEQ", "members": [ { @@ -174,21 +185,51 @@ "members": [ { "type": "SYMBOL", - "name": "dotted_key" + "name": "grit_metavariable" }, { "type": "SYMBOL", - "name": "_key" + "name": "inline_pair" } ] }, + { + "type": "SYMBOL", + "name": "_line_ending_or_eof" + } + ] + }, + "inline_pair": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "key", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "dotted_key" + }, + { + "type": "SYMBOL", + "name": "_key" + } + ] + } + }, { "type": "STRING", "value": "=" }, { - "type": "SYMBOL", - "name": "_inline_value" + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "_inline_value" + } } ] }, @@ -202,6 +243,10 @@ { "type": "SYMBOL", "name": "quoted_key" + }, + { + "type": "SYMBOL", + "name": "grit_metavariable" } ] }, @@ -290,6 +335,10 @@ { "type": "SYMBOL", "name": "inline_table" + }, + { + "type": "SYMBOL", + "name": "grit_metavariable" } ] }, @@ -664,8 +713,12 @@ "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "_inline_value" + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "_inline_value" + } }, { "type": "REPEAT", @@ -691,8 +744,12 @@ } }, { - "type": "SYMBOL", - "name": "_inline_value" + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "_inline_value" + } }, { "type": "REPEAT", @@ -755,13 +812,17 @@ "type": "SEQ", "members": [ { - "type": "ALIAS", + "type": "FIELD", + "name": "pair", "content": { - "type": "SYMBOL", - "name": "_inline_pair" - }, - "named": true, - "value": "pair" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "inline_pair" + }, + "named": true, + "value": "_pair" + } }, { "type": "REPEAT", @@ -773,13 +834,17 @@ "value": "," }, { - "type": "ALIAS", + "type": "FIELD", + "name": "pair", "content": { - "type": "SYMBOL", - "name": "_inline_pair" - }, - "named": true, - "value": "pair" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "inline_pair" + }, + "named": true, + "value": "_pair" + } } ] } @@ -796,6 +861,26 @@ "value": "}" } ] + }, + "grit_metavariable": { + "type": "TOKEN", + "content": { + "type": "PREC", + "value": 100, + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "µ..." + }, + { + "type": "PATTERN", + "value": "µ[a-zA-Z_][a-zA-Z0-9_]*" + } + ] + } + } } }, "extras": [ diff --git a/resources/language-metavariables/tree-sitter-toml/src/node-types.json b/resources/language-metavariables/tree-sitter-toml/src/node-types.json index d2ad0d541..d49126de6 100644 --- a/resources/language-metavariables/tree-sitter-toml/src/node-types.json +++ b/resources/language-metavariables/tree-sitter-toml/src/node-types.json @@ -1,76 +1,170 @@ [ + { + "type": "_pair", + "named": true, + "fields": { + "key": { + "multiple": false, + "required": true, + "types": [ + { + "type": "bare_key", + "named": true + }, + { + "type": "dotted_key", + "named": true + }, + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "quoted_key", + "named": true + } + ] + }, + "value": { + "multiple": false, + "required": true, + "types": [ + { + "type": "array", + "named": true + }, + { + "type": "boolean", + "named": true + }, + { + "type": "float", + "named": true + }, + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "inline_table", + "named": true + }, + { + "type": "integer", + "named": true + }, + { + "type": "local_date", + "named": true + }, + { + "type": "local_date_time", + "named": true + }, + { + "type": "local_time", + "named": true + }, + { + "type": "offset_date_time", + "named": true + }, + { + "type": "string", + "named": true + } + ] + } + } + }, { "type": "array", "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "array", - "named": true - }, - { - "type": "boolean", - "named": true - }, - { - "type": "float", - "named": true - }, - { - "type": "inline_table", - "named": true - }, - { - "type": "integer", - "named": true - }, - { - "type": "local_date", - "named": true - }, - { - "type": "local_date_time", - "named": true - }, - { - "type": "local_time", - "named": true - }, - { - "type": "offset_date_time", - "named": true - }, - { - "type": "string", - "named": true - } - ] + "fields": { + "value": { + "multiple": true, + "required": false, + "types": [ + { + "type": "array", + "named": true + }, + { + "type": "boolean", + "named": true + }, + { + "type": "float", + "named": true + }, + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "inline_table", + "named": true + }, + { + "type": "integer", + "named": true + }, + { + "type": "local_date", + "named": true + }, + { + "type": "local_date_time", + "named": true + }, + { + "type": "local_time", + "named": true + }, + { + "type": "offset_date_time", + "named": true + }, + { + "type": "string", + "named": true + } + ] + } } }, { "type": "document", "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "pair", - "named": true - }, - { - "type": "table", - "named": true - }, - { - "type": "table_array_element", - "named": true - } - ] + "fields": { + "pair": { + "multiple": true, + "required": false, + "types": [ + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "inline_pair", + "named": true + } + ] + }, + "table": { + "multiple": true, + "required": false, + "types": [ + { + "type": "table", + "named": true + }, + { + "type": "table_array_element", + "named": true + } + ] + } } }, { @@ -89,6 +183,10 @@ "type": "dotted_key", "named": true }, + { + "type": "grit_metavariable", + "named": true + }, { "type": "quoted_key", "named": true @@ -102,87 +200,103 @@ "fields": {} }, { - "type": "inline_table", + "type": "inline_pair", "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "pair", - "named": true - } - ] + "fields": { + "key": { + "multiple": false, + "required": true, + "types": [ + { + "type": "bare_key", + "named": true + }, + { + "type": "dotted_key", + "named": true + }, + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "quoted_key", + "named": true + } + ] + }, + "value": { + "multiple": false, + "required": true, + "types": [ + { + "type": "array", + "named": true + }, + { + "type": "boolean", + "named": true + }, + { + "type": "float", + "named": true + }, + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "inline_table", + "named": true + }, + { + "type": "integer", + "named": true + }, + { + "type": "local_date", + "named": true + }, + { + "type": "local_date_time", + "named": true + }, + { + "type": "local_time", + "named": true + }, + { + "type": "offset_date_time", + "named": true + }, + { + "type": "string", + "named": true + } + ] + } } }, { - "type": "integer", + "type": "inline_table", "named": true, - "fields": {} + "fields": { + "pair": { + "multiple": true, + "required": false, + "types": [ + { + "type": "_pair", + "named": true + } + ] + } + } }, { - "type": "pair", + "type": "integer", "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "array", - "named": true - }, - { - "type": "bare_key", - "named": true - }, - { - "type": "boolean", - "named": true - }, - { - "type": "dotted_key", - "named": true - }, - { - "type": "float", - "named": true - }, - { - "type": "inline_table", - "named": true - }, - { - "type": "integer", - "named": true - }, - { - "type": "local_date", - "named": true - }, - { - "type": "local_date_time", - "named": true - }, - { - "type": "local_time", - "named": true - }, - { - "type": "offset_date_time", - "named": true - }, - { - "type": "quoted_key", - "named": true - }, - { - "type": "string", - "named": true - } - ] - } + "fields": {} }, { "type": "quoted_key", @@ -217,55 +331,85 @@ { "type": "table", "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "bare_key", - "named": true - }, - { - "type": "dotted_key", - "named": true - }, - { - "type": "pair", - "named": true - }, - { - "type": "quoted_key", - "named": true - } - ] + "fields": { + "key": { + "multiple": false, + "required": true, + "types": [ + { + "type": "bare_key", + "named": true + }, + { + "type": "dotted_key", + "named": true + }, + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "quoted_key", + "named": true + } + ] + }, + "pair": { + "multiple": true, + "required": false, + "types": [ + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "inline_pair", + "named": true + } + ] + } } }, { "type": "table_array_element", "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "bare_key", - "named": true - }, - { - "type": "dotted_key", - "named": true - }, - { - "type": "pair", - "named": true - }, - { - "type": "quoted_key", - "named": true - } - ] + "fields": { + "key": { + "multiple": false, + "required": true, + "types": [ + { + "type": "bare_key", + "named": true + }, + { + "type": "dotted_key", + "named": true + }, + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "quoted_key", + "named": true + } + ] + }, + "pair": { + "multiple": true, + "required": false, + "types": [ + { + "type": "grit_metavariable", + "named": true + }, + { + "type": "inline_pair", + "named": true + } + ] + } } }, { @@ -328,6 +472,10 @@ "type": "escape_sequence", "named": true }, + { + "type": "grit_metavariable", + "named": true + }, { "type": "local_date", "named": true diff --git a/resources/language-metavariables/tree-sitter-toml/src/parser.c b/resources/language-metavariables/tree-sitter-toml/src/parser.c index 5e257e922..ee79c31f4 100644 --- a/resources/language-metavariables/tree-sitter-toml/src/parser.c +++ b/resources/language-metavariables/tree-sitter-toml/src/parser.c @@ -6,15 +6,15 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 152 +#define STATE_COUNT 201 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 66 -#define ALIAS_COUNT 0 -#define TOKEN_COUNT 40 +#define SYMBOL_COUNT 67 +#define ALIAS_COUNT 1 +#define TOKEN_COUNT 41 #define EXTERNAL_TOKEN_COUNT 5 -#define FIELD_COUNT 0 +#define FIELD_COUNT 4 #define MAX_ALIAS_SEQUENCE_LENGTH 8 -#define PRODUCTION_ID_COUNT 2 +#define PRODUCTION_ID_COUNT 17 enum { aux_sym_document_token1 = 1, @@ -51,37 +51,39 @@ enum { anon_sym_COMMA = 32, anon_sym_LBRACE = 33, anon_sym_RBRACE = 34, - sym__line_ending_or_eof = 35, - sym__multiline_basic_string_content = 36, - sym__multiline_basic_string_end = 37, - sym__multiline_literal_string_content = 38, - sym__multiline_literal_string_end = 39, - sym_document = 40, - sym_table = 41, - sym_table_array_element = 42, - sym_pair = 43, - sym__inline_pair = 44, - sym__key = 45, - sym_dotted_key = 46, - sym_quoted_key = 47, - sym__inline_value = 48, - sym_string = 49, - sym__basic_string = 50, - sym__multiline_basic_string = 51, - sym__literal_string = 52, - sym__multiline_literal_string = 53, - sym_integer = 54, - sym_float = 55, - sym_array = 56, - sym_inline_table = 57, - aux_sym_document_repeat1 = 58, - aux_sym_document_repeat2 = 59, - aux_sym__basic_string_repeat1 = 60, - aux_sym__multiline_basic_string_repeat1 = 61, - aux_sym__multiline_literal_string_repeat1 = 62, - aux_sym_array_repeat1 = 63, - aux_sym_array_repeat2 = 64, - aux_sym_inline_table_repeat1 = 65, + sym_grit_metavariable = 35, + sym__line_ending_or_eof = 36, + sym__multiline_basic_string_content = 37, + sym__multiline_basic_string_end = 38, + sym__multiline_literal_string_content = 39, + sym__multiline_literal_string_end = 40, + sym_document = 41, + sym_table = 42, + sym_table_array_element = 43, + sym__pair = 44, + sym_inline_pair = 45, + sym__key = 46, + sym_dotted_key = 47, + sym_quoted_key = 48, + sym__inline_value = 49, + sym_string = 50, + sym__basic_string = 51, + sym__multiline_basic_string = 52, + sym__literal_string = 53, + sym__multiline_literal_string = 54, + sym_integer = 55, + sym_float = 56, + sym_array = 57, + sym_inline_table = 58, + aux_sym_document_repeat1 = 59, + aux_sym_document_repeat2 = 60, + aux_sym__basic_string_repeat1 = 61, + aux_sym__multiline_basic_string_repeat1 = 62, + aux_sym__multiline_literal_string_repeat1 = 63, + aux_sym_array_repeat1 = 64, + aux_sym_array_repeat2 = 65, + aux_sym_inline_table_repeat1 = 66, + alias_sym__pair = 67, }; static const char * const ts_symbol_names[] = { @@ -120,6 +122,7 @@ static const char * const ts_symbol_names[] = { [anon_sym_COMMA] = ",", [anon_sym_LBRACE] = "{", [anon_sym_RBRACE] = "}", + [sym_grit_metavariable] = "grit_metavariable", [sym__line_ending_or_eof] = "_line_ending_or_eof", [sym__multiline_basic_string_content] = "_multiline_basic_string_content", [sym__multiline_basic_string_end] = "_multiline_basic_string_end", @@ -128,8 +131,8 @@ static const char * const ts_symbol_names[] = { [sym_document] = "document", [sym_table] = "table", [sym_table_array_element] = "table_array_element", - [sym_pair] = "pair", - [sym__inline_pair] = "_inline_pair", + [sym__pair] = "_pair", + [sym_inline_pair] = "inline_pair", [sym__key] = "_key", [sym_dotted_key] = "dotted_key", [sym_quoted_key] = "quoted_key", @@ -151,6 +154,7 @@ static const char * const ts_symbol_names[] = { [aux_sym_array_repeat1] = "array_repeat1", [aux_sym_array_repeat2] = "array_repeat2", [aux_sym_inline_table_repeat1] = "inline_table_repeat1", + [alias_sym__pair] = "_pair", }; static const TSSymbol ts_symbol_map[] = { @@ -189,6 +193,7 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_COMMA] = anon_sym_COMMA, [anon_sym_LBRACE] = anon_sym_LBRACE, [anon_sym_RBRACE] = anon_sym_RBRACE, + [sym_grit_metavariable] = sym_grit_metavariable, [sym__line_ending_or_eof] = sym__line_ending_or_eof, [sym__multiline_basic_string_content] = sym__multiline_basic_string_content, [sym__multiline_basic_string_end] = sym__multiline_basic_string_end, @@ -197,8 +202,8 @@ static const TSSymbol ts_symbol_map[] = { [sym_document] = sym_document, [sym_table] = sym_table, [sym_table_array_element] = sym_table_array_element, - [sym_pair] = sym_pair, - [sym__inline_pair] = sym__inline_pair, + [sym__pair] = sym__pair, + [sym_inline_pair] = sym_inline_pair, [sym__key] = sym__key, [sym_dotted_key] = sym_dotted_key, [sym_quoted_key] = sym_quoted_key, @@ -220,6 +225,7 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_array_repeat1] = aux_sym_array_repeat1, [aux_sym_array_repeat2] = aux_sym_array_repeat2, [aux_sym_inline_table_repeat1] = aux_sym_inline_table_repeat1, + [alias_sym__pair] = alias_sym__pair, }; static const TSSymbolMetadata ts_symbol_metadata[] = { @@ -363,6 +369,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [sym_grit_metavariable] = { + .visible = true, + .named = true, + }, [sym__line_ending_or_eof] = { .visible = false, .named = true, @@ -395,12 +405,12 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_pair] = { - .visible = true, + [sym__pair] = { + .visible = false, .named = true, }, - [sym__inline_pair] = { - .visible = false, + [sym_inline_pair] = { + .visible = true, .named = true, }, [sym__key] = { @@ -487,19 +497,105 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [alias_sym__pair] = { + .visible = true, + .named = true, + }, +}; + +enum { + field_key = 1, + field_pair = 2, + field_table = 3, + field_value = 4, +}; + +static const char * const ts_field_names[] = { + [0] = NULL, + [field_key] = "key", + [field_pair] = "pair", + [field_table] = "table", + [field_value] = "value", +}; + +static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { + [1] = {.index = 0, .length = 1}, + [2] = {.index = 1, .length = 1}, + [3] = {.index = 2, .length = 2}, + [4] = {.index = 4, .length = 2}, + [5] = {.index = 6, .length = 1}, + [6] = {.index = 7, .length = 2}, + [7] = {.index = 9, .length = 1}, + [8] = {.index = 10, .length = 1}, + [9] = {.index = 11, .length = 2}, + [10] = {.index = 13, .length = 2}, + [11] = {.index = 15, .length = 1}, + [12] = {.index = 16, .length = 2}, + [13] = {.index = 18, .length = 2}, + [14] = {.index = 20, .length = 2}, + [15] = {.index = 22, .length = 2}, + [16] = {.index = 24, .length = 2}, +}; + +static const TSFieldMapEntry ts_field_map_entries[] = { + [0] = + {field_pair, 0}, + [1] = + {field_table, 0}, + [2] = + {field_pair, 0}, + {field_table, 1}, + [4] = + {field_key, 0}, + {field_value, 2}, + [6] = + {field_key, 1}, + [7] = + {field_key, 1}, + {field_pair, 4}, + [9] = + {field_value, 1}, + [10] = + {field_pair, 1}, + [11] = + {field_value, 1}, + {field_value, 2, .inherited = true}, + [13] = + {field_value, 0, .inherited = true}, + {field_value, 1, .inherited = true}, + [15] = + {field_value, 2}, + [16] = + {field_pair, 1}, + {field_pair, 2, .inherited = true}, + [18] = + {field_pair, 0, .inherited = true}, + {field_pair, 1, .inherited = true}, + [20] = + {field_value, 1}, + {field_value, 3, .inherited = true}, + [22] = + {field_value, 2}, + {field_value, 3, .inherited = true}, + [24] = + {field_value, 2}, + {field_value, 4, .inherited = true}, }; static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { [0] = {0}, - [1] = { - [1] = sym_pair, + [8] = { + [1] = alias_sym__pair, + }, + [12] = { + [1] = alias_sym__pair, }, }; static const uint16_t ts_non_terminal_alias_map[] = { - sym__inline_pair, 2, - sym__inline_pair, - sym_pair, + sym_inline_pair, 2, + sym_inline_pair, + alias_sym__pair, 0, }; @@ -511,84 +607,84 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [4] = 4, [5] = 5, [6] = 6, - [7] = 4, + [7] = 7, [8] = 8, [9] = 9, - [10] = 8, - [11] = 11, - [12] = 9, + [10] = 10, + [11] = 2, + [12] = 12, [13] = 13, - [14] = 3, - [15] = 6, - [16] = 16, - [17] = 5, - [18] = 13, - [19] = 11, - [20] = 16, - [21] = 2, - [22] = 22, + [14] = 14, + [15] = 15, + [16] = 6, + [17] = 12, + [18] = 18, + [19] = 19, + [20] = 18, + [21] = 21, + [22] = 3, [23] = 23, - [24] = 24, - [25] = 24, - [26] = 26, - [27] = 27, - [28] = 28, + [24] = 21, + [25] = 4, + [26] = 5, + [27] = 13, + [28] = 19, [29] = 29, - [30] = 30, - [31] = 31, - [32] = 32, - [33] = 33, - [34] = 33, - [35] = 35, - [36] = 36, - [37] = 37, + [30] = 29, + [31] = 8, + [32] = 15, + [33] = 10, + [34] = 9, + [35] = 14, + [36] = 23, + [37] = 7, [38] = 38, [39] = 39, [40] = 40, [41] = 40, - [42] = 38, + [42] = 42, [43] = 43, - [44] = 43, + [44] = 44, [45] = 45, [46] = 46, [47] = 47, [48] = 48, [49] = 49, - [50] = 50, + [50] = 49, [51] = 51, [52] = 52, [53] = 53, [54] = 54, - [55] = 53, + [55] = 54, [56] = 56, [57] = 57, [58] = 58, - [59] = 59, - [60] = 60, - [61] = 54, - [62] = 59, - [63] = 56, - [64] = 57, - [65] = 58, + [59] = 57, + [60] = 58, + [61] = 61, + [62] = 62, + [63] = 63, + [64] = 64, + [65] = 65, [66] = 66, [67] = 67, [68] = 68, [69] = 69, [70] = 70, - [71] = 69, - [72] = 72, - [73] = 69, - [74] = 74, - [75] = 70, - [76] = 70, + [71] = 71, + [72] = 71, + [73] = 73, + [74] = 69, + [75] = 75, + [76] = 76, [77] = 77, - [78] = 78, - [79] = 79, - [80] = 80, - [81] = 81, + [78] = 76, + [79] = 70, + [80] = 77, + [81] = 75, [82] = 82, [83] = 83, - [84] = 84, + [84] = 83, [85] = 85, [86] = 86, [87] = 87, @@ -602,60 +698,109 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [95] = 95, [96] = 96, [97] = 97, - [98] = 95, - [99] = 94, + [98] = 98, + [99] = 99, [100] = 100, [101] = 101, [102] = 102, - [103] = 96, + [103] = 83, [104] = 104, [105] = 105, - [106] = 101, - [107] = 102, + [106] = 106, + [107] = 107, [108] = 108, [109] = 109, [110] = 110, - [111] = 105, + [111] = 82, [112] = 112, [113] = 113, [114] = 114, - [115] = 51, - [116] = 50, - [117] = 46, - [118] = 49, - [119] = 113, - [120] = 113, - [121] = 112, - [122] = 100, - [123] = 83, - [124] = 93, - [125] = 92, - [126] = 86, - [127] = 110, - [128] = 84, - [129] = 49, - [130] = 46, - [131] = 87, + [115] = 115, + [116] = 116, + [117] = 82, + [118] = 118, + [119] = 119, + [120] = 120, + [121] = 121, + [122] = 122, + [123] = 123, + [124] = 124, + [125] = 125, + [126] = 126, + [127] = 127, + [128] = 128, + [129] = 129, + [130] = 130, + [131] = 131, [132] = 132, [133] = 133, - [134] = 91, + [134] = 129, [135] = 135, - [136] = 50, - [137] = 82, - [138] = 88, - [139] = 51, - [140] = 79, - [141] = 89, - [142] = 90, - [143] = 77, + [136] = 136, + [137] = 135, + [138] = 131, + [139] = 125, + [140] = 126, + [141] = 133, + [142] = 142, + [143] = 143, [144] = 144, - [145] = 145, - [146] = 135, - [147] = 80, - [148] = 85, - [149] = 78, - [150] = 135, - [151] = 67, + [145] = 136, + [146] = 146, + [147] = 67, + [148] = 146, + [149] = 149, + [150] = 146, + [151] = 151, + [152] = 130, + [153] = 144, + [154] = 64, + [155] = 66, + [156] = 65, + [157] = 157, + [158] = 157, + [159] = 105, + [160] = 106, + [161] = 107, + [162] = 108, + [163] = 109, + [164] = 110, + [165] = 120, + [166] = 112, + [167] = 102, + [168] = 113, + [169] = 114, + [170] = 115, + [171] = 100, + [172] = 116, + [173] = 98, + [174] = 97, + [175] = 118, + [176] = 95, + [177] = 94, + [178] = 104, + [179] = 179, + [180] = 119, + [181] = 122, + [182] = 85, + [183] = 93, + [184] = 184, + [185] = 92, + [186] = 124, + [187] = 91, + [188] = 89, + [189] = 87, + [190] = 190, + [191] = 191, + [192] = 86, + [193] = 64, + [194] = 66, + [195] = 123, + [196] = 149, + [197] = 65, + [198] = 121, + [199] = 157, + [200] = 67, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -663,338 +808,337 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(77); - if (lookahead == '\n') ADVANCE(129); + if (eof) ADVANCE(80); + if (lookahead == '\n') ADVANCE(132); if (lookahead == '\r') ADVANCE(1); - if (lookahead == '"') ADVANCE(127); - if (lookahead == '#') ADVANCE(79); - if (lookahead == '\'') ADVANCE(137); - if (lookahead == '+') ADVANCE(15); - if (lookahead == ',') ADVANCE(161); - if (lookahead == '-') ADVANCE(95); - if (lookahead == '.') ADVANCE(86); - if (lookahead == '0') ADVANCE(92); - if (lookahead == '1') ADVANCE(90); - if (lookahead == '2') ADVANCE(89); - if (lookahead == '=') ADVANCE(85); - if (lookahead == '[') ADVANCE(81); + if (lookahead == '"') ADVANCE(130); + if (lookahead == '#') ADVANCE(82); + if (lookahead == '\'') ADVANCE(140); + if (lookahead == '+') ADVANCE(18); + if (lookahead == ',') ADVANCE(164); + if (lookahead == '-') ADVANCE(98); + if (lookahead == '.') ADVANCE(89); + if (lookahead == '0') ADVANCE(95); + if (lookahead == '1') ADVANCE(93); + if (lookahead == '2') ADVANCE(92); + if (lookahead == '=') ADVANCE(88); + if (lookahead == '[') ADVANCE(84); if (lookahead == '\\') ADVANCE(5); - if (lookahead == ']') ADVANCE(82); - if (lookahead == 'f') ADVANCE(102); - if (lookahead == 'i') ADVANCE(108); - if (lookahead == 'n') ADVANCE(103); - if (lookahead == 't') ADVANCE(109); - if (lookahead == '{') ADVANCE(162); - if (lookahead == '}') ADVANCE(163); + if (lookahead == ']') ADVANCE(85); + if (lookahead == 'f') ADVANCE(105); + if (lookahead == 'i') ADVANCE(111); + if (lookahead == 'n') ADVANCE(106); + if (lookahead == 't') ADVANCE(112); + if (lookahead == '{') ADVANCE(165); + if (lookahead == '}') ADVANCE(166); + if (lookahead == 181) ADVANCE(15); if (lookahead == '\t' || - lookahead == ' ') SKIP(75) - if (('3' <= lookahead && lookahead <= '9')) ADVANCE(91); + lookahead == ' ') SKIP(78) + if (('3' <= lookahead && lookahead <= '9')) ADVANCE(94); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); case 1: - if (lookahead == '\n') ADVANCE(129); + if (lookahead == '\n') ADVANCE(132); END_STATE(); case 2: - if (lookahead == '\n') ADVANCE(129); + if (lookahead == '\n') ADVANCE(132); if (lookahead == '\r') ADVANCE(1); - if (lookahead == '"') ADVANCE(126); - if (lookahead == '#') ADVANCE(125); + if (lookahead == '"') ADVANCE(129); + if (lookahead == '#') ADVANCE(128); if (lookahead == '\\') ADVANCE(5); if (lookahead == '\t' || - lookahead == ' ') ADVANCE(124); + lookahead == ' ') ADVANCE(127); if (lookahead != 0 && lookahead > 31 && - lookahead != 127) ADVANCE(125); + lookahead != 127) ADVANCE(128); END_STATE(); case 3: - if (lookahead == '\n') ADVANCE(129); + if (lookahead == '\n') ADVANCE(132); if (lookahead == '\r') ADVANCE(1); - if (lookahead == '#') ADVANCE(135); - if (lookahead == '\'') ADVANCE(136); + if (lookahead == '#') ADVANCE(138); + if (lookahead == '\'') ADVANCE(139); if (lookahead == '\t' || - lookahead == ' ') ADVANCE(134); + lookahead == ' ') ADVANCE(137); if (lookahead != 0 && lookahead > 31 && - lookahead != 127) ADVANCE(135); + lookahead != 127) ADVANCE(138); END_STATE(); case 4: - if (lookahead == '\n') ADVANCE(131); + if (lookahead == '\n') ADVANCE(134); END_STATE(); case 5: - if (lookahead == '\n') ADVANCE(131); + if (lookahead == '\n') ADVANCE(134); if (lookahead == '\r') ADVANCE(4); - if (lookahead == 'U') ADVANCE(74); - if (lookahead == 'u') ADVANCE(70); + if (lookahead == 'U') ADVANCE(77); + if (lookahead == 'u') ADVANCE(73); if (lookahead == '"' || lookahead == '\\' || lookahead == 'b' || lookahead == 'f' || lookahead == 'n' || lookahead == 'r' || - lookahead == 't') ADVANCE(130); + lookahead == 't') ADVANCE(133); END_STATE(); case 6: - if (lookahead == '\n') ADVANCE(78); + if (lookahead == '\n') ADVANCE(81); END_STATE(); case 7: - if (lookahead == '\n') ADVANCE(78); + if (lookahead == '\n') ADVANCE(81); if (lookahead == '\r') ADVANCE(6); - if (lookahead == '"') ADVANCE(123); - if (lookahead == '#') ADVANCE(79); - if (lookahead == '\'') ADVANCE(133); - if (lookahead == ',') ADVANCE(161); - if (lookahead == '0') ADVANCE(144); - if (lookahead == '1') ADVANCE(142); - if (lookahead == '2') ADVANCE(141); - if (lookahead == '[') ADVANCE(80); - if (lookahead == ']') ADVANCE(82); - if (lookahead == 'f') ADVANCE(30); - if (lookahead == 'i') ADVANCE(35); - if (lookahead == 'n') ADVANCE(31); - if (lookahead == 't') ADVANCE(37); - if (lookahead == '{') ADVANCE(162); + if (lookahead == '"') ADVANCE(126); + if (lookahead == '#') ADVANCE(82); + if (lookahead == '\'') ADVANCE(136); + if (lookahead == ',') ADVANCE(164); + if (lookahead == '0') ADVANCE(147); + if (lookahead == '1') ADVANCE(145); + if (lookahead == '2') ADVANCE(144); + if (lookahead == '[') ADVANCE(83); + if (lookahead == ']') ADVANCE(85); + if (lookahead == 'f') ADVANCE(33); + if (lookahead == 'i') ADVANCE(38); + if (lookahead == 'n') ADVANCE(34); + if (lookahead == 't') ADVANCE(40); + if (lookahead == '{') ADVANCE(165); + if (lookahead == 181) ADVANCE(15); if (lookahead == '\t' || lookahead == ' ') SKIP(7) - if (('+' <= lookahead && lookahead <= '-')) ADVANCE(17); - if (('3' <= lookahead && lookahead <= '9')) ADVANCE(143); + if (('+' <= lookahead && lookahead <= '-')) ADVANCE(20); + if (('3' <= lookahead && lookahead <= '9')) ADVANCE(146); END_STATE(); case 8: - if (lookahead == '"') ADVANCE(128); + if (lookahead == '"') ADVANCE(131); END_STATE(); case 9: - if (lookahead == '#') ADVANCE(79); - if (lookahead == '\'') ADVANCE(136); - if (lookahead == '.') ADVANCE(86); - if (lookahead == ']') ADVANCE(29); + if (lookahead == '#') ADVANCE(82); + if (lookahead == '\'') ADVANCE(139); + if (lookahead == '.') ADVANCE(89); + if (lookahead == ']') ADVANCE(32); if (lookahead == '\t' || lookahead == ' ') SKIP(10) END_STATE(); case 10: - if (lookahead == '#') ADVANCE(79); - if (lookahead == '.') ADVANCE(86); - if (lookahead == ']') ADVANCE(29); + if (lookahead == '#') ADVANCE(82); + if (lookahead == '.') ADVANCE(89); + if (lookahead == ']') ADVANCE(32); if (lookahead == '\t' || lookahead == ' ') SKIP(10) END_STATE(); case 11: - if (lookahead == '\'') ADVANCE(138); + if (lookahead == '\'') ADVANCE(141); END_STATE(); case 12: - if (lookahead == '-') ADVANCE(18); - if (lookahead == ':') ADVANCE(46); + if (lookahead == '-') ADVANCE(21); + if (lookahead == ':') ADVANCE(49); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(13); END_STATE(); case 13: - if (lookahead == '-') ADVANCE(18); + if (lookahead == '-') ADVANCE(21); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(13); END_STATE(); case 14: - if (lookahead == '-') ADVANCE(20); + if (lookahead == '-') ADVANCE(23); END_STATE(); case 15: - if (lookahead == '0') ADVANCE(139); - if (lookahead == 'i') ADVANCE(35); - if (lookahead == 'n') ADVANCE(31); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(147); + if (lookahead == '.') ADVANCE(17); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(168); END_STATE(); case 16: - if (lookahead == '0') ADVANCE(159); + if (lookahead == '.') ADVANCE(167); END_STATE(); case 17: - if (lookahead == '0') ADVANCE(146); - if (lookahead == 'i') ADVANCE(35); - if (lookahead == 'n') ADVANCE(31); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(145); + if (lookahead == '.') ADVANCE(16); END_STATE(); case 18: - if (lookahead == '0') ADVANCE(50); - if (lookahead == '1') ADVANCE(43); + if (lookahead == '0') ADVANCE(142); + if (lookahead == 'i') ADVANCE(38); + if (lookahead == 'n') ADVANCE(34); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(150); END_STATE(); case 19: - if (lookahead == '0') ADVANCE(156); + if (lookahead == '0') ADVANCE(162); END_STATE(); case 20: - if (lookahead == '0') ADVANCE(51); - if (lookahead == '3') ADVANCE(42); - if (lookahead == '1' || - lookahead == '2') ADVANCE(59); + if (lookahead == '0') ADVANCE(149); + if (lookahead == 'i') ADVANCE(38); + if (lookahead == 'n') ADVANCE(34); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(148); END_STATE(); case 21: - if (lookahead == '2') ADVANCE(44); - if (lookahead == '0' || - lookahead == '1') ADVANCE(63); + if (lookahead == '0') ADVANCE(53); + if (lookahead == '1') ADVANCE(46); END_STATE(); case 22: - if (lookahead == '2') ADVANCE(45); - if (lookahead == '0' || - lookahead == '1') ADVANCE(64); + if (lookahead == '0') ADVANCE(159); END_STATE(); case 23: - if (lookahead == '6') ADVANCE(16); - if (('0' <= lookahead && lookahead <= '5')) ADVANCE(54); + if (lookahead == '0') ADVANCE(54); + if (lookahead == '3') ADVANCE(45); + if (lookahead == '1' || + lookahead == '2') ADVANCE(62); END_STATE(); case 24: - if (lookahead == '6') ADVANCE(19); - if (('0' <= lookahead && lookahead <= '5')) ADVANCE(60); + if (lookahead == '2') ADVANCE(47); + if (lookahead == '0' || + lookahead == '1') ADVANCE(66); END_STATE(); case 25: - if (lookahead == ':') ADVANCE(23); + if (lookahead == '2') ADVANCE(48); + if (lookahead == '0' || + lookahead == '1') ADVANCE(67); END_STATE(); case 26: - if (lookahead == ':') ADVANCE(47); + if (lookahead == '6') ADVANCE(19); + if (('0' <= lookahead && lookahead <= '5')) ADVANCE(57); END_STATE(); case 27: - if (lookahead == ':') ADVANCE(24); + if (lookahead == '6') ADVANCE(22); + if (('0' <= lookahead && lookahead <= '5')) ADVANCE(63); END_STATE(); case 28: - if (lookahead == ':') ADVANCE(48); + if (lookahead == ':') ADVANCE(26); END_STATE(); case 29: - if (lookahead == ']') ADVANCE(84); + if (lookahead == ':') ADVANCE(50); END_STATE(); case 30: - if (lookahead == 'a') ADVANCE(34); + if (lookahead == ':') ADVANCE(27); END_STATE(); case 31: - if (lookahead == 'a') ADVANCE(36); + if (lookahead == ':') ADVANCE(51); END_STATE(); case 32: - if (lookahead == 'e') ADVANCE(154); + if (lookahead == ']') ADVANCE(87); END_STATE(); case 33: - if (lookahead == 'f') ADVANCE(153); + if (lookahead == 'a') ADVANCE(37); END_STATE(); case 34: - if (lookahead == 'l') ADVANCE(38); + if (lookahead == 'a') ADVANCE(39); END_STATE(); case 35: - if (lookahead == 'n') ADVANCE(33); + if (lookahead == 'e') ADVANCE(157); END_STATE(); case 36: - if (lookahead == 'n') ADVANCE(153); + if (lookahead == 'f') ADVANCE(156); END_STATE(); case 37: - if (lookahead == 'r') ADVANCE(39); + if (lookahead == 'l') ADVANCE(41); END_STATE(); case 38: - if (lookahead == 's') ADVANCE(32); + if (lookahead == 'n') ADVANCE(36); END_STATE(); case 39: - if (lookahead == 'u') ADVANCE(32); + if (lookahead == 'n') ADVANCE(156); END_STATE(); case 40: - if (lookahead == '+' || - lookahead == '-') ADVANCE(58); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(152); + if (lookahead == 'r') ADVANCE(42); END_STATE(); case 41: - if (lookahead == '0' || - lookahead == '1') ADVANCE(150); + if (lookahead == 's') ADVANCE(35); END_STATE(); case 42: - if (lookahead == '0' || - lookahead == '1') ADVANCE(158); + if (lookahead == 'u') ADVANCE(35); END_STATE(); case 43: - if (('0' <= lookahead && lookahead <= '2')) ADVANCE(14); + if (lookahead == '+' || + lookahead == '-') ADVANCE(61); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); END_STATE(); case 44: - if (('0' <= lookahead && lookahead <= '3')) ADVANCE(28); + if (lookahead == '0' || + lookahead == '1') ADVANCE(153); END_STATE(); case 45: - if (('0' <= lookahead && lookahead <= '3')) ADVANCE(26); + if (lookahead == '0' || + lookahead == '1') ADVANCE(161); END_STATE(); case 46: - if (('0' <= lookahead && lookahead <= '5')) ADVANCE(53); + if (('0' <= lookahead && lookahead <= '2')) ADVANCE(14); END_STATE(); case 47: - if (('0' <= lookahead && lookahead <= '5')) ADVANCE(61); + if (('0' <= lookahead && lookahead <= '3')) ADVANCE(31); END_STATE(); case 48: - if (('0' <= lookahead && lookahead <= '5')) ADVANCE(65); + if (('0' <= lookahead && lookahead <= '3')) ADVANCE(29); END_STATE(); case 49: - if (('0' <= lookahead && lookahead <= '7')) ADVANCE(149); + if (('0' <= lookahead && lookahead <= '5')) ADVANCE(56); END_STATE(); case 50: - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(14); + if (('0' <= lookahead && lookahead <= '5')) ADVANCE(64); END_STATE(); case 51: - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(158); + if (('0' <= lookahead && lookahead <= '5')) ADVANCE(68); END_STATE(); case 52: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(152); END_STATE(); case 53: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(25); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(14); END_STATE(); case 54: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(159); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(161); END_STATE(); case 55: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(160); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(150); END_STATE(); case 56: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(145); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(28); END_STATE(); case 57: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(151); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(162); END_STATE(); case 58: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(152); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(163); END_STATE(); case 59: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148); END_STATE(); case 60: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(156); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(154); END_STATE(); case 61: if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); END_STATE(); case 62: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(157); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(161); END_STATE(); case 63: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(28); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(159); END_STATE(); case 64: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); END_STATE(); case 65: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(27); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(160); END_STATE(); case 66: - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(130); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(31); END_STATE(); case 67: - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(148); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(29); END_STATE(); case 68: - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(66); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(30); END_STATE(); case 69: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(68); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(133); END_STATE(); case 70: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(69); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(151); END_STATE(); case 71: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(70); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(69); END_STATE(); case 72: if (('0' <= lookahead && lookahead <= '9') || @@ -1012,643 +1156,670 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('a' <= lookahead && lookahead <= 'f')) ADVANCE(73); END_STATE(); case 75: - if (eof) ADVANCE(77); - if (lookahead == '\n') ADVANCE(78); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(74); + END_STATE(); + case 76: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(75); + END_STATE(); + case 77: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(76); + END_STATE(); + case 78: + if (eof) ADVANCE(80); + if (lookahead == '\n') ADVANCE(81); if (lookahead == '\r') ADVANCE(6); - if (lookahead == '"') ADVANCE(123); - if (lookahead == '#') ADVANCE(79); - if (lookahead == '\'') ADVANCE(133); - if (lookahead == '+') ADVANCE(15); - if (lookahead == ',') ADVANCE(161); - if (lookahead == '-') ADVANCE(95); - if (lookahead == '.') ADVANCE(86); - if (lookahead == '0') ADVANCE(92); - if (lookahead == '1') ADVANCE(90); - if (lookahead == '2') ADVANCE(89); - if (lookahead == '=') ADVANCE(85); - if (lookahead == '[') ADVANCE(81); - if (lookahead == ']') ADVANCE(82); - if (lookahead == 'f') ADVANCE(102); - if (lookahead == 'i') ADVANCE(108); - if (lookahead == 'n') ADVANCE(103); - if (lookahead == 't') ADVANCE(109); - if (lookahead == '{') ADVANCE(162); - if (lookahead == '}') ADVANCE(163); + if (lookahead == '"') ADVANCE(126); + if (lookahead == '#') ADVANCE(82); + if (lookahead == '\'') ADVANCE(136); + if (lookahead == '+') ADVANCE(18); + if (lookahead == ',') ADVANCE(164); + if (lookahead == '-') ADVANCE(98); + if (lookahead == '.') ADVANCE(89); + if (lookahead == '0') ADVANCE(95); + if (lookahead == '1') ADVANCE(93); + if (lookahead == '2') ADVANCE(92); + if (lookahead == '=') ADVANCE(88); + if (lookahead == '[') ADVANCE(84); + if (lookahead == ']') ADVANCE(85); + if (lookahead == 'f') ADVANCE(105); + if (lookahead == 'i') ADVANCE(111); + if (lookahead == 'n') ADVANCE(106); + if (lookahead == 't') ADVANCE(112); + if (lookahead == '{') ADVANCE(165); + if (lookahead == '}') ADVANCE(166); + if (lookahead == 181) ADVANCE(15); if (lookahead == '\t' || - lookahead == ' ') SKIP(75) - if (('3' <= lookahead && lookahead <= '9')) ADVANCE(91); + lookahead == ' ') SKIP(78) + if (('3' <= lookahead && lookahead <= '9')) ADVANCE(94); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 76: - if (eof) ADVANCE(77); - if (lookahead == '\n') ADVANCE(78); + case 79: + if (eof) ADVANCE(80); + if (lookahead == '\n') ADVANCE(81); if (lookahead == '\r') ADVANCE(6); - if (lookahead == '"') ADVANCE(122); - if (lookahead == '#') ADVANCE(79); - if (lookahead == '\'') ADVANCE(132); - if (lookahead == ',') ADVANCE(161); - if (lookahead == '.') ADVANCE(86); - if (lookahead == '=') ADVANCE(85); - if (lookahead == '[') ADVANCE(81); - if (lookahead == ']') ADVANCE(82); - if (lookahead == '}') ADVANCE(163); + if (lookahead == '"') ADVANCE(125); + if (lookahead == '#') ADVANCE(82); + if (lookahead == '\'') ADVANCE(135); + if (lookahead == ',') ADVANCE(164); + if (lookahead == '.') ADVANCE(89); + if (lookahead == '=') ADVANCE(88); + if (lookahead == '[') ADVANCE(84); + if (lookahead == ']') ADVANCE(85); + if (lookahead == '}') ADVANCE(166); + if (lookahead == 181) ADVANCE(15); if (lookahead == '\t' || - lookahead == ' ') SKIP(76) + lookahead == ' ') SKIP(79) if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 77: + case 80: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); - case 78: + case 81: ACCEPT_TOKEN(aux_sym_document_token1); END_STATE(); - case 79: + case 82: ACCEPT_TOKEN(sym_comment); if (lookahead != 0 && lookahead > 8 && (lookahead < '\n' || 31 < lookahead) && - lookahead != 127) ADVANCE(79); + lookahead != 127) ADVANCE(82); END_STATE(); - case 80: + case 83: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); - case 81: + case 84: ACCEPT_TOKEN(anon_sym_LBRACK); - if (lookahead == '[') ADVANCE(83); + if (lookahead == '[') ADVANCE(86); END_STATE(); - case 82: + case 85: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); - case 83: + case 86: ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); END_STATE(); - case 84: + case 87: ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); END_STATE(); - case 85: + case 88: ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); - case 86: + case 89: ACCEPT_TOKEN(anon_sym_DOT); END_STATE(); - case 87: + case 90: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(96); - if (lookahead == ':') ADVANCE(46); - if (lookahead == '_') ADVANCE(119); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(91); + if (lookahead == '-') ADVANCE(99); + if (lookahead == ':') ADVANCE(49); + if (lookahead == '_') ADVANCE(122); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(94); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 88: + case 91: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(96); - if (lookahead == ':') ADVANCE(46); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(93); + if (lookahead == '-') ADVANCE(99); + if (lookahead == ':') ADVANCE(49); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(96); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 89: + case 92: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(96); - if (lookahead == '_') ADVANCE(119); - if (('0' <= lookahead && lookahead <= '3')) ADVANCE(87); - if (('4' <= lookahead && lookahead <= '9')) ADVANCE(91); + if (lookahead == '-') ADVANCE(99); + if (lookahead == '_') ADVANCE(122); + if (('0' <= lookahead && lookahead <= '3')) ADVANCE(90); + if (('4' <= lookahead && lookahead <= '9')) ADVANCE(94); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 90: + case 93: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(96); - if (lookahead == '_') ADVANCE(119); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(87); + if (lookahead == '-') ADVANCE(99); + if (lookahead == '_') ADVANCE(122); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(90); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 91: + case 94: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(96); - if (lookahead == '_') ADVANCE(119); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(91); + if (lookahead == '-') ADVANCE(99); + if (lookahead == '_') ADVANCE(122); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(94); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 92: + case 95: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(96); - if (lookahead == 'b') ADVANCE(113); - if (lookahead == 'o') ADVANCE(115); - if (lookahead == 'x') ADVANCE(120); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(88); + if (lookahead == '-') ADVANCE(99); + if (lookahead == 'b') ADVANCE(116); + if (lookahead == 'o') ADVANCE(118); + if (lookahead == 'x') ADVANCE(123); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(91); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 93: + case 96: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(96); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(93); + if (lookahead == '-') ADVANCE(99); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(96); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 94: + case 97: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '-') ADVANCE(97); + if (lookahead == '-') ADVANCE(100); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 95: + case 98: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '0') ADVANCE(121); - if (lookahead == 'i') ADVANCE(108); - if (lookahead == 'n') ADVANCE(103); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(101); + if (lookahead == '0') ADVANCE(124); + if (lookahead == 'i') ADVANCE(111); + if (lookahead == 'n') ADVANCE(106); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(104); if (lookahead == '-' || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 96: + case 99: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '0') ADVANCE(117); - if (lookahead == '1') ADVANCE(114); + if (lookahead == '0') ADVANCE(120); + if (lookahead == '1') ADVANCE(117); if (lookahead == '-' || ('2' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 97: + case 100: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '0') ADVANCE(116); - if (lookahead == '3') ADVANCE(112); + if (lookahead == '0') ADVANCE(119); + if (lookahead == '3') ADVANCE(115); if (lookahead == '1' || - lookahead == '2') ADVANCE(118); + lookahead == '2') ADVANCE(121); if (lookahead == '-' || ('4' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 98: + case 101: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '_') ADVANCE(113); + if (lookahead == '_') ADVANCE(116); if (lookahead == '0' || - lookahead == '1') ADVANCE(98); + lookahead == '1') ADVANCE(101); if (lookahead == '-' || ('2' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 99: + case 102: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '_') ADVANCE(115); - if (('0' <= lookahead && lookahead <= '7')) ADVANCE(99); + if (lookahead == '_') ADVANCE(118); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(102); if (lookahead == '-' || lookahead == '8' || lookahead == '9' || ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 100: + case 103: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '_') ADVANCE(120); + if (lookahead == '_') ADVANCE(123); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(100); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(103); if (lookahead == '-' || ('G' <= lookahead && lookahead <= 'Z') || - ('g' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('g' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 101: + case 104: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == '_') ADVANCE(119); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(101); + if (lookahead == '_') ADVANCE(122); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(104); if (lookahead == '-' || ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 102: + case 105: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'a') ADVANCE(106); + if (lookahead == 'a') ADVANCE(109); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 103: + case 106: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'a') ADVANCE(107); + if (lookahead == 'a') ADVANCE(110); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 104: + case 107: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'e') ADVANCE(121); + if (lookahead == 'e') ADVANCE(124); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 105: + case 108: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'f') ADVANCE(121); + if (lookahead == 'f') ADVANCE(124); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 106: + case 109: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'l') ADVANCE(110); + if (lookahead == 'l') ADVANCE(113); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 107: + case 110: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'n') ADVANCE(121); + if (lookahead == 'n') ADVANCE(124); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 108: + case 111: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'n') ADVANCE(105); + if (lookahead == 'n') ADVANCE(108); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 109: + case 112: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'r') ADVANCE(111); + if (lookahead == 'r') ADVANCE(114); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 110: + case 113: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 's') ADVANCE(104); + if (lookahead == 's') ADVANCE(107); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 111: + case 114: ACCEPT_TOKEN(sym_bare_key); - if (lookahead == 'u') ADVANCE(104); + if (lookahead == 'u') ADVANCE(107); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 112: + case 115: ACCEPT_TOKEN(sym_bare_key); if (lookahead == '0' || - lookahead == '1') ADVANCE(121); + lookahead == '1') ADVANCE(124); if (lookahead == '-' || ('2' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 113: + case 116: ACCEPT_TOKEN(sym_bare_key); if (lookahead == '0' || - lookahead == '1') ADVANCE(98); + lookahead == '1') ADVANCE(101); if (lookahead == '-' || ('2' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 114: + case 117: ACCEPT_TOKEN(sym_bare_key); - if (('0' <= lookahead && lookahead <= '2')) ADVANCE(94); + if (('0' <= lookahead && lookahead <= '2')) ADVANCE(97); if (lookahead == '-' || ('3' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 115: + case 118: ACCEPT_TOKEN(sym_bare_key); - if (('0' <= lookahead && lookahead <= '7')) ADVANCE(99); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(102); if (lookahead == '-' || lookahead == '8' || lookahead == '9' || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 116: + case 119: ACCEPT_TOKEN(sym_bare_key); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(121); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(124); if (lookahead == '-' || lookahead == '0' || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 117: + case 120: ACCEPT_TOKEN(sym_bare_key); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(94); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(97); if (lookahead == '-' || lookahead == '0' || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 118: + case 121: ACCEPT_TOKEN(sym_bare_key); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(121); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(124); if (lookahead == '-' || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 119: + case 122: ACCEPT_TOKEN(sym_bare_key); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(101); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(104); if (lookahead == '-' || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 120: + case 123: ACCEPT_TOKEN(sym_bare_key); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(100); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(103); if (lookahead == '-' || ('G' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('g' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('g' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 121: + case 124: ACCEPT_TOKEN(sym_bare_key); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(121); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(124); END_STATE(); - case 122: + case 125: ACCEPT_TOKEN(anon_sym_DQUOTE); END_STATE(); - case 123: + case 126: ACCEPT_TOKEN(anon_sym_DQUOTE); if (lookahead == '"') ADVANCE(8); END_STATE(); - case 124: + case 127: ACCEPT_TOKEN(aux_sym__basic_string_token1); - if (lookahead == '#') ADVANCE(125); + if (lookahead == '#') ADVANCE(128); if (lookahead == '\t' || - lookahead == ' ') ADVANCE(124); + lookahead == ' ') ADVANCE(127); if (lookahead != 0 && lookahead > 31 && lookahead != '"' && lookahead != '\\' && - lookahead != 127) ADVANCE(125); + lookahead != 127) ADVANCE(128); END_STATE(); - case 125: + case 128: ACCEPT_TOKEN(aux_sym__basic_string_token1); if (lookahead != 0 && lookahead > 8 && (lookahead < '\n' || 31 < lookahead) && lookahead != '"' && lookahead != '\\' && - lookahead != 127) ADVANCE(125); + lookahead != 127) ADVANCE(128); END_STATE(); - case 126: + case 129: ACCEPT_TOKEN(anon_sym_DQUOTE2); END_STATE(); - case 127: + case 130: ACCEPT_TOKEN(anon_sym_DQUOTE2); if (lookahead == '"') ADVANCE(8); END_STATE(); - case 128: + case 131: ACCEPT_TOKEN(anon_sym_DQUOTE_DQUOTE_DQUOTE); END_STATE(); - case 129: + case 132: ACCEPT_TOKEN(aux_sym__multiline_basic_string_token1); END_STATE(); - case 130: + case 133: ACCEPT_TOKEN(sym_escape_sequence); END_STATE(); - case 131: + case 134: ACCEPT_TOKEN(sym__escape_line_ending); END_STATE(); - case 132: + case 135: ACCEPT_TOKEN(anon_sym_SQUOTE); END_STATE(); - case 133: + case 136: ACCEPT_TOKEN(anon_sym_SQUOTE); if (lookahead == '\'') ADVANCE(11); END_STATE(); - case 134: + case 137: ACCEPT_TOKEN(aux_sym__literal_string_token1); - if (lookahead == '#') ADVANCE(135); + if (lookahead == '#') ADVANCE(138); if (lookahead == '\t' || - lookahead == ' ') ADVANCE(134); + lookahead == ' ') ADVANCE(137); if (lookahead != 0 && lookahead > 31 && lookahead != '\'' && - lookahead != 127) ADVANCE(135); + lookahead != 127) ADVANCE(138); END_STATE(); - case 135: + case 138: ACCEPT_TOKEN(aux_sym__literal_string_token1); if (lookahead != 0 && lookahead > 8 && (lookahead < '\n' || 31 < lookahead) && lookahead != '\'' && - lookahead != 127) ADVANCE(135); + lookahead != 127) ADVANCE(138); END_STATE(); - case 136: + case 139: ACCEPT_TOKEN(anon_sym_SQUOTE2); END_STATE(); - case 137: + case 140: ACCEPT_TOKEN(anon_sym_SQUOTE2); if (lookahead == '\'') ADVANCE(11); END_STATE(); - case 138: + case 141: ACCEPT_TOKEN(anon_sym_SQUOTE_SQUOTE_SQUOTE); END_STATE(); - case 139: + case 142: ACCEPT_TOKEN(aux_sym_integer_token1); END_STATE(); - case 140: + case 143: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '-') ADVANCE(18); - if (lookahead == '.') ADVANCE(57); - if (lookahead == ':') ADVANCE(46); - if (lookahead == '_') ADVANCE(56); + if (lookahead == '-') ADVANCE(21); + if (lookahead == '.') ADVANCE(60); + if (lookahead == ':') ADVANCE(49); + if (lookahead == '_') ADVANCE(59); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(143); + lookahead == 'e') ADVANCE(43); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146); END_STATE(); - case 141: + case 144: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '-') ADVANCE(18); - if (lookahead == '.') ADVANCE(57); - if (lookahead == '_') ADVANCE(56); + if (lookahead == '-') ADVANCE(21); + if (lookahead == '.') ADVANCE(60); + if (lookahead == '_') ADVANCE(59); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); - if (('0' <= lookahead && lookahead <= '3')) ADVANCE(140); - if (('4' <= lookahead && lookahead <= '9')) ADVANCE(143); + lookahead == 'e') ADVANCE(43); + if (('0' <= lookahead && lookahead <= '3')) ADVANCE(143); + if (('4' <= lookahead && lookahead <= '9')) ADVANCE(146); END_STATE(); - case 142: + case 145: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '-') ADVANCE(18); - if (lookahead == '.') ADVANCE(57); - if (lookahead == '_') ADVANCE(56); + if (lookahead == '-') ADVANCE(21); + if (lookahead == '.') ADVANCE(60); + if (lookahead == '_') ADVANCE(59); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(140); + lookahead == 'e') ADVANCE(43); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(143); END_STATE(); - case 143: + case 146: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '-') ADVANCE(18); - if (lookahead == '.') ADVANCE(57); - if (lookahead == '_') ADVANCE(56); + if (lookahead == '-') ADVANCE(21); + if (lookahead == '.') ADVANCE(60); + if (lookahead == '_') ADVANCE(59); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(143); + lookahead == 'e') ADVANCE(43); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146); END_STATE(); - case 144: + case 147: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '-') ADVANCE(18); - if (lookahead == '.') ADVANCE(57); - if (lookahead == 'b') ADVANCE(41); - if (lookahead == 'o') ADVANCE(49); - if (lookahead == 'x') ADVANCE(67); + if (lookahead == '-') ADVANCE(21); + if (lookahead == '.') ADVANCE(60); + if (lookahead == 'b') ADVANCE(44); + if (lookahead == 'o') ADVANCE(52); + if (lookahead == 'x') ADVANCE(70); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); + lookahead == 'e') ADVANCE(43); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(12); END_STATE(); - case 145: + case 148: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '.') ADVANCE(57); - if (lookahead == '_') ADVANCE(56); + if (lookahead == '.') ADVANCE(60); + if (lookahead == '_') ADVANCE(59); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(145); + lookahead == 'e') ADVANCE(43); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148); END_STATE(); - case 146: + case 149: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '.') ADVANCE(57); + if (lookahead == '.') ADVANCE(60); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); + lookahead == 'e') ADVANCE(43); END_STATE(); - case 147: + case 150: ACCEPT_TOKEN(aux_sym_integer_token1); - if (lookahead == '_') ADVANCE(52); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147); + if (lookahead == '_') ADVANCE(55); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(150); END_STATE(); - case 148: + case 151: ACCEPT_TOKEN(aux_sym_integer_token2); - if (lookahead == '_') ADVANCE(67); + if (lookahead == '_') ADVANCE(70); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(148); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(151); END_STATE(); - case 149: + case 152: ACCEPT_TOKEN(aux_sym_integer_token3); - if (lookahead == '_') ADVANCE(49); - if (('0' <= lookahead && lookahead <= '7')) ADVANCE(149); + if (lookahead == '_') ADVANCE(52); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(152); END_STATE(); - case 150: + case 153: ACCEPT_TOKEN(aux_sym_integer_token4); - if (lookahead == '_') ADVANCE(41); + if (lookahead == '_') ADVANCE(44); if (lookahead == '0' || - lookahead == '1') ADVANCE(150); + lookahead == '1') ADVANCE(153); END_STATE(); - case 151: + case 154: ACCEPT_TOKEN(aux_sym_float_token1); - if (lookahead == '_') ADVANCE(57); + if (lookahead == '_') ADVANCE(60); if (lookahead == 'E' || - lookahead == 'e') ADVANCE(40); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(151); + lookahead == 'e') ADVANCE(43); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(154); END_STATE(); - case 152: + case 155: ACCEPT_TOKEN(aux_sym_float_token1); - if (lookahead == '_') ADVANCE(58); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(152); + if (lookahead == '_') ADVANCE(61); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); END_STATE(); - case 153: + case 156: ACCEPT_TOKEN(aux_sym_float_token2); END_STATE(); - case 154: + case 157: ACCEPT_TOKEN(sym_boolean); END_STATE(); - case 155: + case 158: ACCEPT_TOKEN(sym_offset_date_time); END_STATE(); - case 156: + case 159: ACCEPT_TOKEN(sym_local_date_time); - if (lookahead == '.') ADVANCE(62); + if (lookahead == '.') ADVANCE(65); if (lookahead == '+' || - lookahead == '-') ADVANCE(22); + lookahead == '-') ADVANCE(25); if (lookahead == 'Z' || - lookahead == 'z') ADVANCE(155); + lookahead == 'z') ADVANCE(158); END_STATE(); - case 157: + case 160: ACCEPT_TOKEN(sym_local_date_time); if (lookahead == '+' || - lookahead == '-') ADVANCE(22); + lookahead == '-') ADVANCE(25); if (lookahead == 'Z' || - lookahead == 'z') ADVANCE(155); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(157); + lookahead == 'z') ADVANCE(158); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(160); END_STATE(); - case 158: + case 161: ACCEPT_TOKEN(sym_local_date); if (lookahead == ' ' || lookahead == 'T' || - lookahead == 't') ADVANCE(21); + lookahead == 't') ADVANCE(24); END_STATE(); - case 159: + case 162: ACCEPT_TOKEN(sym_local_time); - if (lookahead == '.') ADVANCE(55); + if (lookahead == '.') ADVANCE(58); END_STATE(); - case 160: + case 163: ACCEPT_TOKEN(sym_local_time); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(160); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(163); END_STATE(); - case 161: + case 164: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); - case 162: + case 165: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); - case 163: + case 166: ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); + case 167: + ACCEPT_TOKEN(sym_grit_metavariable); + END_STATE(); + case 168: + ACCEPT_TOKEN(sym_grit_metavariable); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(168); + END_STATE(); default: return false; } @@ -1656,7 +1827,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0, .external_lex_state = 1}, - [1] = {.lex_state = 76}, + [1] = {.lex_state = 79}, [2] = {.lex_state = 7}, [3] = {.lex_state = 7}, [4] = {.lex_state = 7}, @@ -1682,131 +1853,180 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [24] = {.lex_state = 7}, [25] = {.lex_state = 7}, [26] = {.lex_state = 7}, - [27] = {.lex_state = 76}, - [28] = {.lex_state = 76}, - [29] = {.lex_state = 76}, - [30] = {.lex_state = 76}, - [31] = {.lex_state = 76}, - [32] = {.lex_state = 76}, - [33] = {.lex_state = 76}, - [34] = {.lex_state = 76}, - [35] = {.lex_state = 76}, - [36] = {.lex_state = 76}, - [37] = {.lex_state = 76}, - [38] = {.lex_state = 2, .external_lex_state = 2}, - [39] = {.lex_state = 2, .external_lex_state = 2}, - [40] = {.lex_state = 2, .external_lex_state = 2}, - [41] = {.lex_state = 2, .external_lex_state = 2}, - [42] = {.lex_state = 2, .external_lex_state = 2}, - [43] = {.lex_state = 76}, - [44] = {.lex_state = 76}, - [45] = {.lex_state = 76}, - [46] = {.lex_state = 76}, - [47] = {.lex_state = 0}, - [48] = {.lex_state = 0}, - [49] = {.lex_state = 76}, - [50] = {.lex_state = 76}, - [51] = {.lex_state = 76}, - [52] = {.lex_state = 0}, - [53] = {.lex_state = 76}, - [54] = {.lex_state = 76}, - [55] = {.lex_state = 76}, - [56] = {.lex_state = 3, .external_lex_state = 3}, - [57] = {.lex_state = 76}, - [58] = {.lex_state = 76}, - [59] = {.lex_state = 3, .external_lex_state = 3}, - [60] = {.lex_state = 3, .external_lex_state = 3}, - [61] = {.lex_state = 76}, - [62] = {.lex_state = 3, .external_lex_state = 3}, - [63] = {.lex_state = 3, .external_lex_state = 3}, - [64] = {.lex_state = 76}, - [65] = {.lex_state = 76}, - [66] = {.lex_state = 76}, - [67] = {.lex_state = 76}, - [68] = {.lex_state = 76}, - [69] = {.lex_state = 2}, - [70] = {.lex_state = 2}, - [71] = {.lex_state = 2}, - [72] = {.lex_state = 2}, - [73] = {.lex_state = 2}, - [74] = {.lex_state = 76}, - [75] = {.lex_state = 2}, - [76] = {.lex_state = 2}, - [77] = {.lex_state = 76}, - [78] = {.lex_state = 76}, - [79] = {.lex_state = 76}, - [80] = {.lex_state = 76}, - [81] = {.lex_state = 76}, - [82] = {.lex_state = 76}, - [83] = {.lex_state = 76}, - [84] = {.lex_state = 76}, - [85] = {.lex_state = 76}, - [86] = {.lex_state = 76}, - [87] = {.lex_state = 76}, - [88] = {.lex_state = 76}, - [89] = {.lex_state = 76}, - [90] = {.lex_state = 76}, - [91] = {.lex_state = 76}, - [92] = {.lex_state = 76}, - [93] = {.lex_state = 76}, - [94] = {.lex_state = 0}, - [95] = {.lex_state = 0}, - [96] = {.lex_state = 0}, - [97] = {.lex_state = 0}, - [98] = {.lex_state = 0}, - [99] = {.lex_state = 0}, - [100] = {.lex_state = 0}, - [101] = {.lex_state = 0}, - [102] = {.lex_state = 0}, - [103] = {.lex_state = 0}, - [104] = {.lex_state = 0}, - [105] = {.lex_state = 0}, - [106] = {.lex_state = 0}, - [107] = {.lex_state = 0}, - [108] = {.lex_state = 9}, - [109] = {.lex_state = 0}, - [110] = {.lex_state = 0}, - [111] = {.lex_state = 9}, - [112] = {.lex_state = 0}, - [113] = {.lex_state = 3}, - [114] = {.lex_state = 0}, - [115] = {.lex_state = 9}, - [116] = {.lex_state = 9}, - [117] = {.lex_state = 9}, - [118] = {.lex_state = 9}, - [119] = {.lex_state = 3}, - [120] = {.lex_state = 3}, - [121] = {.lex_state = 0}, - [122] = {.lex_state = 9}, - [123] = {.lex_state = 0, .external_lex_state = 4}, - [124] = {.lex_state = 0, .external_lex_state = 4}, - [125] = {.lex_state = 0, .external_lex_state = 4}, - [126] = {.lex_state = 0, .external_lex_state = 4}, - [127] = {.lex_state = 0, .external_lex_state = 4}, - [128] = {.lex_state = 0, .external_lex_state = 4}, - [129] = {.lex_state = 0, .external_lex_state = 4}, - [130] = {.lex_state = 0, .external_lex_state = 4}, - [131] = {.lex_state = 0, .external_lex_state = 4}, + [27] = {.lex_state = 7}, + [28] = {.lex_state = 7}, + [29] = {.lex_state = 7}, + [30] = {.lex_state = 7}, + [31] = {.lex_state = 7}, + [32] = {.lex_state = 7}, + [33] = {.lex_state = 7}, + [34] = {.lex_state = 7}, + [35] = {.lex_state = 7}, + [36] = {.lex_state = 7}, + [37] = {.lex_state = 7}, + [38] = {.lex_state = 7}, + [39] = {.lex_state = 7}, + [40] = {.lex_state = 7}, + [41] = {.lex_state = 7}, + [42] = {.lex_state = 7}, + [43] = {.lex_state = 79}, + [44] = {.lex_state = 79}, + [45] = {.lex_state = 79}, + [46] = {.lex_state = 79}, + [47] = {.lex_state = 79}, + [48] = {.lex_state = 79}, + [49] = {.lex_state = 79}, + [50] = {.lex_state = 79}, + [51] = {.lex_state = 79}, + [52] = {.lex_state = 79}, + [53] = {.lex_state = 79}, + [54] = {.lex_state = 79}, + [55] = {.lex_state = 79}, + [56] = {.lex_state = 79}, + [57] = {.lex_state = 2, .external_lex_state = 2}, + [58] = {.lex_state = 2, .external_lex_state = 2}, + [59] = {.lex_state = 2, .external_lex_state = 2}, + [60] = {.lex_state = 2, .external_lex_state = 2}, + [61] = {.lex_state = 2, .external_lex_state = 2}, + [62] = {.lex_state = 0}, + [63] = {.lex_state = 0}, + [64] = {.lex_state = 79}, + [65] = {.lex_state = 79}, + [66] = {.lex_state = 79}, + [67] = {.lex_state = 79}, + [68] = {.lex_state = 0}, + [69] = {.lex_state = 3, .external_lex_state = 3}, + [70] = {.lex_state = 79}, + [71] = {.lex_state = 79}, + [72] = {.lex_state = 79}, + [73] = {.lex_state = 3, .external_lex_state = 3}, + [74] = {.lex_state = 3, .external_lex_state = 3}, + [75] = {.lex_state = 79}, + [76] = {.lex_state = 79}, + [77] = {.lex_state = 3, .external_lex_state = 3}, + [78] = {.lex_state = 79}, + [79] = {.lex_state = 79}, + [80] = {.lex_state = 3, .external_lex_state = 3}, + [81] = {.lex_state = 79}, + [82] = {.lex_state = 2}, + [83] = {.lex_state = 2}, + [84] = {.lex_state = 2}, + [85] = {.lex_state = 79}, + [86] = {.lex_state = 79}, + [87] = {.lex_state = 79}, + [88] = {.lex_state = 79}, + [89] = {.lex_state = 79}, + [90] = {.lex_state = 79}, + [91] = {.lex_state = 79}, + [92] = {.lex_state = 79}, + [93] = {.lex_state = 79}, + [94] = {.lex_state = 79}, + [95] = {.lex_state = 79}, + [96] = {.lex_state = 79}, + [97] = {.lex_state = 79}, + [98] = {.lex_state = 79}, + [99] = {.lex_state = 79}, + [100] = {.lex_state = 79}, + [101] = {.lex_state = 2}, + [102] = {.lex_state = 79}, + [103] = {.lex_state = 2}, + [104] = {.lex_state = 79}, + [105] = {.lex_state = 79}, + [106] = {.lex_state = 79}, + [107] = {.lex_state = 79}, + [108] = {.lex_state = 79}, + [109] = {.lex_state = 79}, + [110] = {.lex_state = 79}, + [111] = {.lex_state = 2}, + [112] = {.lex_state = 79}, + [113] = {.lex_state = 79}, + [114] = {.lex_state = 79}, + [115] = {.lex_state = 79}, + [116] = {.lex_state = 79}, + [117] = {.lex_state = 2}, + [118] = {.lex_state = 79}, + [119] = {.lex_state = 79}, + [120] = {.lex_state = 79}, + [121] = {.lex_state = 79}, + [122] = {.lex_state = 79}, + [123] = {.lex_state = 79}, + [124] = {.lex_state = 79}, + [125] = {.lex_state = 0}, + [126] = {.lex_state = 0}, + [127] = {.lex_state = 0}, + [128] = {.lex_state = 0}, + [129] = {.lex_state = 0}, + [130] = {.lex_state = 0}, + [131] = {.lex_state = 0}, [132] = {.lex_state = 0, .external_lex_state = 4}, - [133] = {.lex_state = 0, .external_lex_state = 4}, - [134] = {.lex_state = 0, .external_lex_state = 4}, - [135] = {.lex_state = 9}, - [136] = {.lex_state = 0, .external_lex_state = 4}, - [137] = {.lex_state = 0, .external_lex_state = 4}, - [138] = {.lex_state = 0, .external_lex_state = 4}, - [139] = {.lex_state = 0, .external_lex_state = 4}, - [140] = {.lex_state = 0, .external_lex_state = 4}, - [141] = {.lex_state = 0, .external_lex_state = 4}, - [142] = {.lex_state = 0, .external_lex_state = 4}, - [143] = {.lex_state = 0, .external_lex_state = 4}, - [144] = {.lex_state = 0, .external_lex_state = 4}, - [145] = {.lex_state = 0}, - [146] = {.lex_state = 9}, - [147] = {.lex_state = 0, .external_lex_state = 4}, - [148] = {.lex_state = 0, .external_lex_state = 4}, - [149] = {.lex_state = 0, .external_lex_state = 4}, - [150] = {.lex_state = 9}, - [151] = {.lex_state = 0, .external_lex_state = 4}, + [133] = {.lex_state = 0}, + [134] = {.lex_state = 0}, + [135] = {.lex_state = 0}, + [136] = {.lex_state = 0}, + [137] = {.lex_state = 0}, + [138] = {.lex_state = 0}, + [139] = {.lex_state = 0}, + [140] = {.lex_state = 0}, + [141] = {.lex_state = 0}, + [142] = {.lex_state = 9}, + [143] = {.lex_state = 0}, + [144] = {.lex_state = 0}, + [145] = {.lex_state = 9}, + [146] = {.lex_state = 3}, + [147] = {.lex_state = 9}, + [148] = {.lex_state = 3}, + [149] = {.lex_state = 0}, + [150] = {.lex_state = 3}, + [151] = {.lex_state = 0}, + [152] = {.lex_state = 9}, + [153] = {.lex_state = 0}, + [154] = {.lex_state = 9}, + [155] = {.lex_state = 9}, + [156] = {.lex_state = 9}, + [157] = {.lex_state = 9}, + [158] = {.lex_state = 9}, + [159] = {.lex_state = 0, .external_lex_state = 4}, + [160] = {.lex_state = 0, .external_lex_state = 4}, + [161] = {.lex_state = 0, .external_lex_state = 4}, + [162] = {.lex_state = 0, .external_lex_state = 4}, + [163] = {.lex_state = 0, .external_lex_state = 4}, + [164] = {.lex_state = 0, .external_lex_state = 4}, + [165] = {.lex_state = 0, .external_lex_state = 4}, + [166] = {.lex_state = 0, .external_lex_state = 4}, + [167] = {.lex_state = 0, .external_lex_state = 4}, + [168] = {.lex_state = 0, .external_lex_state = 4}, + [169] = {.lex_state = 0, .external_lex_state = 4}, + [170] = {.lex_state = 0, .external_lex_state = 4}, + [171] = {.lex_state = 0, .external_lex_state = 4}, + [172] = {.lex_state = 0, .external_lex_state = 4}, + [173] = {.lex_state = 0, .external_lex_state = 4}, + [174] = {.lex_state = 0, .external_lex_state = 4}, + [175] = {.lex_state = 0, .external_lex_state = 4}, + [176] = {.lex_state = 0, .external_lex_state = 4}, + [177] = {.lex_state = 0, .external_lex_state = 4}, + [178] = {.lex_state = 0, .external_lex_state = 4}, + [179] = {.lex_state = 0, .external_lex_state = 4}, + [180] = {.lex_state = 0, .external_lex_state = 4}, + [181] = {.lex_state = 0, .external_lex_state = 4}, + [182] = {.lex_state = 0, .external_lex_state = 4}, + [183] = {.lex_state = 0, .external_lex_state = 4}, + [184] = {.lex_state = 0, .external_lex_state = 4}, + [185] = {.lex_state = 0, .external_lex_state = 4}, + [186] = {.lex_state = 0, .external_lex_state = 4}, + [187] = {.lex_state = 0, .external_lex_state = 4}, + [188] = {.lex_state = 0, .external_lex_state = 4}, + [189] = {.lex_state = 0, .external_lex_state = 4}, + [190] = {.lex_state = 0, .external_lex_state = 4}, + [191] = {.lex_state = 0}, + [192] = {.lex_state = 0, .external_lex_state = 4}, + [193] = {.lex_state = 0, .external_lex_state = 4}, + [194] = {.lex_state = 0, .external_lex_state = 4}, + [195] = {.lex_state = 0, .external_lex_state = 4}, + [196] = {.lex_state = 0, .external_lex_state = 4}, + [197] = {.lex_state = 0, .external_lex_state = 4}, + [198] = {.lex_state = 0, .external_lex_state = 4}, + [199] = {.lex_state = 9}, + [200] = {.lex_state = 0, .external_lex_state = 4}, }; enum { @@ -1877,6 +2097,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COMMA] = ACTIONS(1), [anon_sym_LBRACE] = ACTIONS(1), [anon_sym_RBRACE] = ACTIONS(1), + [sym_grit_metavariable] = ACTIONS(1), [sym__line_ending_or_eof] = ACTIONS(1), [sym__multiline_basic_string_content] = ACTIONS(1), [sym__multiline_basic_string_end] = ACTIONS(1), @@ -1884,18 +2105,18 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym__multiline_literal_string_end] = ACTIONS(1), }, [1] = { - [sym_document] = STATE(145), - [sym_table] = STATE(52), - [sym_table_array_element] = STATE(52), - [sym_pair] = STATE(27), - [sym__inline_pair] = STATE(144), - [sym__key] = STATE(121), - [sym_dotted_key] = STATE(121), - [sym_quoted_key] = STATE(121), - [sym__basic_string] = STATE(100), - [sym__literal_string] = STATE(100), - [aux_sym_document_repeat1] = STATE(27), - [aux_sym_document_repeat2] = STATE(52), + [sym_document] = STATE(191), + [sym_table] = STATE(62), + [sym_table_array_element] = STATE(62), + [sym__pair] = STATE(43), + [sym_inline_pair] = STATE(190), + [sym__key] = STATE(144), + [sym_dotted_key] = STATE(144), + [sym_quoted_key] = STATE(144), + [sym__basic_string] = STATE(136), + [sym__literal_string] = STATE(136), + [aux_sym_document_repeat1] = STATE(43), + [aux_sym_document_repeat2] = STATE(62), [ts_builtin_sym_end] = ACTIONS(5), [aux_sym_document_token1] = ACTIONS(7), [sym_comment] = ACTIONS(3), @@ -1904,6 +2125,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_bare_key] = ACTIONS(13), [anon_sym_DQUOTE] = ACTIONS(15), [anon_sym_SQUOTE] = ACTIONS(17), + [sym_grit_metavariable] = ACTIONS(19), }, }; @@ -1911,1253 +2133,2052 @@ static const uint16_t ts_small_parse_table[] = { [0] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, ACTIONS(21), 1, - anon_sym_LBRACK, + aux_sym_document_token1, ACTIONS(23), 1, - anon_sym_RBRACK, + anon_sym_LBRACK, ACTIONS(25), 1, - anon_sym_DQUOTE, + anon_sym_RBRACK, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - STATE(26), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(41), 2, + ACTIONS(43), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(39), 3, + ACTIONS(41), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(55), 6, + STATE(79), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [66] = 17, + [67] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, - anon_sym_LBRACE, ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(47), 1, + aux_sym_document_token1, + ACTIONS(49), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(28), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [132] = 17, + [134] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(51), 1, + ACTIONS(55), 1, aux_sym_document_token1, - ACTIONS(53), 1, + ACTIONS(57), 1, anon_sym_RBRACK, - STATE(15), 1, + STATE(36), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [198] = 17, + [201] = 17, ACTIONS(3), 1, sym_comment, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, ACTIONS(59), 1, - aux_sym_document_token1, - ACTIONS(61), 1, anon_sym_RBRACK, - STATE(14), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [264] = 17, + [268] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(61), 1, + ACTIONS(65), 1, + aux_sym_document_token1, + ACTIONS(67), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(27), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [330] = 17, + [335] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(63), 1, + ACTIONS(69), 1, aux_sym_document_token1, - ACTIONS(65), 1, + ACTIONS(71), 1, anon_sym_RBRACK, - STATE(6), 1, + STATE(21), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [396] = 17, + [402] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(65), 1, + ACTIONS(73), 1, + aux_sym_document_token1, + ACTIONS(75), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(5), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [462] = 17, + [469] = 17, ACTIONS(3), 1, sym_comment, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(67), 1, - aux_sym_document_token1, - ACTIONS(69), 1, + ACTIONS(75), 1, anon_sym_RBRACK, - STATE(10), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [528] = 17, + [536] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(53), 1, + ACTIONS(77), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [594] = 17, + [603] = 17, ACTIONS(3), 1, sym_comment, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(71), 1, - aux_sym_document_token1, - ACTIONS(73), 1, + ACTIONS(79), 1, anon_sym_RBRACK, - STATE(18), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(83), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(81), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(70), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [660] = 17, + [670] = 17, ACTIONS(3), 1, sym_comment, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(75), 1, - aux_sym_document_token1, - ACTIONS(77), 1, + ACTIONS(67), 1, anon_sym_RBRACK, - STATE(8), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [726] = 17, + [737] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(77), 1, + ACTIONS(85), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [792] = 17, + [804] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(79), 1, + ACTIONS(87), 1, + aux_sym_document_token1, + ACTIONS(89), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(9), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [858] = 17, + [871] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(81), 1, + ACTIONS(91), 1, + aux_sym_document_token1, + ACTIONS(93), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(10), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [924] = 17, + [938] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(83), 1, + ACTIONS(95), 1, aux_sym_document_token1, - ACTIONS(85), 1, + ACTIONS(97), 1, anon_sym_RBRACK, - STATE(2), 1, + STATE(13), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(89), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(87), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(54), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [990] = 17, + [1005] = 17, ACTIONS(3), 1, sym_comment, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(81), 1, + ACTIONS(97), 1, anon_sym_RBRACK, - ACTIONS(91), 1, - aux_sym_document_token1, - STATE(3), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1056] = 17, + [1072] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(69), 1, + ACTIONS(99), 1, + aux_sym_document_token1, + ACTIONS(101), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(17), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1122] = 17, + [1139] = 17, ACTIONS(3), 1, sym_comment, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(93), 1, - aux_sym_document_token1, - ACTIONS(95), 1, + ACTIONS(103), 1, anon_sym_RBRACK, - STATE(13), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1188] = 17, + [1206] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(97), 1, + ACTIONS(105), 1, aux_sym_document_token1, - ACTIONS(99), 1, + ACTIONS(107), 1, anon_sym_RBRACK, - STATE(21), 1, + STATE(12), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(103), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(101), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(61), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1254] = 17, + [1273] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(105), 1, + ACTIONS(109), 1, anon_sym_RBRACK, - STATE(26), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(109), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(107), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(53), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1320] = 16, + [1340] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(21), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, ACTIONS(111), 1, aux_sym_document_token1, - STATE(23), 1, + ACTIONS(113), 1, + anon_sym_RBRACK, + STATE(19), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(57), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(55), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(68), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1383] = 16, + [1407] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, - aux_sym_document_token1, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - STATE(26), 1, + ACTIONS(115), 1, + anon_sym_RBRACK, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(37), 2, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(49), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(47), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(66), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1446] = 14, + [1474] = 17, ACTIONS(3), 1, sym_comment, ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(25), 1, - anon_sym_DQUOTE, ACTIONS(27), 1, - anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_DQUOTE, ACTIONS(29), 1, - anon_sym_SQUOTE, + anon_sym_DQUOTE_DQUOTE_DQUOTE, ACTIONS(31), 1, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + anon_sym_SQUOTE, ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(43), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(37), 2, + ACTIONS(117), 1, + anon_sym_RBRACK, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(115), 2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(35), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(113), 3, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(86), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(110), 6, + STATE(90), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1503] = 14, + [1541] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(117), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(119), 1, + ACTIONS(27), 1, anon_sym_DQUOTE, - ACTIONS(121), 1, + ACTIONS(29), 1, anon_sym_DQUOTE_DQUOTE_DQUOTE, - ACTIONS(123), 1, + ACTIONS(31), 1, anon_sym_SQUOTE, - ACTIONS(125), 1, + ACTIONS(33), 1, anon_sym_SQUOTE_SQUOTE_SQUOTE, - ACTIONS(127), 1, + ACTIONS(35), 1, aux_sym_integer_token1, - ACTIONS(137), 1, + ACTIONS(45), 1, anon_sym_LBRACE, - ACTIONS(131), 2, + ACTIONS(119), 1, + aux_sym_document_token1, + ACTIONS(121), 1, + anon_sym_RBRACK, + STATE(23), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, aux_sym_float_token1, aux_sym_float_token2, - ACTIONS(135), 2, + ACTIONS(53), 2, sym_local_date_time, sym_local_date, - ACTIONS(129), 3, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - ACTIONS(133), 3, + ACTIONS(51), 4, sym_boolean, sym_offset_date_time, sym_local_time, - STATE(126), 4, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, sym__multiline_basic_string, sym__literal_string, sym__multiline_literal_string, - STATE(127), 6, + STATE(99), 6, sym__inline_value, sym_string, sym_integer, sym_float, sym_array, sym_inline_table, - [1560] = 5, + [1608] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(139), 1, + ACTIONS(21), 1, aux_sym_document_token1, - STATE(26), 1, - aux_sym_array_repeat1, - ACTIONS(144), 5, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(123), 1, + anon_sym_RBRACK, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(63), 2, sym_local_date_time, sym_local_date, - ACTIONS(142), 14, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_DQUOTE_DQUOTE_DQUOTE, - anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(37), 3, aux_sym_integer_token2, aux_sym_integer_token3, aux_sym_integer_token4, - aux_sym_float_token1, - aux_sym_float_token2, + ACTIONS(61), 4, sym_boolean, sym_offset_date_time, sym_local_time, - anon_sym_COMMA, - anon_sym_LBRACE, - [1593] = 13, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(90), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [1675] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(9), 1, + ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, anon_sym_LBRACK, - ACTIONS(11), 1, - anon_sym_LBRACK_LBRACK, - ACTIONS(13), 1, - sym_bare_key, - ACTIONS(15), 1, + ACTIONS(27), 1, anon_sym_DQUOTE, - ACTIONS(17), 1, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, anon_sym_SQUOTE, - ACTIONS(146), 1, - ts_builtin_sym_end, - ACTIONS(148), 1, - aux_sym_document_token1, - STATE(144), 1, - sym__inline_pair, - STATE(32), 2, - sym_pair, - aux_sym_document_repeat1, - STATE(100), 2, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(125), 1, + anon_sym_RBRACK, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(63), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(61), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, sym__basic_string, + sym__multiline_basic_string, sym__literal_string, - STATE(48), 3, - sym_table, - sym_table_array_element, - aux_sym_document_repeat2, - STATE(121), 3, - sym__key, - sym_dotted_key, - sym_quoted_key, - [1639] = 11, + sym__multiline_literal_string, + STATE(90), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [1742] = 17, ACTIONS(3), 1, sym_comment, - ACTIONS(13), 1, - sym_bare_key, - ACTIONS(15), 1, - anon_sym_DQUOTE, - ACTIONS(17), 1, + ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(127), 1, + anon_sym_RBRACK, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(63), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(61), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(90), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [1809] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(129), 1, + aux_sym_document_token1, + ACTIONS(131), 1, + anon_sym_RBRACK, + STATE(2), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(135), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(133), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(75), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [1876] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(137), 1, + aux_sym_document_token1, + ACTIONS(139), 1, + anon_sym_RBRACK, + STATE(11), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(143), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(141), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(81), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [1943] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(145), 1, + aux_sym_document_token1, + ACTIONS(147), 1, + anon_sym_RBRACK, + STATE(26), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(53), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(51), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(99), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2010] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(149), 1, + aux_sym_document_token1, + ACTIONS(151), 1, + anon_sym_RBRACK, + STATE(33), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(53), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(51), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(99), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2077] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(153), 1, + anon_sym_RBRACK, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(63), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(61), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(90), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2144] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(147), 1, + anon_sym_RBRACK, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(63), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(61), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(90), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2211] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(155), 1, + aux_sym_document_token1, + ACTIONS(157), 1, + anon_sym_RBRACK, + STATE(34), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(53), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(51), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(99), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2278] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(159), 1, + anon_sym_RBRACK, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(63), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(61), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(90), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2345] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(161), 1, + aux_sym_document_token1, + ACTIONS(163), 1, + anon_sym_RBRACK, + STATE(24), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(53), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(51), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(99), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2412] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, anon_sym_SQUOTE, - ACTIONS(152), 1, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(165), 1, + aux_sym_document_token1, + STATE(39), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(53), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(51), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(99), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2476] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, aux_sym_document_token1, - ACTIONS(154), 1, + ACTIONS(23), 1, anon_sym_LBRACK, - STATE(144), 1, - sym__inline_pair, - ACTIONS(150), 2, - ts_builtin_sym_end, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(63), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(61), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(90), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2540] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(23), 1, + anon_sym_LBRACK, + ACTIONS(27), 1, + anon_sym_DQUOTE, + ACTIONS(29), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(31), 1, + anon_sym_SQUOTE, + ACTIONS(33), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(35), 1, + aux_sym_integer_token1, + ACTIONS(45), 1, + anon_sym_LBRACE, + ACTIONS(39), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(169), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(37), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(167), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(123), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(149), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2598] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(171), 1, + anon_sym_LBRACK, + ACTIONS(173), 1, + anon_sym_DQUOTE, + ACTIONS(175), 1, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + ACTIONS(177), 1, + anon_sym_SQUOTE, + ACTIONS(179), 1, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + ACTIONS(181), 1, + aux_sym_integer_token1, + ACTIONS(191), 1, + anon_sym_LBRACE, + ACTIONS(185), 2, + aux_sym_float_token1, + aux_sym_float_token2, + ACTIONS(189), 2, + sym_local_date_time, + sym_local_date, + ACTIONS(183), 3, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + ACTIONS(187), 4, + sym_boolean, + sym_offset_date_time, + sym_local_time, + sym_grit_metavariable, + STATE(195), 4, + sym__basic_string, + sym__multiline_basic_string, + sym__literal_string, + sym__multiline_literal_string, + STATE(196), 6, + sym__inline_value, + sym_string, + sym_integer, + sym_float, + sym_array, + sym_inline_table, + [2656] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(193), 1, + aux_sym_document_token1, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(198), 5, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + aux_sym_integer_token1, + sym_local_date_time, + sym_local_date, + ACTIONS(196), 15, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DQUOTE_DQUOTE_DQUOTE, + anon_sym_SQUOTE_SQUOTE_SQUOTE, + aux_sym_integer_token2, + aux_sym_integer_token3, + aux_sym_integer_token4, + aux_sym_float_token1, + aux_sym_float_token2, + sym_boolean, + sym_offset_date_time, + sym_local_time, + anon_sym_COMMA, + anon_sym_LBRACE, + sym_grit_metavariable, + [2690] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(9), 1, + anon_sym_LBRACK, + ACTIONS(11), 1, anon_sym_LBRACK_LBRACK, - STATE(31), 2, - sym_pair, + ACTIONS(13), 1, + sym_bare_key, + ACTIONS(15), 1, + anon_sym_DQUOTE, + ACTIONS(17), 1, + anon_sym_SQUOTE, + ACTIONS(19), 1, + sym_grit_metavariable, + ACTIONS(200), 1, + ts_builtin_sym_end, + ACTIONS(202), 1, + aux_sym_document_token1, + STATE(190), 1, + sym_inline_pair, + STATE(46), 2, + sym__pair, aux_sym_document_repeat1, - STATE(100), 2, + STATE(136), 2, sym__basic_string, sym__literal_string, - STATE(121), 3, + STATE(63), 3, + sym_table, + sym_table_array_element, + aux_sym_document_repeat2, + STATE(144), 3, sym__key, sym_dotted_key, sym_quoted_key, - [1678] = 11, + [2739] = 12, ACTIONS(3), 1, sym_comment, ACTIONS(13), 1, @@ -3166,26 +4187,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, ACTIONS(17), 1, anon_sym_SQUOTE, - ACTIONS(158), 1, + ACTIONS(19), 1, + sym_grit_metavariable, + ACTIONS(202), 1, aux_sym_document_token1, - ACTIONS(160), 1, + ACTIONS(206), 1, anon_sym_LBRACK, - STATE(144), 1, - sym__inline_pair, - ACTIONS(156), 2, + STATE(190), 1, + sym_inline_pair, + ACTIONS(204), 2, ts_builtin_sym_end, anon_sym_LBRACK_LBRACK, - STATE(30), 2, - sym_pair, + STATE(46), 2, + sym__pair, aux_sym_document_repeat1, - STATE(100), 2, + STATE(136), 2, sym__basic_string, sym__literal_string, - STATE(121), 3, + STATE(144), 3, sym__key, sym_dotted_key, sym_quoted_key, - [1717] = 11, + [2781] = 12, ACTIONS(3), 1, sym_comment, ACTIONS(13), 1, @@ -3194,26 +4217,58 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, ACTIONS(17), 1, anon_sym_SQUOTE, - ACTIONS(148), 1, + ACTIONS(19), 1, + sym_grit_metavariable, + ACTIONS(210), 1, + aux_sym_document_token1, + ACTIONS(212), 1, + anon_sym_LBRACK, + STATE(190), 1, + sym_inline_pair, + ACTIONS(208), 2, + ts_builtin_sym_end, + anon_sym_LBRACK_LBRACK, + STATE(47), 2, + sym__pair, + aux_sym_document_repeat1, + STATE(136), 2, + sym__basic_string, + sym__literal_string, + STATE(144), 3, + sym__key, + sym_dotted_key, + sym_quoted_key, + [2823] = 12, + ACTIONS(3), 1, + sym_comment, + ACTIONS(216), 1, aux_sym_document_token1, - ACTIONS(164), 1, + ACTIONS(219), 1, anon_sym_LBRACK, - STATE(144), 1, - sym__inline_pair, - ACTIONS(162), 2, + ACTIONS(221), 1, + sym_bare_key, + ACTIONS(224), 1, + anon_sym_DQUOTE, + ACTIONS(227), 1, + anon_sym_SQUOTE, + ACTIONS(230), 1, + sym_grit_metavariable, + STATE(190), 1, + sym_inline_pair, + ACTIONS(214), 2, ts_builtin_sym_end, anon_sym_LBRACK_LBRACK, - STATE(32), 2, - sym_pair, + STATE(46), 2, + sym__pair, aux_sym_document_repeat1, - STATE(100), 2, + STATE(136), 2, sym__basic_string, sym__literal_string, - STATE(121), 3, + STATE(144), 3, sym__key, sym_dotted_key, sym_quoted_key, - [1756] = 11, + [2865] = 12, ACTIONS(3), 1, sym_comment, ACTIONS(13), 1, @@ -3222,1251 +4277,1533 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, ACTIONS(17), 1, anon_sym_SQUOTE, - ACTIONS(148), 1, + ACTIONS(19), 1, + sym_grit_metavariable, + ACTIONS(202), 1, aux_sym_document_token1, - ACTIONS(168), 1, + ACTIONS(235), 1, anon_sym_LBRACK, - STATE(144), 1, - sym__inline_pair, - ACTIONS(166), 2, + STATE(190), 1, + sym_inline_pair, + ACTIONS(233), 2, ts_builtin_sym_end, anon_sym_LBRACK_LBRACK, - STATE(32), 2, - sym_pair, + STATE(46), 2, + sym__pair, aux_sym_document_repeat1, - STATE(100), 2, + STATE(136), 2, sym__basic_string, sym__literal_string, - STATE(121), 3, + STATE(144), 3, sym__key, sym_dotted_key, sym_quoted_key, - [1795] = 11, + [2907] = 12, ACTIONS(3), 1, sym_comment, - ACTIONS(172), 1, - aux_sym_document_token1, - ACTIONS(175), 1, - anon_sym_LBRACK, - ACTIONS(177), 1, + ACTIONS(13), 1, sym_bare_key, - ACTIONS(180), 1, + ACTIONS(15), 1, anon_sym_DQUOTE, - ACTIONS(183), 1, + ACTIONS(17), 1, anon_sym_SQUOTE, - STATE(144), 1, - sym__inline_pair, - ACTIONS(170), 2, + ACTIONS(19), 1, + sym_grit_metavariable, + ACTIONS(239), 1, + aux_sym_document_token1, + ACTIONS(241), 1, + anon_sym_LBRACK, + STATE(190), 1, + sym_inline_pair, + ACTIONS(237), 2, ts_builtin_sym_end, anon_sym_LBRACK_LBRACK, - STATE(32), 2, - sym_pair, + STATE(44), 2, + sym__pair, aux_sym_document_repeat1, - STATE(100), 2, + STATE(136), 2, sym__basic_string, sym__literal_string, - STATE(121), 3, + STATE(144), 3, sym__key, sym_dotted_key, sym_quoted_key, - [1834] = 8, + [2949] = 8, ACTIONS(3), 1, sym_comment, ACTIONS(15), 1, anon_sym_DQUOTE, ACTIONS(17), 1, anon_sym_SQUOTE, - ACTIONS(186), 1, + ACTIONS(245), 1, + anon_sym_RBRACE, + STATE(133), 1, + sym_inline_pair, + ACTIONS(243), 2, sym_bare_key, - ACTIONS(188), 1, + sym_grit_metavariable, + STATE(136), 2, + sym__basic_string, + sym__literal_string, + STATE(153), 3, + sym__key, + sym_dotted_key, + sym_quoted_key, + [2978] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(15), 1, + anon_sym_DQUOTE, + ACTIONS(17), 1, + anon_sym_SQUOTE, + ACTIONS(247), 1, anon_sym_RBRACE, - STATE(94), 1, - sym__inline_pair, - STATE(100), 2, + STATE(141), 1, + sym_inline_pair, + ACTIONS(243), 2, + sym_bare_key, + sym_grit_metavariable, + STATE(136), 2, sym__basic_string, sym__literal_string, - STATE(112), 3, + STATE(153), 3, sym__key, sym_dotted_key, sym_quoted_key, - [1862] = 8, + [3007] = 7, ACTIONS(3), 1, sym_comment, ACTIONS(15), 1, anon_sym_DQUOTE, ACTIONS(17), 1, anon_sym_SQUOTE, - ACTIONS(186), 1, + STATE(151), 1, + sym_inline_pair, + ACTIONS(243), 2, sym_bare_key, - ACTIONS(190), 1, - anon_sym_RBRACE, - STATE(99), 1, - sym__inline_pair, - STATE(100), 2, + sym_grit_metavariable, + STATE(136), 2, + sym__basic_string, + sym__literal_string, + STATE(153), 3, + sym__key, + sym_dotted_key, + sym_quoted_key, + [3033] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(251), 1, + anon_sym_DQUOTE, + ACTIONS(253), 1, + anon_sym_SQUOTE, + ACTIONS(249), 2, + sym_bare_key, + sym_grit_metavariable, + STATE(145), 2, sym__basic_string, sym__literal_string, - STATE(112), 3, + STATE(142), 3, sym__key, sym_dotted_key, sym_quoted_key, - [1890] = 7, + [3056] = 6, ACTIONS(3), 1, sym_comment, ACTIONS(15), 1, anon_sym_DQUOTE, ACTIONS(17), 1, anon_sym_SQUOTE, - ACTIONS(186), 1, + ACTIONS(255), 2, sym_bare_key, - STATE(114), 1, - sym__inline_pair, - STATE(100), 2, + sym_grit_metavariable, + STATE(136), 2, sym__basic_string, sym__literal_string, - STATE(112), 3, + STATE(143), 3, + sym__key, + sym_dotted_key, + sym_quoted_key, + [3079] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(15), 1, + anon_sym_DQUOTE, + ACTIONS(17), 1, + anon_sym_SQUOTE, + ACTIONS(257), 2, + sym_bare_key, + sym_grit_metavariable, + STATE(130), 2, sym__key, - sym_dotted_key, sym_quoted_key, - [1915] = 6, + STATE(136), 2, + sym__basic_string, + sym__literal_string, + [3101] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(15), 1, + ACTIONS(251), 1, anon_sym_DQUOTE, - ACTIONS(17), 1, + ACTIONS(253), 1, anon_sym_SQUOTE, - ACTIONS(192), 1, + ACTIONS(259), 2, sym_bare_key, - STATE(100), 2, + sym_grit_metavariable, + STATE(145), 2, sym__basic_string, sym__literal_string, - STATE(109), 3, + STATE(152), 2, sym__key, - sym_dotted_key, sym_quoted_key, - [1937] = 6, + [3123] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(194), 1, + ACTIONS(263), 1, + anon_sym_LBRACK, + ACTIONS(261), 7, + ts_builtin_sym_end, + aux_sym_document_token1, + anon_sym_LBRACK_LBRACK, sym_bare_key, - ACTIONS(196), 1, anon_sym_DQUOTE, - ACTIONS(198), 1, anon_sym_SQUOTE, - STATE(122), 2, - sym__basic_string, - sym__literal_string, - STATE(108), 3, - sym__key, - sym_dotted_key, - sym_quoted_key, - [1959] = 4, - ACTIONS(200), 1, + sym_grit_metavariable, + [3139] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(204), 1, + ACTIONS(269), 1, sym__multiline_basic_string_end, - STATE(39), 1, + STATE(61), 1, aux_sym__multiline_basic_string_repeat1, - ACTIONS(202), 5, + ACTIONS(267), 5, sym__multiline_basic_string_content, aux_sym__basic_string_token1, aux_sym__multiline_basic_string_token1, sym_escape_sequence, sym__escape_line_ending, - [1976] = 4, - ACTIONS(200), 1, + [3156] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(209), 1, + ACTIONS(273), 1, sym__multiline_basic_string_end, - STATE(39), 1, + STATE(57), 1, aux_sym__multiline_basic_string_repeat1, - ACTIONS(206), 5, + ACTIONS(271), 5, sym__multiline_basic_string_content, aux_sym__basic_string_token1, aux_sym__multiline_basic_string_token1, sym_escape_sequence, sym__escape_line_ending, - [1993] = 4, - ACTIONS(200), 1, + [3173] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(213), 1, + ACTIONS(275), 1, sym__multiline_basic_string_end, - STATE(38), 1, + STATE(61), 1, aux_sym__multiline_basic_string_repeat1, - ACTIONS(211), 5, + ACTIONS(267), 5, sym__multiline_basic_string_content, aux_sym__basic_string_token1, aux_sym__multiline_basic_string_token1, sym_escape_sequence, sym__escape_line_ending, - [2010] = 4, - ACTIONS(200), 1, + [3190] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(217), 1, + ACTIONS(279), 1, sym__multiline_basic_string_end, - STATE(42), 1, + STATE(59), 1, aux_sym__multiline_basic_string_repeat1, - ACTIONS(215), 5, + ACTIONS(277), 5, sym__multiline_basic_string_content, aux_sym__basic_string_token1, aux_sym__multiline_basic_string_token1, sym_escape_sequence, sym__escape_line_ending, - [2027] = 4, - ACTIONS(200), 1, + [3207] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(219), 1, + ACTIONS(284), 1, sym__multiline_basic_string_end, - STATE(39), 1, + STATE(61), 1, aux_sym__multiline_basic_string_repeat1, - ACTIONS(202), 5, + ACTIONS(281), 5, sym__multiline_basic_string_content, aux_sym__basic_string_token1, aux_sym__multiline_basic_string_token1, sym_escape_sequence, sym__escape_line_ending, - [2044] = 6, - ACTIONS(3), 1, - sym_comment, - ACTIONS(196), 1, - anon_sym_DQUOTE, - ACTIONS(198), 1, - anon_sym_SQUOTE, - ACTIONS(221), 1, - sym_bare_key, - STATE(111), 2, - sym__key, - sym_quoted_key, - STATE(122), 2, - sym__basic_string, - sym__literal_string, - [2065] = 6, - ACTIONS(3), 1, - sym_comment, - ACTIONS(15), 1, - anon_sym_DQUOTE, - ACTIONS(17), 1, - anon_sym_SQUOTE, - ACTIONS(223), 1, - sym_bare_key, - STATE(100), 2, - sym__basic_string, - sym__literal_string, - STATE(105), 2, - sym__key, - sym_quoted_key, - [2086] = 3, + [3224] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(227), 1, + ACTIONS(9), 1, anon_sym_LBRACK, - ACTIONS(225), 6, - ts_builtin_sym_end, - aux_sym_document_token1, + ACTIONS(11), 1, anon_sym_LBRACK_LBRACK, - sym_bare_key, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [2101] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(229), 6, - aux_sym_document_token1, - anon_sym_RBRACK, - anon_sym_EQ, - anon_sym_DOT, - anon_sym_COMMA, - anon_sym_RBRACE, - [2113] = 5, - ACTIONS(3), 1, - sym_comment, - ACTIONS(231), 1, + ACTIONS(286), 1, ts_builtin_sym_end, - ACTIONS(233), 1, - anon_sym_LBRACK, - ACTIONS(236), 1, - anon_sym_LBRACK_LBRACK, - STATE(47), 3, + STATE(68), 3, sym_table, sym_table_array_element, aux_sym_document_repeat2, - [2131] = 5, + [3242] = 5, ACTIONS(3), 1, sym_comment, ACTIONS(9), 1, anon_sym_LBRACK, ACTIONS(11), 1, anon_sym_LBRACK_LBRACK, - ACTIONS(239), 1, + ACTIONS(288), 1, ts_builtin_sym_end, - STATE(47), 3, + STATE(68), 3, sym_table, sym_table_array_element, aux_sym_document_repeat2, - [2149] = 2, + [3260] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(241), 6, + ACTIONS(290), 6, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_EQ, anon_sym_DOT, anon_sym_COMMA, anon_sym_RBRACE, - [2161] = 2, + [3272] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(243), 6, + ACTIONS(292), 6, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_EQ, anon_sym_DOT, anon_sym_COMMA, anon_sym_RBRACE, - [2173] = 2, + [3284] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(245), 6, + ACTIONS(294), 6, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_EQ, anon_sym_DOT, anon_sym_COMMA, anon_sym_RBRACE, - [2185] = 5, + [3296] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(9), 1, + ACTIONS(296), 6, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_EQ, + anon_sym_DOT, + anon_sym_COMMA, + anon_sym_RBRACE, + [3308] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(298), 1, + ts_builtin_sym_end, + ACTIONS(300), 1, anon_sym_LBRACK, - ACTIONS(11), 1, + ACTIONS(303), 1, anon_sym_LBRACK_LBRACK, - ACTIONS(146), 1, - ts_builtin_sym_end, - STATE(47), 3, + STATE(68), 3, sym_table, sym_table_array_element, aux_sym_document_repeat2, - [2203] = 6, + [3326] = 4, + ACTIONS(265), 1, + sym_comment, + ACTIONS(308), 1, + sym__multiline_literal_string_end, + STATE(73), 1, + aux_sym__multiline_literal_string_repeat1, + ACTIONS(306), 3, + sym__multiline_literal_string_content, + aux_sym__multiline_basic_string_token1, + aux_sym__literal_string_token1, + [3341] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(95), 1, - anon_sym_RBRACK, - ACTIONS(247), 1, + ACTIONS(310), 1, aux_sym_document_token1, - ACTIONS(249), 1, + ACTIONS(312), 1, + anon_sym_RBRACK, + ACTIONS(314), 1, anon_sym_COMMA, - STATE(58), 1, + STATE(72), 1, aux_sym_array_repeat1, - STATE(101), 1, + STATE(125), 1, aux_sym_array_repeat2, - [2222] = 6, + [3360] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(23), 1, - anon_sym_RBRACK, - ACTIONS(251), 1, + ACTIONS(21), 1, aux_sym_document_token1, - ACTIONS(253), 1, + ACTIONS(89), 1, + anon_sym_RBRACK, + ACTIONS(316), 1, anon_sym_COMMA, - STATE(57), 1, + STATE(42), 1, aux_sym_array_repeat1, - STATE(96), 1, + STATE(134), 1, aux_sym_array_repeat2, - [2241] = 6, + [3379] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(73), 1, - anon_sym_RBRACK, - ACTIONS(255), 1, + ACTIONS(21), 1, aux_sym_document_token1, - ACTIONS(257), 1, + ACTIONS(157), 1, + anon_sym_RBRACK, + ACTIONS(318), 1, anon_sym_COMMA, - STATE(65), 1, + STATE(42), 1, aux_sym_array_repeat1, - STATE(106), 1, + STATE(129), 1, aux_sym_array_repeat2, - [2260] = 4, - ACTIONS(200), 1, + [3398] = 4, + ACTIONS(265), 1, + sym_comment, + ACTIONS(323), 1, + sym__multiline_literal_string_end, + STATE(73), 1, + aux_sym__multiline_literal_string_repeat1, + ACTIONS(320), 3, + sym__multiline_literal_string_content, + aux_sym__multiline_basic_string_token1, + aux_sym__literal_string_token1, + [3413] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(261), 1, + ACTIONS(325), 1, sym__multiline_literal_string_end, - STATE(60), 1, + STATE(73), 1, aux_sym__multiline_literal_string_repeat1, - ACTIONS(259), 3, + ACTIONS(306), 3, sym__multiline_literal_string_content, aux_sym__multiline_basic_string_token1, aux_sym__literal_string_token1, - [2275] = 6, + [3428] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, + ACTIONS(327), 1, aux_sym_document_token1, - ACTIONS(73), 1, + ACTIONS(329), 1, anon_sym_RBRACK, - ACTIONS(257), 1, + ACTIONS(331), 1, anon_sym_COMMA, - STATE(26), 1, + STATE(78), 1, aux_sym_array_repeat1, - STATE(106), 1, + STATE(137), 1, aux_sym_array_repeat2, - [2294] = 6, + [3447] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, + ACTIONS(21), 1, aux_sym_document_token1, - ACTIONS(77), 1, + ACTIONS(107), 1, anon_sym_RBRACK, - ACTIONS(263), 1, + ACTIONS(333), 1, anon_sym_COMMA, - STATE(26), 1, + STATE(42), 1, aux_sym_array_repeat1, - STATE(98), 1, + STATE(126), 1, aux_sym_array_repeat2, - [2313] = 4, - ACTIONS(200), 1, - sym_comment, - ACTIONS(267), 1, - sym__multiline_literal_string_end, - STATE(63), 1, - aux_sym__multiline_literal_string_repeat1, - ACTIONS(265), 3, - sym__multiline_literal_string_content, - aux_sym__multiline_basic_string_token1, - aux_sym__literal_string_token1, - [2328] = 4, - ACTIONS(200), 1, + [3466] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(272), 1, + ACTIONS(337), 1, sym__multiline_literal_string_end, - STATE(60), 1, + STATE(74), 1, aux_sym__multiline_literal_string_repeat1, - ACTIONS(269), 3, + ACTIONS(335), 3, sym__multiline_literal_string_content, aux_sym__multiline_basic_string_token1, aux_sym__literal_string_token1, - [2343] = 6, + [3481] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(105), 1, + ACTIONS(21), 1, + aux_sym_document_token1, + ACTIONS(101), 1, anon_sym_RBRACK, - ACTIONS(274), 1, + ACTIONS(339), 1, + anon_sym_COMMA, + STATE(42), 1, + aux_sym_array_repeat1, + STATE(140), 1, + aux_sym_array_repeat2, + [3500] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(341), 1, aux_sym_document_token1, - ACTIONS(276), 1, + ACTIONS(343), 1, + anon_sym_RBRACK, + ACTIONS(345), 1, anon_sym_COMMA, - STATE(64), 1, + STATE(71), 1, aux_sym_array_repeat1, - STATE(103), 1, + STATE(139), 1, aux_sym_array_repeat2, - [2362] = 4, - ACTIONS(200), 1, + [3519] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(280), 1, + ACTIONS(349), 1, sym__multiline_literal_string_end, - STATE(56), 1, + STATE(69), 1, aux_sym__multiline_literal_string_repeat1, - ACTIONS(278), 3, + ACTIONS(347), 3, sym__multiline_literal_string_content, aux_sym__multiline_basic_string_token1, aux_sym__literal_string_token1, - [2377] = 4, - ACTIONS(200), 1, + [3534] = 6, + ACTIONS(3), 1, sym_comment, - ACTIONS(282), 1, - sym__multiline_literal_string_end, - STATE(60), 1, - aux_sym__multiline_literal_string_repeat1, - ACTIONS(259), 3, - sym__multiline_literal_string_content, - aux_sym__multiline_basic_string_token1, - aux_sym__literal_string_token1, - [2392] = 6, + ACTIONS(351), 1, + aux_sym_document_token1, + ACTIONS(353), 1, + anon_sym_RBRACK, + ACTIONS(355), 1, + anon_sym_COMMA, + STATE(76), 1, + aux_sym_array_repeat1, + STATE(135), 1, + aux_sym_array_repeat2, + [3553] = 4, + ACTIONS(265), 1, + sym_comment, + ACTIONS(359), 1, + anon_sym_DQUOTE2, + STATE(84), 1, + aux_sym__basic_string_repeat1, + ACTIONS(357), 2, + aux_sym__basic_string_token1, + sym_escape_sequence, + [3567] = 4, + ACTIONS(265), 1, + sym_comment, + ACTIONS(363), 1, + anon_sym_DQUOTE2, + STATE(101), 1, + aux_sym__basic_string_repeat1, + ACTIONS(361), 2, + aux_sym__basic_string_token1, + sym_escape_sequence, + [3581] = 4, + ACTIONS(265), 1, + sym_comment, + ACTIONS(365), 1, + anon_sym_DQUOTE2, + STATE(101), 1, + aux_sym__basic_string_repeat1, + ACTIONS(361), 2, + aux_sym__basic_string_token1, + sym_escape_sequence, + [3595] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(367), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3605] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(369), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3615] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(371), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3625] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + aux_sym_document_token1, + STATE(42), 1, + aux_sym_array_repeat1, + ACTIONS(373), 2, + anon_sym_RBRACK, + anon_sym_COMMA, + [3639] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(375), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3649] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(377), 1, + aux_sym_document_token1, + STATE(96), 1, + aux_sym_array_repeat1, + ACTIONS(379), 2, + anon_sym_RBRACK, + anon_sym_COMMA, + [3663] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(381), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3673] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(383), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3683] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(385), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3693] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, + ACTIONS(387), 4, aux_sym_document_token1, - ACTIONS(95), 1, anon_sym_RBRACK, - ACTIONS(249), 1, anon_sym_COMMA, - STATE(26), 1, - aux_sym_array_repeat1, - STATE(101), 1, - aux_sym_array_repeat2, - [2411] = 6, + anon_sym_RBRACE, + [3703] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, + ACTIONS(389), 4, aux_sym_document_token1, - ACTIONS(69), 1, anon_sym_RBRACK, - ACTIONS(284), 1, anon_sym_COMMA, - STATE(26), 1, - aux_sym_array_repeat1, - STATE(95), 1, - aux_sym_array_repeat2, - [2430] = 4, + anon_sym_RBRACE, + [3713] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(286), 1, + ACTIONS(21), 1, aux_sym_document_token1, - STATE(81), 1, + STATE(42), 1, aux_sym_array_repeat1, - ACTIONS(288), 2, + ACTIONS(391), 2, anon_sym_RBRACK, anon_sym_COMMA, - [2444] = 2, + [3727] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(290), 4, + ACTIONS(393), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2454] = 4, + [3737] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(292), 1, + ACTIONS(395), 4, aux_sym_document_token1, - STATE(74), 1, - aux_sym_array_repeat1, - ACTIONS(294), 2, anon_sym_RBRACK, anon_sym_COMMA, - [2468] = 4, - ACTIONS(200), 1, - sym_comment, - ACTIONS(298), 1, - anon_sym_DQUOTE2, - STATE(72), 1, - aux_sym__basic_string_repeat1, - ACTIONS(296), 2, - aux_sym__basic_string_token1, - sym_escape_sequence, - [2482] = 4, - ACTIONS(200), 1, - sym_comment, - ACTIONS(302), 1, - anon_sym_DQUOTE2, - STATE(69), 1, - aux_sym__basic_string_repeat1, - ACTIONS(300), 2, - aux_sym__basic_string_token1, - sym_escape_sequence, - [2496] = 4, - ACTIONS(200), 1, + anon_sym_RBRACE, + [3747] = 4, + ACTIONS(3), 1, sym_comment, - ACTIONS(304), 1, - anon_sym_DQUOTE2, - STATE(72), 1, - aux_sym__basic_string_repeat1, - ACTIONS(296), 2, - aux_sym__basic_string_token1, - sym_escape_sequence, - [2510] = 4, - ACTIONS(200), 1, + ACTIONS(397), 1, + aux_sym_document_token1, + STATE(88), 1, + aux_sym_array_repeat1, + ACTIONS(399), 2, + anon_sym_RBRACK, + anon_sym_COMMA, + [3761] = 2, + ACTIONS(3), 1, sym_comment, - ACTIONS(309), 1, - anon_sym_DQUOTE2, - STATE(72), 1, - aux_sym__basic_string_repeat1, - ACTIONS(306), 2, - aux_sym__basic_string_token1, - sym_escape_sequence, - [2524] = 4, - ACTIONS(200), 1, + ACTIONS(401), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3771] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(311), 1, + ACTIONS(406), 1, anon_sym_DQUOTE2, - STATE(72), 1, + STATE(101), 1, aux_sym__basic_string_repeat1, - ACTIONS(296), 2, + ACTIONS(403), 2, aux_sym__basic_string_token1, sym_escape_sequence, - [2538] = 4, + [3785] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, + ACTIONS(408), 4, aux_sym_document_token1, - STATE(26), 1, - aux_sym_array_repeat1, - ACTIONS(288), 2, anon_sym_RBRACK, anon_sym_COMMA, - [2552] = 4, - ACTIONS(200), 1, + anon_sym_RBRACE, + [3795] = 4, + ACTIONS(265), 1, sym_comment, - ACTIONS(315), 1, + ACTIONS(410), 1, anon_sym_DQUOTE2, - STATE(73), 1, + STATE(101), 1, aux_sym__basic_string_repeat1, - ACTIONS(313), 2, + ACTIONS(361), 2, aux_sym__basic_string_token1, sym_escape_sequence, - [2566] = 4, - ACTIONS(200), 1, + [3809] = 2, + ACTIONS(3), 1, sym_comment, - ACTIONS(319), 1, - anon_sym_DQUOTE2, - STATE(71), 1, - aux_sym__basic_string_repeat1, - ACTIONS(317), 2, - aux_sym__basic_string_token1, - sym_escape_sequence, - [2580] = 2, + ACTIONS(412), 4, + aux_sym_document_token1, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_RBRACE, + [3819] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(321), 4, + ACTIONS(414), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2590] = 2, + [3829] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(323), 4, + ACTIONS(416), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2600] = 2, + [3839] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(325), 4, + ACTIONS(418), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2610] = 2, + [3849] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(327), 4, + ACTIONS(420), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2620] = 4, + [3859] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(19), 1, + ACTIONS(422), 4, aux_sym_document_token1, - STATE(26), 1, - aux_sym_array_repeat1, - ACTIONS(329), 2, anon_sym_RBRACK, anon_sym_COMMA, - [2634] = 2, + anon_sym_RBRACE, + [3869] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(331), 4, + ACTIONS(424), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2644] = 2, + [3879] = 4, + ACTIONS(265), 1, + sym_comment, + ACTIONS(428), 1, + anon_sym_DQUOTE2, + STATE(83), 1, + aux_sym__basic_string_repeat1, + ACTIONS(426), 2, + aux_sym__basic_string_token1, + sym_escape_sequence, + [3893] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(333), 4, + ACTIONS(430), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2654] = 2, + [3903] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(335), 4, + ACTIONS(432), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2664] = 2, + [3913] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(337), 4, + ACTIONS(434), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2674] = 2, + [3923] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(339), 4, + ACTIONS(436), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2684] = 2, + [3933] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(341), 4, + ACTIONS(438), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2694] = 2, + [3943] = 4, + ACTIONS(265), 1, + sym_comment, + ACTIONS(442), 1, + anon_sym_DQUOTE2, + STATE(103), 1, + aux_sym__basic_string_repeat1, + ACTIONS(440), 2, + aux_sym__basic_string_token1, + sym_escape_sequence, + [3957] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(343), 4, + ACTIONS(444), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2704] = 2, + [3967] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(345), 4, + ACTIONS(446), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2714] = 2, + [3977] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(347), 4, + ACTIONS(448), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2724] = 2, + [3987] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(349), 4, + ACTIONS(450), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2734] = 2, + [3997] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(351), 4, + ACTIONS(452), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2744] = 2, + [4007] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(353), 4, + ACTIONS(454), 4, aux_sym_document_token1, anon_sym_RBRACK, anon_sym_COMMA, anon_sym_RBRACE, - [2754] = 4, + [4017] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(355), 1, + ACTIONS(456), 4, + aux_sym_document_token1, + anon_sym_RBRACK, anon_sym_COMMA, - ACTIONS(357), 1, anon_sym_RBRACE, - STATE(102), 1, - aux_sym_inline_table_repeat1, - [2767] = 4, + [4027] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(53), 1, + ACTIONS(458), 1, anon_sym_RBRACK, - ACTIONS(359), 1, + ACTIONS(460), 1, anon_sym_COMMA, - STATE(97), 1, + STATE(128), 1, aux_sym_array_repeat2, - [2780] = 4, + [4040] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(73), 1, + ACTIONS(462), 1, anon_sym_RBRACK, - ACTIONS(257), 1, + ACTIONS(464), 1, anon_sym_COMMA, - STATE(97), 1, + STATE(128), 1, aux_sym_array_repeat2, - [2793] = 4, + [4053] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(294), 1, + ACTIONS(466), 1, + anon_sym_COMMA, + ACTIONS(469), 1, + anon_sym_RBRACE, + STATE(127), 1, + aux_sym_inline_table_repeat1, + [4066] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(471), 1, anon_sym_RBRACK, - ACTIONS(361), 1, + ACTIONS(473), 1, anon_sym_COMMA, - STATE(97), 1, + STATE(128), 1, aux_sym_array_repeat2, - [2806] = 4, + [4079] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(65), 1, + ACTIONS(476), 1, anon_sym_RBRACK, - ACTIONS(364), 1, + ACTIONS(478), 1, anon_sym_COMMA, - STATE(97), 1, + STATE(128), 1, aux_sym_array_repeat2, - [2819] = 4, + [4092] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(355), 1, + ACTIONS(480), 3, + anon_sym_RBRACK, + anon_sym_EQ, + anon_sym_DOT, + [4101] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(482), 1, anon_sym_COMMA, - ACTIONS(366), 1, + ACTIONS(484), 1, anon_sym_RBRACE, - STATE(107), 1, + STATE(127), 1, aux_sym_inline_table_repeat1, - [2832] = 2, + [4114] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(368), 3, - anon_sym_RBRACK, + ACTIONS(488), 1, + sym__line_ending_or_eof, + ACTIONS(486), 2, anon_sym_EQ, anon_sym_DOT, - [2841] = 4, + [4125] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(77), 1, + ACTIONS(482), 1, + anon_sym_COMMA, + ACTIONS(490), 1, + anon_sym_RBRACE, + STATE(138), 1, + aux_sym_inline_table_repeat1, + [4138] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(492), 1, anon_sym_RBRACK, - ACTIONS(263), 1, + ACTIONS(494), 1, anon_sym_COMMA, - STATE(97), 1, + STATE(128), 1, aux_sym_array_repeat2, - [2854] = 4, + [4151] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(355), 1, + ACTIONS(496), 1, + anon_sym_RBRACK, + ACTIONS(498), 1, anon_sym_COMMA, - ACTIONS(370), 1, - anon_sym_RBRACE, - STATE(104), 1, - aux_sym_inline_table_repeat1, - [2867] = 4, + STATE(128), 1, + aux_sym_array_repeat2, + [4164] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(95), 1, + ACTIONS(500), 3, + anon_sym_RBRACK, + anon_sym_EQ, + anon_sym_DOT, + [4173] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(502), 1, anon_sym_RBRACK, - ACTIONS(249), 1, + ACTIONS(504), 1, anon_sym_COMMA, - STATE(97), 1, + STATE(128), 1, aux_sym_array_repeat2, - [2880] = 4, + [4186] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(372), 1, + ACTIONS(482), 1, anon_sym_COMMA, - ACTIONS(375), 1, + ACTIONS(506), 1, anon_sym_RBRACE, - STATE(104), 1, + STATE(127), 1, aux_sym_inline_table_repeat1, - [2893] = 2, + [4199] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(377), 3, + ACTIONS(508), 1, anon_sym_RBRACK, - anon_sym_EQ, - anon_sym_DOT, - [2902] = 4, + ACTIONS(510), 1, + anon_sym_COMMA, + STATE(128), 1, + aux_sym_array_repeat2, + [4212] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(69), 1, + ACTIONS(512), 1, anon_sym_RBRACK, - ACTIONS(284), 1, + ACTIONS(514), 1, anon_sym_COMMA, - STATE(97), 1, + STATE(128), 1, aux_sym_array_repeat2, - [2915] = 4, + [4225] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(355), 1, + ACTIONS(482), 1, anon_sym_COMMA, - ACTIONS(379), 1, + ACTIONS(516), 1, anon_sym_RBRACE, - STATE(104), 1, + STATE(131), 1, aux_sym_inline_table_repeat1, - [2928] = 3, + [4238] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(381), 1, + ACTIONS(518), 1, anon_sym_RBRACK_RBRACK, - ACTIONS(383), 1, + ACTIONS(520), 1, anon_sym_DOT, - [2938] = 3, + [4248] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(385), 1, + ACTIONS(522), 1, anon_sym_RBRACK, - ACTIONS(387), 1, + ACTIONS(524), 1, anon_sym_DOT, - [2948] = 2, + [4258] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(389), 2, - anon_sym_COMMA, - anon_sym_RBRACE, - [2956] = 2, + ACTIONS(524), 1, + anon_sym_DOT, + ACTIONS(526), 1, + anon_sym_EQ, + [4268] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(377), 2, + ACTIONS(500), 2, anon_sym_RBRACK_RBRACK, anon_sym_DOT, - [2964] = 3, + [4276] = 3, + ACTIONS(265), 1, + sym_comment, + ACTIONS(528), 1, + aux_sym__literal_string_token1, + ACTIONS(530), 1, + anon_sym_SQUOTE2, + [4286] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(387), 1, + ACTIONS(296), 2, + anon_sym_RBRACK_RBRACK, anon_sym_DOT, - ACTIONS(391), 1, - anon_sym_EQ, - [2974] = 3, - ACTIONS(200), 1, + [4294] = 3, + ACTIONS(265), 1, sym_comment, - ACTIONS(393), 1, + ACTIONS(532), 1, aux_sym__literal_string_token1, - ACTIONS(395), 1, + ACTIONS(534), 1, + anon_sym_SQUOTE2, + [4304] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(536), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + [4312] = 3, + ACTIONS(265), 1, + sym_comment, + ACTIONS(538), 1, + aux_sym__literal_string_token1, + ACTIONS(540), 1, anon_sym_SQUOTE2, - [2984] = 2, + [4322] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(397), 2, + ACTIONS(542), 2, anon_sym_COMMA, anon_sym_RBRACE, - [2992] = 2, + [4330] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(245), 2, + ACTIONS(480), 2, anon_sym_RBRACK_RBRACK, anon_sym_DOT, - [3000] = 2, + [4338] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(243), 2, + ACTIONS(524), 1, + anon_sym_DOT, + ACTIONS(544), 1, + anon_sym_EQ, + [4348] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(290), 2, anon_sym_RBRACK_RBRACK, anon_sym_DOT, - [3008] = 2, + [4356] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(229), 2, + ACTIONS(294), 2, anon_sym_RBRACK_RBRACK, anon_sym_DOT, - [3016] = 2, + [4364] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(241), 2, + ACTIONS(292), 2, anon_sym_RBRACK_RBRACK, anon_sym_DOT, - [3024] = 3, - ACTIONS(200), 1, + [4372] = 2, + ACTIONS(3), 1, sym_comment, - ACTIONS(399), 1, - aux_sym__literal_string_token1, - ACTIONS(401), 1, + ACTIONS(546), 1, anon_sym_SQUOTE2, - [3034] = 3, - ACTIONS(200), 1, + [4379] = 2, + ACTIONS(3), 1, sym_comment, - ACTIONS(403), 1, - aux_sym__literal_string_token1, - ACTIONS(405), 1, + ACTIONS(548), 1, anon_sym_SQUOTE2, - [3044] = 3, + [4386] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(387), 1, - anon_sym_DOT, - ACTIONS(407), 1, - anon_sym_EQ, - [3054] = 2, + ACTIONS(414), 1, + sym__line_ending_or_eof, + [4393] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(368), 2, - anon_sym_RBRACK_RBRACK, - anon_sym_DOT, - [3062] = 2, + ACTIONS(416), 1, + sym__line_ending_or_eof, + [4400] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(333), 1, + ACTIONS(418), 1, sym__line_ending_or_eof, - [3069] = 2, + [4407] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(353), 1, + ACTIONS(420), 1, sym__line_ending_or_eof, - [3076] = 2, + [4414] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(351), 1, + ACTIONS(422), 1, sym__line_ending_or_eof, - [3083] = 2, + [4421] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(339), 1, + ACTIONS(424), 1, sym__line_ending_or_eof, - [3090] = 2, + [4428] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(389), 1, + ACTIONS(448), 1, sym__line_ending_or_eof, - [3097] = 2, + [4435] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(335), 1, + ACTIONS(430), 1, sym__line_ending_or_eof, - [3104] = 2, + [4442] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(241), 1, + ACTIONS(408), 1, sym__line_ending_or_eof, - [3111] = 2, + [4449] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(229), 1, + ACTIONS(432), 1, sym__line_ending_or_eof, - [3118] = 2, + [4456] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(341), 1, + ACTIONS(434), 1, sym__line_ending_or_eof, - [3125] = 2, + [4463] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(409), 1, + ACTIONS(436), 1, sym__line_ending_or_eof, - [3132] = 2, + [4470] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(411), 1, + ACTIONS(401), 1, sym__line_ending_or_eof, - [3139] = 2, + [4477] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(349), 1, + ACTIONS(438), 1, sym__line_ending_or_eof, - [3146] = 2, + [4484] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(413), 1, - anon_sym_SQUOTE2, - [3153] = 2, + ACTIONS(395), 1, + sym__line_ending_or_eof, + [4491] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(243), 1, + ACTIONS(393), 1, sym__line_ending_or_eof, - [3160] = 2, + [4498] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(331), 1, + ACTIONS(444), 1, sym__line_ending_or_eof, - [3167] = 2, + [4505] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(343), 1, + ACTIONS(389), 1, sym__line_ending_or_eof, - [3174] = 2, + [4512] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(245), 1, + ACTIONS(387), 1, sym__line_ending_or_eof, - [3181] = 2, + [4519] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(325), 1, + ACTIONS(412), 1, sym__line_ending_or_eof, - [3188] = 2, + [4526] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(345), 1, + ACTIONS(550), 1, + sym__line_ending_or_eof, + [4533] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(446), 1, + sym__line_ending_or_eof, + [4540] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(452), 1, + sym__line_ending_or_eof, + [4547] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(367), 1, + sym__line_ending_or_eof, + [4554] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(385), 1, + sym__line_ending_or_eof, + [4561] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(552), 1, + sym__line_ending_or_eof, + [4568] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(383), 1, + sym__line_ending_or_eof, + [4575] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(456), 1, + sym__line_ending_or_eof, + [4582] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(381), 1, sym__line_ending_or_eof, - [3195] = 2, + [4589] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(347), 1, + ACTIONS(375), 1, sym__line_ending_or_eof, - [3202] = 2, + [4596] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(321), 1, + ACTIONS(371), 1, sym__line_ending_or_eof, - [3209] = 2, + [4603] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(415), 1, + ACTIONS(488), 1, sym__line_ending_or_eof, - [3216] = 2, + [4610] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(417), 1, + ACTIONS(554), 1, ts_builtin_sym_end, - [3223] = 2, + [4617] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(419), 1, - anon_sym_SQUOTE2, - [3230] = 2, + ACTIONS(369), 1, + sym__line_ending_or_eof, + [4624] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(327), 1, + ACTIONS(290), 1, sym__line_ending_or_eof, - [3237] = 2, + [4631] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(337), 1, + ACTIONS(294), 1, sym__line_ending_or_eof, - [3244] = 2, + [4638] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(323), 1, + ACTIONS(454), 1, + sym__line_ending_or_eof, + [4645] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(536), 1, sym__line_ending_or_eof, - [3251] = 2, + [4652] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(421), 1, + ACTIONS(292), 1, + sym__line_ending_or_eof, + [4659] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(450), 1, + sym__line_ending_or_eof, + [4666] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(556), 1, anon_sym_SQUOTE2, - [3258] = 2, + [4673] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(290), 1, + ACTIONS(296), 1, sym__line_ending_or_eof, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 66, - [SMALL_STATE(4)] = 132, - [SMALL_STATE(5)] = 198, - [SMALL_STATE(6)] = 264, - [SMALL_STATE(7)] = 330, - [SMALL_STATE(8)] = 396, - [SMALL_STATE(9)] = 462, - [SMALL_STATE(10)] = 528, - [SMALL_STATE(11)] = 594, - [SMALL_STATE(12)] = 660, - [SMALL_STATE(13)] = 726, - [SMALL_STATE(14)] = 792, - [SMALL_STATE(15)] = 858, - [SMALL_STATE(16)] = 924, - [SMALL_STATE(17)] = 990, - [SMALL_STATE(18)] = 1056, - [SMALL_STATE(19)] = 1122, - [SMALL_STATE(20)] = 1188, - [SMALL_STATE(21)] = 1254, - [SMALL_STATE(22)] = 1320, - [SMALL_STATE(23)] = 1383, - [SMALL_STATE(24)] = 1446, - [SMALL_STATE(25)] = 1503, - [SMALL_STATE(26)] = 1560, - [SMALL_STATE(27)] = 1593, - [SMALL_STATE(28)] = 1639, - [SMALL_STATE(29)] = 1678, - [SMALL_STATE(30)] = 1717, - [SMALL_STATE(31)] = 1756, - [SMALL_STATE(32)] = 1795, - [SMALL_STATE(33)] = 1834, - [SMALL_STATE(34)] = 1862, - [SMALL_STATE(35)] = 1890, - [SMALL_STATE(36)] = 1915, - [SMALL_STATE(37)] = 1937, - [SMALL_STATE(38)] = 1959, - [SMALL_STATE(39)] = 1976, - [SMALL_STATE(40)] = 1993, - [SMALL_STATE(41)] = 2010, - [SMALL_STATE(42)] = 2027, - [SMALL_STATE(43)] = 2044, - [SMALL_STATE(44)] = 2065, - [SMALL_STATE(45)] = 2086, - [SMALL_STATE(46)] = 2101, - [SMALL_STATE(47)] = 2113, - [SMALL_STATE(48)] = 2131, - [SMALL_STATE(49)] = 2149, - [SMALL_STATE(50)] = 2161, - [SMALL_STATE(51)] = 2173, - [SMALL_STATE(52)] = 2185, - [SMALL_STATE(53)] = 2203, - [SMALL_STATE(54)] = 2222, - [SMALL_STATE(55)] = 2241, - [SMALL_STATE(56)] = 2260, - [SMALL_STATE(57)] = 2275, - [SMALL_STATE(58)] = 2294, - [SMALL_STATE(59)] = 2313, - [SMALL_STATE(60)] = 2328, - [SMALL_STATE(61)] = 2343, - [SMALL_STATE(62)] = 2362, - [SMALL_STATE(63)] = 2377, - [SMALL_STATE(64)] = 2392, - [SMALL_STATE(65)] = 2411, - [SMALL_STATE(66)] = 2430, - [SMALL_STATE(67)] = 2444, - [SMALL_STATE(68)] = 2454, - [SMALL_STATE(69)] = 2468, - [SMALL_STATE(70)] = 2482, - [SMALL_STATE(71)] = 2496, - [SMALL_STATE(72)] = 2510, - [SMALL_STATE(73)] = 2524, - [SMALL_STATE(74)] = 2538, - [SMALL_STATE(75)] = 2552, - [SMALL_STATE(76)] = 2566, - [SMALL_STATE(77)] = 2580, - [SMALL_STATE(78)] = 2590, - [SMALL_STATE(79)] = 2600, - [SMALL_STATE(80)] = 2610, - [SMALL_STATE(81)] = 2620, - [SMALL_STATE(82)] = 2634, - [SMALL_STATE(83)] = 2644, - [SMALL_STATE(84)] = 2654, - [SMALL_STATE(85)] = 2664, - [SMALL_STATE(86)] = 2674, - [SMALL_STATE(87)] = 2684, - [SMALL_STATE(88)] = 2694, - [SMALL_STATE(89)] = 2704, - [SMALL_STATE(90)] = 2714, - [SMALL_STATE(91)] = 2724, - [SMALL_STATE(92)] = 2734, - [SMALL_STATE(93)] = 2744, - [SMALL_STATE(94)] = 2754, - [SMALL_STATE(95)] = 2767, - [SMALL_STATE(96)] = 2780, - [SMALL_STATE(97)] = 2793, - [SMALL_STATE(98)] = 2806, - [SMALL_STATE(99)] = 2819, - [SMALL_STATE(100)] = 2832, - [SMALL_STATE(101)] = 2841, - [SMALL_STATE(102)] = 2854, - [SMALL_STATE(103)] = 2867, - [SMALL_STATE(104)] = 2880, - [SMALL_STATE(105)] = 2893, - [SMALL_STATE(106)] = 2902, - [SMALL_STATE(107)] = 2915, - [SMALL_STATE(108)] = 2928, - [SMALL_STATE(109)] = 2938, - [SMALL_STATE(110)] = 2948, - [SMALL_STATE(111)] = 2956, - [SMALL_STATE(112)] = 2964, - [SMALL_STATE(113)] = 2974, - [SMALL_STATE(114)] = 2984, - [SMALL_STATE(115)] = 2992, - [SMALL_STATE(116)] = 3000, - [SMALL_STATE(117)] = 3008, - [SMALL_STATE(118)] = 3016, - [SMALL_STATE(119)] = 3024, - [SMALL_STATE(120)] = 3034, - [SMALL_STATE(121)] = 3044, - [SMALL_STATE(122)] = 3054, - [SMALL_STATE(123)] = 3062, - [SMALL_STATE(124)] = 3069, - [SMALL_STATE(125)] = 3076, - [SMALL_STATE(126)] = 3083, - [SMALL_STATE(127)] = 3090, - [SMALL_STATE(128)] = 3097, - [SMALL_STATE(129)] = 3104, - [SMALL_STATE(130)] = 3111, - [SMALL_STATE(131)] = 3118, - [SMALL_STATE(132)] = 3125, - [SMALL_STATE(133)] = 3132, - [SMALL_STATE(134)] = 3139, - [SMALL_STATE(135)] = 3146, - [SMALL_STATE(136)] = 3153, - [SMALL_STATE(137)] = 3160, - [SMALL_STATE(138)] = 3167, - [SMALL_STATE(139)] = 3174, - [SMALL_STATE(140)] = 3181, - [SMALL_STATE(141)] = 3188, - [SMALL_STATE(142)] = 3195, - [SMALL_STATE(143)] = 3202, - [SMALL_STATE(144)] = 3209, - [SMALL_STATE(145)] = 3216, - [SMALL_STATE(146)] = 3223, - [SMALL_STATE(147)] = 3230, - [SMALL_STATE(148)] = 3237, - [SMALL_STATE(149)] = 3244, - [SMALL_STATE(150)] = 3251, - [SMALL_STATE(151)] = 3258, + [SMALL_STATE(3)] = 67, + [SMALL_STATE(4)] = 134, + [SMALL_STATE(5)] = 201, + [SMALL_STATE(6)] = 268, + [SMALL_STATE(7)] = 335, + [SMALL_STATE(8)] = 402, + [SMALL_STATE(9)] = 469, + [SMALL_STATE(10)] = 536, + [SMALL_STATE(11)] = 603, + [SMALL_STATE(12)] = 670, + [SMALL_STATE(13)] = 737, + [SMALL_STATE(14)] = 804, + [SMALL_STATE(15)] = 871, + [SMALL_STATE(16)] = 938, + [SMALL_STATE(17)] = 1005, + [SMALL_STATE(18)] = 1072, + [SMALL_STATE(19)] = 1139, + [SMALL_STATE(20)] = 1206, + [SMALL_STATE(21)] = 1273, + [SMALL_STATE(22)] = 1340, + [SMALL_STATE(23)] = 1407, + [SMALL_STATE(24)] = 1474, + [SMALL_STATE(25)] = 1541, + [SMALL_STATE(26)] = 1608, + [SMALL_STATE(27)] = 1675, + [SMALL_STATE(28)] = 1742, + [SMALL_STATE(29)] = 1809, + [SMALL_STATE(30)] = 1876, + [SMALL_STATE(31)] = 1943, + [SMALL_STATE(32)] = 2010, + [SMALL_STATE(33)] = 2077, + [SMALL_STATE(34)] = 2144, + [SMALL_STATE(35)] = 2211, + [SMALL_STATE(36)] = 2278, + [SMALL_STATE(37)] = 2345, + [SMALL_STATE(38)] = 2412, + [SMALL_STATE(39)] = 2476, + [SMALL_STATE(40)] = 2540, + [SMALL_STATE(41)] = 2598, + [SMALL_STATE(42)] = 2656, + [SMALL_STATE(43)] = 2690, + [SMALL_STATE(44)] = 2739, + [SMALL_STATE(45)] = 2781, + [SMALL_STATE(46)] = 2823, + [SMALL_STATE(47)] = 2865, + [SMALL_STATE(48)] = 2907, + [SMALL_STATE(49)] = 2949, + [SMALL_STATE(50)] = 2978, + [SMALL_STATE(51)] = 3007, + [SMALL_STATE(52)] = 3033, + [SMALL_STATE(53)] = 3056, + [SMALL_STATE(54)] = 3079, + [SMALL_STATE(55)] = 3101, + [SMALL_STATE(56)] = 3123, + [SMALL_STATE(57)] = 3139, + [SMALL_STATE(58)] = 3156, + [SMALL_STATE(59)] = 3173, + [SMALL_STATE(60)] = 3190, + [SMALL_STATE(61)] = 3207, + [SMALL_STATE(62)] = 3224, + [SMALL_STATE(63)] = 3242, + [SMALL_STATE(64)] = 3260, + [SMALL_STATE(65)] = 3272, + [SMALL_STATE(66)] = 3284, + [SMALL_STATE(67)] = 3296, + [SMALL_STATE(68)] = 3308, + [SMALL_STATE(69)] = 3326, + [SMALL_STATE(70)] = 3341, + [SMALL_STATE(71)] = 3360, + [SMALL_STATE(72)] = 3379, + [SMALL_STATE(73)] = 3398, + [SMALL_STATE(74)] = 3413, + [SMALL_STATE(75)] = 3428, + [SMALL_STATE(76)] = 3447, + [SMALL_STATE(77)] = 3466, + [SMALL_STATE(78)] = 3481, + [SMALL_STATE(79)] = 3500, + [SMALL_STATE(80)] = 3519, + [SMALL_STATE(81)] = 3534, + [SMALL_STATE(82)] = 3553, + [SMALL_STATE(83)] = 3567, + [SMALL_STATE(84)] = 3581, + [SMALL_STATE(85)] = 3595, + [SMALL_STATE(86)] = 3605, + [SMALL_STATE(87)] = 3615, + [SMALL_STATE(88)] = 3625, + [SMALL_STATE(89)] = 3639, + [SMALL_STATE(90)] = 3649, + [SMALL_STATE(91)] = 3663, + [SMALL_STATE(92)] = 3673, + [SMALL_STATE(93)] = 3683, + [SMALL_STATE(94)] = 3693, + [SMALL_STATE(95)] = 3703, + [SMALL_STATE(96)] = 3713, + [SMALL_STATE(97)] = 3727, + [SMALL_STATE(98)] = 3737, + [SMALL_STATE(99)] = 3747, + [SMALL_STATE(100)] = 3761, + [SMALL_STATE(101)] = 3771, + [SMALL_STATE(102)] = 3785, + [SMALL_STATE(103)] = 3795, + [SMALL_STATE(104)] = 3809, + [SMALL_STATE(105)] = 3819, + [SMALL_STATE(106)] = 3829, + [SMALL_STATE(107)] = 3839, + [SMALL_STATE(108)] = 3849, + [SMALL_STATE(109)] = 3859, + [SMALL_STATE(110)] = 3869, + [SMALL_STATE(111)] = 3879, + [SMALL_STATE(112)] = 3893, + [SMALL_STATE(113)] = 3903, + [SMALL_STATE(114)] = 3913, + [SMALL_STATE(115)] = 3923, + [SMALL_STATE(116)] = 3933, + [SMALL_STATE(117)] = 3943, + [SMALL_STATE(118)] = 3957, + [SMALL_STATE(119)] = 3967, + [SMALL_STATE(120)] = 3977, + [SMALL_STATE(121)] = 3987, + [SMALL_STATE(122)] = 3997, + [SMALL_STATE(123)] = 4007, + [SMALL_STATE(124)] = 4017, + [SMALL_STATE(125)] = 4027, + [SMALL_STATE(126)] = 4040, + [SMALL_STATE(127)] = 4053, + [SMALL_STATE(128)] = 4066, + [SMALL_STATE(129)] = 4079, + [SMALL_STATE(130)] = 4092, + [SMALL_STATE(131)] = 4101, + [SMALL_STATE(132)] = 4114, + [SMALL_STATE(133)] = 4125, + [SMALL_STATE(134)] = 4138, + [SMALL_STATE(135)] = 4151, + [SMALL_STATE(136)] = 4164, + [SMALL_STATE(137)] = 4173, + [SMALL_STATE(138)] = 4186, + [SMALL_STATE(139)] = 4199, + [SMALL_STATE(140)] = 4212, + [SMALL_STATE(141)] = 4225, + [SMALL_STATE(142)] = 4238, + [SMALL_STATE(143)] = 4248, + [SMALL_STATE(144)] = 4258, + [SMALL_STATE(145)] = 4268, + [SMALL_STATE(146)] = 4276, + [SMALL_STATE(147)] = 4286, + [SMALL_STATE(148)] = 4294, + [SMALL_STATE(149)] = 4304, + [SMALL_STATE(150)] = 4312, + [SMALL_STATE(151)] = 4322, + [SMALL_STATE(152)] = 4330, + [SMALL_STATE(153)] = 4338, + [SMALL_STATE(154)] = 4348, + [SMALL_STATE(155)] = 4356, + [SMALL_STATE(156)] = 4364, + [SMALL_STATE(157)] = 4372, + [SMALL_STATE(158)] = 4379, + [SMALL_STATE(159)] = 4386, + [SMALL_STATE(160)] = 4393, + [SMALL_STATE(161)] = 4400, + [SMALL_STATE(162)] = 4407, + [SMALL_STATE(163)] = 4414, + [SMALL_STATE(164)] = 4421, + [SMALL_STATE(165)] = 4428, + [SMALL_STATE(166)] = 4435, + [SMALL_STATE(167)] = 4442, + [SMALL_STATE(168)] = 4449, + [SMALL_STATE(169)] = 4456, + [SMALL_STATE(170)] = 4463, + [SMALL_STATE(171)] = 4470, + [SMALL_STATE(172)] = 4477, + [SMALL_STATE(173)] = 4484, + [SMALL_STATE(174)] = 4491, + [SMALL_STATE(175)] = 4498, + [SMALL_STATE(176)] = 4505, + [SMALL_STATE(177)] = 4512, + [SMALL_STATE(178)] = 4519, + [SMALL_STATE(179)] = 4526, + [SMALL_STATE(180)] = 4533, + [SMALL_STATE(181)] = 4540, + [SMALL_STATE(182)] = 4547, + [SMALL_STATE(183)] = 4554, + [SMALL_STATE(184)] = 4561, + [SMALL_STATE(185)] = 4568, + [SMALL_STATE(186)] = 4575, + [SMALL_STATE(187)] = 4582, + [SMALL_STATE(188)] = 4589, + [SMALL_STATE(189)] = 4596, + [SMALL_STATE(190)] = 4603, + [SMALL_STATE(191)] = 4610, + [SMALL_STATE(192)] = 4617, + [SMALL_STATE(193)] = 4624, + [SMALL_STATE(194)] = 4631, + [SMALL_STATE(195)] = 4638, + [SMALL_STATE(196)] = 4645, + [SMALL_STATE(197)] = 4652, + [SMALL_STATE(198)] = 4659, + [SMALL_STATE(199)] = 4666, + [SMALL_STATE(200)] = 4673, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -4474,208 +5811,275 @@ static const TSParseActionEntry ts_parse_actions[] = { [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76), - [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), - [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), - [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), - [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), - [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [73] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), - [79] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [81] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [83] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [87] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [89] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [115] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110), - [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), - [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [123] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113), - [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123), - [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [135] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [139] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2), SHIFT_REPEAT(26), - [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2), - [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_array_repeat1, 2), - [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1), - [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 4), - [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 4), - [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_array_element, 4), - [158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_array_element, 4), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_array_element, 5), - [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_array_element, 5), - [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 5), - [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 5), - [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), - [172] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(32), - [175] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2), - [177] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(121), - [180] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(76), - [183] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(120), - [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), - [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [206] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiline_basic_string_repeat1, 2), SHIFT_REPEAT(39), - [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__multiline_basic_string_repeat1, 2), - [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pair, 2), - [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_pair, 2), - [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__basic_string, 3), - [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2), - [233] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat2, 2), SHIFT_REPEAT(36), - [236] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2), SHIFT_REPEAT(37), - [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 2), - [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__literal_string, 3), - [243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__literal_string, 2), - [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__basic_string, 2), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [269] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiline_literal_string_repeat1, 2), SHIFT_REPEAT(60), - [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__multiline_literal_string_repeat1, 2), - [274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), - [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 3), - [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_literal_string, 3), - [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 2), - [296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [306] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__basic_string_repeat1, 2), SHIFT_REPEAT(72), - [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__basic_string_repeat1, 2), - [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [321] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 8), - [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 7), - [325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 6), - [327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 5), - [329] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 4), - [331] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inline_table, 4, .production_id = 1), - [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer, 1), - [335] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_float, 1), - [337] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inline_table, 3, .production_id = 1), - [339] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1), - [341] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4), - [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 2), - [345] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_basic_string, 2), - [347] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_literal_string, 2), - [349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inline_table, 2), - [351] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3), - [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_basic_string, 3), - [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [361] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 2), SHIFT_REPEAT(22), - [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), - [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_key, 1), - [370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), - [372] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_inline_table_repeat1, 2), SHIFT_REPEAT(35), - [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_inline_table_repeat1, 2), - [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dotted_key, 3), - [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [381] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), - [387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__inline_pair, 3), - [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_inline_table_repeat1, 2, .production_id = 1), - [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), - [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [413] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [417] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), + [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [73] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [79] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [81] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [83] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [87] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [89] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [135] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), + [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [143] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [169] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149), + [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [173] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), + [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(165), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [189] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), + [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [193] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2), SHIFT_REPEAT(42), + [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2), + [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_array_repeat1, 2), + [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, .production_id = 1), + [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_array_element, 5, .production_id = 6), + [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_array_element, 5, .production_id = 6), + [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 4, .production_id = 5), + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 4, .production_id = 5), + [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), + [216] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(46), + [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2), + [221] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(144), + [224] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(111), + [227] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(146), + [230] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(132), + [233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 5, .production_id = 6), + [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 5, .production_id = 6), + [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_array_element, 4, .production_id = 5), + [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_array_element, 4, .production_id = 5), + [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__pair, 2), + [263] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__pair, 2), + [265] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [281] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiline_basic_string_repeat1, 2), SHIFT_REPEAT(61), + [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__multiline_basic_string_repeat1, 2), + [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, .production_id = 2), + [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 2, .production_id = 3), + [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__basic_string, 2), + [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__basic_string, 3), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__literal_string, 2), + [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__literal_string, 3), + [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2), + [300] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat2, 2), SHIFT_REPEAT(53), + [303] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2), SHIFT_REPEAT(52), + [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [320] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__multiline_literal_string_repeat1, 2), SHIFT_REPEAT(73), + [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__multiline_literal_string_repeat1, 2), + [325] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_basic_string, 2), + [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 8, .production_id = 16), + [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 7, .production_id = 15), + [373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 3, .production_id = 7), + [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 7, .production_id = 16), + [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 3, .production_id = 11), + [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 7, .production_id = 11), + [383] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 7, .production_id = 14), + [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 6, .production_id = 15), + [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 6, .production_id = 16), + [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 6, .production_id = 11), + [391] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 4, .production_id = 11), + [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 6, .production_id = 9), + [395] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 6, .production_id = 14), + [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [399] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 2, .production_id = 7), + [401] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 6, .production_id = 7), + [403] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__basic_string_repeat1, 2), SHIFT_REPEAT(101), + [406] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__basic_string_repeat1, 2), + [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 5, .production_id = 15), + [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 5, .production_id = 11), + [414] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 5, .production_id = 9), + [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 5, .production_id = 14), + [418] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 5, .production_id = 7), + [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inline_table, 4, .production_id = 12), + [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, .production_id = 11), + [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, .production_id = 9), + [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, .production_id = 7), + [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inline_table, 3, .production_id = 8), + [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_literal_string, 3), + [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_basic_string, 3), + [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3, .production_id = 7), + [446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inline_table, 2), + [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer, 1), + [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_float, 1), + [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__multiline_literal_string, 2), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1), + [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 2), + [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [466] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_inline_table_repeat1, 2, .production_id = 13), SHIFT_REPEAT(51), + [469] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_inline_table_repeat1, 2, .production_id = 13), + [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 2, .production_id = 10), + [473] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat2, 2, .production_id = 10), SHIFT_REPEAT(38), + [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dotted_key, 3), + [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__key, 1), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [496] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_key, 1), + [502] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_inline_pair, 3, .production_id = 4), + [538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [540] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [542] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_inline_table_repeat1, 2, .production_id = 8), + [544] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [548] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [552] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [554] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), }; #ifdef __cplusplus @@ -4708,6 +6112,9 @@ extern const TSLanguage *tree_sitter_toml(void) { .small_parse_table_map = ts_small_parse_table_map, .parse_actions = ts_parse_actions, .symbol_names = ts_symbol_names, + .field_names = ts_field_names, + .field_map_slices = ts_field_map_slices, + .field_map_entries = ts_field_map_entries, .symbol_metadata = ts_symbol_metadata, .public_symbol_map = ts_symbol_map, .alias_map = ts_non_terminal_alias_map, diff --git a/resources/language-metavariables/tree-sitter-toml/tree-sitter-toml.wasm b/resources/language-metavariables/tree-sitter-toml/tree-sitter-toml.wasm deleted file mode 100755 index 7834d11e5..000000000 Binary files a/resources/language-metavariables/tree-sitter-toml/tree-sitter-toml.wasm and /dev/null differ diff --git a/resources/language-metavariables/tree-sitter-typescript/build/Makefile b/resources/language-metavariables/tree-sitter-typescript/build/Makefile index 85a4c98c4..1306ab9e2 100644 --- a/resources/language-metavariables/tree-sitter-typescript/build/Makefile +++ b/resources/language-metavariables/tree-sitter-typescript/build/Makefile @@ -327,7 +327,7 @@ endif quiet_cmd_regen_makefile = ACTION Regenerating $@ cmd_regen_makefile = cd $(srcdir); /Users/itamarlevy-or/.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/itamarlevy-or/Library/Caches/node-gyp/18.5.0" "-Dnode_gyp_dir=/Users/itamarlevy-or/.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/itamarlevy-or/Library/Caches/node-gyp/18.5.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/itamarlevy-or/dev/gritql/resources/language-metavariables/tree-sitter-typescript" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/Users/itamarlevy-or/dev/gritql/resources/language-metavariables/tree-sitter-typescript/build/config.gypi -I/Users/itamarlevy-or/.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/itamarlevy-or/Library/Caches/node-gyp/18.5.0/include/node/common.gypi "--toplevel-dir=." binding.gyp -Makefile: $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/../../../../../Library/Caches/node-gyp/18.5.0/include/node/common.gypi +Makefile: $(srcdir)/../../../../../.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../Library/Caches/node-gyp/18.5.0/include/node/common.gypi $(call do_cmd,regen_makefile) # "all" is a concatenation of the "all" targets from all the included diff --git a/resources/language-metavariables/tree-sitter-typescript/build/Release/tree_sitter_typescript_binding.node b/resources/language-metavariables/tree-sitter-typescript/build/Release/tree_sitter_typescript_binding.node index 2d5a1e537..c2e05353b 100755 Binary files a/resources/language-metavariables/tree-sitter-typescript/build/Release/tree_sitter_typescript_binding.node and b/resources/language-metavariables/tree-sitter-typescript/build/Release/tree_sitter_typescript_binding.node differ diff --git a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Makefile b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Makefile index 85454051c..6df7295f7 100644 --- a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Makefile +++ b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Makefile @@ -327,7 +327,7 @@ endif quiet_cmd_regen_makefile = ACTION Regenerating $@ cmd_regen_makefile = cd $(srcdir); /Users/itamarlevy-or/.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/itamarlevy-or/Library/Caches/node-gyp/18.5.0" "-Dnode_gyp_dir=/Users/itamarlevy-or/.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/itamarlevy-or/Library/Caches/node-gyp/18.5.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/itamarlevy-or/dev/gritql/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/Users/itamarlevy-or/dev/gritql/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/config.gypi -I/Users/itamarlevy-or/.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/itamarlevy-or/Library/Caches/node-gyp/18.5.0/include/node/common.gypi "--toplevel-dir=." binding.gyp -Makefile: $(srcdir)/build/config.gypi $(srcdir)/../../../../../../../.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../../../Library/Caches/node-gyp/18.5.0/include/node/common.gypi +Makefile: $(srcdir)/../../../../../../../.nvm/versions/node/v18.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/../../../../../../../Library/Caches/node-gyp/18.5.0/include/node/common.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(call do_cmd,regen_makefile) # "all" is a concatenation of the "all" targets from all the included diff --git a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/parser.o b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/parser.o index 3126b9234..d211ec065 100644 Binary files a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/parser.o and b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/parser.o differ diff --git a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/scanner.o b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/scanner.o index 6917008b9..2180780ea 100644 Binary files a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/scanner.o and b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/obj.target/tree_sitter_javascript_binding/src/scanner.o differ diff --git a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/tree_sitter_javascript_binding.node b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/tree_sitter_javascript_binding.node index c5b14a108..abbd7b141 100755 Binary files a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/tree_sitter_javascript_binding.node and b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/build/Release/tree_sitter_javascript_binding.node differ diff --git a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/grammar.json b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/grammar.json index 46cea9f89..20be0df2b 100644 --- a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/grammar.json +++ b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/grammar.json @@ -1,35 +1,27 @@ { "name": "javascript", - "word": "_primitive_identifier", + "word": "identifier", "rules": { "program": { "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "hash_bang", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "hash_bang_line" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "hash_bang_line" + }, + { + "type": "BLANK" + } + ] }, { - "type": "FIELD", - "name": "statements", + "type": "REPEAT", "content": { - "type": "REPEAT", - "content": { - "type": "SYMBOL", - "name": "statement" - } + "type": "SYMBOL", + "name": "statement" } } ] @@ -68,12 +60,8 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "export", - "content": { - "type": "SYMBOL", - "name": "namespace_export" - } + "type": "SYMBOL", + "name": "namespace_export" }, { "type": "SYMBOL", @@ -85,12 +73,8 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "export", - "content": { - "type": "SYMBOL", - "name": "export_clause" - } + "type": "SYMBOL", + "name": "export_clause" }, { "type": "SYMBOL", @@ -99,12 +83,8 @@ ] }, { - "type": "FIELD", - "name": "export", - "content": { - "type": "SYMBOL", - "name": "export_clause" - } + "type": "SYMBOL", + "name": "export_clause" } ] }, @@ -166,7 +146,7 @@ "members": [ { "type": "FIELD", - "name": "declaration", + "name": "value", "content": { "type": "SYMBOL", "name": "expression" @@ -200,12 +180,8 @@ "value": "as" }, { - "type": "FIELD", - "name": "module", - "content": { - "type": "SYMBOL", - "name": "_module_export_name" - } + "type": "SYMBOL", + "name": "_module_export_name" } ] }, @@ -217,41 +193,37 @@ "value": "{" }, { - "type": "FIELD", - "name": "specifiers", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "export_specifier" - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "SYMBOL", - "name": "export_specifier" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "export_specifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "export_specifier" + } + ] } - ] - }, - { - "type": "BLANK" - } - ] - } + } + ] + }, + { + "type": "BLANK" + } + ] }, { "type": "CHOICE", @@ -344,10 +316,6 @@ { "type": "SYMBOL", "name": "variable_declaration" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" } ] }, @@ -372,12 +340,8 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "import", - "content": { - "type": "SYMBOL", - "name": "import_clause" - } + "type": "SYMBOL", + "name": "import_clause" }, { "type": "SYMBOL", @@ -389,21 +353,24 @@ "type": "FIELD", "name": "source", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "string" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" - } - ] + "type": "SYMBOL", + "name": "string" } } ] }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "import_attribute" + }, + { + "type": "BLANK" + } + ] + }, { "type": "SYMBOL", "name": "_semicolon" @@ -414,31 +381,19 @@ "type": "CHOICE", "members": [ { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "namespace_import" - } + "type": "SYMBOL", + "name": "namespace_import" }, { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "named_imports" - } + "type": "SYMBOL", + "name": "named_imports" }, { "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "default", - "content": { - "type": "SYMBOL", - "name": "identifier" - } + "type": "SYMBOL", + "name": "identifier" }, { "type": "CHOICE", @@ -451,21 +406,17 @@ "value": "," }, { - "type": "FIELD", - "name": "name", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "namespace_import" - }, - { - "type": "SYMBOL", - "name": "named_imports" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "namespace_import" + }, + { + "type": "SYMBOL", + "name": "named_imports" + } + ] } ] }, @@ -489,17 +440,8 @@ "type": "FIELD", "name": "source", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "string" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" - } - ] + "type": "SYMBOL", + "name": "string" } } ] @@ -516,127 +458,119 @@ "value": "as" }, { - "type": "FIELD", - "name": "namespace", - "content": { - "type": "SYMBOL", - "name": "identifier" - } + "type": "SYMBOL", + "name": "identifier" } ] }, "named_imports": { - "type": "CHOICE", + "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "grit_metavariable" + "type": "STRING", + "value": "{" }, { - "type": "SEQ", + "type": "CHOICE", "members": [ { - "type": "STRING", - "value": "{" - }, - { - "type": "FIELD", - "name": "imports", - "content": { - "type": "CHOICE", - "members": [ - { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "import_specifier" + }, + { + "type": "REPEAT", + "content": { "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "import_specifier" + "type": "STRING", + "value": "," }, { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "SYMBOL", - "name": "import_specifier" - } - ] - } + "type": "SYMBOL", + "name": "import_specifier" } ] - }, - { - "type": "BLANK" } - ] - } - }, - { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "BLANK" } ] }, { - "type": "STRING", - "value": "}" + "type": "BLANK" } ] - } - ] - }, - "aliased_name": { - "type": "SEQ", - "members": [ + }, { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "_module_export_name" - } + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", - "value": "as" - }, + "value": "}" + } + ] + }, + "import_specifier": { + "type": "CHOICE", + "members": [ { "type": "FIELD", - "name": "alias", + "name": "name", "content": { "type": "SYMBOL", "name": "identifier" } + }, + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "_module_export_name" + } + }, + { + "type": "STRING", + "value": "as" + }, + { + "type": "FIELD", + "name": "alias", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + } + ] } ] }, - "import_specifier": { - "type": "FIELD", - "name": "name", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "SYMBOL", - "name": "aliased_name" - } - ] - } + "import_attribute": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "with" + }, + { + "type": "SYMBOL", + "name": "object" + } + ] }, "statement": { "type": "CHOICE", @@ -727,12 +661,8 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "_expressions" - } + "type": "SYMBOL", + "name": "_expressions" }, { "type": "SYMBOL", @@ -744,37 +674,33 @@ "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "var" + "type": "STRING", + "value": "var" }, { - "type": "FIELD", - "name": "declarations", - "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "variable_declarator" - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "SYMBOL", - "name": "variable_declarator" - } - ] - } + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "variable_declarator" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "variable_declarator" + } + ] } - ] - } + } + ] }, { "type": "SYMBOL", @@ -792,44 +718,40 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "let" + "type": "STRING", + "value": "let" }, { - "type": "SYMBOL", - "name": "const" + "type": "STRING", + "value": "const" } ] } }, { - "type": "FIELD", - "name": "declarations", - "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "variable_declarator" - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "SYMBOL", - "name": "variable_declarator" - } - ] - } + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "variable_declarator" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "variable_declarator" + } + ] } - ] - } + } + ] }, { "type": "SYMBOL", @@ -882,14 +804,10 @@ "value": "{" }, { - "type": "FIELD", - "name": "statements", + "type": "REPEAT", "content": { - "type": "REPEAT", - "content": { - "type": "SYMBOL", - "name": "statement" - } + "type": "SYMBOL", + "name": "statement" } }, { @@ -919,12 +837,8 @@ "value": "else" }, { - "type": "FIELD", - "name": "else", - "content": { - "type": "SYMBOL", - "name": "statement" - } + "type": "SYMBOL", + "name": "statement" } ] }, @@ -1148,8 +1062,8 @@ "type": "FIELD", "name": "kind", "content": { - "type": "SYMBOL", - "name": "var" + "type": "STRING", + "value": "var" } }, { @@ -1193,12 +1107,12 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "let" + "type": "STRING", + "value": "let" }, { - "type": "SYMBOL", - "name": "const" + "type": "STRING", + "value": "const" } ] } @@ -1231,12 +1145,12 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "in" + "type": "STRING", + "value": "in" }, { - "type": "SYMBOL", - "name": "of" + "type": "STRING", + "value": "of" } ] } @@ -1281,68 +1195,80 @@ ] }, "do_statement": { + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "do" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "statement" + } + }, + { + "type": "STRING", + "value": "while" + }, + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "parenthesized_expression" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_semicolon" + }, + { + "type": "BLANK" + } + ] + } + ] + } + }, + "try_statement": { "type": "SEQ", "members": [ { "type": "STRING", - "value": "do" + "value": "try" }, { "type": "FIELD", "name": "body", "content": { "type": "SYMBOL", - "name": "statement" + "name": "statement_block" } }, { - "type": "STRING", - "value": "while" - }, - { - "type": "FIELD", - "name": "condition", - "content": { - "type": "SYMBOL", - "name": "parenthesized_expression" - } - }, - { - "type": "SYMBOL", - "name": "_semicolon" - } - ] - }, - "try_statement": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "try" - }, - { - "type": "FIELD", - "name": "body", - "content": { - "type": "SYMBOL", - "name": "statement_block" - } - }, - { - "type": "CHOICE", - "members": [ - { - "type": "FIELD", - "name": "handler", - "content": { - "type": "SYMBOL", - "name": "catch_clause" - } - }, - { - "type": "BLANK" - } - ] + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "handler", + "content": { + "type": "SYMBOL", + "name": "catch_clause" + } + }, + { + "type": "BLANK" + } + ] }, { "type": "CHOICE", @@ -1476,20 +1402,16 @@ "value": "return" }, { - "type": "FIELD", - "name": "expressions", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "_expressions" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_expressions" + }, + { + "type": "BLANK" + } + ] }, { "type": "SYMBOL", @@ -1505,12 +1427,8 @@ "value": "throw" }, { - "type": "FIELD", - "name": "expressions", - "content": { - "type": "SYMBOL", - "name": "_expressions" - } + "type": "SYMBOL", + "name": "_expressions" }, { "type": "SYMBOL", @@ -1730,12 +1648,8 @@ "value": "(" }, { - "type": "FIELD", - "name": "expressions", - "content": { - "type": "SYMBOL", - "name": "_expressions" - } + "type": "SYMBOL", + "name": "_expressions" }, { "type": "STRING", @@ -1753,10 +1667,6 @@ { "type": "SYMBOL", "name": "sequence_expression" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" } ] }, @@ -1775,10 +1685,6 @@ "type": "SYMBOL", "name": "_jsx_element" }, - { - "type": "SYMBOL", - "name": "jsx_fragment" - }, { "type": "SYMBOL", "name": "assignment_expression" @@ -1881,10 +1787,6 @@ "type": "SYMBOL", "name": "null" }, - { - "type": "SYMBOL", - "name": "import" - }, { "type": "SYMBOL", "name": "object" @@ -1895,7 +1797,7 @@ }, { "type": "SYMBOL", - "name": "function" + "name": "function_expression" }, { "type": "SYMBOL", @@ -1940,12 +1842,8 @@ "value": "*" }, { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "expression" - } + "type": "SYMBOL", + "name": "expression" } ] }, @@ -1953,12 +1851,8 @@ "type": "CHOICE", "members": [ { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "expression" - } + "type": "SYMBOL", + "name": "expression" }, { "type": "BLANK" @@ -1981,119 +1875,115 @@ "value": "{" }, { - "type": "FIELD", - "name": "properties", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "pair" + }, + { + "type": "SYMBOL", + "name": "spread_element" + }, + { + "type": "SYMBOL", + "name": "method_definition" + }, + { + "type": "ALIAS", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "_reserved_identifier" + } + ] + }, + "named": true, + "value": "shorthand_property_identifier" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", "members": [ + { + "type": "STRING", + "value": "," + }, { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "pair" - }, - { - "type": "SYMBOL", - "name": "spread_element" - }, - { - "type": "SYMBOL", - "name": "method_definition" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "pair" + }, + { + "type": "SYMBOL", + "name": "spread_element" + }, + { + "type": "SYMBOL", + "name": "method_definition" + }, + { + "type": "ALIAS", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "_reserved_identifier" + } + ] + }, + "named": true, + "value": "shorthand_property_identifier" + } + ] }, { - "type": "ALIAS", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "SYMBOL", - "name": "_reserved_identifier" - } - ] - }, - "named": true, - "value": "shorthand_property_identifier" + "type": "BLANK" } ] - }, - { - "type": "BLANK" } ] - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "CHOICE", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "pair" - }, - { - "type": "SYMBOL", - "name": "spread_element" - }, - { - "type": "SYMBOL", - "name": "method_definition" - }, - { - "type": "ALIAS", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "SYMBOL", - "name": "_reserved_identifier" - } - ] - }, - "named": true, - "value": "shorthand_property_identifier" - } - ] - }, - { - "type": "BLANK" - } - ] - } - ] - } } - ] - }, - { - "type": "BLANK" - } - ] - } + } + ] + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -2113,119 +2003,115 @@ "value": "{" }, { - "type": "FIELD", - "name": "properties", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", - "members": [ + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "pair_pattern" + }, + { + "type": "SYMBOL", + "name": "rest_pattern" + }, + { + "type": "SYMBOL", + "name": "object_assignment_pattern" + }, + { + "type": "ALIAS", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "_reserved_identifier" + } + ] + }, + "named": true, + "value": "shorthand_property_identifier_pattern" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "pair_pattern" - }, - { - "type": "SYMBOL", - "name": "rest_pattern" - }, - { - "type": "SYMBOL", - "name": "object_assignment_pattern" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "pair_pattern" + }, + { + "type": "SYMBOL", + "name": "rest_pattern" + }, + { + "type": "SYMBOL", + "name": "object_assignment_pattern" + }, + { + "type": "ALIAS", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "_reserved_identifier" + } + ] + }, + "named": true, + "value": "shorthand_property_identifier_pattern" + } + ] }, { - "type": "ALIAS", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "SYMBOL", - "name": "_reserved_identifier" - } - ] - }, - "named": true, - "value": "shorthand_property_identifier_pattern" + "type": "BLANK" } ] - }, - { - "type": "BLANK" } ] - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "CHOICE", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "pair_pattern" - }, - { - "type": "SYMBOL", - "name": "rest_pattern" - }, - { - "type": "SYMBOL", - "name": "object_assignment_pattern" - }, - { - "type": "ALIAS", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "SYMBOL", - "name": "_reserved_identifier" - } - ] - }, - "named": true, - "value": "shorthand_property_identifier_pattern" - } - ] - }, - { - "type": "BLANK" - } - ] - } - ] - } } - ] - }, - { - "type": "BLANK" - } - ] - } + } + ] + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -2315,75 +2201,71 @@ "value": "[" }, { - "type": "FIELD", - "name": "elements", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "SYMBOL", + "name": "spread_element" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", "members": [ + { + "type": "STRING", + "value": "," + }, { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "expression" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "SYMBOL", + "name": "spread_element" + } + ] }, { - "type": "SYMBOL", - "name": "spread_element" + "type": "BLANK" } ] - }, - { - "type": "BLANK" } ] - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "CHOICE", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "expression" - }, - { - "type": "SYMBOL", - "name": "spread_element" - } - ] - }, - { - "type": "BLANK" - } - ] - } - ] - } } - ] - }, - { - "type": "BLANK" - } - ] - } + } + ] + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -2399,75 +2281,71 @@ "value": "[" }, { - "type": "FIELD", - "name": "elements", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "pattern" + }, + { + "type": "SYMBOL", + "name": "assignment_pattern" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", "members": [ + { + "type": "STRING", + "value": "," + }, { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "pattern" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "pattern" + }, + { + "type": "SYMBOL", + "name": "assignment_pattern" + } + ] }, { - "type": "SYMBOL", - "name": "assignment_pattern" + "type": "BLANK" } ] - }, - { - "type": "BLANK" } ] - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "CHOICE", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "pattern" - }, - { - "type": "SYMBOL", - "name": "assignment_pattern" - } - ] - }, - { - "type": "BLANK" - } - ] - } - ] - } } - ] - }, - { - "type": "BLANK" - } - ] - } + } + ] + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -2580,14 +2458,10 @@ } }, { - "type": "FIELD", - "name": "children", + "type": "REPEAT", "content": { - "type": "REPEAT", - "content": { - "type": "SYMBOL", - "name": "_jsx_child" - } + "type": "SYMBOL", + "name": "_jsx_child" } }, { @@ -2600,45 +2474,22 @@ } ] }, - "jsx_fragment": { - "type": "SEQ", + "jsx_text": { + "type": "CHOICE", "members": [ { - "type": "STRING", - "value": "<" - }, - { - "type": "STRING", - "value": ">" - }, - { - "type": "FIELD", - "name": "children", - "content": { - "type": "REPEAT", - "content": { - "type": "SYMBOL", - "name": "_jsx_child" - } - } - }, - { - "type": "STRING", - "value": "<" - }, - { - "type": "STRING", - "value": "/" + "type": "PATTERN", + "value": "[^{}<>\\n& ]([^{}<>\\n&]*[^{}<>\\n& ])?" }, { - "type": "STRING", - "value": ">" + "type": "PATTERN", + "value": "\\/\\/[^\\n]*" } ] }, - "jsx_text": { + "html_character_reference": { "type": "PATTERN", - "value": "[^{}<>]+" + "value": "&(#([xX][0-9a-fA-F]{1,6}|[0-9]{1,5})|[A-Za-z]{1,30});" }, "jsx_expression": { "type": "SEQ", @@ -2648,33 +2499,29 @@ "value": "{" }, { - "type": "FIELD", - "name": "expression", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "expression" - }, - { - "type": "SYMBOL", - "name": "sequence_expression" - }, - { - "type": "SYMBOL", - "name": "spread_element" - } - ] - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "SYMBOL", + "name": "sequence_expression" + }, + { + "type": "SYMBOL", + "name": "spread_element" + } + ] + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -2691,19 +2538,15 @@ }, { "type": "SYMBOL", - "name": "_jsx_element" + "name": "html_character_reference" }, { "type": "SYMBOL", - "name": "jsx_fragment" + "name": "_jsx_element" }, { "type": "SYMBOL", "name": "jsx_expression" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" } ] }, @@ -2718,23 +2561,36 @@ "value": "<" }, { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "_jsx_element_name" - } - }, - { - "type": "REPEAT", - "content": { - "type": "FIELD", - "name": "attribute", - "content": { - "type": "SYMBOL", - "name": "_jsx_attribute" + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "_jsx_element_name" + } + }, + { + "type": "REPEAT", + "content": { + "type": "FIELD", + "name": "attribute", + "content": { + "type": "SYMBOL", + "name": "_jsx_attribute" + } + } + } + ] + }, + { + "type": "BLANK" } - } + ] }, { "type": "STRING", @@ -2772,25 +2628,26 @@ "type": "SEQ", "members": [ { - "type": "CHOICE", - "members": [ - { - "type": "FIELD", - "name": "base", - "content": { + "type": "FIELD", + "name": "object", + "content": { + "type": "CHOICE", + "members": [ + { "type": "SYMBOL", "name": "identifier" + }, + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "nested_identifier" + }, + "named": true, + "value": "member_expression" } - }, - { - "type": "FIELD", - "name": "nested", - "content": { - "type": "SYMBOL", - "name": "nested_identifier" - } - } - ] + ] + } }, { "type": "STRING", @@ -2798,10 +2655,15 @@ }, { "type": "FIELD", - "name": "terminal", + "name": "property", "content": { - "type": "SYMBOL", - "name": "identifier" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "identifier" + }, + "named": true, + "value": "property_identifier" } } ] @@ -2811,24 +2673,16 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "left", - "content": { - "type": "SYMBOL", - "name": "_jsx_identifier" - } + "type": "SYMBOL", + "name": "_jsx_identifier" }, { "type": "STRING", "value": ":" }, { - "type": "FIELD", - "name": "right", - "content": { - "type": "SYMBOL", - "name": "_jsx_identifier" - } + "type": "SYMBOL", + "name": "_jsx_identifier" } ] }, @@ -2840,8 +2694,13 @@ "name": "_jsx_identifier" }, { - "type": "SYMBOL", - "name": "nested_identifier" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "nested_identifier" + }, + "named": true, + "value": "member_expression" }, { "type": "SYMBOL", @@ -2853,20 +2712,24 @@ "type": "SEQ", "members": [ { - "type": "STRING", - "value": "<" - }, - { - "type": "STRING", - "value": "/" - }, - { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "_jsx_element_name" - } + "type": "STRING", + "value": "" + "value": "/>" } ] }, @@ -2941,54 +2800,142 @@ } ] }, - "jsx_assigned_attribute": { + "jsx_attribute": { "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "_jsx_attribute_name" - } + "type": "SYMBOL", + "name": "_jsx_attribute_name" }, { - "type": "STRING", - "value": "=" + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "=" + }, + { + "type": "SYMBOL", + "name": "_jsx_attribute_value" + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "_jsx_string": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\"" + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "unescaped_double_jsx_string_fragment" + }, + "named": true, + "value": "string_fragment" + }, + { + "type": "SYMBOL", + "name": "html_character_reference" + } + ] + } + }, + { + "type": "STRING", + "value": "\"" + } + ] }, { - "type": "FIELD", - "name": "value", - "content": { - "type": "SYMBOL", - "name": "_jsx_attribute_value" - } + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "'" + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "unescaped_single_jsx_string_fragment" + }, + "named": true, + "value": "string_fragment" + }, + { + "type": "SYMBOL", + "name": "html_character_reference" + } + ] + } + }, + { + "type": "STRING", + "value": "'" + } + ] } ] }, - "jsx_attribute": { - "type": "FIELD", - "name": "attribute", + "unescaped_double_jsx_string_fragment": { + "type": "IMMEDIATE_TOKEN", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "_jsx_attribute_name" - }, - { - "type": "SYMBOL", - "name": "jsx_assigned_attribute" - } - ] + "type": "PREC", + "value": 1, + "content": { + "type": "PATTERN", + "value": "[^\"&]+" + } + } + }, + "unescaped_single_jsx_string_fragment": { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "PREC", + "value": 1, + "content": { + "type": "PATTERN", + "value": "[^'&]+" + } } }, "_jsx_attribute_value": { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "string" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_jsx_string" + }, + "named": true, + "value": "string" }, { "type": "SYMBOL", @@ -2997,10 +2944,6 @@ { "type": "SYMBOL", "name": "_jsx_element" - }, - { - "type": "SYMBOL", - "name": "jsx_fragment" } ] }, @@ -3042,20 +2985,16 @@ } }, { - "type": "FIELD", - "name": "heritage", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "class_heritage" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "class_heritage" + }, + { + "type": "BLANK" + } + ] }, { "type": "FIELD", @@ -3098,20 +3037,16 @@ } }, { - "type": "FIELD", - "name": "heritage", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "class_heritage" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "class_heritage" + }, + { + "type": "BLANK" + } + ] }, { "type": "FIELD", @@ -3144,36 +3079,28 @@ "value": "extends" }, { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "expression" - } + "type": "SYMBOL", + "name": "expression" } ] }, - "function": { + "function_expression": { "type": "PREC", "value": "literal", "content": { "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "async", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "async" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "async" + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -3206,55 +3133,27 @@ "type": "SYMBOL", "name": "statement_block" } - } - ] - } - }, - "async": { - "type": "STRING", - "value": "async" - }, - "let": { - "type": "STRING", - "value": "let" - }, - "const": { - "type": "STRING", - "value": "const" - }, - "var": { - "type": "STRING", - "value": "var" - }, - "in": { - "type": "STRING", - "value": "in" - }, - "of": { - "type": "STRING", - "value": "of" - }, - "function_declaration": { - "type": "PREC_RIGHT", - "value": "declaration", - "content": { - "type": "SEQ", - "members": [ - { - "type": "FIELD", - "name": "async", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "async" - }, - { - "type": "BLANK" - } - ] - } + } + ] + } + }, + "function_declaration": { + "type": "PREC_RIGHT", + "value": "declaration", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "async" + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -3302,20 +3201,16 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "async", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "async" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "async" + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -3363,20 +3258,16 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "async", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "async" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "async" + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -3425,27 +3316,23 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "async", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "async" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "async" + }, + { + "type": "BLANK" + } + ] }, { "type": "CHOICE", "members": [ { "type": "FIELD", - "name": "parameters", + "name": "parameter", "content": { "type": "CHOICE", "members": [ @@ -3495,8 +3382,12 @@ ] }, "_call_signature": { - "type": "SYMBOL", - "name": "_formal_parameters" + "type": "FIELD", + "name": "parameters", + "content": { + "type": "SYMBOL", + "name": "formal_parameters" + } }, "_formal_parameter": { "type": "CHOICE", @@ -3515,10 +3406,6 @@ "type": "STRING", "value": "?." }, - "chain": { - "type": "STRING", - "value": "." - }, "call_expression": { "type": "CHOICE", "members": [ @@ -3532,26 +3419,35 @@ "type": "FIELD", "name": "function", "content": { - "type": "SYMBOL", - "name": "expression" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "SYMBOL", + "name": "import" + } + ] } }, { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "_arguments" - }, - { - "type": "FIELD", - "name": "arguments", - "content": { + "type": "FIELD", + "name": "arguments", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "arguments" + }, + { "type": "SYMBOL", "name": "template_string" } - } - ] + ] + } } ] } @@ -3579,8 +3475,12 @@ } }, { - "type": "SYMBOL", - "name": "_arguments" + "type": "FIELD", + "name": "arguments", + "content": { + "type": "SYMBOL", + "name": "arguments" + } } ] } @@ -3615,20 +3515,24 @@ } }, { - "type": "CHOICE", - "members": [ - { - "type": "PREC_DYNAMIC", - "value": 1, - "content": { - "type": "SYMBOL", - "name": "_arguments" + "type": "FIELD", + "name": "arguments", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "PREC_DYNAMIC", + "value": 1, + "content": { + "type": "SYMBOL", + "name": "arguments" + } + }, + { + "type": "BLANK" } - }, - { - "type": "BLANK" - } - ] + ] + } } ] } @@ -3644,12 +3548,8 @@ "value": "await" }, { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "expression" - } + "type": "SYMBOL", + "name": "expression" } ] } @@ -3673,6 +3573,10 @@ { "type": "SYMBOL", "name": "primary_expression" + }, + { + "type": "SYMBOL", + "name": "import" } ] } @@ -3681,16 +3585,12 @@ "type": "CHOICE", "members": [ { - "type": "FIELD", - "name": "chain", - "content": { - "type": "SYMBOL", - "name": "chain" - } + "type": "STRING", + "value": "." }, { "type": "FIELD", - "name": "chain", + "name": "optional_chain", "content": { "type": "SYMBOL", "name": "optional_chain" @@ -3900,64 +3800,64 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "plus_equal" + "type": "STRING", + "value": "+=" }, { - "type": "SYMBOL", - "name": "minus_equal" + "type": "STRING", + "value": "-=" }, { - "type": "SYMBOL", - "name": "times_equal" + "type": "STRING", + "value": "*=" }, { - "type": "SYMBOL", - "name": "divide_equal" + "type": "STRING", + "value": "/=" }, { - "type": "SYMBOL", - "name": "modulo_equal" + "type": "STRING", + "value": "%=" }, { - "type": "SYMBOL", - "name": "xor_equal" + "type": "STRING", + "value": "^=" }, { - "type": "SYMBOL", - "name": "and_equal" + "type": "STRING", + "value": "&=" }, { - "type": "SYMBOL", - "name": "or_equal" + "type": "STRING", + "value": "|=" }, { - "type": "SYMBOL", - "name": "right_shift_equal" + "type": "STRING", + "value": ">>=" }, { - "type": "SYMBOL", - "name": "unsigned_right_shift_equal" + "type": "STRING", + "value": ">>>=" }, { - "type": "SYMBOL", - "name": "left_shift_equal" + "type": "STRING", + "value": "<<=" }, { - "type": "SYMBOL", - "name": "exponent_equal" + "type": "STRING", + "value": "**=" }, { - "type": "SYMBOL", - "name": "logical_and_equal" + "type": "STRING", + "value": "&&=" }, { - "type": "SYMBOL", - "name": "logical_or_equal" + "type": "STRING", + "value": "||=" }, { - "type": "SYMBOL", - "name": "logical_nullish_equal" + "type": "STRING", + "value": "??=" } ] } @@ -3973,66 +3873,6 @@ ] } }, - "plus_equal": { - "type": "STRING", - "value": "+=" - }, - "minus_equal": { - "type": "STRING", - "value": "-=" - }, - "times_equal": { - "type": "STRING", - "value": "*=" - }, - "divide_equal": { - "type": "STRING", - "value": "/=" - }, - "modulo_equal": { - "type": "STRING", - "value": "%=" - }, - "xor_equal": { - "type": "STRING", - "value": "^=" - }, - "and_equal": { - "type": "STRING", - "value": "&=" - }, - "or_equal": { - "type": "STRING", - "value": "|=" - }, - "right_shift_equal": { - "type": "STRING", - "value": ">>=" - }, - "unsigned_right_shift_equal": { - "type": "STRING", - "value": ">>>=" - }, - "left_shift_equal": { - "type": "STRING", - "value": "<<=" - }, - "exponent_equal": { - "type": "STRING", - "value": "**=" - }, - "logical_and_equal": { - "type": "STRING", - "value": "&&=" - }, - "logical_or_equal": { - "type": "STRING", - "value": "||=" - }, - "logical_nullish_equal": { - "type": "STRING", - "value": "??=" - }, "_initializer": { "type": "SEQ", "members": [ @@ -4071,12 +3911,8 @@ "value": "..." }, { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "expression" - } + "type": "SYMBOL", + "name": "expression" } ] }, @@ -4147,8 +3983,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "logical_and" + "type": "STRING", + "value": "&&" } }, { @@ -4180,8 +4016,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "logical_or" + "type": "STRING", + "value": "||" } }, { @@ -4213,8 +4049,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "binary_right_shift" + "type": "STRING", + "value": ">>" } }, { @@ -4246,8 +4082,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "binary_unsigned_right_shift" + "type": "STRING", + "value": ">>>" } }, { @@ -4279,8 +4115,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "binary_left_shift" + "type": "STRING", + "value": "<<" } }, { @@ -4312,8 +4148,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "bitwise_and" + "type": "STRING", + "value": "&" } }, { @@ -4345,8 +4181,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "bitwise_xor" + "type": "STRING", + "value": "^" } }, { @@ -4378,8 +4214,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "bitwise_or" + "type": "STRING", + "value": "|" } }, { @@ -4411,8 +4247,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "plus" + "type": "STRING", + "value": "+" } }, { @@ -4444,8 +4280,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "minus" + "type": "STRING", + "value": "-" } }, { @@ -4477,8 +4313,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "binary_times" + "type": "STRING", + "value": "*" } }, { @@ -4510,8 +4346,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "binary_divide" + "type": "STRING", + "value": "/" } }, { @@ -4543,8 +4379,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "binary_modulo" + "type": "STRING", + "value": "%" } }, { @@ -4576,8 +4412,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "binary_exp" + "type": "STRING", + "value": "**" } }, { @@ -4609,8 +4445,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "less_than" + "type": "STRING", + "value": "<" } }, { @@ -4642,8 +4478,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "less_than_or_equal" + "type": "STRING", + "value": "<=" } }, { @@ -4675,8 +4511,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "equal" + "type": "STRING", + "value": "==" } }, { @@ -4708,8 +4544,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "strict_equal" + "type": "STRING", + "value": "===" } }, { @@ -4741,8 +4577,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "not_equal" + "type": "STRING", + "value": "!=" } }, { @@ -4774,8 +4610,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "strict_not_equal" + "type": "STRING", + "value": "!==" } }, { @@ -4807,8 +4643,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "greater_than_or_equal" + "type": "STRING", + "value": ">=" } }, { @@ -4840,8 +4676,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "greater_than" + "type": "STRING", + "value": ">" } }, { @@ -4873,8 +4709,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "logical_nullish" + "type": "STRING", + "value": "??" } }, { @@ -4906,8 +4742,8 @@ "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "instanceof" + "type": "STRING", + "value": "instanceof" } }, { @@ -4931,16 +4767,25 @@ "type": "FIELD", "name": "left", "content": { - "type": "SYMBOL", - "name": "expression" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "SYMBOL", + "name": "private_property_identifier" + } + ] } }, { "type": "FIELD", "name": "operator", "content": { - "type": "SYMBOL", - "name": "in" + "type": "STRING", + "value": "in" } }, { @@ -4956,102 +4801,6 @@ } ] }, - "logical_and": { - "type": "STRING", - "value": "&&" - }, - "logical_or": { - "type": "STRING", - "value": "||" - }, - "binary_right_shift": { - "type": "STRING", - "value": ">>" - }, - "binary_unsigned_right_shift": { - "type": "STRING", - "value": ">>>" - }, - "binary_left_shift": { - "type": "STRING", - "value": "<<" - }, - "bitwise_and": { - "type": "STRING", - "value": "&" - }, - "bitwise_xor": { - "type": "STRING", - "value": "^" - }, - "bitwise_or": { - "type": "STRING", - "value": "|" - }, - "plus": { - "type": "STRING", - "value": "+" - }, - "minus": { - "type": "STRING", - "value": "-" - }, - "binary_times": { - "type": "STRING", - "value": "*" - }, - "binary_divide": { - "type": "STRING", - "value": "/" - }, - "binary_modulo": { - "type": "STRING", - "value": "%" - }, - "binary_exp": { - "type": "STRING", - "value": "**" - }, - "less_than": { - "type": "STRING", - "value": "<" - }, - "less_than_or_equal": { - "type": "STRING", - "value": "<=" - }, - "equal": { - "type": "STRING", - "value": "==" - }, - "strict_equal": { - "type": "STRING", - "value": "===" - }, - "not_equal": { - "type": "STRING", - "value": "!=" - }, - "strict_not_equal": { - "type": "STRING", - "value": "!==" - }, - "greater_than_or_equal": { - "type": "STRING", - "value": ">=" - }, - "greater_than": { - "type": "STRING", - "value": ">" - }, - "logical_nullish": { - "type": "STRING", - "value": "??" - }, - "instanceof": { - "type": "STRING", - "value": "instanceof" - }, "unary_expression": { "type": "PREC_LEFT", "value": "unary_void", @@ -5065,32 +4814,32 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "not" + "type": "STRING", + "value": "!" }, { - "type": "SYMBOL", - "name": "bitwise_not" + "type": "STRING", + "value": "~" }, { - "type": "SYMBOL", - "name": "minus" + "type": "STRING", + "value": "-" }, { - "type": "SYMBOL", - "name": "plus" + "type": "STRING", + "value": "+" }, { - "type": "SYMBOL", - "name": "typeof" + "type": "STRING", + "value": "typeof" }, { - "type": "SYMBOL", - "name": "void" + "type": "STRING", + "value": "void" }, { - "type": "SYMBOL", - "name": "delete" + "type": "STRING", + "value": "delete" } ] } @@ -5106,26 +4855,6 @@ ] } }, - "not": { - "type": "STRING", - "value": "!" - }, - "bitwise_not": { - "type": "STRING", - "value": "~" - }, - "typeof": { - "type": "STRING", - "value": "typeof" - }, - "void": { - "type": "STRING", - "value": "void" - }, - "delete": { - "type": "STRING", - "value": "delete" - }, "update_expression": { "type": "PREC_LEFT", "value": 0, @@ -5150,12 +4879,12 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "increment" + "type": "STRING", + "value": "++" }, { - "type": "SYMBOL", - "name": "decrement" + "type": "STRING", + "value": "--" } ] } @@ -5172,12 +4901,12 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "increment" + "type": "STRING", + "value": "++" }, { - "type": "SYMBOL", - "name": "decrement" + "type": "STRING", + "value": "--" } ] } @@ -5195,47 +4924,34 @@ ] } }, - "increment": { - "type": "STRING", - "value": "++" - }, - "decrement": { - "type": "STRING", - "value": "--" - }, "sequence_expression": { - "type": "SEQ", - "members": [ - { - "type": "FIELD", - "name": "left", - "content": { + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "SEQ", + "members": [ + { "type": "SYMBOL", "name": "expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "expression" + } + ] + } } - }, - { - "type": "STRING", - "value": "," - }, - { - "type": "FIELD", - "name": "right", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "sequence_expression" - }, - { - "type": "SYMBOL", - "name": "expression" - } - ] - } - } - ] + ] + } }, "string": { "type": "CHOICE", @@ -5248,35 +4964,22 @@ "value": "\"" }, { - "type": "FIELD", - "name": "fragment", + "type": "REPEAT", "content": { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "grit_metavariable" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "unescaped_double_string_fragment" + }, + "named": true, + "value": "string_fragment" }, { - "type": "REPEAT", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "unescaped_double_string_fragment" - }, - "named": true, - "value": "string_fragment" - }, - { - "type": "SYMBOL", - "name": "escape_sequence" - } - ] - } + "type": "SYMBOL", + "name": "escape_sequence" } ] } @@ -5295,35 +4998,22 @@ "value": "'" }, { - "type": "FIELD", - "name": "fragment", + "type": "REPEAT", "content": { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "grit_metavariable" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "unescaped_single_string_fragment" + }, + "named": true, + "value": "string_fragment" }, { - "type": "REPEAT", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "unescaped_single_string_fragment" - }, - "named": true, - "value": "string_fragment" - }, - { - "type": "SYMBOL", - "name": "escape_sequence" - } - ] - } + "type": "SYMBOL", + "name": "escape_sequence" } ] } @@ -5343,7 +5033,7 @@ "value": 1, "content": { "type": "PATTERN", - "value": "[^\"\\\\]+" + "value": "[^\"\\\\\\r\\n]+" } } }, @@ -5354,7 +5044,7 @@ "value": 1, "content": { "type": "PATTERN", - "value": "[^'\\\\]+" + "value": "[^'\\\\\\r\\n]+" } } }, @@ -5380,82 +5070,67 @@ }, { "type": "PATTERN", - "value": "x[0-9a-fA-F]{2}" - }, - { - "type": "PATTERN", - "value": "u[0-9a-fA-F]{4}" - }, - { - "type": "PATTERN", - "value": "u{[0-9a-fA-F]+}" - } - ] - } - ] - } - }, - "comment": { - "type": "TOKEN", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "//" - }, - { - "type": "PATTERN", - "value": ".*" - } - ] - }, - { - "type": "SEQ", - "members": [ + "value": "x[0-9a-fA-F]{2}" + }, { - "type": "STRING", - "value": "/*" + "type": "PATTERN", + "value": "u[0-9a-fA-F]{4}" }, { "type": "PATTERN", - "value": "[^*]*\\*+([^/*][^*]*\\*+)*" + "value": "u{[0-9a-fA-F]+}" }, { - "type": "STRING", - "value": "/" + "type": "PATTERN", + "value": "[\\r?][\\n\\u2028\\u2029]" } ] } ] } }, - "template_content": { - "type": "FIELD", - "name": "content", - "content": { - "type": "REPEAT1", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "template_chars" - }, - { - "type": "SYMBOL", - "name": "escape_sequence" - }, - { - "type": "SYMBOL", - "name": "template_substitution" - } - ] + "comment": { + "type": "CHOICE", + "members": [ + { + "type": "TOKEN", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "//" + }, + { + "type": "PATTERN", + "value": ".*" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "/*" + }, + { + "type": "PATTERN", + "value": "[^*]*\\*+([^/*][^*]*\\*+)*" + }, + { + "type": "STRING", + "value": "/" + } + ] + } + ] + } } - } + ] }, "template_string": { "type": "SEQ", @@ -5465,20 +5140,29 @@ "value": "`" }, { - "type": "CHOICE", - "members": [ - { - "type": "FIELD", - "name": "template", - "content": { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_template_chars" + }, + "named": true, + "value": "string_fragment" + }, + { "type": "SYMBOL", - "name": "template_content" + "name": "escape_sequence" + }, + { + "type": "SYMBOL", + "name": "template_substitution" } - }, - { - "type": "BLANK" - } - ] + ] + } }, { "type": "STRING", @@ -5494,12 +5178,8 @@ "value": "${" }, { - "type": "FIELD", - "name": "expressions", - "content": { - "type": "SYMBOL", - "name": "_expressions" - } + "type": "SYMBOL", + "name": "_expressions" }, { "type": "STRING", @@ -5525,8 +5205,12 @@ { "type": "IMMEDIATE_TOKEN", "content": { - "type": "STRING", - "value": "/" + "type": "PREC", + "value": 1, + "content": { + "type": "STRING", + "value": "/" + } } }, { @@ -6127,19 +5811,6 @@ ] }, "identifier": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "_primitive_identifier" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" - } - ] - }, - "_primitive_identifier": { "type": "TOKEN", "content": { "type": "SEQ", @@ -6222,7 +5893,7 @@ "type": "STRING", "value": "undefined" }, - "_arguments": { + "arguments": { "type": "SEQ", "members": [ { @@ -6230,75 +5901,71 @@ "value": "(" }, { - "type": "FIELD", - "name": "arguments", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "SYMBOL", + "name": "spread_element" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", "members": [ + { + "type": "STRING", + "value": "," + }, { "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "expression" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "SYMBOL", + "name": "spread_element" + } + ] }, { - "type": "SYMBOL", - "name": "spread_element" + "type": "BLANK" } ] - }, - { - "type": "BLANK" } ] - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "CHOICE", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "expression" - }, - { - "type": "SYMBOL", - "name": "spread_element" - } - ] - }, - { - "type": "BLANK" - } - ] - } - ] - } } - ] - }, - { - "type": "BLANK" - } - ] - } + } + ] + }, + { + "type": "BLANK" + } + ] }, { "type": "STRING", @@ -6314,35 +5981,31 @@ "value": "@" }, { - "type": "FIELD", - "name": "identifier", - "content": { - "type": "CHOICE", - "members": [ - { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "ALIAS", + "content": { "type": "SYMBOL", - "name": "identifier" + "name": "decorator_member_expression" }, - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "decorator_member_expression" - }, - "named": true, - "value": "member_expression" + "named": true, + "value": "member_expression" + }, + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "decorator_call_expression" }, - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "decorator_call_expression" - }, - "named": true, - "value": "call_expression" - } - ] - } + "named": true, + "value": "call_expression" + } + ] } ] }, @@ -6423,8 +6086,12 @@ } }, { - "type": "SYMBOL", - "name": "_arguments" + "type": "FIELD", + "name": "arguments", + "content": { + "type": "SYMBOL", + "name": "arguments" + } } ] } @@ -6498,6 +6165,10 @@ "type": "SYMBOL", "name": "glimmer_template" } + }, + { + "type": "STRING", + "value": ";" } ] } @@ -6508,10 +6179,6 @@ } ] }, - "static": { - "type": "STRING", - "value": "static" - }, "field_definition": { "type": "SEQ", "members": [ @@ -6527,20 +6194,16 @@ } }, { - "type": "FIELD", - "name": "static", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "static" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "static" + }, + { + "type": "BLANK" + } + ] }, { "type": "FIELD", @@ -6564,21 +6227,12 @@ } ] }, - "_formal_parameters": { + "formal_parameters": { "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "parenthesis", - "content": { - "type": "ALIAS", - "content": { - "type": "STRING", - "value": "(" - }, - "named": true, - "value": "l_parenthesis" - } + "type": "STRING", + "value": "(" }, { "type": "CHOICE", @@ -6587,33 +6241,29 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "parameters", - "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "_formal_parameter" - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "SYMBOL", - "name": "_formal_parameter" - } - ] - } + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_formal_parameter" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "_formal_parameter" + } + ] } - ] - } + } + ] }, { "type": "CHOICE", @@ -6635,17 +6285,8 @@ ] }, { - "type": "FIELD", - "name": "parenthesis", - "content": { - "type": "ALIAS", - "content": { - "type": "STRING", - "value": ")" - }, - "named": true, - "value": "r_parenthesis" - } + "type": "STRING", + "value": ")" } ] }, @@ -6653,8 +6294,8 @@ "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "static" + "type": "STRING", + "value": "static" }, { "type": "FIELD", @@ -6679,10 +6320,6 @@ { "type": "SYMBOL", "name": "rest_pattern" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" } ] } @@ -6698,12 +6335,8 @@ "value": "..." }, { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "_lhs_expression" - } + "type": "SYMBOL", + "name": "_lhs_expression" } ] } @@ -6723,36 +6356,62 @@ } }, { - "type": "FIELD", - "name": "static", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "static" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "static" + }, + { + "type": "ALIAS", + "content": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "static" + }, + { + "type": "PATTERN", + "value": "\\s+" + }, + { + "type": "STRING", + "value": "get" + }, + { + "type": "PATTERN", + "value": "\\s*\\n" + } + ] + } + }, + "named": false, + "value": "static get" + } + ] + }, + { + "type": "BLANK" + } + ] }, { - "type": "FIELD", - "name": "async", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "async" - }, - { - "type": "BLANK" - } - ] - } + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "async" + }, + { + "type": "BLANK" + } + ] }, { "type": "CHOICE", @@ -6788,8 +6447,12 @@ } }, { - "type": "SYMBOL", - "name": "_formal_parameters" + "type": "FIELD", + "name": "parameters", + "content": { + "type": "SYMBOL", + "name": "formal_parameters" + } }, { "type": "FIELD", @@ -6896,10 +6559,6 @@ { "type": "SYMBOL", "name": "computed_property_name" - }, - { - "type": "SYMBOL", - "name": "grit_metavariable" } ] }, @@ -6911,12 +6570,8 @@ "value": "[" }, { - "type": "FIELD", - "name": "expression", - "content": { - "type": "SYMBOL", - "name": "expression" - } + "type": "SYMBOL", + "name": "expression" }, { "type": "STRING", @@ -6936,16 +6591,20 @@ "value": "set" }, { - "type": "SYMBOL", - "name": "async" + "type": "STRING", + "value": "async" }, { - "type": "SYMBOL", - "name": "static" + "type": "STRING", + "value": "static" }, { "type": "STRING", "value": "export" + }, + { + "type": "STRING", + "value": "let" } ] }, @@ -6961,26 +6620,6 @@ "value": ";" } ] - }, - "grit_metavariable": { - "type": "TOKEN", - "content": { - "type": "PREC", - "value": 100, - "content": { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "µ..." - }, - { - "type": "PATTERN", - "value": "µ[a-zA-Z_][a-zA-Z0-9_]*" - } - ] - } - } } }, "extras": [ @@ -6988,9 +6627,13 @@ "type": "SYMBOL", "name": "comment" }, + { + "type": "SYMBOL", + "name": "html_comment" + }, { "type": "PATTERN", - "value": "[\\s\\p{Zs}\\uFEFF\\u2060\\u200B]" + "value": "[\\s\\p{Zs}\\uFEFF\\u2028\\u2029\\u2060\\u200B]" } ], "conflicts": [ @@ -7050,73 +6693,6 @@ [ "binary_expression", "_initializer" - ], - [ - "declaration", - "identifier" - ], - [ - "declaration", - "expression_statement", - "identifier" - ], - [ - "expression_statement", - "identifier" - ], - [ - "declaration", - "_property_name", - "identifier" - ], - [ - "_property_name", - "identifier" - ], - [ - "pattern", - "identifier" - ], - [ - "parenthesized_expression", - "pattern", - "identifier" - ], - [ - "return_statement", - "identifier" - ], - [ - "throw_statement", - "identifier" - ], - [ - "parenthesized_expression", - "identifier" - ], - [ - "template_substitution", - "identifier" - ], - [ - "subscript_expression", - "identifier" - ], - [ - "switch_case", - "identifier" - ], - [ - "_for_header", - "identifier" - ], - [ - "for_statement", - "identifier" - ], - [ - "named_imports", - "identifier" ] ], "precedences": [ @@ -7269,6 +6845,16 @@ "type": "SYMBOL", "name": "primary_expression" } + ], + [ + { + "type": "SYMBOL", + "name": "lexical_declaration" + }, + { + "type": "SYMBOL", + "name": "primary_expression" + } ] ], "externals": [ @@ -7278,11 +6864,27 @@ }, { "type": "SYMBOL", - "name": "template_chars" + "name": "_template_chars" }, { "type": "SYMBOL", "name": "_ternary_qmark" + }, + { + "type": "SYMBOL", + "name": "html_comment" + }, + { + "type": "STRING", + "value": "||" + }, + { + "type": "SYMBOL", + "name": "escape_sequence" + }, + { + "type": "SYMBOL", + "name": "regex_pattern" } ], "inline": [ @@ -7310,4 +6912,3 @@ "pattern" ] } - diff --git a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/node-types.json b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/node-types.json index 3a6daf3ad..ec93c93c8 100644 --- a/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/node-types.json +++ b/resources/language-metavariables/tree-sitter-typescript/node_modules/tree-sitter-javascript/src/node-types.json @@ -15,10 +15,6 @@ "type": "generator_function_declaration", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "lexical_declaration", "named": true @@ -57,10 +53,6 @@ "type": "jsx_element", "named": true }, - { - "type": "jsx_fragment", - "named": true - }, { "type": "jsx_self_closing_element", "named": true @@ -99,10 +91,6 @@ "type": "array_pattern", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "identifier", "named": true @@ -154,7 +142,7 @@ "named": true }, { - "type": "function", + "type": "function_expression", "named": true }, { @@ -165,10 +153,6 @@ "type": "identifier", "named": true }, - { - "type": "import", - "named": true - }, { "type": "member_expression", "named": true @@ -314,97 +298,66 @@ ] }, { - "type": "aliased_name", + "type": "arguments", "named": true, - "fields": { - "alias": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - } - ] - }, - "name": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - }, - { - "type": "string", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "spread_element", + "named": true + } + ] } }, { "type": "array", "named": true, - "fields": { - "elements": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "expression", - "named": true - }, - { - "type": "spread_element", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "spread_element", + "named": true + } + ] } }, { "type": "array_pattern", "named": true, - "fields": { - "elements": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "assignment_pattern", - "named": true - }, - { - "type": "pattern", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "assignment_pattern", + "named": true + }, + { + "type": "pattern", + "named": true + } + ] } }, { "type": "arrow_function", "named": true, "fields": { - "async": { - "multiple": false, - "required": false, - "types": [ - { - "type": "async", - "named": true - } - ] - }, "body": { "multiple": false, "required": true, @@ -419,34 +372,22 @@ } ] }, - "parameters": { - "multiple": true, + "parameter": { + "multiple": false, "required": false, "types": [ { - "type": ",", - "named": false - }, - { - "type": "assignment_pattern", - "named": true - }, - { - "type": "pattern", + "type": "identifier", "named": true } ] }, - "parenthesis": { - "multiple": true, + "parameters": { + "multiple": false, "required": false, "types": [ { - "type": "l_parenthesis", - "named": true - }, - { - "type": "r_parenthesis", + "type": "formal_parameters", "named": true } ] @@ -560,64 +501,64 @@ "required": true, "types": [ { - "type": "and_equal", - "named": true + "type": "%=", + "named": false }, { - "type": "divide_equal", - "named": true + "type": "&&=", + "named": false }, { - "type": "exponent_equal", - "named": true + "type": "&=", + "named": false }, { - "type": "left_shift_equal", - "named": true + "type": "**=", + "named": false }, { - "type": "logical_and_equal", - "named": true + "type": "*=", + "named": false }, { - "type": "logical_nullish_equal", - "named": true + "type": "+=", + "named": false }, { - "type": "logical_or_equal", - "named": true + "type": "-=", + "named": false }, { - "type": "minus_equal", - "named": true + "type": "/=", + "named": false }, { - "type": "modulo_equal", - "named": true + "type": "<<=", + "named": false }, { - "type": "or_equal", - "named": true + "type": ">>=", + "named": false }, { - "type": "plus_equal", - "named": true + "type": ">>>=", + "named": false }, { - "type": "right_shift_equal", - "named": true + "type": "??=", + "named": false }, { - "type": "times_equal", - "named": true + "type": "^=", + "named": false }, { - "type": "unsigned_right_shift_equal", - "named": true + "type": "|=", + "named": false }, { - "type": "xor_equal", - "named": true + "type": "||=", + "named": false } ] }, @@ -636,24 +577,18 @@ { "type": "await_expression", "named": true, - "fields": { - "expression": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] } }, - { - "type": "binary_divide", - "named": true, - "fields": {} - }, { "type": "binary_expression", "named": true, @@ -665,6 +600,10 @@ { "type": "expression", "named": true + }, + { + "type": "private_property_identifier", + "named": true } ] }, @@ -673,104 +612,104 @@ "required": true, "types": [ { - "type": "binary_divide", - "named": true + "type": "!=", + "named": false }, { - "type": "binary_exp", - "named": true + "type": "!==", + "named": false }, { - "type": "binary_left_shift", - "named": true + "type": "%", + "named": false }, { - "type": "binary_modulo", - "named": true + "type": "&", + "named": false }, { - "type": "binary_right_shift", - "named": true + "type": "&&", + "named": false }, { - "type": "binary_times", - "named": true + "type": "*", + "named": false }, { - "type": "binary_unsigned_right_shift", - "named": true + "type": "**", + "named": false }, { - "type": "bitwise_and", - "named": true + "type": "+", + "named": false }, { - "type": "bitwise_or", - "named": true + "type": "-", + "named": false }, { - "type": "bitwise_xor", - "named": true + "type": "/", + "named": false }, { - "type": "equal", - "named": true + "type": "<", + "named": false }, { - "type": "greater_than", - "named": true + "type": "<<", + "named": false }, { - "type": "greater_than_or_equal", - "named": true + "type": "<=", + "named": false }, { - "type": "in", - "named": true + "type": "==", + "named": false }, { - "type": "instanceof", - "named": true + "type": "===", + "named": false }, { - "type": "less_than", - "named": true + "type": ">", + "named": false }, { - "type": "less_than_or_equal", - "named": true + "type": ">=", + "named": false }, { - "type": "logical_and", - "named": true + "type": ">>", + "named": false }, { - "type": "logical_nullish", - "named": true + "type": ">>>", + "named": false }, { - "type": "logical_or", - "named": true + "type": "??", + "named": false }, { - "type": "minus", - "named": true + "type": "^", + "named": false }, { - "type": "not_equal", - "named": true + "type": "in", + "named": false }, { - "type": "plus", - "named": true + "type": "instanceof", + "named": false }, { - "type": "strict_equal", - "named": true + "type": "|", + "named": false }, { - "type": "strict_not_equal", - "named": true + "type": "||", + "named": false } ] }, @@ -786,11 +725,6 @@ } } }, - { - "type": "binary_times", - "named": true, - "fields": {} - }, { "type": "break_statement", "named": true, @@ -812,19 +746,11 @@ "named": true, "fields": { "arguments": { - "multiple": true, - "required": false, + "multiple": false, + "required": true, "types": [ { - "type": ",", - "named": false - }, - { - "type": "expression", - "named": true - }, - { - "type": "spread_element", + "type": "arguments", "named": true }, { @@ -840,6 +766,10 @@ { "type": "expression", "named": true + }, + { + "type": "import", + "named": true } ] }, @@ -889,11 +819,6 @@ } } }, - { - "type": "chain", - "named": true, - "fields": {} - }, { "type": "class", "named": true, @@ -918,16 +843,6 @@ } ] }, - "heritage": { - "multiple": false, - "required": false, - "types": [ - { - "type": "class_heritage", - "named": true - } - ] - }, "name": { "multiple": false, "required": false, @@ -938,6 +853,16 @@ } ] } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "class_heritage", + "named": true + } + ] } }, { @@ -998,16 +923,6 @@ } ] }, - "heritage": { - "multiple": false, - "required": false, - "types": [ - { - "type": "class_heritage", - "named": true - } - ] - }, "name": { "multiple": false, "required": true, @@ -1018,22 +933,31 @@ } ] } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "class_heritage", + "named": true + } + ] } }, { "type": "class_heritage", "named": true, - "fields": { - "expression": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] } }, { @@ -1050,34 +974,28 @@ } ] } - }, + } + }, + { + "type": "comment", + "named": true, + "fields": {} + }, + { + "type": "computed_property_name", + "named": true, + "fields": {}, "children": { "multiple": false, "required": true, "types": [ { - "type": "static", + "type": "expression", "named": true } ] } }, - { - "type": "computed_property_name", - "named": true, - "fields": { - "expression": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - } - ] - } - } - }, { "type": "continue_statement", "named": true, @@ -1102,25 +1020,24 @@ { "type": "decorator", "named": true, - "fields": { - "identifier": { - "multiple": false, - "required": true, - "types": [ - { - "type": "call_expression", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "member_expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "call_expression", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "member_expression", + "named": true + } + ] } }, { @@ -1152,17 +1069,16 @@ { "type": "else_clause", "named": true, - "fields": { - "else": { - "multiple": false, - "required": true, - "types": [ - { - "type": "statement", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "statement", + "named": true + } + ] } }, { @@ -1173,21 +1089,16 @@ { "type": "export_clause", "named": true, - "fields": { - "specifiers": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "export_specifier", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "export_specifier", + "named": true + } + ] } }, { @@ -1235,10 +1146,6 @@ { "type": "declaration", "named": true - }, - { - "type": "expression", - "named": true } ] }, @@ -1252,58 +1159,59 @@ } ] }, - "export": { + "source": { "multiple": false, "required": false, "types": [ { - "type": "export_clause", - "named": true - }, - { - "type": "namespace_export", + "type": "string", "named": true } ] }, - "source": { + "value": { "multiple": false, "required": false, "types": [ { - "type": "grit_metavariable", - "named": true - }, - { - "type": "string", + "type": "expression", "named": true } ] } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "export_clause", + "named": true + }, + { + "type": "namespace_export", + "named": true + } + ] } }, { "type": "expression_statement", "named": true, - "fields": { - "expression": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "sequence_expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "sequence_expression", + "named": true + } + ] } }, { @@ -1328,10 +1236,6 @@ "type": "computed_property_name", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "number", "named": true @@ -1350,16 +1254,6 @@ } ] }, - "static": { - "multiple": false, - "required": false, - "types": [ - { - "type": "static", - "named": true - } - ] - }, "value": { "multiple": false, "required": false, @@ -1408,15 +1302,15 @@ "types": [ { "type": "const", - "named": true + "named": false }, { "type": "let", - "named": true + "named": false }, { "type": "var", - "named": true + "named": false } ] }, @@ -1460,11 +1354,11 @@ "types": [ { "type": "in", - "named": true + "named": false }, { "type": "of", - "named": true + "named": false } ] }, @@ -1476,10 +1370,6 @@ "type": "expression", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "sequence_expression", "named": true @@ -1534,10 +1424,6 @@ "type": "expression", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "sequence_expression", "named": true @@ -1569,19 +1455,28 @@ } }, { - "type": "function", + "type": "formal_parameters", "named": true, - "fields": { - "async": { - "multiple": false, - "required": false, - "types": [ - { - "type": "async", - "named": true - } - ] - }, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "assignment_pattern", + "named": true + }, + { + "type": "pattern", + "named": true + } + ] + } + }, + { + "type": "function_declaration", + "named": true, + "fields": { "body": { "multiple": false, "required": true, @@ -1594,7 +1489,7 @@ }, "name": { "multiple": false, - "required": false, + "required": true, "types": [ { "type": "identifier", @@ -1603,33 +1498,11 @@ ] }, "parameters": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "assignment_pattern", - "named": true - }, - { - "type": "pattern", - "named": true - } - ] - }, - "parenthesis": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "l_parenthesis", - "named": true - }, - { - "type": "r_parenthesis", + "type": "formal_parameters", "named": true } ] @@ -1637,19 +1510,9 @@ } }, { - "type": "function_declaration", + "type": "function_expression", "named": true, "fields": { - "async": { - "multiple": false, - "required": false, - "types": [ - { - "type": "async", - "named": true - } - ] - }, "body": { "multiple": false, "required": true, @@ -1662,7 +1525,7 @@ }, "name": { "multiple": false, - "required": true, + "required": false, "types": [ { "type": "identifier", @@ -1671,33 +1534,11 @@ ] }, "parameters": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "assignment_pattern", - "named": true - }, - { - "type": "pattern", - "named": true - } - ] - }, - "parenthesis": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "l_parenthesis", - "named": true - }, - { - "type": "r_parenthesis", + "type": "formal_parameters", "named": true } ] @@ -1708,16 +1549,6 @@ "type": "generator_function", "named": true, "fields": { - "async": { - "multiple": false, - "required": false, - "types": [ - { - "type": "async", - "named": true - } - ] - }, "body": { "multiple": false, "required": true, @@ -1739,33 +1570,11 @@ ] }, "parameters": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "assignment_pattern", - "named": true - }, - { - "type": "pattern", - "named": true - } - ] - }, - "parenthesis": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "l_parenthesis", - "named": true - }, - { - "type": "r_parenthesis", + "type": "formal_parameters", "named": true } ] @@ -1776,16 +1585,6 @@ "type": "generator_function_declaration", "named": true, "fields": { - "async": { - "multiple": false, - "required": false, - "types": [ - { - "type": "async", - "named": true - } - ] - }, "body": { "multiple": false, "required": true, @@ -1807,33 +1606,11 @@ ] }, "parameters": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "assignment_pattern", - "named": true - }, - { - "type": "pattern", - "named": true - } - ] - }, - "parenthesis": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "l_parenthesis", - "named": true - }, - { - "type": "r_parenthesis", + "type": "formal_parameters", "named": true } ] @@ -1876,26 +1653,6 @@ } } }, - { - "type": "greater_than", - "named": true, - "fields": {} - }, - { - "type": "identifier", - "named": true, - "fields": {}, - "children": { - "multiple": false, - "required": false, - "types": [ - { - "type": "grit_metavariable", - "named": true - } - ] - } - }, { "type": "if_statement", "named": true, @@ -1937,11 +1694,49 @@ "named": true, "fields": {} }, + { + "type": "import_attribute", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "object", + "named": true + } + ] + } + }, { "type": "import_clause", "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "named_imports", + "named": true + }, + { + "type": "namespace_import", + "named": true + } + ] + } + }, + { + "type": "import_specifier", + "named": true, "fields": { - "default": { + "alias": { "multiple": false, "required": false, "types": [ @@ -1953,14 +1748,14 @@ }, "name": { "multiple": false, - "required": false, + "required": true, "types": [ { - "type": "named_imports", + "type": "identifier", "named": true }, { - "type": "namespace_import", + "type": "string", "named": true } ] @@ -1968,49 +1763,88 @@ } }, { - "type": "import_specifier", + "type": "import_statement", "named": true, "fields": { - "name": { + "source": { "multiple": false, "required": true, "types": [ { - "type": "aliased_name", - "named": true - }, - { - "type": "identifier", + "type": "string", "named": true } ] } + }, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "import_attribute", + "named": true + }, + { + "type": "import_clause", + "named": true + } + ] } }, { - "type": "import_statement", + "type": "jsx_attribute", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "jsx_element", + "named": true + }, + { + "type": "jsx_expression", + "named": true + }, + { + "type": "jsx_namespace_name", + "named": true + }, + { + "type": "jsx_self_closing_element", + "named": true + }, + { + "type": "property_identifier", + "named": true + }, + { + "type": "string", + "named": true + } + ] + } + }, + { + "type": "jsx_closing_element", "named": true, "fields": { - "import": { + "name": { "multiple": false, "required": false, "types": [ { - "type": "import_clause", + "type": "identifier", "named": true - } - ] - }, - "source": { - "multiple": false, - "required": true, - "types": [ + }, { - "type": "grit_metavariable", + "type": "jsx_namespace_name", "named": true }, { - "type": "string", + "type": "member_expression", "named": true } ] @@ -2018,134 +1852,10 @@ } }, { - "type": "jsx_assigned_attribute", + "type": "jsx_element", "named": true, "fields": { - "name": { - "multiple": false, - "required": true, - "types": [ - { - "type": "jsx_namespace_name", - "named": true - }, - { - "type": "property_identifier", - "named": true - } - ] - }, - "value": { - "multiple": false, - "required": true, - "types": [ - { - "type": "jsx_element", - "named": true - }, - { - "type": "jsx_expression", - "named": true - }, - { - "type": "jsx_fragment", - "named": true - }, - { - "type": "jsx_self_closing_element", - "named": true - }, - { - "type": "string", - "named": true - } - ] - } - } - }, - { - "type": "jsx_attribute", - "named": true, - "fields": { - "attribute": { - "multiple": false, - "required": true, - "types": [ - { - "type": "jsx_assigned_attribute", - "named": true - }, - { - "type": "jsx_namespace_name", - "named": true - }, - { - "type": "property_identifier", - "named": true - } - ] - } - } - }, - { - "type": "jsx_closing_element", - "named": true, - "fields": { - "name": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - }, - { - "type": "jsx_namespace_name", - "named": true - }, - { - "type": "nested_identifier", - "named": true - } - ] - } - } - }, - { - "type": "jsx_element", - "named": true, - "fields": { - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "jsx_element", - "named": true - }, - { - "type": "jsx_expression", - "named": true - }, - { - "type": "jsx_fragment", - "named": true - }, - { - "type": "jsx_self_closing_element", - "named": true - }, - { - "type": "jsx_text", - "named": true - } - ] - }, - "close_tag": { + "close_tag": { "multiple": false, "required": true, "types": [ @@ -2165,92 +1875,70 @@ } ] } + }, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "html_character_reference", + "named": true + }, + { + "type": "jsx_element", + "named": true + }, + { + "type": "jsx_expression", + "named": true + }, + { + "type": "jsx_self_closing_element", + "named": true + }, + { + "type": "jsx_text", + "named": true + } + ] } }, { "type": "jsx_expression", "named": true, - "fields": { - "expression": { - "multiple": false, - "required": false, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "sequence_expression", - "named": true - }, - { - "type": "spread_element", - "named": true - } - ] - } - } - }, - { - "type": "jsx_fragment", - "named": true, - "fields": { - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "jsx_element", - "named": true - }, - { - "type": "jsx_expression", - "named": true - }, - { - "type": "jsx_fragment", - "named": true - }, - { - "type": "jsx_self_closing_element", - "named": true - }, - { - "type": "jsx_text", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "sequence_expression", + "named": true + }, + { + "type": "spread_element", + "named": true + } + ] } }, { "type": "jsx_namespace_name", "named": true, - "fields": { - "left": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - } - ] - }, - "right": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] } }, { @@ -2273,7 +1961,7 @@ }, "name": { "multiple": false, - "required": true, + "required": false, "types": [ { "type": "identifier", @@ -2284,7 +1972,7 @@ "named": true }, { - "type": "nested_identifier", + "type": "member_expression", "named": true } ] @@ -2322,13 +2010,18 @@ "named": true }, { - "type": "nested_identifier", + "type": "member_expression", "named": true } ] } } }, + { + "type": "jsx_text", + "named": true, + "fields": {} + }, { "type": "labeled_statement", "named": true, @@ -2355,69 +2048,60 @@ } } }, - { - "type": "less_than", - "named": true, - "fields": {} - }, { "type": "lexical_declaration", "named": true, "fields": { - "declarations": { - "multiple": true, - "required": true, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "variable_declarator", - "named": true - } - ] - }, "kind": { "multiple": false, "required": true, "types": [ { "type": "const", - "named": true + "named": false }, { "type": "let", - "named": true + "named": false } ] } + }, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "variable_declarator", + "named": true + } + ] } }, { "type": "member_expression", "named": true, "fields": { - "chain": { + "object": { "multiple": false, - "required": false, + "required": true, "types": [ { - "type": "chain", + "type": "expression", "named": true }, { - "type": "optional_chain", + "type": "import", "named": true } ] }, - "object": { + "optional_chain": { "multiple": false, - "required": true, + "required": false, "types": [ { - "type": "expression", + "type": "optional_chain", "named": true } ] @@ -2447,16 +2131,6 @@ "type": "method_definition", "named": true, "fields": { - "async": { - "multiple": false, - "required": false, - "types": [ - { - "type": "async", - "named": true - } - ] - }, "body": { "multiple": false, "required": true, @@ -2485,10 +2159,6 @@ "type": "computed_property_name", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "number", "named": true @@ -2508,43 +2178,11 @@ ] }, "parameters": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "assignment_pattern", - "named": true - }, - { - "type": "pattern", - "named": true - } - ] - }, - "parenthesis": { - "multiple": true, - "required": true, - "types": [ - { - "type": "l_parenthesis", - "named": true - }, - { - "type": "r_parenthesis", - "named": true - } - ] - }, - "static": { "multiple": false, - "required": false, + "required": true, "types": [ { - "type": "static", + "type": "formal_parameters", "named": true } ] @@ -2554,28 +2192,13 @@ { "type": "named_imports", "named": true, - "fields": { - "imports": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "import_specifier", - "named": true - } - ] - } - }, + "fields": {}, "children": { - "multiple": false, + "multiple": true, "required": false, "types": [ { - "type": "grit_metavariable", + "type": "import_specifier", "named": true } ] @@ -2584,73 +2207,35 @@ { "type": "namespace_export", "named": true, - "fields": { - "module": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - }, - { - "type": "string", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + }, + { + "type": "string", + "named": true + } + ] } }, { "type": "namespace_import", "named": true, - "fields": { - "namespace": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - } - ] - } - } - }, - { - "type": "nested_identifier", - "named": true, - "fields": { - "base": { - "multiple": false, - "required": false, - "types": [ - { - "type": "identifier", - "named": true - } - ] - }, - "nested": { - "multiple": false, - "required": false, - "types": [ - { - "type": "nested_identifier", - "named": true - } - ] - }, - "terminal": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] } }, { @@ -2658,19 +2243,11 @@ "named": true, "fields": { "arguments": { - "multiple": true, + "multiple": false, "required": false, "types": [ { - "type": ",", - "named": false - }, - { - "type": "expression", - "named": true - }, - { - "type": "spread_element", + "type": "arguments", "named": true } ] @@ -2694,33 +2271,28 @@ { "type": "object", "named": true, - "fields": { - "properties": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "method_definition", - "named": true - }, - { - "type": "pair", - "named": true - }, - { - "type": "shorthand_property_identifier", - "named": true - }, - { - "type": "spread_element", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "method_definition", + "named": true + }, + { + "type": "pair", + "named": true + }, + { + "type": "shorthand_property_identifier", + "named": true + }, + { + "type": "spread_element", + "named": true + } + ] } }, { @@ -2760,33 +2332,28 @@ { "type": "object_pattern", "named": true, - "fields": { - "properties": { - "multiple": true, - "required": false, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "object_assignment_pattern", - "named": true - }, - { - "type": "pair_pattern", - "named": true - }, - { - "type": "rest_pattern", - "named": true - }, - { - "type": "shorthand_property_identifier_pattern", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "object_assignment_pattern", + "named": true + }, + { + "type": "pair_pattern", + "named": true + }, + { + "type": "rest_pattern", + "named": true + }, + { + "type": "shorthand_property_identifier_pattern", + "named": true + } + ] } }, { @@ -2801,10 +2368,6 @@ "type": "computed_property_name", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "number", "named": true @@ -2847,10 +2410,6 @@ "type": "computed_property_name", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "number", "named": true @@ -2888,63 +2447,36 @@ { "type": "parenthesized_expression", "named": true, - "fields": { - "expressions": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "sequence_expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "sequence_expression", + "named": true + } + ] } }, { "type": "program", "named": true, - "fields": { - "hash_bang": { - "multiple": false, - "required": false, - "types": [ - { - "type": "hash_bang_line", - "named": true - } - ] - }, - "statements": { - "multiple": true, - "required": false, - "types": [ - { - "type": "statement", - "named": true - } - ] - } - } - }, - { - "type": "property_identifier", - "named": true, "fields": {}, "children": { - "multiple": false, + "multiple": true, "required": false, "types": [ { - "type": "grit_metavariable", + "type": "hash_bang_line", + "named": true + }, + { + "type": "statement", "named": true } ] @@ -2979,95 +2511,40 @@ { "type": "rest_pattern", "named": true, - "fields": { - "expression": { - "multiple": false, - "required": true, - "types": [ - { - "type": "array_pattern", - "named": true - }, - { - "type": "identifier", - "named": true - }, - { - "type": "member_expression", - "named": true - }, - { - "type": "object_pattern", - "named": true - }, - { - "type": "subscript_expression", - "named": true - }, - { - "type": "undefined", - "named": true - } - ] - } - } - }, - { - "type": "return_statement", - "named": true, - "fields": { - "expressions": { - "multiple": false, - "required": false, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "sequence_expression", - "named": true - } - ] - } - } - }, - { - "type": "sequence_expression", - "named": true, - "fields": { - "left": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - } - ] - }, - "right": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "sequence_expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "array_pattern", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "member_expression", + "named": true + }, + { + "type": "object_pattern", + "named": true + }, + { + "type": "subscript_expression", + "named": true + }, + { + "type": "undefined", + "named": true + } + ] } }, { - "type": "shorthand_property_identifier", + "type": "return_statement", "named": true, "fields": {}, "children": { @@ -3075,22 +2552,26 @@ "required": false, "types": [ { - "type": "grit_metavariable", + "type": "expression", + "named": true + }, + { + "type": "sequence_expression", "named": true } ] } }, { - "type": "shorthand_property_identifier_pattern", + "type": "sequence_expression", "named": true, "fields": {}, "children": { - "multiple": false, - "required": false, + "multiple": true, + "required": true, "types": [ { - "type": "grit_metavariable", + "type": "expression", "named": true } ] @@ -3099,45 +2580,28 @@ { "type": "spread_element", "named": true, - "fields": { - "expression": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] } }, { "type": "statement_block", "named": true, - "fields": { - "statements": { - "multiple": true, - "required": false, - "types": [ - { - "type": "statement", - "named": true - } - ] - } - } - }, - { - "type": "statement_identifier", - "named": true, "fields": {}, "children": { - "multiple": false, + "multiple": true, "required": false, "types": [ { - "type": "grit_metavariable", + "type": "statement", "named": true } ] @@ -3146,25 +2610,24 @@ { "type": "string", "named": true, - "fields": { - "fragment": { - "multiple": true, - "required": false, - "types": [ - { - "type": "escape_sequence", - "named": true - }, - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "string_fragment", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "escape_sequence", + "named": true + }, + { + "type": "html_character_reference", + "named": true + }, + { + "type": "string_fragment", + "named": true + } + ] } }, { @@ -3179,10 +2642,6 @@ "type": "expression", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "sequence_expression", "named": true @@ -3252,10 +2711,6 @@ "type": "expression", "named": true }, - { - "type": "grit_metavariable", - "named": true - }, { "type": "sequence_expression", "named": true @@ -3306,68 +2761,46 @@ } } }, - { - "type": "template_content", - "named": true, - "fields": { - "content": { - "multiple": true, - "required": true, - "types": [ - { - "type": "escape_sequence", - "named": true - }, - { - "type": "template_chars", - "named": true - }, - { - "type": "template_substitution", - "named": true - } - ] - } - } - }, { "type": "template_string", "named": true, - "fields": { - "template": { - "multiple": false, - "required": false, - "types": [ - { - "type": "template_content", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "escape_sequence", + "named": true + }, + { + "type": "string_fragment", + "named": true + }, + { + "type": "template_substitution", + "named": true + } + ] } }, { "type": "template_substitution", "named": true, - "fields": { - "expressions": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "sequence_expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "sequence_expression", + "named": true + } + ] } }, { @@ -3409,25 +2842,20 @@ { "type": "throw_statement", "named": true, - "fields": { - "expressions": { - "multiple": false, - "required": true, - "types": [ - { - "type": "expression", - "named": true - }, - { - "type": "grit_metavariable", - "named": true - }, - { - "type": "sequence_expression", - "named": true - } - ] - } + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + }, + { + "type": "sequence_expression", + "named": true + } + ] } }, { @@ -3485,32 +2913,32 @@ "required": true, "types": [ { - "type": "bitwise_not", - "named": true - }, - { - "type": "delete", - "named": true + "type": "!", + "named": false }, { - "type": "minus", - "named": true + "type": "+", + "named": false }, { - "type": "not", - "named": true + "type": "-", + "named": false }, { - "type": "plus", - "named": true + "type": "delete", + "named": false }, { "type": "typeof", - "named": true + "named": false }, { "type": "void", - "named": true + "named": false + }, + { + "type": "~", + "named": false } ] } @@ -3535,12 +2963,12 @@ "required": true, "types": [ { - "type": "decrement", - "named": true + "type": "++", + "named": false }, { - "type": "increment", - "named": true + "type": "--", + "named": false } ] } @@ -3549,28 +2977,13 @@ { "type": "variable_declaration", "named": true, - "fields": { - "declarations": { - "multiple": true, - "required": true, - "types": [ - { - "type": ",", - "named": false - }, - { - "type": "variable_declarator", - "named": true - } - ] - } - }, + "fields": {}, "children": { - "multiple": false, + "multiple": true, "required": true, "types": [ { - "type": "var", + "type": "variable_declarator", "named": true } ] @@ -3663,20 +3076,31 @@ } }, { - "type": "yield_expression", - "named": true, - "fields": { - "expression": { - "multiple": false, - "required": false, - "types": [ - { - "type": "expression", - "named": true - } - ] - } - } + "type": "yield_expression", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + }, + { + "type": "!", + "named": false + }, + { + "type": "!=", + "named": false + }, + { + "type": "!==", + "named": false }, { "type": "\"", @@ -3687,367 +3111,363 @@ "named": false }, { - "type": "'", + "type": "%", "named": false }, { - "type": "(", + "type": "%=", "named": false }, { - "type": ")", + "type": "&", "named": false }, { - "type": "*", + "type": "&&", "named": false }, { - "type": ",", + "type": "&&=", "named": false }, { - "type": ".", + "type": "&=", "named": false }, { - "type": "...", + "type": "'", "named": false }, { - "type": "/", + "type": "(", "named": false }, { - "type": ":", + "type": ")", "named": false }, { - "type": ";", + "type": "*", "named": false }, { - "type": "<", + "type": "**", "named": false }, { - "type": "", + "type": "**=", "named": false }, { - "type": "