From e9c10a96c52496ac640957ad9742c1ce60f2ee96 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Sat, 7 Sep 2024 00:28:08 -0400 Subject: [PATCH] build: update bindings --- .editorconfig | 39 + .eslintrc.js | 34 - .gitattributes | 15 +- .github/workflows/ci.yml | 38 +- .github/workflows/dependencies.yml | 3 + .github/workflows/fuzz.yml | 21 + .github/workflows/lint.yml | 26 + .gitignore | 41 +- .npmignore | 5 - Cargo.lock | 89 + Cargo.toml | 11 +- Makefile | 114 + Package.swift | 77 +- README.md | 6 + binding.gyp | 23 +- bindings/c/tree-sitter-svelte.h | 16 + bindings/c/tree-sitter-svelte.pc.in | 11 + bindings/go/binding.go | 13 + bindings/go/binding_test.go | 15 + bindings/node/binding.cc | 36 +- bindings/node/binding_test.js | 9 + bindings/node/index.d.ts | 28 + bindings/node/index.js | 18 +- bindings/python/tests/test_binding.py | 11 + .../python/tree_sitter_svelte/__init__.py | 37 + .../python/tree_sitter_svelte/__init__.pyi | 7 + bindings/python/tree_sitter_svelte/binding.c | 27 + bindings/python/tree_sitter_svelte/py.typed | 0 bindings/rust/README.md | 39 - bindings/rust/build.rs | 14 +- bindings/rust/lib.rs | 33 +- .../TreeSitterSvelteTests.swift | 12 + compile_commands.json | 42 + eslint.config.mjs | 43 + go.mod | 7 + go.sum | 36 + grammar.js | 5 +- package-lock.json | 676 +- package.json | 58 +- pyproject.toml | 30 + setup.py | 62 + src/parser.c | 5958 ++++++++--------- src/scanner.c | 19 +- test/corpus/{svelte => }/balancing.txt | 0 test/corpus/{svelte => }/main.txt | 0 test/corpus/{svelte => }/snippets.txt | 0 46 files changed, 4360 insertions(+), 3444 deletions(-) create mode 100644 .editorconfig delete mode 100644 .eslintrc.js create mode 100644 .github/workflows/fuzz.yml create mode 100644 .github/workflows/lint.yml delete mode 100644 .npmignore create mode 100644 Cargo.lock create mode 100644 Makefile create mode 100644 bindings/c/tree-sitter-svelte.h create mode 100644 bindings/c/tree-sitter-svelte.pc.in create mode 100644 bindings/go/binding.go create mode 100644 bindings/go/binding_test.go create mode 100644 bindings/node/binding_test.js create mode 100644 bindings/node/index.d.ts create mode 100644 bindings/python/tests/test_binding.py create mode 100644 bindings/python/tree_sitter_svelte/__init__.py create mode 100644 bindings/python/tree_sitter_svelte/__init__.pyi create mode 100644 bindings/python/tree_sitter_svelte/binding.c create mode 100644 bindings/python/tree_sitter_svelte/py.typed delete mode 100644 bindings/rust/README.md create mode 100644 bindings/swift/TreeSitterSvelteTests/TreeSitterSvelteTests.swift create mode 100644 compile_commands.json create mode 100644 eslint.config.mjs create mode 100644 go.mod create mode 100644 go.sum create mode 100644 pyproject.toml create mode 100644 setup.py rename test/corpus/{svelte => }/balancing.txt (100%) rename test/corpus/{svelte => }/main.txt (100%) rename test/corpus/{svelte => }/snippets.txt (100%) diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f363cc5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,39 @@ +root = true + +[*] +charset = utf-8 + +[*.{json,toml,yml,gyp}] +indent_style = space +indent_size = 2 + +[*.js] +indent_style = space +indent_size = 2 + +[*.{c,cc,h}] +indent_style = space +indent_size = 4 + +[*.rs] +indent_style = space +indent_size = 4 + +[*.{py,pyi}] +indent_style = space +indent_size = 4 + +[*.swift] +indent_style = space +indent_size = 4 + +[*.go] +indent_style = tab +indent_size = 8 + +[Makefile] +indent_style = tab +indent_size = 8 + +[parser.c] +indent_size = 2 diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index d7f550a..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,34 +0,0 @@ -module.exports = { - 'env': { - 'commonjs': true, - 'es2021': true, - 'node': true, - }, - 'extends': 'google', - 'overrides': [ - { - 'env': { - 'node': true, - }, - 'files': [ - '.eslintrc.{js,cjs}', - ], - 'parserOptions': { - 'sourceType': 'script', - }, - }, - ], - 'parserOptions': { - 'ecmaVersion': 'latest', - 'sourceType': 'module', - }, - 'rules': { - 'indent': ['error', 2, {'SwitchCase': 1}], - 'max-len': [ - 'error', - {'code': 120, 'ignoreComments': true, 'ignoreUrls': true, 'ignoreStrings': true}, - ], - 'arrow-parens': 'off', - 'camelcase': 'off', - }, -}; diff --git a/.gitattributes b/.gitattributes index 1491f7e..4cb1058 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,10 +1,11 @@ -/src/** linguist-vendored -/examples/* linguist-vendored +* text=auto eol=lf -src/grammar.json linguist-generated -src/node-types.json linguist-generated +src/*.json linguist-generated src/parser.c linguist-generated +src/tree_sitter/* linguist-generated -src/grammar.json -diff -src/node-types.json -diff -src/parser.c -diff +bindings/** linguist-generated +binding.gyp linguist-generated +setup.py linguist-generated +Makefile linguist-generated +Package.swift linguist-generated diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62084da..5d3a971 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,10 @@ jobs: uses: tree-sitter/parser-test-action@v2 with: test-rust: ${{runner.os == 'Linux'}} + test-node: true + test-python: true + test-go: true + test-swift: ${{runner.os == 'macOS'}} - name: Parse examples uses: tree-sitter/parse-action@v4 with: @@ -76,37 +80,3 @@ jobs: examples/svelte/packages/svelte/tests/validator/samples/logic-block-in-attribute/input.svelte examples/svelte/packages/svelte/tests/runtime-runes/samples/each-updates-6/main.svelte examples/svelte/packages/svelte/tests/runtime-runes/samples/each-updates-7/main.svelte - - fuzz: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - name: Check for scanner changes - id: scanner-changes - run: |- - if git diff --quiet HEAD^ -- src/scanner.c; then - printf 'changed=false\n' >> "$GITHUB_OUTPUT" - else - printf 'changed=true\n' >> "$GITHUB_OUTPUT" - fi - - name: Fuzz parser - uses: tree-sitter/fuzz-action@v4 - if: steps.scanner-changes.outputs.changed == 'true' - - lint: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - cache: npm - node-version: ${{vars.NODE_VERSION}} - - name: Install dependencies - run: npm ci --ignore-scripts - - name: Run ESLint - run: npm run lint diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 2f96c51..44617c4 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -22,3 +22,6 @@ jobs: node-version: ${{vars.NODE_VERSION}} - name: Update dependencies uses: tree-sitter/parser-update-action@v1.1 + with: + parent-name: html + language-name: svelte diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml new file mode 100644 index 0000000..646c697 --- /dev/null +++ b/.github/workflows/fuzz.yml @@ -0,0 +1,21 @@ +name: Fuzz Parser + +on: + push: + branches: [master] + paths: + - src/scanner.c + - src/tag.h + pull_request: + paths: + - src/scanner.c + - src/tag.h + +jobs: + fuzz: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run fuzzer + uses: tree-sitter/fuzz-action@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..96f1a4d --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,26 @@ +name: Lint + +on: + push: + branches: [master] + paths: + - grammar.js + pull_request: + paths: + - grammar.js + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + cache: npm + node-version: ${{vars.NODE_VERSION}} + - name: Install modules + run: npm ci --legacy-peer-deps + - name: Run ESLint + run: npm run lint diff --git a/.gitignore b/.gitignore index f163cf5..2fd9dac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,37 @@ -.DS_Store -Cargo.lock -node_modules -build -/target/ +# Rust artifacts +target/ + +# Node artifacts +build/ +prebuilds/ +node_modules/ +*.tgz + +# Swift artifacts .build/ +Package.resolved + +# Go artifacts +_obj/ + +# Python artifacts +.venv/ +dist/ +*.egg-info +*.whl + +# C artifacts +*.a +*.so +*.so.* +*.dylib +*.dll +*.pc + +# Example dirs +/examples/*/ + +# Grammar volatiles +*.wasm +*.obj +*.o diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 194ff84..0000000 --- a/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -/test -/examples -/build -/script -/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..c2598de --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,89 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + +[[package]] +name = "cc" +version = "1.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476" +dependencies = [ + "shlex", +] + +[[package]] +name = "memchr" +version = "2.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" + +[[package]] +name = "regex" +version = "1.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "tree-sitter" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20f4cd3642c47a85052a887d86704f4eac272969f61b686bdd3f772122aabaff" +dependencies = [ + "cc", + "regex", + "regex-syntax", + "tree-sitter-language", +] + +[[package]] +name = "tree-sitter-language" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2545046bd1473dac6c626659cc2567c6c0ff302fc8b84a56c4243378276f7f57" + +[[package]] +name = "tree-sitter-svelte-ng" +version = "1.0.0" +dependencies = [ + "cc", + "tree-sitter", + "tree-sitter-language", +] diff --git a/Cargo.toml b/Cargo.toml index 4e62a2c..ea8d52a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] -name = "tree-sitter-svelte" +name = "tree-sitter-svelte-ng" description = "Svelte grammar for tree-sitter" -version = "0.0.1" +version = "1.0.0" authors = ["Amaan Qureshi "] license = "MIT" readme = "bindings/rust/README.md" @@ -18,7 +18,10 @@ include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"] path = "bindings/rust/lib.rs" [dependencies] -tree-sitter = "~0.20.10" +tree-sitter-language = "0.1.0" [build-dependencies] -cc = "1.0" +cc = "1.1.17" + +[dev-dependencies] +tree-sitter = "0.23" diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..34ec03f --- /dev/null +++ b/Makefile @@ -0,0 +1,114 @@ +ifeq ($(OS),Windows_NT) +$(error Windows is not supported) +endif + +VERSION := 1.0.0 + +LANGUAGE_NAME := tree-sitter-svelte + +# repository +SRC_DIR := src + +PARSER_REPO_URL := $(shell git -C $(SRC_DIR) remote get-url origin 2>/dev/null) + +ifeq ($(PARSER_URL),) + PARSER_URL := $(subst .git,,$(PARSER_REPO_URL)) +ifeq ($(shell echo $(PARSER_URL) | grep '^[a-z][-+.0-9a-z]*://'),) + PARSER_URL := $(subst :,/,$(PARSER_URL)) + PARSER_URL := $(subst git@,https://,$(PARSER_URL)) +endif +endif + +TS ?= tree-sitter + +# install directory layout +PREFIX ?= /usr/local +INCLUDEDIR ?= $(PREFIX)/include +LIBDIR ?= $(PREFIX)/lib +PCLIBDIR ?= $(LIBDIR)/pkgconfig + +# source/object files +PARSER := $(SRC_DIR)/parser.c +EXTRAS := $(filter-out $(PARSER),$(wildcard $(SRC_DIR)/*.c)) +OBJS := $(patsubst %.c,%.o,$(PARSER) $(EXTRAS)) + +# flags +ARFLAGS ?= rcs +override CFLAGS += -I$(SRC_DIR) -std=c11 -fPIC + +# ABI versioning +SONAME_MAJOR := $(word 1,$(subst ., ,$(VERSION))) +SONAME_MINOR := $(shell sed -n 's/#define LANGUAGE_VERSION //p' $(PARSER)) + +# OS-specific bits +ifeq ($(shell uname),Darwin) + SOEXT = dylib + SOEXTVER_MAJOR = $(SONAME_MAJOR).$(SOEXT) + SOEXTVER = $(SONAME_MAJOR).$(SONAME_MINOR).$(SOEXT) + LINKSHARED := $(LINKSHARED)-dynamiclib -Wl, + ifneq ($(ADDITIONAL_LIBS),) + LINKSHARED := $(LINKSHARED)$(ADDITIONAL_LIBS), + endif + LINKSHARED := $(LINKSHARED)-install_name,$(LIBDIR)/lib$(LANGUAGE_NAME).$(SOEXTVER),-rpath,@executable_path/../Frameworks +else + SOEXT = so + SOEXTVER_MAJOR = $(SOEXT).$(SONAME_MAJOR) + SOEXTVER = $(SOEXT).$(SONAME_MAJOR).$(SONAME_MINOR) + LINKSHARED := $(LINKSHARED)-shared -Wl, + ifneq ($(ADDITIONAL_LIBS),) + LINKSHARED := $(LINKSHARED)$(ADDITIONAL_LIBS) + endif + LINKSHARED := $(LINKSHARED)-soname,lib$(LANGUAGE_NAME).$(SOEXTVER) +endif +ifneq ($(filter $(shell uname),FreeBSD NetBSD DragonFly),) + PCLIBDIR := $(PREFIX)/libdata/pkgconfig +endif + +all: lib$(LANGUAGE_NAME).a lib$(LANGUAGE_NAME).$(SOEXT) $(LANGUAGE_NAME).pc + +lib$(LANGUAGE_NAME).a: $(OBJS) + $(AR) $(ARFLAGS) $@ $^ + +lib$(LANGUAGE_NAME).$(SOEXT): $(OBJS) + $(CC) $(LDFLAGS) $(LINKSHARED) $^ $(LDLIBS) -o $@ +ifneq ($(STRIP),) + $(STRIP) $@ +endif + +$(LANGUAGE_NAME).pc: bindings/c/$(LANGUAGE_NAME).pc.in + sed -e 's|@URL@|$(PARSER_URL)|' \ + -e 's|@VERSION@|$(VERSION)|' \ + -e 's|@LIBDIR@|$(LIBDIR)|' \ + -e 's|@INCLUDEDIR@|$(INCLUDEDIR)|' \ + -e 's|@REQUIRES@|$(REQUIRES)|' \ + -e 's|@ADDITIONAL_LIBS@|$(ADDITIONAL_LIBS)|' \ + -e 's|=$(PREFIX)|=$${prefix}|' \ + -e 's|@PREFIX@|$(PREFIX)|' $< > $@ + +$(PARSER): $(SRC_DIR)/grammar.json + $(TS) generate --no-bindings $^ + +install: all + install -d '$(DESTDIR)$(INCLUDEDIR)'/tree_sitter '$(DESTDIR)$(PCLIBDIR)' '$(DESTDIR)$(LIBDIR)' + install -m644 bindings/c/$(LANGUAGE_NAME).h '$(DESTDIR)$(INCLUDEDIR)'/tree_sitter/$(LANGUAGE_NAME).h + install -m644 $(LANGUAGE_NAME).pc '$(DESTDIR)$(PCLIBDIR)'/$(LANGUAGE_NAME).pc + install -m644 lib$(LANGUAGE_NAME).a '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).a + install -m755 lib$(LANGUAGE_NAME).$(SOEXT) '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).$(SOEXTVER) + ln -sf lib$(LANGUAGE_NAME).$(SOEXTVER) '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).$(SOEXTVER_MAJOR) + ln -sf lib$(LANGUAGE_NAME).$(SOEXTVER_MAJOR) '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).$(SOEXT) + +uninstall: + $(RM) '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).a \ + '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).$(SOEXTVER) \ + '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).$(SOEXTVER_MAJOR) \ + '$(DESTDIR)$(LIBDIR)'/lib$(LANGUAGE_NAME).$(SOEXT) \ + '$(DESTDIR)$(INCLUDEDIR)'/tree_sitter/$(LANGUAGE_NAME).h \ + '$(DESTDIR)$(PCLIBDIR)'/$(LANGUAGE_NAME).pc + +clean: + $(RM) $(OBJS) $(LANGUAGE_NAME).pc lib$(LANGUAGE_NAME).a lib$(LANGUAGE_NAME).$(SOEXT) + +test: + $(TS) test + +.PHONY: all install uninstall clean test diff --git a/Package.swift b/Package.swift index cba602f..fa476ea 100644 --- a/Package.swift +++ b/Package.swift @@ -3,35 +3,58 @@ import PackageDescription let package = Package( name: "TreeSitterSvelte", - platforms: [.macOS(.v10_13), .iOS(.v11)], products: [ .library(name: "TreeSitterSvelte", targets: ["TreeSitterSvelte"]), ], - dependencies: [], + dependencies: [ + .package(url: "https://github.com/ChimeHQ/SwiftTreeSitter", from: "0.8.0"), + ], targets: [ - .target(name: "TreeSitterSvelte", - path: ".", - exclude: [ - "binding.gyp", - "bindings", - "Cargo.toml", - "test", - "grammar.js", - "LICENSE", - "package.json", - "README.md", - "script", - "src/grammar.json", - "src/node-types.json", - ], - sources: [ - "src/parser.c", - "src/scanner.c", - ], - resources: [ - .copy("queries") - ], - publicHeadersPath: "bindings/swift", - cSettings: [.headerSearchPath("src")]) - ] + .target( + name: "TreeSitterSvelte", + dependencies: [], + path: ".", + exclude: [ + "Cargo.toml", + "Makefile", + "binding.gyp", + "bindings/c", + "bindings/go", + "bindings/node", + "bindings/python", + "bindings/rust", + "prebuilds", + "grammar.js", + "package.json", + "package-lock.json", + "pyproject.toml", + "setup.py", + "test", + "examples", + ".editorconfig", + ".github", + ".gitignore", + ".gitattributes", + ".gitmodules", + ], + sources: [ + "src/parser.c", + "src/scanner.c", + ], + resources: [ + .copy("queries") + ], + publicHeadersPath: "bindings/swift", + cSettings: [.headerSearchPath("src")] + ), + .testTarget( + name: "TreeSitterSvelteTests", + dependencies: [ + "SwiftTreeSitter", + "TreeSitterSvelte", + ], + path: "bindings/swift/TreeSitterSvelteTests" + ) + ], + cLanguageStandard: .c11 ) diff --git a/README.md b/README.md index 50746b4..583b2d5 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,15 @@ [![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-svelte/actions/workflows/ci.yml) [![discord][discord]](https://discord.gg/w7nTvsVJhm) [![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org) +[![crates][crates]](https://crates.io/crates/tree-sitter-svelte-ng) +[![npm][npm]](https://www.npmjs.com/package/@tree-sitter-grammars/tree-sitter-svelte) +[![pypi][pypi]](https://pypi.org/project/tree-sitter-svelte) [Svelte](https://svelte.dev/) grammar for [tree-sitter](https://tree-sitter.github.io) [ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-svelte/ci.yml?logo=github&label=CI [discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord [matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix +[npm]: https://img.shields.io/npm/v/@tree-sitter-grammars/tree-sitter-svelte?logo=npm +[crates]: https://img.shields.io/crates/v/tree-sitter-svelte-ng?logo=rust +[pypi]: https://img.shields.io/pypi/v/tree-sitter-svelte?logo=pypi&logoColor=ffd242 diff --git a/binding.gyp b/binding.gyp index 490a3dd..271354e 100644 --- a/binding.gyp +++ b/binding.gyp @@ -2,18 +2,29 @@ "targets": [ { "target_name": "tree_sitter_svelte_binding", + "dependencies": [ + " -#include "nan.h" +#include -using namespace v8; +typedef struct TSLanguage TSLanguage; -extern "C" TSLanguage * tree_sitter_svelte(); +extern "C" TSLanguage *tree_sitter_svelte(); -namespace { +// "tree-sitter", "language" hashed with BLAKE2 +const napi_type_tag LANGUAGE_TYPE_TAG = { + 0x8AF2E5212AD58ABF, 0xD5006CAD83ABBA16 +}; -NAN_METHOD(New) {} - -void Init(Local exports, Local module) { - Local tpl = Nan::New(New); - tpl->SetClassName(Nan::New("Language").ToLocalChecked()); - tpl->InstanceTemplate()->SetInternalFieldCount(1); - - Local constructor = Nan::GetFunction(tpl).ToLocalChecked(); - Local instance = constructor->NewInstance(Nan::GetCurrentContext()).ToLocalChecked(); - Nan::SetInternalFieldPointer(instance, 0, tree_sitter_svelte()); - - Nan::Set(instance, Nan::New("name").ToLocalChecked(), Nan::New("svelte").ToLocalChecked()); - Nan::Set(module, Nan::New("exports").ToLocalChecked(), instance); +Napi::Object Init(Napi::Env env, Napi::Object exports) { + exports["name"] = Napi::String::New(env, "svelte"); + auto language = Napi::External::New(env, tree_sitter_svelte()); + language.TypeTag(&LANGUAGE_TYPE_TAG); + exports["language"] = language; + return exports; } -NODE_MODULE(tree_sitter_svelte_binding, Init) - -} // namespace +NODE_API_MODULE(tree_sitter_svelte_binding, Init) diff --git a/bindings/node/binding_test.js b/bindings/node/binding_test.js new file mode 100644 index 0000000..afede30 --- /dev/null +++ b/bindings/node/binding_test.js @@ -0,0 +1,9 @@ +/// + +const assert = require("node:assert"); +const { test } = require("node:test"); + +test("can load grammar", () => { + const parser = new (require("tree-sitter"))(); + assert.doesNotThrow(() => parser.setLanguage(require("."))); +}); diff --git a/bindings/node/index.d.ts b/bindings/node/index.d.ts new file mode 100644 index 0000000..efe259e --- /dev/null +++ b/bindings/node/index.d.ts @@ -0,0 +1,28 @@ +type BaseNode = { + type: string; + named: boolean; +}; + +type ChildNode = { + multiple: boolean; + required: boolean; + types: BaseNode[]; +}; + +type NodeInfo = + | (BaseNode & { + subtypes: BaseNode[]; + }) + | (BaseNode & { + fields: { [name: string]: ChildNode }; + children: ChildNode[]; + }); + +type Language = { + name: string; + language: unknown; + nodeTypeInfo: NodeInfo[]; +}; + +declare const language: Language; +export = language; diff --git a/bindings/node/index.js b/bindings/node/index.js index 6bc6fc8..6657bcf 100644 --- a/bindings/node/index.js +++ b/bindings/node/index.js @@ -1,18 +1,6 @@ -try { - module.exports = require("../../build/Release/tree_sitter_svelte_binding"); -} catch (error1) { - if (error1.code !== 'MODULE_NOT_FOUND') { - throw error1; - } - try { - module.exports = require("../../build/Debug/tree_sitter_svelte_binding"); - } catch (error2) { - if (error2.code !== 'MODULE_NOT_FOUND') { - throw error2; - } - throw error1 - } -} +const root = require("path").join(__dirname, "..", ".."); + +module.exports = require("node-gyp-build")(root); try { module.exports.nodeTypeInfo = require("../../src/node-types.json"); diff --git a/bindings/python/tests/test_binding.py b/bindings/python/tests/test_binding.py new file mode 100644 index 0000000..3c3106a --- /dev/null +++ b/bindings/python/tests/test_binding.py @@ -0,0 +1,11 @@ +from unittest import TestCase + +import tree_sitter, tree_sitter_svelte + + +class TestLanguage(TestCase): + def test_can_load_grammar(self): + try: + tree_sitter.Language(tree_sitter_svelte.language()) + except Exception: + self.fail("Error loading Svelte grammar") diff --git a/bindings/python/tree_sitter_svelte/__init__.py b/bindings/python/tree_sitter_svelte/__init__.py new file mode 100644 index 0000000..c9630b6 --- /dev/null +++ b/bindings/python/tree_sitter_svelte/__init__.py @@ -0,0 +1,37 @@ +"""Svelte grammar for tree-sitter""" + +from importlib.resources import files as _files + +from ._binding import language + + +def _get_query(name, file): + query = _files(f"{__package__}.queries") / file + globals()[name] = query.read_text() + return globals()[name] + + +def __getattr__(name): + if name == "HIGHLIGHTS_QUERY": + return _get_query("HIGHLIGHTS_QUERY", "highlights.scm") + if name == "INJECTIONS_QUERY": + return _get_query("INJECTIONS_QUERY", "injections.scm") + if name == "LOCALS_QUERY": + return _get_query("LOCALS_QUERY", "locals.scm") + + raise AttributeError(f"module {__name__!r} has no attribute {name!r}") + + +__all__ = [ + "language", + "HIGHLIGHTS_QUERY", + "INJECTIONS_QUERY", + "LOCALS_QUERY", +] + + +def __dir__(): + return sorted(__all__ + [ + "__all__", "__builtins__", "__cached__", "__doc__", "__file__", + "__loader__", "__name__", "__package__", "__path__", "__spec__", + ]) diff --git a/bindings/python/tree_sitter_svelte/__init__.pyi b/bindings/python/tree_sitter_svelte/__init__.pyi new file mode 100644 index 0000000..79463da --- /dev/null +++ b/bindings/python/tree_sitter_svelte/__init__.pyi @@ -0,0 +1,7 @@ +from typing import Final + +HIGHLIGHTS_QUERY: Final[str] +INJECTIONS_QUERY: Final[str] +LOCALS_QUERY: Final[str] + +def language() -> object: ... diff --git a/bindings/python/tree_sitter_svelte/binding.c b/bindings/python/tree_sitter_svelte/binding.c new file mode 100644 index 0000000..7bf7237 --- /dev/null +++ b/bindings/python/tree_sitter_svelte/binding.c @@ -0,0 +1,27 @@ +#include + +typedef struct TSLanguage TSLanguage; + +TSLanguage *tree_sitter_svelte(void); + +static PyObject* _binding_language(PyObject *Py_UNUSED(self), PyObject *Py_UNUSED(args)) { + return PyCapsule_New(tree_sitter_svelte(), "tree_sitter.Language", NULL); +} + +static PyMethodDef methods[] = { + {"language", _binding_language, METH_NOARGS, + "Get the tree-sitter language for this grammar."}, + {NULL, NULL, 0, NULL} +}; + +static struct PyModuleDef module = { + .m_base = PyModuleDef_HEAD_INIT, + .m_name = "_binding", + .m_doc = NULL, + .m_size = -1, + .m_methods = methods +}; + +PyMODINIT_FUNC PyInit__binding(void) { + return PyModule_Create(&module); +} diff --git a/bindings/python/tree_sitter_svelte/py.typed b/bindings/python/tree_sitter_svelte/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/bindings/rust/README.md b/bindings/rust/README.md deleted file mode 100644 index 8f0983a..0000000 --- a/bindings/rust/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# tree-sitter-svelte - -This crate provides an Svelte grammar for the [tree-sitter][] parsing library. To -use this crate, add it to the `[dependencies]` section of your `Cargo.toml` -file. (Note that you will probably also need to depend on the -[`tree-sitter`][tree-sitter crate] crate to use the parsed result in any useful -way.) - -```toml -[dependencies] -tree-sitter = "~0.20.10" -tree-sitter-svelte = "0.0.1" -``` - -Typically, you will use the [language][language func] function to add this -grammar to a tree-sitter [Parser][], and then use the parser to parse some code: - -```rust -let code = r#" - -"#; -let mut parser = Parser::new(); -parser.set_language(tree_sitter_svelte::language()).expect("Error loading Svelte grammar"); -let parsed = parser.parse(code, None); -``` - -If you have any questions, please reach out to us in the [tree-sitter -discussions] page. - -[language func]: https://docs.rs/tree-sitter-svelte/*/tree_sitter_svelte/fn.language.html -[parser]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Parser.html -[tree-sitter]: https://tree-sitter.github.io/ -[tree-sitter crate]: https://crates.io/crates/tree-sitter -[tree-sitter discussions]: https://github.com/tree-sitter/tree-sitter/discussions diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs index 8851fed..b3c0b4f 100644 --- a/bindings/rust/build.rs +++ b/bindings/rust/build.rs @@ -2,18 +2,18 @@ fn main() { let src_dir = std::path::Path::new("src"); let mut c_config = cc::Build::new(); - c_config.include(src_dir); - c_config - .flag_if_supported("-Wno-unused-parameter") - .flag_if_supported("-Wno-unused-but-set-variable") - .flag_if_supported("-Wno-trigraphs"); + c_config.std("c11").include(src_dir); + + #[cfg(target_env = "msvc")] + c_config.flag("-utf-8"); + let parser_path = src_dir.join("parser.c"); c_config.file(&parser_path); + println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap()); 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()); + c_config.compile("tree-sitter-svelte"); } diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index 97d8d83..dba1ea6 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -4,10 +4,18 @@ //! tree-sitter [Parser][], and then use the parser to parse some code: //! //! ``` -//! let code = ""; +//! use tree_sitter::Parser; +//! +//! let code = r#" +//! +//! "#; //! let mut parser = tree_sitter::Parser::new(); -//! parser.set_language(tree_sitter_svelte::language()).expect("Error loading Svelte grammar"); +//! let language = tree_sitter_svelte_ng::LANGUAGE; +//! parser +//! .set_language(&language.into()) +//! .expect("Error loading Svelte parser"); //! let tree = parser.parse(code, None).unwrap(); +//! assert!(!tree.root_node().has_error()); //! ``` //! //! [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html @@ -15,26 +23,27 @@ //! [Parser]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Parser.html //! [tree-sitter]: https://tree-sitter.github.io/ -use tree_sitter::Language; +use tree_sitter_language::LanguageFn; extern "C" { - fn tree_sitter_svelte() -> Language; + fn tree_sitter_svelte() -> *const (); } -/// Get the tree-sitter [Language][] for this grammar. -/// -/// [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html -pub fn language() -> Language { - unsafe { tree_sitter_svelte() } -} +/// The tree-sitter [`LanguageFn`] for this grammar. +pub const LANGUAGE: LanguageFn = unsafe { LanguageFn::from_raw(tree_sitter_svelte) }; /// The content of the [`node-types.json`][] file for this grammar. /// /// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types pub const NODE_TYPES: &str = include_str!("../../src/node-types.json"); +/// The syntax highlighting query for this language. pub const HIGHLIGHTS_QUERY: &str = include_str!("../../queries/highlights.scm"); + +/// The injections query for this language. pub const INJECTIONS_QUERY: &str = include_str!("../../queries/injections.scm"); + +/// The local-variable syntax highlighting query for this language. pub const LOCALS_QUERY: &str = include_str!("../../queries/locals.scm"); #[cfg(test)] @@ -43,7 +52,7 @@ mod tests { fn test_can_load_grammar() { let mut parser = tree_sitter::Parser::new(); parser - .set_language(super::language()) - .expect("Error loading Svelte grammar"); + .set_language(&super::LANGUAGE.into()) + .expect("Error loading Svelte parser"); } } diff --git a/bindings/swift/TreeSitterSvelteTests/TreeSitterSvelteTests.swift b/bindings/swift/TreeSitterSvelteTests/TreeSitterSvelteTests.swift new file mode 100644 index 0000000..a2bd4c6 --- /dev/null +++ b/bindings/swift/TreeSitterSvelteTests/TreeSitterSvelteTests.swift @@ -0,0 +1,12 @@ +import XCTest +import SwiftTreeSitter +import TreeSitterSvelte + +final class TreeSitterSvelteTests: XCTestCase { + func testCanLoadGrammar() throws { + let parser = Parser() + let language = Language(language: tree_sitter_svelte()) + XCTAssertNoThrow(try parser.setLanguage(language), + "Error loading Svelte grammar") + } +} diff --git a/compile_commands.json b/compile_commands.json new file mode 100644 index 0000000..857345e --- /dev/null +++ b/compile_commands.json @@ -0,0 +1,42 @@ +[ + { + "directory": "/home/amaanq/projects/treesitter/tree-sitter-svelte", + "file": "src/parser.c", + "output": "/tmp/parser-d47707.o", + "arguments": [ + "/usr/bin/clang-17", + "-xc", + "src/parser.c", + "-o", + "/tmp/parser-d47707.o", + "-I", + "src/", + "-shared", + "-fPIC", + "-O3", + "-dumpdir", + "a-", + "--target=x86_64-pc-linux-gnu" + ] + }, + { + "directory": "/home/amaanq/projects/treesitter/tree-sitter-svelte", + "file": "src/scanner.c", + "output": "/tmp/scanner-9d9e62.o", + "arguments": [ + "/usr/bin/clang-17", + "-xc", + "src/scanner.c", + "-o", + "/tmp/scanner-9d9e62.o", + "-I", + "src/", + "-shared", + "-fPIC", + "-O3", + "-dumpdir", + "a-", + "--target=x86_64-pc-linux-gnu" + ] + } +] diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..323d2b0 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,43 @@ +import globals from "globals"; +import google from "eslint-config-google"; + +export default { + ...google, + languageOptions: { + ecmaVersion: "latest", + sourceType: "module", + globals: { + ...globals.commonjs, + ...globals.es2021, + }, + }, + rules: { + "arrow-parens": "off", + camelcase: "off", + indent: [ + "error", + 2, + { + SwitchCase: 1, + }, + ], + "max-len": [ + "error", + { + code: 160, + ignoreComments: true, + ignoreUrls: true, + ignoreStrings: true, + }, + ], + "spaced-comment": [ + "warn", + "always", + { + line: { + markers: ["/"], + }, + }, + ], + }, +}; diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..270d2c2 --- /dev/null +++ b/go.mod @@ -0,0 +1,7 @@ +module github.com/tree-sitter-grammars/tree-sitter-svelte + +go 1.23 + +require github.com/tree-sitter/go-tree-sitter v0.23.1 + +require github.com/mattn/go-pointer v0.0.1 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..d775361 --- /dev/null +++ b/go.sum @@ -0,0 +1,36 @@ +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/mattn/go-pointer v0.0.1 h1:n+XhsuGeVO6MEAp7xyEukFINEa+Quek5psIR/ylA6o0= +github.com/mattn/go-pointer v0.0.1/go.mod h1:2zXcozF6qYGgmsG+SeTZz3oAbFLdD3OWqnUbNvJZAlc= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/tree-sitter/go-tree-sitter v0.23.1 h1:HCfaE19sKfG7q190xfM1loUZf6wEHa4TDqDEW46s9Lg= +github.com/tree-sitter/go-tree-sitter v0.23.1/go.mod h1:EvIVhMvvPNvhu9x+ddSPxSnUEU5AnsSwi1LMqXIVE3A= +github.com/tree-sitter/tree-sitter-c v0.21.5-0.20240818205408-927da1f210eb h1:A8425heRM8mylnv4H58FPUiH+aYivyitre0PzxrfmWs= +github.com/tree-sitter/tree-sitter-c v0.21.5-0.20240818205408-927da1f210eb/go.mod h1:dOF6gtQiF9UwNh995T5OphYmtIypkjsp3ap7r9AN/iA= +github.com/tree-sitter/tree-sitter-cpp v0.22.4-0.20240818224355-b1a4e2b25148 h1:AfFPZwtwGN01BW1jDdqBVqscTwetvMpydqYZz57RSlc= +github.com/tree-sitter/tree-sitter-cpp v0.22.4-0.20240818224355-b1a4e2b25148/go.mod h1:Bh6U3viD57rFXRYIQ+kmiYtr+1Bx0AceypDLJJSyi9s= +github.com/tree-sitter/tree-sitter-embedded-template v0.21.1-0.20240819044651-ffbf64942c33 h1:TwqSV3qLp3tKSqirGLRHnjFk9Tc2oy57LIl+FQ4GjI4= +github.com/tree-sitter/tree-sitter-embedded-template v0.21.1-0.20240819044651-ffbf64942c33/go.mod h1:CvCKCt3v04Ufos1zZnNCelBDeCGRpPucaN8QczoUsN4= +github.com/tree-sitter/tree-sitter-go v0.21.3-0.20240818010209-8c0f0e7a6012 h1:Xvxck3tE5FW7F7bTS97iNM2ADMyCMJztVqn5HYKdJGo= +github.com/tree-sitter/tree-sitter-go v0.21.3-0.20240818010209-8c0f0e7a6012/go.mod h1:T40D0O1cPvUU/+AmiXVXy1cncYQT6wem4Z0g4SfAYvY= +github.com/tree-sitter/tree-sitter-html v0.20.5-0.20240818004741-d11201a263d0 h1:c46K6uh5Dz00zJeU9BfjXdb8I+E4RkUdfnWJpQADXFo= +github.com/tree-sitter/tree-sitter-html v0.20.5-0.20240818004741-d11201a263d0/go.mod h1:hcNt/kOJHcIcuMvouE7LJcYdeFUFbVpBJ6d4wmOA+tU= +github.com/tree-sitter/tree-sitter-java v0.21.1-0.20240824015150-576d8097e495 h1:jrt4qbJVEFs4H93/ITxygHc6u0TGqAkkate7TQ4wFSA= +github.com/tree-sitter/tree-sitter-java v0.21.1-0.20240824015150-576d8097e495/go.mod h1:oyaR7fLnRV0hT9z6qwE9GkaeTom/hTDwK3H2idcOJFc= +github.com/tree-sitter/tree-sitter-javascript v0.21.5-0.20240818005344-15887341e5b5 h1:om4X9AVg3asL8gxNJDcz4e/Wp+VpQj1PY3uJXKr6EOg= +github.com/tree-sitter/tree-sitter-javascript v0.21.5-0.20240818005344-15887341e5b5/go.mod h1:nNqgPoV/h9uYWk6kYEFdEAhNVOacpfpRW5SFmdaP4tU= +github.com/tree-sitter/tree-sitter-json v0.21.1-0.20240818005659-bdd69eb8c8a5 h1:pfV3G3k7NCKqKk8THBmyuh2zA33lgYHS3GVrzRR8ry4= +github.com/tree-sitter/tree-sitter-json v0.21.1-0.20240818005659-bdd69eb8c8a5/go.mod h1:GbMKRjLfk0H+PI7nLi1Sx5lHf5wCpLz9al8tQYSxpEk= +github.com/tree-sitter/tree-sitter-php v0.22.9-0.20240819002312-a552625b56c1 h1:ZXZMDwE+IhUtGug4Brv6NjJWUU3rfkZBKpemf6RY8/g= +github.com/tree-sitter/tree-sitter-php v0.22.9-0.20240819002312-a552625b56c1/go.mod h1:UKCLuYnJ312Mei+3cyTmGOHzn0YAnaPRECgJmHtzrqs= +github.com/tree-sitter/tree-sitter-python v0.21.1-0.20240818005537-55a9b8a4fbfb h1:EXEM82lFM7JjJb6qiKZXkpIDaCcbV2obNn82ghwj9lw= +github.com/tree-sitter/tree-sitter-python v0.21.1-0.20240818005537-55a9b8a4fbfb/go.mod h1:lXCF1nGG5Dr4J3BTS0ObN4xJCCICiSu/b+Xe/VqMV7g= +github.com/tree-sitter/tree-sitter-ruby v0.21.1-0.20240818211811-7dbc1e2d0e2d h1:fcYCvoXdcP1uRQYXqJHRy6Hec+uKScQdKVtMwK9JeCI= +github.com/tree-sitter/tree-sitter-ruby v0.21.1-0.20240818211811-7dbc1e2d0e2d/go.mod h1:T1nShQ4v5AJtozZ8YyAS4uzUtDAJj/iv4YfwXSbUHzg= +github.com/tree-sitter/tree-sitter-rust v0.21.3-0.20240818005432-2b43eafe6447 h1:o9alBu1J/WjrcTKEthYtXmdkDc5OVXD+PqlvnEZ0Lzc= +github.com/tree-sitter/tree-sitter-rust v0.21.3-0.20240818005432-2b43eafe6447/go.mod h1:1Oh95COkkTn6Ezp0vcMbvfhRP5gLeqqljR0BYnBzWvc= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/grammar.js b/grammar.js index 7f174ac..c39de05 100644 --- a/grammar.js +++ b/grammar.js @@ -2,10 +2,9 @@ * @file Svelte grammar for tree-sitter * @author Amaan Qureshi * @license MIT - * @see {@link https://svelte.dev/|Official website} + * @see {@link https://svelte.dev|Official website} */ -// eslint-disable-next-line spaced-comment /// // @ts-check @@ -235,7 +234,7 @@ module.exports = grammar(HTML, { ), _key_start_tag: _ => tag('#', 'key'), - key_start: $ => seq('{', alias($._key_start_tag, $.block_start_tag), $.svelte_raw_text, '}' ), + key_start: $ => seq('{', alias($._key_start_tag, $.block_start_tag), $.svelte_raw_text, '}'), _key_end_tag: _ => tag('/', 'key'), key_end: $ => seq('{', alias($._key_end_tag, $.block_end_tag), '}'), diff --git a/package-lock.json b/package-lock.json index 8965042..33da1e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,30 +1,32 @@ { - "name": "tree-sitter-svelte", - "version": "0.0.1", + "name": "@tree-sitter-grammars/tree-sitter-svelte", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "tree-sitter-svelte", - "version": "0.0.1", + "name": "@tree-sitter-grammars/tree-sitter-svelte", + "version": "1.0.0", + "hasInstallScript": true, "license": "MIT", "dependencies": { - "nan": "^2.18.0", - "tree-sitter-html": "^0.20.1" + "node-addon-api": "^8.1.0", + "node-gyp-build": "^4.8.2", + "tree-sitter-html": "^0.23.0" }, "devDependencies": { - "eslint": ">=8.56.0", + "eslint": "^9.10.0", "eslint-config-google": "^0.14.0", - "tree-sitter-cli": "^0.21.0" - } - }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" + "prebuildify": "^6.0.1", + "tree-sitter-cli": "^0.23.0" + }, + "peerDependencies": { + "tree-sitter": "^0.21.1" + }, + "peerDependenciesMeta": { + "tree_sitter": { + "optional": true + } } }, "node_modules/@eslint-community/eslint-utils": { @@ -42,25 +44,51 @@ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, + "node_modules/@eslint/config-array": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz", + "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==", + "dev": true, + "dependencies": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", + "espree": "^10.0.1", + "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -68,33 +96,40 @@ "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "9.10.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.10.0.tgz", + "integrity": "sha512-fuXtbiP5GWIn8Fz+LWoOMVf/Jxm+aajZYkhi6CuEm4SxymFM+eUWzbO9qXT+L0iCkL5+KGYMCSGxo686H19S1g==", "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "node_modules/@eslint/object-schema": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", + "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.1.0.tgz", + "integrity": "sha512-autAXT203ixhqei9xt+qkYOvY8l6LAFIdT2UXc/RPNeUVfqRF1BV94GTJyVPFKT8nFM6MyVJhjLj9E8JWvf5zQ==", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" + "levn": "^0.4.1" }, "engines": { - "node": ">=10.10.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@humanwhocodes/module-importer": { @@ -110,11 +145,18 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", - "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", - "dev": true + "node_modules/@humanwhocodes/retry": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.0.tgz", + "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", + "dev": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", @@ -151,16 +193,10 @@ "node": ">= 8" } }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true - }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -230,6 +266,37 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -240,6 +307,30 @@ "concat-map": "0.0.1" } }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -265,6 +356,12 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -304,12 +401,12 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -326,16 +423,13 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "dev": true, "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" + "once": "^1.4.0" } }, "node_modules/escape-string-regexp": { @@ -351,43 +445,39 @@ } }, "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "9.10.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.10.0.tgz", + "integrity": "sha512-Y4D0IgtBZfOcOUAIQTSXBKoNGfY0REGqHJG6+Q81vNippW5YlKjHFj4soMxamKK1NXHUWuBZTLdU3Km+L/pcHw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint-community/regexpp": "^4.11.0", + "@eslint/config-array": "^0.18.0", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.10.0", + "@eslint/plugin-kit": "^0.1.0", "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^8.0.2", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", @@ -399,10 +489,18 @@ "eslint": "bin/eslint.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } } }, "node_modules/eslint-config-google": { @@ -418,54 +516,54 @@ } }, "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.0.2.tgz", + "integrity": "sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==", "dev": true, "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", + "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", "dev": true, "dependencies": { - "acorn": "^8.9.0", + "acorn": "^8.12.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^4.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", "dev": true, "dependencies": { "estraverse": "^5.1.0" @@ -532,15 +630,15 @@ } }, "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "dependencies": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16.0.0" } }, "node_modules/find-up": { @@ -560,17 +658,16 @@ } }, "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "dependencies": { "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "keyv": "^4.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16" } }, "node_modules/flatted": { @@ -579,32 +676,12 @@ "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", "dev": true }, - "node_modules/fs.realpath": { + "node_modules/fs-constants": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "dev": true }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -618,26 +695,17 @@ } }, "node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, "engines": { - "node": ">=8" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -647,10 +715,30 @@ "node": ">=8" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" @@ -681,16 +769,6 @@ "node": ">=0.8.19" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -818,16 +896,26 @@ "node": "*" } }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", "dev": true }, - "node_modules/nan": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz", - "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==" + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true }, "node_modules/natural-compare": { "version": "1.4.0", @@ -835,6 +923,48 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, + "node_modules/node-abi": { + "version": "3.67.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.67.0.tgz", + "integrity": "sha512-bLn/fU/ALVBE9wj+p4Y21ZJWYFjUXLXPi/IewyLZkx3ApxKDNBWCKdReeKOtD8dWpOdDCeMyLh6ZewzcLsG2Nw==", + "dev": true, + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-addon-api": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.1.0.tgz", + "integrity": "sha512-yBY+qqWSv3dWKGODD6OGE6GnTX7Q2r+4+DfpqxHSHh8x0B4EKP9+wVGLS6U/AM1vxSNNmUEuIV5EGhYwPpfOwQ==", + "engines": { + "node": "^18 || ^20 || >= 21" + } + }, + "node_modules/node-gyp-build": { + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.2.tgz", + "integrity": "sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/npm-run-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-3.1.0.tgz", + "integrity": "sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -845,17 +975,17 @@ } }, "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -912,15 +1042,6 @@ "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -930,6 +1051,23 @@ "node": ">=8" } }, + "node_modules/prebuildify": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/prebuildify/-/prebuildify-6.0.1.tgz", + "integrity": "sha512-8Y2oOOateom/s8dNBsGIcnm6AxPmLH4/nanQzL5lQMU+sC0CMhzARZHizwr36pUPLdvBnOkCNQzxg4djuFSgIw==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5", + "mkdirp-classic": "^0.5.3", + "node-abi": "^3.3.0", + "npm-run-path": "^3.1.0", + "pump": "^3.0.0", + "tar-fs": "^2.1.0" + }, + "bin": { + "prebuildify": "bin.js" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -939,6 +1077,16 @@ "node": ">= 0.8.0" } }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -968,6 +1116,20 @@ } ] }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", @@ -987,21 +1149,6 @@ "node": ">=0.10.0" } }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -1025,6 +1172,38 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -1046,6 +1225,15 @@ "node": ">=8" } }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -1082,29 +1270,80 @@ "node": ">=8" } }, + "node_modules/tar-fs": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", + "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", + "dev": true, + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, + "node_modules/tree-sitter": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.21.1.tgz", + "integrity": "sha512-7dxoA6kYvtgWw80265MyqJlkRl4yawIjO7S5MigytjELkX43fV2WsAXzsNfO7sBpPPCF5Gp0+XzHk0DwLCq3xQ==", + "hasInstallScript": true, + "peer": true, + "dependencies": { + "node-addon-api": "^8.0.0", + "node-gyp-build": "^4.8.0" + } + }, "node_modules/tree-sitter-cli": { - "version": "0.21.0", - "resolved": "https://registry.npmjs.org/tree-sitter-cli/-/tree-sitter-cli-0.21.0.tgz", - "integrity": "sha512-wA7wT5724fNQW82XDH6zT6ZcYonjrAKLCHHuhLsPcAKULrhp3rNuMvlgBdB5FUBvmjHNhtTZF/qpHenMoRJPBw==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/tree-sitter-cli/-/tree-sitter-cli-0.23.0.tgz", + "integrity": "sha512-/DdQaPCCOrOYGp9FxGdhFUnHIrjhfbYatQXgNIcmaAOpPunpnDj2vsO/H+svsfQLaFsQ1C+BjgPhpbV28zka1w==", "dev": true, "hasInstallScript": true, "bin": { "tree-sitter": "cli.js" + }, + "engines": { + "node": ">=12.0.0" } }, "node_modules/tree-sitter-html": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/tree-sitter-html/-/tree-sitter-html-0.20.1.tgz", - "integrity": "sha512-75+QD9psUPuCAT2tYoUv2TuGESeLE78R4MDRLL59qthKVPuNa8JLsXJqc62pQae1XFjZr6O/f+2DzBrTczYdWA==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/tree-sitter-html/-/tree-sitter-html-0.23.0.tgz", + "integrity": "sha512-k0R7uv2RKOBuvjkdPqv5quJgbHev4nuQqm38HLrIVDaJ7aANoPQonyl7/6Yh4qy5Fg7eJcWUbRpfe0KcHEwckA==", "hasInstallScript": true, "dependencies": { - "nan": "^2.18.0" + "node-addon-api": "^8.1.0", + "node-gyp-build": "^4.8.2" + }, + "peerDependencies": { + "tree-sitter": "^0.21.1" + }, + "peerDependenciesMeta": { + "tree-sitter": { + "optional": true + } } }, "node_modules/type-check": { @@ -1119,18 +1358,6 @@ "node": ">= 0.8.0" } }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -1140,6 +1367,12 @@ "punycode": "^2.1.0" } }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -1155,6 +1388,15 @@ "node": ">= 8" } }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index 3e15b04..495a5d1 100644 --- a/package.json +++ b/package.json @@ -1,37 +1,52 @@ { - "name": "tree-sitter-svelte", - "version": "0.0.1", + "name": "@tree-sitter-grammars/tree-sitter-svelte", + "version": "1.0.0", "description": "Svelte grammar for tree-sitter", + "repository": "github:tree-sitter-grammars/tree-sitter-svelte", + "license": "MIT", + "author": "Amaan Qureshi ", "main": "bindings/node", + "types": "bindings/node", + "files": [ + "grammar.js", + "binding.gyp", + "prebuilds/**", + "bindings/node/*", + "queries/*", + "src/**", + "*.wasm" + ], "keywords": [ - "parsing", "incremental", + "parsing", + "tree-sitter", "svelte" ], - "author": { - "name": "Amaan Qureshi", - "email": "amaanq12@gmail.com" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/tree-sitter-grammars/tree-sitter-svelte/issues" - }, - "homepage": "https://github.com/tree-sitter-grammars/tree-sitter-svelte#readme", - "repository": "https://github.com/tree-sitter-grammars/tree-sitter-svelte", "dependencies": { - "nan": "^2.18.0", - "tree-sitter-html": "^0.20.1" + "node-addon-api": "^8.1.0", + "node-gyp-build": "^4.8.2", + "tree-sitter-html": "^0.23.0" }, "devDependencies": { - "eslint": ">=8.56.0", + "eslint": "^9.10.0", "eslint-config-google": "^0.14.0", - "tree-sitter-cli": "^0.21.0" + "prebuildify": "^6.0.1", + "tree-sitter-cli": "^0.23.0" + }, + "peerDependencies": { + "tree-sitter": "^0.21.1" + }, + "peerDependenciesMeta": { + "tree_sitter": { + "optional": true + } }, "scripts": { - "build": "tree-sitter generate --no-bindings", + "install": "node-gyp-build", "lint": "eslint grammar.js", - "parse": "tree-sitter parse", - "test": "tree-sitter test" + "prestart": "tree-sitter build --wasm", + "start": "tree-sitter playground", + "test": "node --test bindings/node/*_test.js" }, "tree-sitter": [ { @@ -42,6 +57,9 @@ ], "highlights": [ "queries/highlights.scm" + ], + "injections": [ + "queries/injections.scm" ] } ] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..cee9ee5 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,30 @@ +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "tree-sitter-svelte" +description = "Svelte grammar for tree-sitter" +version = "1.0.0" +keywords = ["incremental", "parsing", "tree-sitter", "svelte"] +classifiers = [ + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Topic :: Software Development :: Compilers", + "Topic :: Text Processing :: Linguistic", + "Typing :: Typed", +] +authors = [{ name = "Amaan Qureshi", email = "amaanq12@gmail.com" }] +requires-python = ">=3.9" +license.text = "MIT" +readme = "README.md" + +[project.urls] +Homepage = "https://github.com/tree-sitter-grammars/tree-sitter-svelte" + +[project.optional-dependencies] +core = ["tree-sitter~=0.22"] + +[tool.cibuildwheel] +build = "cp39-*" +build-frontend = "build" diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..924d9c8 --- /dev/null +++ b/setup.py @@ -0,0 +1,62 @@ +from os.path import isdir, join +from platform import system + +from setuptools import Extension, find_packages, setup +from setuptools.command.build import build +from wheel.bdist_wheel import bdist_wheel + + +class Build(build): + def run(self): + if isdir("queries"): + dest = join(self.build_lib, "tree_sitter_svelte", "queries") + self.copy_tree("queries", dest) + super().run() + + +class BdistWheel(bdist_wheel): + def get_tag(self): + python, abi, platform = super().get_tag() + if python.startswith("cp"): + python, abi = "cp39", "abi3" + return python, abi, platform + + +setup( + packages=find_packages("bindings/python"), + package_dir={"": "bindings/python"}, + package_data={ + "tree_sitter_svelte": ["*.pyi", "py.typed"], + "tree_sitter_svelte.queries": ["*.scm"], + }, + ext_package="tree_sitter_svelte", + ext_modules=[ + Extension( + name="_binding", + sources=[ + "bindings/python/tree_sitter_svelte/binding.c", + "src/parser.c", + "src/scanner.c" + ], + extra_compile_args=[ + "-std=c11", + "-fvisibility=hidden", + ] if system() != "Windows" else [ + "/std:c11", + "/utf-8", + ], + define_macros=[ + ("Py_LIMITED_API", "0x03090000"), + ("PY_SSIZE_T_CLEAN", None), + ("TREE_SITTER_HIDE_SYMBOLS", None), + ], + include_dirs=["src"], + py_limited_api=True, + ) + ], + cmdclass={ + "build": Build, + "bdist_wheel": BdistWheel + }, + zip_safe=False +) diff --git a/src/parser.c b/src/parser.c index 0478496..0e88b94 100644 --- a/src/parser.c +++ b/src/parser.c @@ -921,61 +921,61 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [1] = 1, [2] = 2, [3] = 3, - [4] = 2, - [5] = 3, + [4] = 3, + [5] = 2, [6] = 6, [7] = 7, - [8] = 7, - [9] = 6, + [8] = 6, + [9] = 7, [10] = 10, [11] = 11, - [12] = 10, - [13] = 11, + [12] = 11, + [13] = 10, [14] = 14, [15] = 15, - [16] = 15, - [17] = 14, + [16] = 14, + [17] = 15, [18] = 18, [19] = 19, [20] = 20, - [21] = 21, + [21] = 18, [22] = 22, [23] = 23, - [24] = 21, - [25] = 20, + [24] = 24, + [25] = 25, [26] = 19, - [27] = 27, + [27] = 23, [28] = 28, - [29] = 22, - [30] = 18, + [29] = 29, + [30] = 20, [31] = 31, - [32] = 28, - [33] = 33, - [34] = 27, - [35] = 31, - [36] = 33, + [32] = 31, + [33] = 29, + [34] = 22, + [35] = 24, + [36] = 25, [37] = 37, [38] = 38, [39] = 39, [40] = 40, [41] = 41, - [42] = 41, + [42] = 42, [43] = 43, - [44] = 44, - [45] = 38, - [46] = 46, + [44] = 40, + [45] = 45, + [46] = 45, [47] = 47, - [48] = 47, - [49] = 49, - [50] = 49, + [48] = 48, + [49] = 48, + [50] = 47, [51] = 51, [52] = 51, [53] = 53, [54] = 54, - [55] = 54, - [56] = 56, - [57] = 53, - [58] = 56, + [55] = 55, + [56] = 53, + [57] = 55, + [58] = 54, [59] = 59, [60] = 59, [61] = 61, @@ -994,7 +994,7 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [74] = 74, [75] = 75, [76] = 76, - [77] = 61, + [77] = 77, [78] = 78, [79] = 79, [80] = 80, @@ -1006,66 +1006,66 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [86] = 86, [87] = 87, [88] = 88, - [89] = 79, + [89] = 89, [90] = 90, [91] = 91, - [92] = 66, - [93] = 82, - [94] = 83, - [95] = 76, - [96] = 73, - [97] = 68, + [92] = 92, + [93] = 93, + [94] = 94, + [95] = 95, + [96] = 96, + [97] = 97, [98] = 98, - [99] = 69, - [100] = 80, - [101] = 81, - [102] = 86, - [103] = 87, - [104] = 90, - [105] = 91, - [106] = 106, - [107] = 107, - [108] = 108, - [109] = 109, - [110] = 110, - [111] = 111, - [112] = 106, - [113] = 113, - [114] = 114, - [115] = 115, - [116] = 62, - [117] = 117, - [118] = 88, - [119] = 110, - [120] = 120, - [121] = 121, - [122] = 98, - [123] = 123, - [124] = 121, - [125] = 109, - [126] = 108, - [127] = 107, - [128] = 85, - [129] = 84, - [130] = 75, - [131] = 72, - [132] = 71, - [133] = 120, - [134] = 134, - [135] = 70, - [136] = 67, - [137] = 65, - [138] = 63, - [139] = 117, - [140] = 134, - [141] = 123, - [142] = 115, - [143] = 114, - [144] = 111, - [145] = 145, - [146] = 113, - [147] = 147, - [148] = 78, + [99] = 99, + [100] = 61, + [101] = 101, + [102] = 102, + [103] = 103, + [104] = 104, + [105] = 105, + [106] = 66, + [107] = 62, + [108] = 99, + [109] = 105, + [110] = 67, + [111] = 68, + [112] = 69, + [113] = 70, + [114] = 71, + [115] = 72, + [116] = 74, + [117] = 75, + [118] = 76, + [119] = 77, + [120] = 78, + [121] = 80, + [122] = 82, + [123] = 83, + [124] = 84, + [125] = 85, + [126] = 86, + [127] = 87, + [128] = 88, + [129] = 89, + [130] = 90, + [131] = 91, + [132] = 92, + [133] = 93, + [134] = 94, + [135] = 95, + [136] = 96, + [137] = 97, + [138] = 101, + [139] = 102, + [140] = 98, + [141] = 141, + [142] = 142, + [143] = 103, + [144] = 142, + [145] = 65, + [146] = 73, + [147] = 104, + [148] = 141, [149] = 64, [150] = 150, [151] = 151, @@ -1076,96 +1076,96 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [156] = 156, [157] = 157, [158] = 158, - [159] = 147, + [159] = 159, [160] = 160, [161] = 161, [162] = 162, - [163] = 163, - [164] = 157, + [163] = 81, + [164] = 164, [165] = 165, - [166] = 166, + [166] = 164, [167] = 167, [168] = 168, [169] = 169, [170] = 170, [171] = 171, - [172] = 170, + [172] = 172, [173] = 173, [174] = 174, [175] = 175, [176] = 176, [177] = 177, - [178] = 174, + [178] = 176, [179] = 179, [180] = 177, - [181] = 181, - [182] = 173, - [183] = 176, - [184] = 184, - [185] = 85, + [181] = 179, + [182] = 171, + [183] = 172, + [184] = 68, + [185] = 185, [186] = 186, [187] = 187, [188] = 188, [189] = 189, - [190] = 175, + [190] = 190, [191] = 191, - [192] = 192, + [192] = 190, [193] = 189, - [194] = 184, - [195] = 187, + [194] = 175, + [195] = 185, [196] = 196, [197] = 197, - [198] = 85, - [199] = 197, - [200] = 85, - [201] = 85, + [198] = 196, + [199] = 188, + [200] = 197, + [201] = 186, [202] = 202, - [203] = 203, - [204] = 204, - [205] = 205, + [203] = 68, + [204] = 68, + [205] = 68, [206] = 206, - [207] = 192, - [208] = 202, - [209] = 191, - [210] = 205, - [211] = 203, - [212] = 186, + [207] = 207, + [208] = 208, + [209] = 209, + [210] = 206, + [211] = 207, + [212] = 209, [213] = 213, [214] = 214, [215] = 215, [216] = 216, - [217] = 217, - [218] = 215, + [217] = 216, + [218] = 218, [219] = 219, - [220] = 220, + [220] = 214, [221] = 221, [222] = 222, [223] = 223, - [224] = 224, + [224] = 219, [225] = 225, - [226] = 222, - [227] = 213, + [226] = 226, + [227] = 227, [228] = 228, [229] = 229, - [230] = 214, + [230] = 225, [231] = 231, - [232] = 216, + [232] = 218, [233] = 233, [234] = 234, - [235] = 217, + [235] = 235, [236] = 236, - [237] = 237, + [237] = 223, [238] = 238, [239] = 239, - [240] = 219, - [241] = 233, - [242] = 234, - [243] = 229, - [244] = 231, + [240] = 240, + [241] = 241, + [242] = 242, + [243] = 231, + [244] = 240, [245] = 245, - [246] = 246, - [247] = 247, - [248] = 248, + [246] = 213, + [247] = 215, + [248] = 235, [249] = 249, [250] = 250, [251] = 251, @@ -1190,74 +1190,74 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [270] = 270, [271] = 271, [272] = 272, - [273] = 273, + [273] = 249, [274] = 274, [275] = 275, [276] = 276, [277] = 277, - [278] = 250, + [278] = 278, [279] = 279, [280] = 280, - [281] = 252, + [281] = 281, [282] = 282, [283] = 283, [284] = 284, - [285] = 283, + [285] = 285, [286] = 286, - [287] = 287, - [288] = 277, - [289] = 276, - [290] = 283, - [291] = 291, - [292] = 292, - [293] = 254, - [294] = 253, + [287] = 259, + [288] = 288, + [289] = 289, + [290] = 290, + [291] = 252, + [292] = 270, + [293] = 275, + [294] = 294, [295] = 295, - [296] = 249, + [296] = 296, [297] = 297, - [298] = 251, + [298] = 298, [299] = 299, [300] = 300, [301] = 301, [302] = 302, - [303] = 295, + [303] = 303, [304] = 304, [305] = 305, [306] = 306, - [307] = 287, - [308] = 308, - [309] = 275, + [307] = 258, + [308] = 268, + [309] = 309, [310] = 310, [311] = 311, - [312] = 304, + [312] = 299, [313] = 313, - [314] = 313, + [314] = 314, [315] = 315, [316] = 316, - [317] = 317, - [318] = 318, - [319] = 283, - [320] = 291, + [317] = 249, + [318] = 249, + [319] = 249, + [320] = 249, [321] = 321, - [322] = 277, - [323] = 277, - [324] = 277, - [325] = 277, - [326] = 326, + [322] = 269, + [323] = 289, + [324] = 301, + [325] = 315, + [326] = 321, [327] = 327, - [328] = 328, - [329] = 306, - [330] = 271, - [331] = 270, - [332] = 267, - [333] = 261, - [334] = 334, - [335] = 266, - [336] = 336, - [337] = 337, - [338] = 338, - [339] = 327, - [340] = 340, + [328] = 253, + [329] = 329, + [330] = 263, + [331] = 331, + [332] = 290, + [333] = 303, + [334] = 272, + [335] = 327, + [336] = 277, + [337] = 277, + [338] = 277, + [339] = 274, + [340] = 286, [341] = 341, [342] = 342, [343] = 343, @@ -2015,7 +2015,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [24] = {.lex_state = 64, .external_lex_state = 2}, [25] = {.lex_state = 64, .external_lex_state = 2}, [26] = {.lex_state = 64, .external_lex_state = 2}, - [27] = {.lex_state = 64, .external_lex_state = 2}, + [27] = {.lex_state = 64, .external_lex_state = 3}, [28] = {.lex_state = 64, .external_lex_state = 2}, [29] = {.lex_state = 64, .external_lex_state = 2}, [30] = {.lex_state = 64, .external_lex_state = 2}, @@ -2023,7 +2023,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [32] = {.lex_state = 64, .external_lex_state = 2}, [33] = {.lex_state = 64, .external_lex_state = 2}, [34] = {.lex_state = 64, .external_lex_state = 2}, - [35] = {.lex_state = 64, .external_lex_state = 3}, + [35] = {.lex_state = 64, .external_lex_state = 2}, [36] = {.lex_state = 64, .external_lex_state = 2}, [37] = {.lex_state = 64, .external_lex_state = 2}, [38] = {.lex_state = 64, .external_lex_state = 2}, @@ -2049,43 +2049,43 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [58] = {.lex_state = 3, .external_lex_state = 5}, [59] = {.lex_state = 0, .external_lex_state = 6}, [60] = {.lex_state = 0, .external_lex_state = 6}, - [61] = {.lex_state = 64, .external_lex_state = 3}, - [62] = {.lex_state = 64, .external_lex_state = 3}, - [63] = {.lex_state = 64, .external_lex_state = 2}, + [61] = {.lex_state = 64, .external_lex_state = 2}, + [62] = {.lex_state = 64, .external_lex_state = 2}, + [63] = {.lex_state = 64, .external_lex_state = 3}, [64] = {.lex_state = 64, .external_lex_state = 2}, - [65] = {.lex_state = 64, .external_lex_state = 2}, - [66] = {.lex_state = 0, .external_lex_state = 2}, + [65] = {.lex_state = 6, .external_lex_state = 7}, + [66] = {.lex_state = 64, .external_lex_state = 2}, [67] = {.lex_state = 64, .external_lex_state = 2}, [68] = {.lex_state = 64, .external_lex_state = 2}, [69] = {.lex_state = 64, .external_lex_state = 2}, [70] = {.lex_state = 64, .external_lex_state = 2}, [71] = {.lex_state = 64, .external_lex_state = 2}, [72] = {.lex_state = 64, .external_lex_state = 2}, - [73] = {.lex_state = 64, .external_lex_state = 2}, - [74] = {.lex_state = 64, .external_lex_state = 3}, + [73] = {.lex_state = 0, .external_lex_state = 2}, + [74] = {.lex_state = 64, .external_lex_state = 2}, [75] = {.lex_state = 64, .external_lex_state = 2}, [76] = {.lex_state = 64, .external_lex_state = 2}, [77] = {.lex_state = 64, .external_lex_state = 2}, [78] = {.lex_state = 64, .external_lex_state = 2}, - [79] = {.lex_state = 6, .external_lex_state = 7}, + [79] = {.lex_state = 64, .external_lex_state = 3}, [80] = {.lex_state = 64, .external_lex_state = 2}, - [81] = {.lex_state = 64, .external_lex_state = 2}, - [82] = {.lex_state = 6, .external_lex_state = 7}, + [81] = {.lex_state = 6, .external_lex_state = 7}, + [82] = {.lex_state = 64, .external_lex_state = 2}, [83] = {.lex_state = 64, .external_lex_state = 2}, [84] = {.lex_state = 64, .external_lex_state = 2}, [85] = {.lex_state = 64, .external_lex_state = 2}, [86] = {.lex_state = 64, .external_lex_state = 2}, [87] = {.lex_state = 64, .external_lex_state = 2}, - [88] = {.lex_state = 0, .external_lex_state = 2}, - [89] = {.lex_state = 6, .external_lex_state = 7}, + [88] = {.lex_state = 64, .external_lex_state = 2}, + [89] = {.lex_state = 64, .external_lex_state = 2}, [90] = {.lex_state = 64, .external_lex_state = 2}, [91] = {.lex_state = 64, .external_lex_state = 2}, - [92] = {.lex_state = 0, .external_lex_state = 2}, - [93] = {.lex_state = 6, .external_lex_state = 7}, - [94] = {.lex_state = 64, .external_lex_state = 3}, - [95] = {.lex_state = 64, .external_lex_state = 3}, - [96] = {.lex_state = 64, .external_lex_state = 3}, - [97] = {.lex_state = 64, .external_lex_state = 3}, + [92] = {.lex_state = 64, .external_lex_state = 2}, + [93] = {.lex_state = 64, .external_lex_state = 2}, + [94] = {.lex_state = 64, .external_lex_state = 2}, + [95] = {.lex_state = 64, .external_lex_state = 2}, + [96] = {.lex_state = 64, .external_lex_state = 2}, + [97] = {.lex_state = 64, .external_lex_state = 2}, [98] = {.lex_state = 64, .external_lex_state = 3}, [99] = {.lex_state = 64, .external_lex_state = 3}, [100] = {.lex_state = 64, .external_lex_state = 3}, @@ -2095,24 +2095,24 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [104] = {.lex_state = 64, .external_lex_state = 3}, [105] = {.lex_state = 64, .external_lex_state = 3}, [106] = {.lex_state = 64, .external_lex_state = 3}, - [107] = {.lex_state = 64, .external_lex_state = 2}, + [107] = {.lex_state = 64, .external_lex_state = 3}, [108] = {.lex_state = 64, .external_lex_state = 2}, [109] = {.lex_state = 64, .external_lex_state = 2}, [110] = {.lex_state = 64, .external_lex_state = 3}, [111] = {.lex_state = 64, .external_lex_state = 3}, - [112] = {.lex_state = 64, .external_lex_state = 2}, + [112] = {.lex_state = 64, .external_lex_state = 3}, [113] = {.lex_state = 64, .external_lex_state = 3}, [114] = {.lex_state = 64, .external_lex_state = 3}, [115] = {.lex_state = 64, .external_lex_state = 3}, - [116] = {.lex_state = 64, .external_lex_state = 2}, + [116] = {.lex_state = 64, .external_lex_state = 3}, [117] = {.lex_state = 64, .external_lex_state = 3}, - [118] = {.lex_state = 0, .external_lex_state = 2}, - [119] = {.lex_state = 64, .external_lex_state = 2}, + [118] = {.lex_state = 64, .external_lex_state = 3}, + [119] = {.lex_state = 64, .external_lex_state = 3}, [120] = {.lex_state = 64, .external_lex_state = 3}, [121] = {.lex_state = 64, .external_lex_state = 3}, - [122] = {.lex_state = 64, .external_lex_state = 2}, - [123] = {.lex_state = 64, .external_lex_state = 2}, - [124] = {.lex_state = 64, .external_lex_state = 2}, + [122] = {.lex_state = 64, .external_lex_state = 3}, + [123] = {.lex_state = 64, .external_lex_state = 3}, + [124] = {.lex_state = 64, .external_lex_state = 3}, [125] = {.lex_state = 64, .external_lex_state = 3}, [126] = {.lex_state = 64, .external_lex_state = 3}, [127] = {.lex_state = 64, .external_lex_state = 3}, @@ -2121,129 +2121,129 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [130] = {.lex_state = 64, .external_lex_state = 3}, [131] = {.lex_state = 64, .external_lex_state = 3}, [132] = {.lex_state = 64, .external_lex_state = 3}, - [133] = {.lex_state = 64, .external_lex_state = 2}, - [134] = {.lex_state = 64, .external_lex_state = 2}, + [133] = {.lex_state = 64, .external_lex_state = 3}, + [134] = {.lex_state = 64, .external_lex_state = 3}, [135] = {.lex_state = 64, .external_lex_state = 3}, [136] = {.lex_state = 64, .external_lex_state = 3}, [137] = {.lex_state = 64, .external_lex_state = 3}, - [138] = {.lex_state = 64, .external_lex_state = 3}, + [138] = {.lex_state = 64, .external_lex_state = 2}, [139] = {.lex_state = 64, .external_lex_state = 2}, - [140] = {.lex_state = 64, .external_lex_state = 3}, - [141] = {.lex_state = 64, .external_lex_state = 3}, - [142] = {.lex_state = 64, .external_lex_state = 2}, + [140] = {.lex_state = 64, .external_lex_state = 2}, + [141] = {.lex_state = 6, .external_lex_state = 7}, + [142] = {.lex_state = 0, .external_lex_state = 2}, [143] = {.lex_state = 64, .external_lex_state = 2}, - [144] = {.lex_state = 64, .external_lex_state = 2}, - [145] = {.lex_state = 64, .external_lex_state = 3}, - [146] = {.lex_state = 64, .external_lex_state = 2}, - [147] = {.lex_state = 6, .external_lex_state = 7}, - [148] = {.lex_state = 64, .external_lex_state = 3}, + [144] = {.lex_state = 0, .external_lex_state = 2}, + [145] = {.lex_state = 6, .external_lex_state = 7}, + [146] = {.lex_state = 0, .external_lex_state = 2}, + [147] = {.lex_state = 64, .external_lex_state = 2}, + [148] = {.lex_state = 6, .external_lex_state = 7}, [149] = {.lex_state = 64, .external_lex_state = 3}, - [150] = {.lex_state = 64, .external_lex_state = 2}, + [150] = {.lex_state = 6, .external_lex_state = 2}, [151] = {.lex_state = 64, .external_lex_state = 2}, [152] = {.lex_state = 64, .external_lex_state = 2}, [153] = {.lex_state = 64, .external_lex_state = 2}, [154] = {.lex_state = 64, .external_lex_state = 2}, [155] = {.lex_state = 64, .external_lex_state = 2}, [156] = {.lex_state = 64, .external_lex_state = 2}, - [157] = {.lex_state = 1, .external_lex_state = 2}, + [157] = {.lex_state = 64, .external_lex_state = 2}, [158] = {.lex_state = 64, .external_lex_state = 2}, - [159] = {.lex_state = 6, .external_lex_state = 2}, + [159] = {.lex_state = 64, .external_lex_state = 2}, [160] = {.lex_state = 64, .external_lex_state = 2}, - [161] = {.lex_state = 6, .external_lex_state = 2}, - [162] = {.lex_state = 64, .external_lex_state = 2}, - [163] = {.lex_state = 64, .external_lex_state = 2}, + [161] = {.lex_state = 64, .external_lex_state = 2}, + [162] = {.lex_state = 6, .external_lex_state = 2}, + [163] = {.lex_state = 6, .external_lex_state = 2}, [164] = {.lex_state = 1, .external_lex_state = 2}, - [165] = {.lex_state = 6, .external_lex_state = 2}, - [166] = {.lex_state = 64, .external_lex_state = 2}, - [167] = {.lex_state = 64, .external_lex_state = 2}, + [165] = {.lex_state = 64, .external_lex_state = 2}, + [166] = {.lex_state = 1, .external_lex_state = 2}, + [167] = {.lex_state = 6, .external_lex_state = 2}, [168] = {.lex_state = 6, .external_lex_state = 2}, - [169] = {.lex_state = 6, .external_lex_state = 2}, - [170] = {.lex_state = 3, .external_lex_state = 8}, - [171] = {.lex_state = 2, .external_lex_state = 2}, - [172] = {.lex_state = 3, .external_lex_state = 8}, + [169] = {.lex_state = 64, .external_lex_state = 2}, + [170] = {.lex_state = 0, .external_lex_state = 2}, + [171] = {.lex_state = 5, .external_lex_state = 2}, + [172] = {.lex_state = 2, .external_lex_state = 2}, [173] = {.lex_state = 5, .external_lex_state = 2}, - [174] = {.lex_state = 5, .external_lex_state = 2}, + [174] = {.lex_state = 2, .external_lex_state = 2}, [175] = {.lex_state = 6, .external_lex_state = 7}, - [176] = {.lex_state = 2, .external_lex_state = 2}, - [177] = {.lex_state = 2, .external_lex_state = 2}, - [178] = {.lex_state = 5, .external_lex_state = 2}, - [179] = {.lex_state = 0, .external_lex_state = 2}, - [180] = {.lex_state = 2, .external_lex_state = 2}, - [181] = {.lex_state = 5, .external_lex_state = 2}, + [176] = {.lex_state = 3, .external_lex_state = 8}, + [177] = {.lex_state = 5, .external_lex_state = 2}, + [178] = {.lex_state = 3, .external_lex_state = 8}, + [179] = {.lex_state = 2, .external_lex_state = 2}, + [180] = {.lex_state = 5, .external_lex_state = 2}, + [181] = {.lex_state = 2, .external_lex_state = 2}, [182] = {.lex_state = 5, .external_lex_state = 2}, [183] = {.lex_state = 2, .external_lex_state = 2}, - [184] = {.lex_state = 3, .external_lex_state = 8}, - [185] = {.lex_state = 6, .external_lex_state = 7}, + [184] = {.lex_state = 6, .external_lex_state = 7}, + [185] = {.lex_state = 3, .external_lex_state = 8}, [186] = {.lex_state = 6, .external_lex_state = 7}, [187] = {.lex_state = 0, .external_lex_state = 2}, - [188] = {.lex_state = 0, .external_lex_state = 2}, + [188] = {.lex_state = 6, .external_lex_state = 7}, [189] = {.lex_state = 0, .external_lex_state = 2}, - [190] = {.lex_state = 6, .external_lex_state = 2}, - [191] = {.lex_state = 6, .external_lex_state = 7}, - [192] = {.lex_state = 6, .external_lex_state = 7}, + [190] = {.lex_state = 0, .external_lex_state = 2}, + [191] = {.lex_state = 0, .external_lex_state = 2}, + [192] = {.lex_state = 0, .external_lex_state = 2}, [193] = {.lex_state = 0, .external_lex_state = 2}, - [194] = {.lex_state = 3, .external_lex_state = 8}, - [195] = {.lex_state = 0, .external_lex_state = 2}, - [196] = {.lex_state = 0, .external_lex_state = 2}, + [194] = {.lex_state = 6, .external_lex_state = 2}, + [195] = {.lex_state = 3, .external_lex_state = 8}, + [196] = {.lex_state = 6, .external_lex_state = 7}, [197] = {.lex_state = 6, .external_lex_state = 7}, - [198] = {.lex_state = 2, .external_lex_state = 2}, + [198] = {.lex_state = 6, .external_lex_state = 2}, [199] = {.lex_state = 6, .external_lex_state = 2}, - [200] = {.lex_state = 5, .external_lex_state = 2}, + [200] = {.lex_state = 6, .external_lex_state = 2}, [201] = {.lex_state = 6, .external_lex_state = 2}, - [202] = {.lex_state = 0, .external_lex_state = 9}, - [203] = {.lex_state = 0, .external_lex_state = 10}, + [202] = {.lex_state = 5, .external_lex_state = 2}, + [203] = {.lex_state = 6, .external_lex_state = 2}, [204] = {.lex_state = 5, .external_lex_state = 2}, - [205] = {.lex_state = 0, .external_lex_state = 10}, - [206] = {.lex_state = 2, .external_lex_state = 2}, - [207] = {.lex_state = 6, .external_lex_state = 2}, - [208] = {.lex_state = 0, .external_lex_state = 9}, - [209] = {.lex_state = 6, .external_lex_state = 2}, - [210] = {.lex_state = 0, .external_lex_state = 10}, + [205] = {.lex_state = 2, .external_lex_state = 2}, + [206] = {.lex_state = 0, .external_lex_state = 9}, + [207] = {.lex_state = 0, .external_lex_state = 10}, + [208] = {.lex_state = 2, .external_lex_state = 2}, + [209] = {.lex_state = 0, .external_lex_state = 9}, + [210] = {.lex_state = 0, .external_lex_state = 9}, [211] = {.lex_state = 0, .external_lex_state = 10}, - [212] = {.lex_state = 6, .external_lex_state = 2}, + [212] = {.lex_state = 0, .external_lex_state = 9}, [213] = {.lex_state = 0, .external_lex_state = 2}, - [214] = {.lex_state = 3, .external_lex_state = 11}, + [214] = {.lex_state = 0, .external_lex_state = 2}, [215] = {.lex_state = 0, .external_lex_state = 2}, - [216] = {.lex_state = 0, .external_lex_state = 12}, + [216] = {.lex_state = 0, .external_lex_state = 2}, [217] = {.lex_state = 0, .external_lex_state = 2}, - [218] = {.lex_state = 0, .external_lex_state = 2}, - [219] = {.lex_state = 0, .external_lex_state = 2}, - [220] = {.lex_state = 0, .external_lex_state = 10}, - [221] = {.lex_state = 0, .external_lex_state = 13}, - [222] = {.lex_state = 0, .external_lex_state = 2}, - [223] = {.lex_state = 0, .external_lex_state = 10}, - [224] = {.lex_state = 0, .external_lex_state = 10}, - [225] = {.lex_state = 0, .external_lex_state = 10}, - [226] = {.lex_state = 0, .external_lex_state = 2}, - [227] = {.lex_state = 0, .external_lex_state = 2}, - [228] = {.lex_state = 0, .external_lex_state = 14}, - [229] = {.lex_state = 0, .external_lex_state = 2}, - [230] = {.lex_state = 3, .external_lex_state = 11}, - [231] = {.lex_state = 3, .external_lex_state = 11}, - [232] = {.lex_state = 0, .external_lex_state = 12}, + [218] = {.lex_state = 3, .external_lex_state = 11}, + [219] = {.lex_state = 3, .external_lex_state = 11}, + [220] = {.lex_state = 0, .external_lex_state = 2}, + [221] = {.lex_state = 0, .external_lex_state = 12}, + [222] = {.lex_state = 0, .external_lex_state = 12}, + [223] = {.lex_state = 0, .external_lex_state = 2}, + [224] = {.lex_state = 3, .external_lex_state = 11}, + [225] = {.lex_state = 0, .external_lex_state = 2}, + [226] = {.lex_state = 0, .external_lex_state = 9}, + [227] = {.lex_state = 0, .external_lex_state = 13}, + [228] = {.lex_state = 0, .external_lex_state = 9}, + [229] = {.lex_state = 0, .external_lex_state = 9}, + [230] = {.lex_state = 0, .external_lex_state = 2}, + [231] = {.lex_state = 0, .external_lex_state = 2}, + [232] = {.lex_state = 3, .external_lex_state = 11}, [233] = {.lex_state = 0, .external_lex_state = 2}, - [234] = {.lex_state = 0, .external_lex_state = 2}, + [234] = {.lex_state = 0, .external_lex_state = 14}, [235] = {.lex_state = 0, .external_lex_state = 2}, - [236] = {.lex_state = 0, .external_lex_state = 15}, - [237] = {.lex_state = 0, .external_lex_state = 15}, + [236] = {.lex_state = 0, .external_lex_state = 13}, + [237] = {.lex_state = 0, .external_lex_state = 2}, [238] = {.lex_state = 0, .external_lex_state = 15}, - [239] = {.lex_state = 0, .external_lex_state = 2}, - [240] = {.lex_state = 0, .external_lex_state = 2}, + [239] = {.lex_state = 0, .external_lex_state = 13}, + [240] = {.lex_state = 0, .external_lex_state = 16}, [241] = {.lex_state = 0, .external_lex_state = 2}, - [242] = {.lex_state = 0, .external_lex_state = 2}, + [242] = {.lex_state = 0, .external_lex_state = 9}, [243] = {.lex_state = 0, .external_lex_state = 2}, - [244] = {.lex_state = 3, .external_lex_state = 11}, - [245] = {.lex_state = 0, .external_lex_state = 14}, - [246] = {.lex_state = 0, .external_lex_state = 15}, - [247] = {.lex_state = 0, .external_lex_state = 16}, + [244] = {.lex_state = 0, .external_lex_state = 16}, + [245] = {.lex_state = 0, .external_lex_state = 13}, + [246] = {.lex_state = 0, .external_lex_state = 2}, + [247] = {.lex_state = 0, .external_lex_state = 2}, [248] = {.lex_state = 0, .external_lex_state = 2}, [249] = {.lex_state = 0, .external_lex_state = 2}, - [250] = {.lex_state = 0, .external_lex_state = 2}, - [251] = {.lex_state = 0, .external_lex_state = 2}, + [250] = {.lex_state = 0, .external_lex_state = 13}, + [251] = {.lex_state = 3, .external_lex_state = 2}, [252] = {.lex_state = 0, .external_lex_state = 2}, [253] = {.lex_state = 0, .external_lex_state = 2}, [254] = {.lex_state = 0, .external_lex_state = 2}, - [255] = {.lex_state = 0, .external_lex_state = 15}, + [255] = {.lex_state = 0, .external_lex_state = 2}, [256] = {.lex_state = 0, .external_lex_state = 2}, [257] = {.lex_state = 0, .external_lex_state = 2}, [258] = {.lex_state = 0, .external_lex_state = 2}, @@ -2251,83 +2251,83 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [260] = {.lex_state = 0, .external_lex_state = 2}, [261] = {.lex_state = 0, .external_lex_state = 2}, [262] = {.lex_state = 0, .external_lex_state = 2}, - [263] = {.lex_state = 0, .external_lex_state = 2}, - [264] = {.lex_state = 0, .external_lex_state = 15}, + [263] = {.lex_state = 0, .external_lex_state = 17}, + [264] = {.lex_state = 0, .external_lex_state = 13}, [265] = {.lex_state = 0, .external_lex_state = 2}, - [266] = {.lex_state = 0, .external_lex_state = 17}, + [266] = {.lex_state = 0, .external_lex_state = 2}, [267] = {.lex_state = 0, .external_lex_state = 2}, [268] = {.lex_state = 0, .external_lex_state = 2}, - [269] = {.lex_state = 0, .external_lex_state = 2}, + [269] = {.lex_state = 0, .external_lex_state = 18}, [270] = {.lex_state = 0, .external_lex_state = 2}, - [271] = {.lex_state = 0, .external_lex_state = 2}, - [272] = {.lex_state = 3, .external_lex_state = 2}, - [273] = {.lex_state = 0, .external_lex_state = 15}, - [274] = {.lex_state = 0, .external_lex_state = 15}, + [271] = {.lex_state = 0, .external_lex_state = 13}, + [272] = {.lex_state = 0, .external_lex_state = 2}, + [273] = {.lex_state = 0, .external_lex_state = 2}, + [274] = {.lex_state = 0, .external_lex_state = 2}, [275] = {.lex_state = 0, .external_lex_state = 2}, [276] = {.lex_state = 0, .external_lex_state = 2}, - [277] = {.lex_state = 0, .external_lex_state = 2}, + [277] = {.lex_state = 0, .external_lex_state = 13}, [278] = {.lex_state = 0, .external_lex_state = 2}, - [279] = {.lex_state = 20, .external_lex_state = 2}, - [280] = {.lex_state = 0, .external_lex_state = 2}, + [279] = {.lex_state = 0, .external_lex_state = 2}, + [280] = {.lex_state = 0, .external_lex_state = 13}, [281] = {.lex_state = 0, .external_lex_state = 2}, - [282] = {.lex_state = 0, .external_lex_state = 15}, - [283] = {.lex_state = 0, .external_lex_state = 15}, - [284] = {.lex_state = 0, .external_lex_state = 2}, - [285] = {.lex_state = 0, .external_lex_state = 15}, + [282] = {.lex_state = 0, .external_lex_state = 2}, + [283] = {.lex_state = 0, .external_lex_state = 2}, + [284] = {.lex_state = 0, .external_lex_state = 13}, + [285] = {.lex_state = 0, .external_lex_state = 2}, [286] = {.lex_state = 0, .external_lex_state = 2}, [287] = {.lex_state = 0, .external_lex_state = 2}, - [288] = {.lex_state = 0, .external_lex_state = 2}, + [288] = {.lex_state = 0, .external_lex_state = 13}, [289] = {.lex_state = 0, .external_lex_state = 2}, - [290] = {.lex_state = 0, .external_lex_state = 15}, + [290] = {.lex_state = 0, .external_lex_state = 2}, [291] = {.lex_state = 0, .external_lex_state = 2}, - [292] = {.lex_state = 3, .external_lex_state = 2}, + [292] = {.lex_state = 0, .external_lex_state = 2}, [293] = {.lex_state = 0, .external_lex_state = 2}, - [294] = {.lex_state = 0, .external_lex_state = 2}, - [295] = {.lex_state = 0, .external_lex_state = 2}, - [296] = {.lex_state = 0, .external_lex_state = 2}, + [294] = {.lex_state = 0, .external_lex_state = 13}, + [295] = {.lex_state = 0, .external_lex_state = 13}, + [296] = {.lex_state = 0, .external_lex_state = 13}, [297] = {.lex_state = 0, .external_lex_state = 2}, [298] = {.lex_state = 0, .external_lex_state = 2}, [299] = {.lex_state = 0, .external_lex_state = 2}, [300] = {.lex_state = 0, .external_lex_state = 2}, - [301] = {.lex_state = 0, .external_lex_state = 15}, - [302] = {.lex_state = 0, .external_lex_state = 15}, + [301] = {.lex_state = 62, .external_lex_state = 2}, + [302] = {.lex_state = 0, .external_lex_state = 13}, [303] = {.lex_state = 0, .external_lex_state = 2}, [304] = {.lex_state = 0, .external_lex_state = 2}, - [305] = {.lex_state = 0, .external_lex_state = 15}, - [306] = {.lex_state = 62, .external_lex_state = 2}, + [305] = {.lex_state = 0, .external_lex_state = 2}, + [306] = {.lex_state = 0, .external_lex_state = 2}, [307] = {.lex_state = 0, .external_lex_state = 2}, [308] = {.lex_state = 0, .external_lex_state = 2}, [309] = {.lex_state = 0, .external_lex_state = 2}, - [310] = {.lex_state = 0, .external_lex_state = 2}, + [310] = {.lex_state = 20, .external_lex_state = 2}, [311] = {.lex_state = 0, .external_lex_state = 2}, [312] = {.lex_state = 0, .external_lex_state = 2}, - [313] = {.lex_state = 0, .external_lex_state = 2}, + [313] = {.lex_state = 3, .external_lex_state = 2}, [314] = {.lex_state = 0, .external_lex_state = 2}, - [315] = {.lex_state = 0, .external_lex_state = 15}, + [315] = {.lex_state = 0, .external_lex_state = 2}, [316] = {.lex_state = 0, .external_lex_state = 2}, [317] = {.lex_state = 0, .external_lex_state = 2}, [318] = {.lex_state = 0, .external_lex_state = 2}, - [319] = {.lex_state = 0, .external_lex_state = 15}, + [319] = {.lex_state = 0, .external_lex_state = 2}, [320] = {.lex_state = 0, .external_lex_state = 2}, [321] = {.lex_state = 0, .external_lex_state = 2}, - [322] = {.lex_state = 0, .external_lex_state = 2}, + [322] = {.lex_state = 0, .external_lex_state = 18}, [323] = {.lex_state = 0, .external_lex_state = 2}, - [324] = {.lex_state = 0, .external_lex_state = 2}, + [324] = {.lex_state = 62, .external_lex_state = 2}, [325] = {.lex_state = 0, .external_lex_state = 2}, - [326] = {.lex_state = 0, .external_lex_state = 15}, - [327] = {.lex_state = 0, .external_lex_state = 18}, + [326] = {.lex_state = 0, .external_lex_state = 2}, + [327] = {.lex_state = 0, .external_lex_state = 2}, [328] = {.lex_state = 0, .external_lex_state = 2}, - [329] = {.lex_state = 62, .external_lex_state = 2}, - [330] = {.lex_state = 0, .external_lex_state = 2}, + [329] = {.lex_state = 0, .external_lex_state = 2}, + [330] = {.lex_state = 0, .external_lex_state = 17}, [331] = {.lex_state = 0, .external_lex_state = 2}, [332] = {.lex_state = 0, .external_lex_state = 2}, [333] = {.lex_state = 0, .external_lex_state = 2}, [334] = {.lex_state = 0, .external_lex_state = 2}, - [335] = {.lex_state = 0, .external_lex_state = 17}, - [336] = {.lex_state = 0, .external_lex_state = 2}, - [337] = {.lex_state = 0, .external_lex_state = 2}, - [338] = {.lex_state = 0, .external_lex_state = 2}, - [339] = {.lex_state = 0, .external_lex_state = 18}, + [335] = {.lex_state = 0, .external_lex_state = 2}, + [336] = {.lex_state = 0, .external_lex_state = 13}, + [337] = {.lex_state = 0, .external_lex_state = 13}, + [338] = {.lex_state = 0, .external_lex_state = 13}, + [339] = {.lex_state = 0, .external_lex_state = 2}, [340] = {.lex_state = 0, .external_lex_state = 2}, [341] = {.lex_state = 0, .external_lex_state = 2}, [342] = {.lex_state = 0, .external_lex_state = 2}, @@ -2384,33 +2384,33 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_svelte_raw_text_snippet_arguments] = ACTIONS(1), }, [1] = { - [sym_document] = STATE(337), - [sym_doctype] = STATE(64), - [sym__node] = STATE(23), - [sym_element] = STATE(64), - [sym_script_element] = STATE(64), - [sym_style_element] = STATE(64), - [sym_start_tag] = STATE(16), - [sym_script_start_tag] = STATE(211), - [sym_style_start_tag] = STATE(210), - [sym_self_closing_tag] = STATE(78), - [sym_erroneous_end_tag] = STATE(64), - [sym_if_statement] = STATE(64), - [sym_if_start] = STATE(5), - [sym_each_statement] = STATE(64), - [sym_each_start] = STATE(12), - [sym_await_statement] = STATE(64), - [sym_await_start] = STATE(7), - [sym_key_statement] = STATE(64), - [sym_key_start] = STATE(18), - [sym_snippet_statement] = STATE(64), - [sym_snippet_start] = STATE(22), - [sym_expression] = STATE(64), - [sym_html_tag] = STATE(64), - [sym_const_tag] = STATE(64), - [sym_debug_tag] = STATE(64), - [sym_render_tag] = STATE(64), - [aux_sym_document_repeat1] = STATE(23), + [sym_document] = STATE(281), + [sym_doctype] = STATE(140), + [sym__node] = STATE(28), + [sym_element] = STATE(140), + [sym_script_element] = STATE(140), + [sym_style_element] = STATE(140), + [sym_start_tag] = STATE(15), + [sym_script_start_tag] = STATE(210), + [sym_style_start_tag] = STATE(209), + [sym_self_closing_tag] = STATE(108), + [sym_erroneous_end_tag] = STATE(140), + [sym_if_statement] = STATE(140), + [sym_if_start] = STATE(3), + [sym_each_statement] = STATE(140), + [sym_each_start] = STATE(10), + [sym_await_statement] = STATE(140), + [sym_await_start] = STATE(6), + [sym_key_statement] = STATE(140), + [sym_key_start] = STATE(33), + [sym_snippet_statement] = STATE(140), + [sym_snippet_start] = STATE(20), + [sym_expression] = STATE(140), + [sym_html_tag] = STATE(140), + [sym_const_tag] = STATE(140), + [sym_debug_tag] = STATE(140), + [sym_render_tag] = STATE(140), + [aux_sym_document_repeat1] = STATE(28), [ts_builtin_sym_end] = ACTIONS(5), [anon_sym_LT_BANG] = ACTIONS(7), [anon_sym_LT] = ACTIONS(9), @@ -2433,31 +2433,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(17), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(44), 1, + STATE(33), 1, + sym_key_start, + STATE(37), 1, sym_else_if_start, - STATE(45), 1, + STATE(40), 1, sym_else_start, - STATE(78), 1, - sym_self_closing_tag, - STATE(116), 1, + STATE(72), 1, sym_if_end, - STATE(210), 1, + STATE(108), 1, + sym_self_closing_tag, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(243), 1, + STATE(230), 1, sym_else_block, ACTIONS(3), 2, sym_comment, @@ -2465,13 +2465,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(118), 2, + STATE(73), 2, sym_else_if_block, aux_sym_if_statement_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2494,33 +2494,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(19), 1, + ACTIONS(17), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(44), 1, + STATE(33), 1, + sym_key_start, + STATE(37), 1, sym_else_if_start, - STATE(45), 1, + STATE(40), 1, sym_else_start, - STATE(78), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(137), 1, + STATE(143), 1, sym_if_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(240), 1, + STATE(217), 1, sym_else_block, ACTIONS(3), 2, sym_comment, @@ -2528,13 +2528,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(4), 2, + STATE(2), 2, sym__node, aux_sym_document_repeat1, - STATE(92), 2, + STATE(144), 2, sym_else_if_block, aux_sym_if_statement_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2559,31 +2559,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(19), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(44), 1, + STATE(33), 1, + sym_key_start, + STATE(37), 1, sym_else_if_start, - STATE(45), 1, + STATE(40), 1, sym_else_start, - STATE(62), 1, + STATE(103), 1, sym_if_end, - STATE(78), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(229), 1, + STATE(216), 1, sym_else_block, ACTIONS(3), 2, sym_comment, @@ -2591,13 +2591,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(5), 2, sym__node, aux_sym_document_repeat1, - STATE(88), 2, + STATE(142), 2, sym_else_if_block, aux_sym_if_statement_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2620,33 +2620,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(17), 1, + ACTIONS(19), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(44), 1, + STATE(33), 1, + sym_key_start, + STATE(37), 1, sym_else_if_start, - STATE(45), 1, + STATE(40), 1, sym_else_start, - STATE(65), 1, - sym_if_end, - STATE(78), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(115), 1, + sym_if_end, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(219), 1, + STATE(225), 1, sym_else_block, ACTIONS(3), 2, sym_comment, @@ -2654,13 +2654,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(2), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(66), 2, + STATE(146), 2, sym_else_if_block, aux_sym_if_statement_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2685,33 +2685,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(21), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(37), 1, - sym_then_start, - STATE(46), 1, + STATE(33), 1, + sym_key_start, + STATE(38), 1, sym_catch_start, - STATE(78), 1, + STATE(43), 1, + sym_then_start, + STATE(108), 1, sym_self_closing_tag, - STATE(133), 1, + STATE(109), 1, sym_await_end, - STATE(189), 1, + STATE(190), 1, sym_then_block, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(213), 1, + STATE(246), 1, sym_catch_block, ACTIONS(3), 2, sym_comment, @@ -2719,10 +2719,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(7), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2747,33 +2747,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(21), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(37), 1, - sym_then_start, - STATE(46), 1, + STATE(33), 1, + sym_key_start, + STATE(38), 1, sym_catch_start, - STATE(70), 1, + STATE(43), 1, + sym_then_start, + STATE(75), 1, sym_await_end, - STATE(78), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(187), 1, + STATE(189), 1, sym_then_block, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(217), 1, + STATE(243), 1, sym_catch_block, ACTIONS(3), 2, sym_comment, @@ -2781,10 +2781,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(6), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2809,33 +2809,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(23), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(37), 1, - sym_then_start, - STATE(46), 1, + STATE(33), 1, + sym_key_start, + STATE(38), 1, sym_catch_start, - STATE(78), 1, - sym_self_closing_tag, - STATE(135), 1, + STATE(43), 1, + sym_then_start, + STATE(105), 1, sym_await_end, - STATE(195), 1, + STATE(108), 1, + sym_self_closing_tag, + STATE(192), 1, sym_then_block, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(235), 1, + STATE(213), 1, sym_catch_block, ACTIONS(3), 2, sym_comment, @@ -2846,7 +2846,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(9), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2871,33 +2871,33 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(23), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(37), 1, - sym_then_start, - STATE(46), 1, + STATE(33), 1, + sym_key_start, + STATE(38), 1, sym_catch_start, - STATE(78), 1, + STATE(43), 1, + sym_then_start, + STATE(108), 1, sym_self_closing_tag, - STATE(120), 1, + STATE(117), 1, sym_await_end, STATE(193), 1, sym_then_block, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, - STATE(227), 1, + STATE(231), 1, sym_catch_block, ACTIONS(3), 2, sym_comment, @@ -2905,10 +2905,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2933,29 +2933,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(25), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(28), 1, + STATE(31), 1, sym_else_block, - STATE(38), 1, + STATE(33), 1, + sym_key_start, + STATE(44), 1, sym_else_start, - STATE(78), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(136), 1, + STATE(147), 1, sym_each_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -2963,10 +2963,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(13), 2, + STATE(11), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -2989,31 +2989,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(27), 1, + ACTIONS(25), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, STATE(25), 1, sym_else_block, - STATE(38), 1, + STATE(33), 1, + sym_key_start, + STATE(44), 1, sym_else_start, - STATE(78), 1, - sym_self_closing_tag, - STATE(124), 1, + STATE(74), 1, sym_each_end, - STATE(210), 1, + STATE(108), 1, + sym_self_closing_tag, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3021,10 +3021,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3049,29 +3049,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(27), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(32), 1, + STATE(33), 1, + sym_key_start, + STATE(36), 1, sym_else_block, - STATE(38), 1, + STATE(44), 1, sym_else_start, - STATE(67), 1, - sym_each_end, - STATE(78), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(116), 1, + sym_each_end, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3079,10 +3079,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(11), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3105,31 +3105,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(25), 1, + ACTIONS(27), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, STATE(20), 1, - sym_else_block, - STATE(22), 1, sym_snippet_start, - STATE(38), 1, + STATE(32), 1, + sym_else_block, + STATE(33), 1, + sym_key_start, + STATE(44), 1, sym_else_start, - STATE(78), 1, - sym_self_closing_tag, - STATE(121), 1, + STATE(104), 1, sym_each_end, - STATE(210), 1, + STATE(108), 1, + sym_self_closing_tag, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3137,10 +3137,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(12), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3167,25 +3167,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(39), 1, sym__implicit_end_tag, - STATE(3), 1, + STATE(4), 1, sym_if_start, STATE(8), 1, sym_await_start, - STATE(10), 1, + STATE(13), 1, sym_each_start, - STATE(15), 1, + STATE(17), 1, sym_start_tag, STATE(29), 1, - sym_snippet_start, - STATE(30), 1, sym_key_start, - STATE(107), 1, + STATE(30), 1, + sym_snippet_start, + STATE(69), 1, sym_end_tag, - STATE(148), 1, + STATE(99), 1, sym_self_closing_tag, - STATE(203), 1, + STATE(206), 1, sym_script_start_tag, - STATE(205), 1, + STATE(212), 1, sym_style_start_tag, ACTIONS(3), 2, sym_comment, @@ -3193,10 +3193,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(35), 2, sym_entity, sym_text, - STATE(35), 2, + STATE(27), 2, sym__node, aux_sym_document_repeat1, - STATE(149), 15, + STATE(98), 15, sym_doctype, sym_element, sym_script_element, @@ -3217,31 +3217,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_BANG, ACTIONS(31), 1, anon_sym_LT, + ACTIONS(33), 1, + anon_sym_LT_SLASH, ACTIONS(37), 1, anon_sym_LBRACE, ACTIONS(41), 1, - anon_sym_LT_SLASH, - ACTIONS(43), 1, sym__implicit_end_tag, - STATE(3), 1, + STATE(4), 1, sym_if_start, STATE(8), 1, sym_await_start, - STATE(10), 1, + STATE(13), 1, sym_each_start, - STATE(15), 1, + STATE(17), 1, sym_start_tag, STATE(29), 1, - sym_snippet_start, - STATE(30), 1, sym_key_start, - STATE(141), 1, + STATE(30), 1, + sym_snippet_start, + STATE(61), 1, sym_end_tag, - STATE(148), 1, + STATE(99), 1, sym_self_closing_tag, - STATE(203), 1, + STATE(206), 1, sym_script_start_tag, - STATE(205), 1, + STATE(212), 1, sym_style_start_tag, ACTIONS(3), 2, sym_comment, @@ -3249,10 +3249,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(35), 2, sym_entity, sym_text, - STATE(17), 2, + STATE(14), 2, sym__node, aux_sym_document_repeat1, - STATE(149), 15, + STATE(98), 15, sym_doctype, sym_element, sym_script_element, @@ -3273,31 +3273,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_BANG, ACTIONS(31), 1, anon_sym_LT, - ACTIONS(33), 1, - anon_sym_LT_SLASH, ACTIONS(37), 1, anon_sym_LBRACE, + ACTIONS(43), 1, + anon_sym_LT_SLASH, ACTIONS(45), 1, sym__implicit_end_tag, - STATE(3), 1, + STATE(4), 1, sym_if_start, STATE(8), 1, sym_await_start, - STATE(10), 1, + STATE(13), 1, sym_each_start, - STATE(15), 1, + STATE(17), 1, sym_start_tag, STATE(29), 1, - sym_snippet_start, - STATE(30), 1, sym_key_start, - STATE(123), 1, - sym_end_tag, - STATE(148), 1, + STATE(30), 1, + sym_snippet_start, + STATE(99), 1, sym_self_closing_tag, - STATE(203), 1, + STATE(112), 1, + sym_end_tag, + STATE(206), 1, sym_script_start_tag, - STATE(205), 1, + STATE(212), 1, sym_style_start_tag, ACTIONS(3), 2, sym_comment, @@ -3305,10 +3305,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(35), 2, sym_entity, sym_text, - STATE(14), 2, + STATE(27), 2, sym__node, aux_sym_document_repeat1, - STATE(149), 15, + STATE(98), 15, sym_doctype, sym_element, sym_script_element, @@ -3331,29 +3331,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(37), 1, anon_sym_LBRACE, - ACTIONS(41), 1, + ACTIONS(43), 1, anon_sym_LT_SLASH, ACTIONS(47), 1, sym__implicit_end_tag, - STATE(3), 1, + STATE(4), 1, sym_if_start, STATE(8), 1, sym_await_start, - STATE(10), 1, + STATE(13), 1, sym_each_start, - STATE(15), 1, + STATE(17), 1, sym_start_tag, STATE(29), 1, - sym_snippet_start, - STATE(30), 1, sym_key_start, - STATE(127), 1, - sym_end_tag, - STATE(148), 1, + STATE(30), 1, + sym_snippet_start, + STATE(99), 1, sym_self_closing_tag, - STATE(203), 1, + STATE(100), 1, + sym_end_tag, + STATE(206), 1, sym_script_start_tag, - STATE(205), 1, + STATE(212), 1, sym_style_start_tag, ACTIONS(3), 2, sym_comment, @@ -3361,10 +3361,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(35), 2, sym_entity, sym_text, - STATE(35), 2, + STATE(16), 2, sym__node, aux_sym_document_repeat1, - STATE(149), 15, + STATE(98), 15, sym_doctype, sym_element, sym_script_element, @@ -3389,25 +3389,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(49), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(71), 1, - sym_key_end, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(118), 1, + sym_key_end, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3415,10 +3415,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(34), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3443,25 +3443,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(51), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(142), 1, - sym_snippet_end, - STATE(210), 1, + STATE(136), 1, + sym_each_end, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3469,10 +3469,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3497,25 +3497,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(53), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(62), 1, + sym_snippet_end, + STATE(108), 1, sym_self_closing_tag, - STATE(100), 1, - sym_each_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3523,10 +3523,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(33), 2, + STATE(22), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3551,25 +3551,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(55), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(76), 1, + sym_key_end, + STATE(108), 1, sym_self_closing_tag, - STATE(80), 1, - sym_each_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3577,10 +3577,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3603,27 +3603,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(51), 1, + ACTIONS(53), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(72), 1, + STATE(33), 1, + sym_key_start, + STATE(77), 1, sym_snippet_end, - STATE(78), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3631,10 +3631,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(19), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3651,44 +3651,44 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [1648] = 18, - ACTIONS(7), 1, + ACTIONS(57), 1, + ts_builtin_sym_end, + ACTIONS(59), 1, anon_sym_LT_BANG, - ACTIONS(9), 1, + ACTIONS(62), 1, anon_sym_LT, - ACTIONS(11), 1, + ACTIONS(65), 1, anon_sym_LT_SLASH, - ACTIONS(15), 1, + ACTIONS(71), 1, anon_sym_LBRACE, - ACTIONS(57), 1, - ts_builtin_sym_end, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(13), 2, + ACTIONS(68), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3711,27 +3711,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(53), 1, + ACTIONS(74), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, - sym_self_closing_tag, - STATE(100), 1, + STATE(33), 1, + sym_key_start, + STATE(90), 1, sym_each_end, - STATE(210), 1, + STATE(108), 1, + sym_self_closing_tag, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3739,10 +3739,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3765,27 +3765,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(55), 1, + ACTIONS(74), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, - sym_self_closing_tag, - STATE(80), 1, + STATE(33), 1, + sym_key_start, + STATE(90), 1, sym_each_end, - STATE(210), 1, + STATE(108), 1, + sym_self_closing_tag, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3793,10 +3793,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(36), 2, + STATE(26), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3819,27 +3819,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(59), 1, + ACTIONS(74), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(96), 1, + sym_each_end, + STATE(108), 1, sym_self_closing_tag, - STATE(115), 1, - sym_snippet_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3847,10 +3847,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3867,44 +3867,44 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [1936] = 18, - ACTIONS(7), 1, + ACTIONS(57), 1, + sym__implicit_end_tag, + ACTIONS(76), 1, anon_sym_LT_BANG, - ACTIONS(9), 1, + ACTIONS(79), 1, anon_sym_LT, - ACTIONS(11), 1, + ACTIONS(82), 1, anon_sym_LT_SLASH, - ACTIONS(61), 1, + ACTIONS(88), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(4), 1, sym_if_start, - STATE(7), 1, + STATE(8), 1, sym_await_start, - STATE(12), 1, + STATE(13), 1, sym_each_start, - STATE(16), 1, + STATE(17), 1, sym_start_tag, - STATE(18), 1, + STATE(29), 1, sym_key_start, - STATE(22), 1, + STATE(30), 1, sym_snippet_start, - STATE(78), 1, + STATE(99), 1, sym_self_closing_tag, - STATE(117), 1, - sym_key_end, - STATE(210), 1, - sym_style_start_tag, - STATE(211), 1, + STATE(206), 1, sym_script_start_tag, + STATE(212), 1, + sym_style_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(13), 2, + ACTIONS(85), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(27), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(98), 15, sym_doctype, sym_element, sym_script_element, @@ -3927,27 +3927,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(53), 1, + ACTIONS(15), 1, anon_sym_LBRACE, - STATE(5), 1, + ACTIONS(91), 1, + ts_builtin_sym_end, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(121), 1, - sym_each_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -3955,10 +3955,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(24), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -3981,27 +3981,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(59), 1, + ACTIONS(49), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(106), 1, + sym_key_end, + STATE(108), 1, sym_self_closing_tag, - STATE(131), 1, - sym_snippet_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4009,10 +4009,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(26), 2, + STATE(18), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4035,27 +4035,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(61), 1, + ACTIONS(93), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(107), 1, + sym_snippet_end, + STATE(108), 1, sym_self_closing_tag, - STATE(132), 1, - sym_key_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4063,10 +4063,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(27), 2, + STATE(34), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4083,44 +4083,44 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [2224] = 18, - ACTIONS(63), 1, - ts_builtin_sym_end, - ACTIONS(65), 1, + ACTIONS(7), 1, anon_sym_LT_BANG, - ACTIONS(68), 1, + ACTIONS(9), 1, anon_sym_LT, - ACTIONS(71), 1, + ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(77), 1, + ACTIONS(74), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(74), 1, + sym_each_end, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(74), 2, + ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(24), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4143,27 +4143,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(55), 1, + ACTIONS(51), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(124), 1, + STATE(116), 1, sym_each_end, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4171,10 +4171,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(21), 2, + STATE(35), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4197,27 +4197,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(53), 1, + ACTIONS(55), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(61), 1, - sym_each_end, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(66), 1, + sym_key_end, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4225,10 +4225,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(21), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4251,27 +4251,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(49), 1, + ACTIONS(93), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(139), 1, - sym_key_end, - STATE(210), 1, + STATE(119), 1, + sym_snippet_end, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4279,10 +4279,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4299,44 +4299,44 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [2512] = 18, - ACTIONS(63), 1, - sym__implicit_end_tag, - ACTIONS(80), 1, + ACTIONS(7), 1, anon_sym_LT_BANG, - ACTIONS(83), 1, + ACTIONS(9), 1, anon_sym_LT, - ACTIONS(86), 1, + ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(92), 1, + ACTIONS(51), 1, anon_sym_LBRACE, STATE(3), 1, sym_if_start, - STATE(8), 1, + STATE(6), 1, sym_await_start, STATE(10), 1, sym_each_start, STATE(15), 1, sym_start_tag, - STATE(29), 1, + STATE(20), 1, sym_snippet_start, - STATE(30), 1, + STATE(33), 1, sym_key_start, - STATE(148), 1, + STATE(108), 1, sym_self_closing_tag, - STATE(203), 1, - sym_script_start_tag, - STATE(205), 1, + STATE(130), 1, + sym_each_end, + STATE(209), 1, sym_style_start_tag, + STATE(210), 1, + sym_script_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(89), 2, + ACTIONS(13), 2, sym_entity, sym_text, - STATE(35), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(149), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4359,27 +4359,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(55), 1, + ACTIONS(51), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(77), 1, - sym_each_end, - STATE(78), 1, - sym_self_closing_tag, - STATE(210), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, + sym_self_closing_tag, + STATE(130), 1, + sym_each_end, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4387,10 +4387,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(19), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4415,23 +4415,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(95), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4439,10 +4439,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(40), 2, + STATE(42), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4459,42 +4459,42 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [2725] = 17, - ACTIONS(98), 1, + ACTIONS(7), 1, anon_sym_LT_BANG, - ACTIONS(101), 1, + ACTIONS(9), 1, anon_sym_LT, - ACTIONS(104), 1, + ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(110), 1, + ACTIONS(98), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(107), 2, + ACTIONS(13), 2, sym_entity, sym_text, - STATE(42), 2, + STATE(41), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4517,25 +4517,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(113), 1, + ACTIONS(101), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4543,10 +4543,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4569,25 +4569,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(116), 1, + ACTIONS(104), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4595,10 +4595,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(46), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4621,25 +4621,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(119), 1, + ACTIONS(107), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4647,10 +4647,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4667,42 +4667,42 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [3001] = 17, - ACTIONS(119), 1, - anon_sym_LBRACE, - ACTIONS(122), 1, + ACTIONS(7), 1, anon_sym_LT_BANG, - ACTIONS(125), 1, + ACTIONS(9), 1, anon_sym_LT, - ACTIONS(128), 1, + ACTIONS(11), 1, anon_sym_LT_SLASH, - STATE(5), 1, + ACTIONS(110), 1, + anon_sym_LBRACE, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(131), 2, + ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4725,25 +4725,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, ACTIONS(11), 1, anon_sym_LT_SLASH, - ACTIONS(134), 1, + ACTIONS(113), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4751,10 +4751,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(31), 2, + STATE(39), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4771,42 +4771,42 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [3139] = 17, - ACTIONS(7), 1, + ACTIONS(104), 1, + anon_sym_LBRACE, + ACTIONS(116), 1, anon_sym_LT_BANG, - ACTIONS(9), 1, + ACTIONS(119), 1, anon_sym_LT, - ACTIONS(11), 1, + ACTIONS(122), 1, anon_sym_LT_SLASH, - ACTIONS(137), 1, - anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(13), 2, + ACTIONS(125), 2, sym_entity, sym_text, - STATE(43), 2, + STATE(45), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4823,42 +4823,42 @@ static const uint16_t ts_small_parse_table[] = { sym_debug_tag, sym_render_tag, [3208] = 17, - ACTIONS(7), 1, + ACTIONS(128), 1, anon_sym_LT_BANG, - ACTIONS(9), 1, + ACTIONS(131), 1, anon_sym_LT, - ACTIONS(11), 1, + ACTIONS(134), 1, anon_sym_LT_SLASH, - ACTIONS(110), 1, + ACTIONS(140), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(13), 2, + ACTIONS(137), 2, sym_entity, sym_text, - STATE(41), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4883,23 +4883,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_SLASH, ACTIONS(140), 1, anon_sym_LBRACE, - STATE(5), 1, + STATE(3), 1, sym_if_start, - STATE(7), 1, + STATE(6), 1, sym_await_start, - STATE(12), 1, + STATE(10), 1, sym_each_start, - STATE(16), 1, + STATE(15), 1, sym_start_tag, - STATE(18), 1, - sym_key_start, - STATE(22), 1, + STATE(20), 1, sym_snippet_start, - STATE(78), 1, + STATE(33), 1, + sym_key_start, + STATE(108), 1, sym_self_closing_tag, - STATE(210), 1, + STATE(209), 1, sym_style_start_tag, - STATE(211), 1, + STATE(210), 1, sym_script_start_tag, ACTIONS(3), 2, sym_comment, @@ -4907,10 +4907,10 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(13), 2, sym_entity, sym_text, - STATE(39), 2, + STATE(23), 2, sym__node, aux_sym_document_repeat1, - STATE(64), 15, + STATE(140), 15, sym_doctype, sym_element, sym_script_element, @@ -4937,68 +4937,68 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(236), 1, + sym__then_tag, + STATE(239), 1, + sym__catch_tag, + STATE(253), 1, sym__render_tag, - STATE(264), 1, - sym__else_if_tag, - STATE(267), 1, - sym__debug_tag, - STATE(268), 1, - sym__else_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(278), 1, - sym__if_end_tag, - STATE(282), 1, sym__if_start_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(333), 1, + sym__await_end_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [3402] = 18, ACTIONS(143), 1, anon_sym_POUND, - ACTIONS(145), 1, - anon_sym_COLON, - ACTIONS(147), 1, - anon_sym_SLASH, ACTIONS(149), 1, anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - STATE(245), 1, + ACTIONS(153), 1, + anon_sym_COLON, + ACTIONS(155), 1, + anon_sym_SLASH, + STATE(222), 1, sym__each_start_tag, - STATE(250), 1, - sym__if_end_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(264), 1, + STATE(271), 1, + sym__if_start_tag, + STATE(284), 1, sym__else_if_tag, - STATE(267), 1, - sym__debug_tag, - STATE(268), 1, + STATE(285), 1, sym__else_tag, - STATE(270), 1, - sym__const_tag, - STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, + STATE(286), 1, + sym__if_end_tag, + STATE(295), 1, sym__await_start_tag, - STATE(282), 1, - sym__if_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5013,69 +5013,69 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(155), 1, anon_sym_SLASH, - STATE(236), 1, - sym__catch_tag, - STATE(237), 1, - sym__then_tag, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, - STATE(307), 1, - sym__await_end_tag, + STATE(284), 1, + sym__else_if_tag, + STATE(285), 1, + sym__else_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, + STATE(340), 1, + sym__if_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [3514] = 18, ACTIONS(143), 1, anon_sym_POUND, + ACTIONS(145), 1, + anon_sym_COLON, + ACTIONS(147), 1, + anon_sym_SLASH, ACTIONS(149), 1, anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - ACTIONS(153), 1, - anon_sym_COLON, - ACTIONS(155), 1, - anon_sym_SLASH, + STATE(222), 1, + sym__each_start_tag, STATE(236), 1, - sym__catch_tag, - STATE(237), 1, sym__then_tag, - STATE(245), 1, - sym__each_start_tag, - STATE(261), 1, + STATE(239), 1, + sym__catch_tag, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, - STATE(287), 1, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(303), 1, sym__await_end_tag, - ACTIONS(3), 2, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, + ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [3570] = 17, @@ -5089,28 +5089,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(159), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(268), 1, - sym__else_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, - STATE(303), 1, + STATE(285), 1, + sym__else_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(312), 1, sym__each_end_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5125,28 +5125,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(159), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(268), 1, - sym__else_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, + STATE(285), 1, + sym__else_tag, STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(299), 1, sym__each_end_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5157,28 +5157,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - ACTIONS(161), 1, + ACTIONS(159), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(312), 1, + sym__each_end_tag, STATE(313), 1, - sym__snippet_end_tag, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5189,28 +5189,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - ACTIONS(159), 1, + ACTIONS(161), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, + STATE(268), 1, + sym__snippet_end_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, - STATE(303), 1, - sym__each_end_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5221,28 +5221,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - ACTIONS(159), 1, + ACTIONS(163), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, + STATE(258), 1, + sym__key_end_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, STATE(295), 1, - sym__each_end_tag, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5253,28 +5253,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - ACTIONS(163), 1, + ACTIONS(159), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, - STATE(304), 1, - sym__key_end_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(299), 1, + sym__each_end_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5285,28 +5285,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - ACTIONS(161), 1, + ACTIONS(163), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, - STATE(314), 1, - sym__snippet_end_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(307), 1, + sym__key_end_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5317,28 +5317,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, ACTIONS(151), 1, sym_svelte_raw_text, - ACTIONS(163), 1, + ACTIONS(161), 1, anon_sym_SLASH, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, + STATE(253), 1, sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, - STATE(312), 1, - sym__key_end_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(308), 1, + sym__snippet_end_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, + sym__html_tag, + STATE(321), 1, + sym__const_tag, + STATE(335), 1, + sym__debug_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5347,26 +5347,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_POUND, ACTIONS(149), 1, anon_sym_AT, - ACTIONS(165), 1, + ACTIONS(151), 1, sym_svelte_raw_text, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, + STATE(253), 1, + sym__render_tag, + STATE(271), 1, sym__if_start_tag, - STATE(330), 1, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(315), 1, sym__html_tag, - STATE(331), 1, + STATE(321), 1, sym__const_tag, - STATE(332), 1, + STATE(335), 1, sym__debug_tag, - STATE(333), 1, - sym__render_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5375,26 +5375,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_POUND, ACTIONS(149), 1, anon_sym_AT, - ACTIONS(151), 1, + ACTIONS(165), 1, sym_svelte_raw_text, - STATE(245), 1, + STATE(222), 1, sym__each_start_tag, - STATE(261), 1, - sym__render_tag, - STATE(267), 1, - sym__debug_tag, - STATE(270), 1, - sym__const_tag, STATE(271), 1, - sym__html_tag, - STATE(272), 1, - sym__snippet_start_tag, - STATE(273), 1, - sym__key_start_tag, - STATE(274), 1, - sym__await_start_tag, - STATE(282), 1, sym__if_start_tag, + STATE(295), 1, + sym__await_start_tag, + STATE(296), 1, + sym__key_start_tag, + STATE(313), 1, + sym__snippet_start_tag, + STATE(325), 1, + sym__html_tag, + STATE(326), 1, + sym__const_tag, + STATE(327), 1, + sym__debug_tag, + STATE(328), 1, + sym__render_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -5405,7 +5405,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, aux_sym__tag_value_token1, ACTIONS(167), 6, - sym__implicit_end_tag, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, @@ -5418,7 +5418,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, aux_sym__tag_value_token1, ACTIONS(171), 6, - sym__implicit_end_tag, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, @@ -5431,7 +5431,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, aux_sym__tag_value_token1, ACTIONS(175), 6, - ts_builtin_sym_end, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, @@ -5450,43 +5450,43 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4104] = 3, + [4104] = 7, + ACTIONS(183), 1, + anon_sym_GT, ACTIONS(185), 1, + anon_sym_SLASH_GT, + ACTIONS(187), 1, + sym_attribute_name, + ACTIONS(189), 1, + anon_sym_LBRACE, + STATE(196), 1, + sym_expression, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(81), 2, + sym_attribute, + aux_sym_start_tag_repeat1, + [4128] = 3, + ACTIONS(193), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(183), 6, + ACTIONS(191), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4120] = 7, - ACTIONS(187), 1, - anon_sym_LBRACE, - STATE(44), 1, - sym_else_if_start, - STATE(45), 1, - sym_else_start, - STATE(116), 1, - sym_if_end, - STATE(243), 1, - sym_else_block, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(188), 2, - sym_else_if_block, - aux_sym_if_statement_repeat1, [4144] = 3, - ACTIONS(191), 1, + ACTIONS(197), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(189), 6, + ACTIONS(195), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, @@ -5494,12 +5494,12 @@ static const uint16_t ts_small_parse_table[] = { sym_text, anon_sym_LBRACE, [4160] = 3, - ACTIONS(195), 1, + ACTIONS(201), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(193), 6, + ACTIONS(199), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, @@ -5507,12 +5507,12 @@ static const uint16_t ts_small_parse_table[] = { sym_text, anon_sym_LBRACE, [4176] = 3, - ACTIONS(199), 1, + ACTIONS(205), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(197), 6, + ACTIONS(203), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, @@ -5520,12 +5520,12 @@ static const uint16_t ts_small_parse_table[] = { sym_text, anon_sym_LBRACE, [4192] = 3, - ACTIONS(203), 1, + ACTIONS(209), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(201), 6, + ACTIONS(207), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, @@ -5533,12 +5533,12 @@ static const uint16_t ts_small_parse_table[] = { sym_text, anon_sym_LBRACE, [4208] = 3, - ACTIONS(207), 1, + ACTIONS(213), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(205), 6, + ACTIONS(211), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, @@ -5546,127 +5546,114 @@ static const uint16_t ts_small_parse_table[] = { sym_text, anon_sym_LBRACE, [4224] = 3, - ACTIONS(211), 1, + ACTIONS(217), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(209), 6, + ACTIONS(215), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4240] = 3, - ACTIONS(215), 1, - anon_sym_LT, + [4240] = 7, + ACTIONS(219), 1, + anon_sym_LBRACE, + STATE(37), 1, + sym_else_if_start, + STATE(40), 1, + sym_else_start, + STATE(88), 1, + sym_if_end, + STATE(248), 1, + sym_else_block, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(213), 6, - ts_builtin_sym_end, - anon_sym_LT_BANG, - anon_sym_LT_SLASH, - sym_entity, - sym_text, - anon_sym_LBRACE, - [4256] = 3, - ACTIONS(219), 1, + STATE(187), 2, + sym_else_if_block, + aux_sym_if_statement_repeat1, + [4264] = 3, + ACTIONS(223), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(217), 6, - sym__implicit_end_tag, + ACTIONS(221), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4272] = 3, - ACTIONS(223), 1, + [4280] = 3, + ACTIONS(227), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(221), 6, + ACTIONS(225), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4288] = 3, - ACTIONS(227), 1, + [4296] = 3, + ACTIONS(231), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(225), 6, + ACTIONS(229), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4304] = 3, - ACTIONS(169), 1, + [4312] = 3, + ACTIONS(235), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(167), 6, + ACTIONS(233), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4320] = 3, - ACTIONS(231), 1, + [4328] = 3, + ACTIONS(239), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(229), 6, + ACTIONS(237), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4336] = 7, - ACTIONS(233), 1, - anon_sym_GT, - ACTIONS(235), 1, - anon_sym_SLASH_GT, - ACTIONS(237), 1, - sym_attribute_name, - ACTIONS(239), 1, - anon_sym_LBRACE, - STATE(192), 1, - sym_expression, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(147), 2, - sym_attribute, - aux_sym_start_tag_repeat1, - [4360] = 3, + [4344] = 3, ACTIONS(243), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, ACTIONS(241), 6, - ts_builtin_sym_end, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4376] = 3, + [4360] = 3, ACTIONS(247), 1, anon_sym_LT, ACTIONS(3), 2, @@ -5679,37 +5666,23 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4392] = 7, - ACTIONS(237), 1, + [4376] = 6, + ACTIONS(251), 1, sym_attribute_name, - ACTIONS(239), 1, + ACTIONS(254), 1, anon_sym_LBRACE, - ACTIONS(249), 1, - anon_sym_GT, - ACTIONS(251), 1, - anon_sym_SLASH_GT, - STATE(192), 1, + STATE(196), 1, sym_expression, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(79), 2, + ACTIONS(249), 2, + anon_sym_GT, + anon_sym_SLASH_GT, + STATE(81), 2, sym_attribute, aux_sym_start_tag_repeat1, - [4416] = 3, - ACTIONS(255), 1, - anon_sym_LT, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - ACTIONS(253), 6, - ts_builtin_sym_end, - anon_sym_LT_BANG, - anon_sym_LT_SLASH, - sym_entity, - sym_text, - anon_sym_LBRACE, - [4432] = 3, + [4398] = 3, ACTIONS(259), 1, anon_sym_LT, ACTIONS(3), 2, @@ -5722,7 +5695,7 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4448] = 3, + [4414] = 3, ACTIONS(263), 1, anon_sym_LT, ACTIONS(3), 2, @@ -5735,7 +5708,7 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4464] = 3, + [4430] = 3, ACTIONS(267), 1, anon_sym_LT, ACTIONS(3), 2, @@ -5748,7 +5721,7 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4480] = 3, + [4446] = 3, ACTIONS(271), 1, anon_sym_LT, ACTIONS(3), 2, @@ -5761,41 +5734,20 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4496] = 7, - ACTIONS(273), 1, - anon_sym_LBRACE, - STATE(44), 1, - sym_else_if_start, - STATE(45), 1, - sym_else_start, - STATE(102), 1, - sym_if_end, - STATE(222), 1, - sym_else_block, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(188), 2, - sym_else_if_block, - aux_sym_if_statement_repeat1, - [4520] = 7, - ACTIONS(233), 1, - anon_sym_GT, - ACTIONS(237), 1, - sym_attribute_name, - ACTIONS(239), 1, - anon_sym_LBRACE, + [4462] = 3, ACTIONS(275), 1, - anon_sym_SLASH_GT, - STATE(192), 1, - sym_expression, + anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(147), 2, - sym_attribute, - aux_sym_start_tag_repeat1, - [4544] = 3, + ACTIONS(273), 6, + ts_builtin_sym_end, + anon_sym_LT_BANG, + anon_sym_LT_SLASH, + sym_entity, + sym_text, + anon_sym_LBRACE, + [4478] = 3, ACTIONS(279), 1, anon_sym_LT, ACTIONS(3), 2, @@ -5808,7 +5760,7 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4560] = 3, + [4494] = 3, ACTIONS(283), 1, anon_sym_LT, ACTIONS(3), 2, @@ -5821,487 +5773,449 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [4576] = 7, - ACTIONS(273), 1, - anon_sym_LBRACE, - STATE(44), 1, - sym_else_if_start, - STATE(45), 1, - sym_else_start, - STATE(62), 1, - sym_if_end, - STATE(229), 1, - sym_else_block, + [4510] = 3, + ACTIONS(287), 1, + anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(188), 2, - sym_else_if_block, - aux_sym_if_statement_repeat1, - [4600] = 7, - ACTIONS(237), 1, - sym_attribute_name, - ACTIONS(239), 1, + ACTIONS(285), 6, + ts_builtin_sym_end, + anon_sym_LT_BANG, + anon_sym_LT_SLASH, + sym_entity, + sym_text, anon_sym_LBRACE, - ACTIONS(249), 1, - anon_sym_GT, - ACTIONS(285), 1, - anon_sym_SLASH_GT, - STATE(192), 1, - sym_expression, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(89), 2, - sym_attribute, - aux_sym_start_tag_repeat1, - [4624] = 3, - ACTIONS(255), 1, + [4526] = 3, + ACTIONS(291), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(253), 6, - sym__implicit_end_tag, + ACTIONS(289), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4640] = 3, - ACTIONS(227), 1, + [4542] = 3, + ACTIONS(295), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(225), 6, - sym__implicit_end_tag, + ACTIONS(293), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4656] = 3, - ACTIONS(215), 1, + [4558] = 3, + ACTIONS(299), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(213), 6, - sym__implicit_end_tag, + ACTIONS(297), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4672] = 3, - ACTIONS(195), 1, + [4574] = 3, + ACTIONS(303), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(193), 6, - sym__implicit_end_tag, + ACTIONS(301), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4688] = 3, - ACTIONS(289), 1, + [4590] = 3, + ACTIONS(307), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(287), 6, - sym__implicit_end_tag, + ACTIONS(305), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4704] = 3, - ACTIONS(199), 1, + [4606] = 3, + ACTIONS(311), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(197), 6, - sym__implicit_end_tag, + ACTIONS(309), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4720] = 3, - ACTIONS(243), 1, + [4622] = 3, + ACTIONS(315), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(241), 6, - sym__implicit_end_tag, + ACTIONS(313), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4736] = 3, - ACTIONS(247), 1, + [4638] = 3, + ACTIONS(319), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(245), 6, - sym__implicit_end_tag, + ACTIONS(317), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4752] = 3, - ACTIONS(267), 1, + [4654] = 3, + ACTIONS(323), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(265), 6, + ACTIONS(321), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4768] = 3, - ACTIONS(271), 1, + [4670] = 3, + ACTIONS(327), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(269), 6, + ACTIONS(325), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4784] = 3, - ACTIONS(279), 1, + [4686] = 3, + ACTIONS(169), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(277), 6, + ACTIONS(167), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4800] = 3, - ACTIONS(283), 1, + [4702] = 3, + ACTIONS(331), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(281), 6, + ACTIONS(329), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4816] = 3, - ACTIONS(293), 1, + [4718] = 3, + ACTIONS(335), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(291), 6, + ACTIONS(333), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4832] = 3, - ACTIONS(297), 1, + [4734] = 3, + ACTIONS(339), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(295), 6, - ts_builtin_sym_end, + ACTIONS(337), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4848] = 3, - ACTIONS(301), 1, + [4750] = 3, + ACTIONS(343), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(299), 6, - ts_builtin_sym_end, + ACTIONS(341), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4864] = 3, - ACTIONS(305), 1, + [4766] = 3, + ACTIONS(347), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(303), 6, - ts_builtin_sym_end, + ACTIONS(345), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4880] = 3, - ACTIONS(309), 1, + [4782] = 3, + ACTIONS(193), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(307), 6, + ACTIONS(191), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4896] = 3, - ACTIONS(313), 1, + [4798] = 3, + ACTIONS(173), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(311), 6, + ACTIONS(171), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4912] = 3, - ACTIONS(293), 1, + [4814] = 3, + ACTIONS(327), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(291), 6, + ACTIONS(325), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4928] = 3, - ACTIONS(317), 1, + [4830] = 3, + ACTIONS(347), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(315), 6, - sym__implicit_end_tag, + ACTIONS(345), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4944] = 3, - ACTIONS(321), 1, + [4846] = 3, + ACTIONS(197), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(319), 6, + ACTIONS(195), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4960] = 3, - ACTIONS(325), 1, + [4862] = 3, + ACTIONS(201), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(323), 6, + ACTIONS(199), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4976] = 3, - ACTIONS(173), 1, + [4878] = 3, + ACTIONS(205), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(171), 6, - ts_builtin_sym_end, + ACTIONS(203), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [4992] = 3, - ACTIONS(329), 1, + [4894] = 3, + ACTIONS(209), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(327), 6, + ACTIONS(207), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5008] = 7, - ACTIONS(187), 1, - anon_sym_LBRACE, - STATE(44), 1, - sym_else_if_start, - STATE(45), 1, - sym_else_start, - STATE(86), 1, - sym_if_end, - STATE(226), 1, - sym_else_block, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(188), 2, - sym_else_if_block, - aux_sym_if_statement_repeat1, - [5032] = 3, - ACTIONS(309), 1, + [4910] = 3, + ACTIONS(213), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(307), 6, - ts_builtin_sym_end, + ACTIONS(211), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5048] = 3, - ACTIONS(333), 1, + [4926] = 3, + ACTIONS(217), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(331), 6, + ACTIONS(215), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5064] = 3, - ACTIONS(337), 1, + [4942] = 3, + ACTIONS(223), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(335), 6, + ACTIONS(221), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5080] = 3, - ACTIONS(289), 1, + [4958] = 3, + ACTIONS(227), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(287), 6, - ts_builtin_sym_end, + ACTIONS(225), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5096] = 3, - ACTIONS(341), 1, + [4974] = 3, + ACTIONS(231), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(339), 6, - ts_builtin_sym_end, + ACTIONS(229), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5112] = 3, - ACTIONS(337), 1, + [4990] = 3, + ACTIONS(235), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(335), 6, - ts_builtin_sym_end, + ACTIONS(233), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5128] = 3, - ACTIONS(305), 1, + [5006] = 3, + ACTIONS(239), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(303), 6, + ACTIONS(237), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5144] = 3, - ACTIONS(301), 1, + [5022] = 3, + ACTIONS(247), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(299), 6, + ACTIONS(245), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5160] = 3, - ACTIONS(297), 1, + [5038] = 3, + ACTIONS(259), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(295), 6, + ACTIONS(257), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5176] = 3, + [5054] = 3, ACTIONS(263), 1, anon_sym_LT, ACTIONS(3), 2, @@ -6314,269 +6228,355 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [5192] = 3, - ACTIONS(259), 1, + [5070] = 3, + ACTIONS(267), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(257), 6, + ACTIONS(265), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5208] = 3, - ACTIONS(223), 1, + [5086] = 3, + ACTIONS(271), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(221), 6, + ACTIONS(269), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5224] = 3, - ACTIONS(211), 1, + [5102] = 3, + ACTIONS(275), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(209), 6, + ACTIONS(273), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5240] = 3, - ACTIONS(207), 1, + [5118] = 3, + ACTIONS(279), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(205), 6, + ACTIONS(277), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5256] = 3, - ACTIONS(333), 1, + [5134] = 3, + ACTIONS(283), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(331), 6, - ts_builtin_sym_end, + ACTIONS(281), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5272] = 3, - ACTIONS(345), 1, + [5150] = 3, + ACTIONS(287), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(343), 6, - ts_builtin_sym_end, + ACTIONS(285), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5288] = 3, - ACTIONS(203), 1, + [5166] = 3, + ACTIONS(291), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(201), 6, + ACTIONS(289), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5304] = 3, - ACTIONS(191), 1, + [5182] = 3, + ACTIONS(295), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(189), 6, + ACTIONS(293), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5320] = 3, - ACTIONS(185), 1, + [5198] = 3, + ACTIONS(299), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(183), 6, + ACTIONS(297), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5336] = 3, - ACTIONS(177), 1, + [5214] = 3, + ACTIONS(303), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(175), 6, + ACTIONS(301), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5352] = 3, - ACTIONS(329), 1, + [5230] = 3, + ACTIONS(307), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(327), 6, - ts_builtin_sym_end, + ACTIONS(305), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5368] = 3, - ACTIONS(345), 1, + [5246] = 3, + ACTIONS(311), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(343), 6, + ACTIONS(309), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5384] = 3, - ACTIONS(341), 1, + [5262] = 3, + ACTIONS(315), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(339), 6, + ACTIONS(313), 6, sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5400] = 3, - ACTIONS(325), 1, + [5278] = 3, + ACTIONS(319), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(323), 6, - ts_builtin_sym_end, + ACTIONS(317), 6, + sym__implicit_end_tag, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5416] = 3, - ACTIONS(321), 1, + [5294] = 3, + ACTIONS(331), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(319), 6, + ACTIONS(329), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5432] = 3, - ACTIONS(313), 1, + [5310] = 3, + ACTIONS(335), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(311), 6, + ACTIONS(333), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5448] = 3, - ACTIONS(349), 1, - anon_sym_LT, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - ACTIONS(347), 6, - sym__implicit_end_tag, - anon_sym_LT_BANG, - anon_sym_LT_SLASH, - sym_entity, - sym_text, - anon_sym_LBRACE, - [5464] = 3, - ACTIONS(317), 1, + [5326] = 3, + ACTIONS(323), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(315), 6, + ACTIONS(321), 6, ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5480] = 6, - ACTIONS(353), 1, + [5342] = 7, + ACTIONS(187), 1, sym_attribute_name, - ACTIONS(356), 1, + ACTIONS(189), 1, anon_sym_LBRACE, - STATE(192), 1, + ACTIONS(349), 1, + anon_sym_GT, + ACTIONS(351), 1, + anon_sym_SLASH_GT, + STATE(196), 1, sym_expression, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(351), 2, - anon_sym_GT, - anon_sym_SLASH_GT, - STATE(147), 2, + STATE(145), 2, sym_attribute, aux_sym_start_tag_repeat1, - [5502] = 3, - ACTIONS(231), 1, + [5366] = 7, + ACTIONS(353), 1, + anon_sym_LBRACE, + STATE(37), 1, + sym_else_if_start, + STATE(40), 1, + sym_else_start, + STATE(115), 1, + sym_if_end, + STATE(225), 1, + sym_else_block, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(187), 2, + sym_else_if_block, + aux_sym_if_statement_repeat1, + [5390] = 3, + ACTIONS(339), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(229), 6, - sym__implicit_end_tag, + ACTIONS(337), 6, + ts_builtin_sym_end, + anon_sym_LT_BANG, + anon_sym_LT_SLASH, + sym_entity, + sym_text, + anon_sym_LBRACE, + [5406] = 7, + ACTIONS(219), 1, + anon_sym_LBRACE, + STATE(37), 1, + sym_else_if_start, + STATE(40), 1, + sym_else_start, + STATE(72), 1, + sym_if_end, + STATE(230), 1, + sym_else_block, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(187), 2, + sym_else_if_block, + aux_sym_if_statement_repeat1, + [5430] = 7, + ACTIONS(183), 1, + anon_sym_GT, + ACTIONS(187), 1, + sym_attribute_name, + ACTIONS(189), 1, + anon_sym_LBRACE, + ACTIONS(355), 1, + anon_sym_SLASH_GT, + STATE(196), 1, + sym_expression, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(81), 2, + sym_attribute, + aux_sym_start_tag_repeat1, + [5454] = 7, + ACTIONS(353), 1, + anon_sym_LBRACE, + STATE(37), 1, + sym_else_if_start, + STATE(40), 1, + sym_else_start, + STATE(128), 1, + sym_if_end, + STATE(235), 1, + sym_else_block, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(187), 2, + sym_else_if_block, + aux_sym_if_statement_repeat1, + [5478] = 3, + ACTIONS(343), 1, + anon_sym_LT, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + ACTIONS(341), 6, + ts_builtin_sym_end, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, + [5494] = 7, + ACTIONS(187), 1, + sym_attribute_name, + ACTIONS(189), 1, + anon_sym_LBRACE, + ACTIONS(349), 1, + anon_sym_GT, + ACTIONS(357), 1, + anon_sym_SLASH_GT, + STATE(196), 1, + sym_expression, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(65), 2, + sym_attribute, + aux_sym_start_tag_repeat1, [5518] = 3, ACTIONS(181), 1, anon_sym_LT, @@ -6590,105 +6590,105 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [5534] = 3, + [5534] = 6, + ACTIONS(359), 1, + anon_sym_GT, ACTIONS(361), 1, + sym_attribute_name, + ACTIONS(363), 1, + anon_sym_LBRACE, + STATE(198), 1, + sym_expression, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(163), 2, + sym_attribute, + aux_sym_start_tag_repeat1, + [5555] = 3, + ACTIONS(367), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(359), 5, + ACTIONS(365), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5549] = 3, - ACTIONS(365), 1, + [5570] = 3, + ACTIONS(371), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(363), 5, + ACTIONS(369), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5564] = 3, - ACTIONS(369), 1, + [5585] = 3, + ACTIONS(375), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(367), 5, + ACTIONS(373), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5579] = 3, - ACTIONS(373), 1, + [5600] = 3, + ACTIONS(379), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(371), 5, + ACTIONS(377), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5594] = 3, - ACTIONS(377), 1, + [5615] = 3, + ACTIONS(383), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(375), 5, + ACTIONS(381), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5609] = 3, - ACTIONS(381), 1, + [5630] = 3, + ACTIONS(387), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(379), 5, + ACTIONS(385), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5624] = 3, - ACTIONS(385), 1, + [5645] = 3, + ACTIONS(391), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(383), 5, + ACTIONS(389), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5639] = 6, - ACTIONS(239), 1, - anon_sym_LBRACE, - ACTIONS(387), 1, - sym_attribute_value, - ACTIONS(389), 1, - anon_sym_SQUOTE, - ACTIONS(391), 1, - anon_sym_DQUOTE, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(191), 2, - sym_quoted_attribute_value, - sym_expression, [5660] = 3, ACTIONS(395), 1, anon_sym_LT, @@ -6701,821 +6701,821 @@ static const uint16_t ts_small_parse_table[] = { sym_entity, sym_text, anon_sym_LBRACE, - [5675] = 6, - ACTIONS(351), 1, - anon_sym_GT, - ACTIONS(397), 1, - sym_attribute_name, - ACTIONS(400), 1, - anon_sym_LBRACE, - STATE(207), 1, - sym_expression, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(159), 2, - sym_attribute, - aux_sym_start_tag_repeat1, - [5696] = 3, - ACTIONS(405), 1, + [5675] = 3, + ACTIONS(399), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(403), 5, + ACTIONS(397), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5711] = 6, - ACTIONS(407), 1, - anon_sym_GT, - ACTIONS(409), 1, - sym_attribute_name, - ACTIONS(411), 1, - anon_sym_LBRACE, - STATE(207), 1, - sym_expression, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - STATE(169), 2, - sym_attribute, - aux_sym_start_tag_repeat1, - [5732] = 3, - ACTIONS(415), 1, + [5690] = 3, + ACTIONS(403), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(413), 5, + ACTIONS(401), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5747] = 3, - ACTIONS(419), 1, + [5705] = 3, + ACTIONS(407), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(417), 5, + ACTIONS(405), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5762] = 6, - ACTIONS(411), 1, + [5720] = 6, + ACTIONS(361), 1, + sym_attribute_name, + ACTIONS(363), 1, anon_sym_LBRACE, - ACTIONS(421), 1, - sym_attribute_value, - ACTIONS(423), 1, - anon_sym_SQUOTE, - ACTIONS(425), 1, - anon_sym_DQUOTE, + ACTIONS(409), 1, + anon_sym_GT, + STATE(198), 1, + sym_expression, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(209), 2, - sym_quoted_attribute_value, - sym_expression, - [5783] = 6, - ACTIONS(409), 1, - sym_attribute_name, + STATE(163), 2, + sym_attribute, + aux_sym_start_tag_repeat1, + [5741] = 6, + ACTIONS(249), 1, + anon_sym_GT, ACTIONS(411), 1, + sym_attribute_name, + ACTIONS(414), 1, anon_sym_LBRACE, - ACTIONS(427), 1, - anon_sym_GT, - STATE(207), 1, + STATE(198), 1, sym_expression, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(159), 2, + STATE(163), 2, sym_attribute, aux_sym_start_tag_repeat1, - [5804] = 3, - ACTIONS(431), 1, - anon_sym_LT, + [5762] = 6, + ACTIONS(189), 1, + anon_sym_LBRACE, + ACTIONS(417), 1, + sym_attribute_value, + ACTIONS(419), 1, + anon_sym_SQUOTE, + ACTIONS(421), 1, + anon_sym_DQUOTE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(429), 5, - anon_sym_LT_BANG, - anon_sym_LT_SLASH, - sym_entity, - sym_text, - anon_sym_LBRACE, - [5819] = 3, - ACTIONS(435), 1, + STATE(188), 2, + sym_quoted_attribute_value, + sym_expression, + [5783] = 3, + ACTIONS(425), 1, anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(433), 5, + ACTIONS(423), 5, anon_sym_LT_BANG, anon_sym_LT_SLASH, sym_entity, sym_text, anon_sym_LBRACE, - [5834] = 6, - ACTIONS(409), 1, + [5798] = 6, + ACTIONS(363), 1, + anon_sym_LBRACE, + ACTIONS(427), 1, + sym_attribute_value, + ACTIONS(429), 1, + anon_sym_SQUOTE, + ACTIONS(431), 1, + anon_sym_DQUOTE, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + STATE(199), 2, + sym_quoted_attribute_value, + sym_expression, + [5819] = 6, + ACTIONS(361), 1, sym_attribute_name, - ACTIONS(411), 1, + ACTIONS(363), 1, anon_sym_LBRACE, - ACTIONS(437), 1, + ACTIONS(433), 1, anon_sym_GT, - STATE(207), 1, + STATE(198), 1, sym_expression, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(165), 2, + STATE(162), 2, sym_attribute, aux_sym_start_tag_repeat1, - [5855] = 6, - ACTIONS(409), 1, + [5840] = 6, + ACTIONS(361), 1, sym_attribute_name, - ACTIONS(411), 1, + ACTIONS(363), 1, anon_sym_LBRACE, - ACTIONS(439), 1, + ACTIONS(435), 1, anon_sym_GT, - STATE(207), 1, + STATE(198), 1, sym_expression, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(159), 2, + STATE(150), 2, sym_attribute, aux_sym_start_tag_repeat1, - [5876] = 6, - ACTIONS(145), 1, - anon_sym_COLON, - ACTIONS(147), 1, - anon_sym_SLASH, - STATE(264), 1, - sym__else_if_tag, - STATE(268), 1, - sym__else_tag, - STATE(278), 1, - sym__if_end_tag, + [5861] = 3, + ACTIONS(439), 1, + anon_sym_LT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [5896] = 7, - ACTIONS(3), 1, - sym_comment, + ACTIONS(437), 5, + anon_sym_LT_BANG, + anon_sym_LT_SLASH, + sym_entity, + sym_text, + anon_sym_LBRACE, + [5876] = 6, ACTIONS(441), 1, - anon_sym_DQUOTE, + anon_sym_if, ACTIONS(443), 1, - aux_sym__double_quoted_attribute_value_token1, - ACTIONS(446), 1, - anon_sym_LBRACE, + anon_sym_each, + ACTIONS(445), 1, + anon_sym_await, + ACTIONS(447), 1, + anon_sym_key, ACTIONS(449), 1, - aux_sym__tag_value_token1, - STATE(171), 1, - aux_sym__double_quoted_attribute_value, - STATE(206), 1, - sym_expression, - [5918] = 6, - ACTIONS(145), 1, - anon_sym_COLON, - ACTIONS(147), 1, - anon_sym_SLASH, - STATE(250), 1, - sym__if_end_tag, - STATE(264), 1, - sym__else_if_tag, - STATE(268), 1, - sym__else_tag, + anon_sym_snippet, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [5938] = 7, + [5896] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, - aux_sym__tag_value_token1, ACTIONS(451), 1, anon_sym_SQUOTE, ACTIONS(453), 1, aux_sym__single_quoted_attribute_value_token1, ACTIONS(455), 1, anon_sym_LBRACE, - STATE(181), 1, - aux_sym__single_quoted_attribute_value, - STATE(204), 1, - sym_expression, - [5960] = 7, - ACTIONS(3), 1, - sym_comment, - ACTIONS(449), 1, - aux_sym__tag_value_token1, - ACTIONS(453), 1, - aux_sym__single_quoted_attribute_value_token1, - ACTIONS(455), 1, - anon_sym_LBRACE, ACTIONS(457), 1, - anon_sym_SQUOTE, - STATE(182), 1, + aux_sym__tag_value_token1, + STATE(173), 1, aux_sym__single_quoted_attribute_value, - STATE(204), 1, + STATE(202), 1, sym_expression, - [5982] = 3, - ACTIONS(461), 1, - anon_sym_EQ, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - ACTIONS(459), 4, - anon_sym_GT, - anon_sym_SLASH_GT, - sym_attribute_name, - anon_sym_LBRACE, - [5996] = 7, + [5918] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, - aux_sym__tag_value_token1, ACTIONS(451), 1, anon_sym_DQUOTE, - ACTIONS(463), 1, + ACTIONS(457), 1, + aux_sym__tag_value_token1, + ACTIONS(459), 1, aux_sym__double_quoted_attribute_value_token1, - ACTIONS(465), 1, + ACTIONS(461), 1, anon_sym_LBRACE, - STATE(171), 1, + STATE(174), 1, aux_sym__double_quoted_attribute_value, - STATE(206), 1, + STATE(208), 1, sym_expression, - [6018] = 7, + [5940] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, aux_sym__tag_value_token1, ACTIONS(463), 1, - aux_sym__double_quoted_attribute_value_token1, + anon_sym_SQUOTE, ACTIONS(465), 1, + aux_sym__single_quoted_attribute_value_token1, + ACTIONS(468), 1, anon_sym_LBRACE, - ACTIONS(467), 1, - anon_sym_DQUOTE, - STATE(176), 1, - aux_sym__double_quoted_attribute_value, - STATE(206), 1, + STATE(173), 1, + aux_sym__single_quoted_attribute_value, + STATE(202), 1, sym_expression, - [6040] = 7, + [5962] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, + aux_sym__tag_value_token1, + ACTIONS(471), 1, + anon_sym_DQUOTE, + ACTIONS(473), 1, + aux_sym__double_quoted_attribute_value_token1, + ACTIONS(476), 1, + anon_sym_LBRACE, + STATE(174), 1, + aux_sym__double_quoted_attribute_value, + STATE(208), 1, + sym_expression, + [5984] = 3, + ACTIONS(481), 1, + anon_sym_EQ, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + ACTIONS(479), 4, + anon_sym_GT, + anon_sym_SLASH_GT, + sym_attribute_name, + anon_sym_LBRACE, + [5998] = 6, + ACTIONS(153), 1, + anon_sym_COLON, + ACTIONS(155), 1, + anon_sym_SLASH, + STATE(284), 1, + sym__else_if_tag, + STATE(285), 1, + sym__else_tag, + STATE(286), 1, + sym__if_end_tag, + ACTIONS(3), 2, + sym_comment, aux_sym__tag_value_token1, + [6018] = 7, + ACTIONS(3), 1, + sym_comment, ACTIONS(453), 1, aux_sym__single_quoted_attribute_value_token1, ACTIONS(455), 1, anon_sym_LBRACE, - ACTIONS(467), 1, + ACTIONS(457), 1, + aux_sym__tag_value_token1, + ACTIONS(483), 1, anon_sym_SQUOTE, - STATE(173), 1, + STATE(171), 1, aux_sym__single_quoted_attribute_value, - STATE(204), 1, + STATE(202), 1, sym_expression, - [6062] = 6, - ACTIONS(469), 1, - anon_sym_if, - ACTIONS(471), 1, - anon_sym_each, - ACTIONS(473), 1, - anon_sym_await, - ACTIONS(475), 1, - anon_sym_key, - ACTIONS(477), 1, - anon_sym_snippet, + [6040] = 6, + ACTIONS(153), 1, + anon_sym_COLON, + ACTIONS(155), 1, + anon_sym_SLASH, + STATE(284), 1, + sym__else_if_tag, + STATE(285), 1, + sym__else_tag, + STATE(340), 1, + sym__if_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6082] = 7, + [6060] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, - aux_sym__tag_value_token1, ACTIONS(457), 1, - anon_sym_DQUOTE, - ACTIONS(463), 1, + aux_sym__tag_value_token1, + ACTIONS(459), 1, aux_sym__double_quoted_attribute_value_token1, - ACTIONS(465), 1, + ACTIONS(461), 1, anon_sym_LBRACE, - STATE(183), 1, + ACTIONS(483), 1, + anon_sym_DQUOTE, + STATE(172), 1, aux_sym__double_quoted_attribute_value, - STATE(206), 1, + STATE(208), 1, sym_expression, - [6104] = 7, + [6082] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, - aux_sym__tag_value_token1, - ACTIONS(479), 1, - anon_sym_SQUOTE, - ACTIONS(481), 1, + ACTIONS(453), 1, aux_sym__single_quoted_attribute_value_token1, - ACTIONS(484), 1, + ACTIONS(455), 1, anon_sym_LBRACE, - STATE(181), 1, + ACTIONS(457), 1, + aux_sym__tag_value_token1, + ACTIONS(485), 1, + anon_sym_SQUOTE, + STATE(182), 1, aux_sym__single_quoted_attribute_value, - STATE(204), 1, + STATE(202), 1, sym_expression, - [6126] = 7, + [6104] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, aux_sym__tag_value_token1, + ACTIONS(459), 1, + aux_sym__double_quoted_attribute_value_token1, + ACTIONS(461), 1, + anon_sym_LBRACE, + ACTIONS(485), 1, + anon_sym_DQUOTE, + STATE(183), 1, + aux_sym__double_quoted_attribute_value, + STATE(208), 1, + sym_expression, + [6126] = 7, + ACTIONS(3), 1, + sym_comment, ACTIONS(453), 1, aux_sym__single_quoted_attribute_value_token1, ACTIONS(455), 1, anon_sym_LBRACE, + ACTIONS(457), 1, + aux_sym__tag_value_token1, ACTIONS(487), 1, anon_sym_SQUOTE, - STATE(181), 1, + STATE(173), 1, aux_sym__single_quoted_attribute_value, - STATE(204), 1, + STATE(202), 1, sym_expression, [6148] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, aux_sym__tag_value_token1, - ACTIONS(463), 1, + ACTIONS(459), 1, aux_sym__double_quoted_attribute_value_token1, - ACTIONS(465), 1, + ACTIONS(461), 1, anon_sym_LBRACE, ACTIONS(487), 1, anon_sym_DQUOTE, - STATE(171), 1, + STATE(174), 1, aux_sym__double_quoted_attribute_value, - STATE(206), 1, + STATE(208), 1, sym_expression, - [6170] = 5, - ACTIONS(155), 1, + [6170] = 2, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + ACTIONS(199), 4, + anon_sym_GT, + anon_sym_SLASH_GT, + sym_attribute_name, + anon_sym_LBRACE, + [6181] = 5, + ACTIONS(147), 1, anon_sym_SLASH, ACTIONS(489), 1, anon_sym_COLON, - STATE(236), 1, + STATE(239), 1, sym__catch_tag, - STATE(287), 1, + STATE(333), 1, sym__await_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6187] = 2, + [6198] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(261), 4, + ACTIONS(491), 4, anon_sym_GT, anon_sym_SLASH_GT, sym_attribute_name, anon_sym_LBRACE, - [6198] = 2, + [6209] = 4, + ACTIONS(493), 1, + anon_sym_LBRACE, + STATE(37), 1, + sym_else_if_start, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(491), 4, + STATE(187), 2, + sym_else_if_block, + aux_sym_if_statement_repeat1, + [6224] = 2, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + ACTIONS(496), 4, anon_sym_GT, anon_sym_SLASH_GT, sym_attribute_name, anon_sym_LBRACE, - [6209] = 5, - ACTIONS(493), 1, + [6235] = 5, + ACTIONS(498), 1, anon_sym_LBRACE, - STATE(46), 1, + STATE(38), 1, sym_catch_start, - STATE(133), 1, + STATE(92), 1, sym_await_end, - STATE(213), 1, + STATE(223), 1, sym_catch_block, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6226] = 4, - ACTIONS(495), 1, + [6252] = 5, + ACTIONS(498), 1, anon_sym_LBRACE, - STATE(44), 1, - sym_else_if_start, + STATE(38), 1, + sym_catch_start, + STATE(75), 1, + sym_await_end, + STATE(243), 1, + sym_catch_block, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - STATE(188), 2, - sym_else_if_block, - aux_sym_if_statement_repeat1, - [6241] = 5, - ACTIONS(493), 1, + [6269] = 5, + ACTIONS(500), 1, + anon_sym_html, + ACTIONS(502), 1, + anon_sym_const, + ACTIONS(504), 1, + anon_sym_debug, + ACTIONS(506), 1, + anon_sym_render, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + [6286] = 5, + ACTIONS(508), 1, anon_sym_LBRACE, - STATE(46), 1, + STATE(38), 1, sym_catch_start, - STATE(122), 1, + STATE(117), 1, sym_await_end, - STATE(215), 1, + STATE(231), 1, sym_catch_block, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6258] = 3, - ACTIONS(498), 1, + [6303] = 5, + ACTIONS(508), 1, + anon_sym_LBRACE, + STATE(38), 1, + sym_catch_start, + STATE(132), 1, + sym_await_end, + STATE(237), 1, + sym_catch_block, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + [6320] = 3, + ACTIONS(510), 1, anon_sym_EQ, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(459), 3, + ACTIONS(479), 3, anon_sym_GT, sym_attribute_name, anon_sym_LBRACE, - [6271] = 2, + [6333] = 5, + ACTIONS(147), 1, + anon_sym_SLASH, + ACTIONS(489), 1, + anon_sym_COLON, + STATE(239), 1, + sym__catch_tag, + STATE(303), 1, + sym__await_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(500), 4, + [6350] = 2, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + ACTIONS(512), 4, anon_sym_GT, anon_sym_SLASH_GT, sym_attribute_name, anon_sym_LBRACE, - [6282] = 2, + [6361] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(502), 4, + ACTIONS(514), 4, anon_sym_GT, anon_sym_SLASH_GT, sym_attribute_name, anon_sym_LBRACE, - [6293] = 5, - ACTIONS(504), 1, - anon_sym_LBRACE, - STATE(46), 1, - sym_catch_start, - STATE(98), 1, - sym_await_end, - STATE(218), 1, - sym_catch_block, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - [6310] = 5, - ACTIONS(155), 1, - anon_sym_SLASH, - ACTIONS(489), 1, - anon_sym_COLON, - STATE(236), 1, - sym__catch_tag, - STATE(307), 1, - sym__await_end_tag, + [6372] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6327] = 5, - ACTIONS(504), 1, + ACTIONS(512), 3, + anon_sym_GT, + sym_attribute_name, anon_sym_LBRACE, - STATE(46), 1, - sym_catch_start, - STATE(120), 1, - sym_await_end, - STATE(227), 1, - sym_catch_block, + [6382] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6344] = 5, - ACTIONS(506), 1, - anon_sym_html, - ACTIONS(508), 1, - anon_sym_const, - ACTIONS(510), 1, - anon_sym_debug, - ACTIONS(512), 1, - anon_sym_render, + ACTIONS(496), 3, + anon_sym_GT, + sym_attribute_name, + anon_sym_LBRACE, + [6392] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6361] = 2, + ACTIONS(514), 3, + anon_sym_GT, + sym_attribute_name, + anon_sym_LBRACE, + [6402] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(514), 4, + ACTIONS(491), 3, anon_sym_GT, - anon_sym_SLASH_GT, sym_attribute_name, anon_sym_LBRACE, - [6372] = 3, + [6412] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, aux_sym__tag_value_token1, - ACTIONS(261), 3, - anon_sym_DQUOTE, - aux_sym__double_quoted_attribute_value_token1, + ACTIONS(516), 3, + anon_sym_SQUOTE, + aux_sym__single_quoted_attribute_value_token1, anon_sym_LBRACE, - [6384] = 2, + [6424] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(514), 3, + ACTIONS(199), 3, anon_sym_GT, sym_attribute_name, anon_sym_LBRACE, - [6394] = 3, + [6434] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, aux_sym__tag_value_token1, - ACTIONS(261), 3, + ACTIONS(199), 3, anon_sym_SQUOTE, aux_sym__single_quoted_attribute_value_token1, anon_sym_LBRACE, - [6406] = 2, - ACTIONS(3), 2, + [6446] = 3, + ACTIONS(3), 1, sym_comment, + ACTIONS(457), 1, aux_sym__tag_value_token1, - ACTIONS(261), 3, - anon_sym_GT, - sym_attribute_name, + ACTIONS(199), 3, + anon_sym_DQUOTE, + aux_sym__double_quoted_attribute_value_token1, anon_sym_LBRACE, - [6416] = 4, - ACTIONS(516), 1, - sym__start_tag_name, + [6458] = 4, ACTIONS(518), 1, - sym__script_start_tag_name, + anon_sym_LT_SLASH, ACTIONS(520), 1, - sym__style_start_tag_name, + sym_raw_text, + STATE(101), 1, + sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6430] = 4, + [6472] = 4, ACTIONS(522), 1, - anon_sym_LT_SLASH, + sym__start_tag_name, ACTIONS(524), 1, - sym_raw_text, - STATE(140), 1, - sym_end_tag, + sym__script_start_tag_name, + ACTIONS(526), 1, + sym__style_start_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6444] = 3, + [6486] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, aux_sym__tag_value_token1, - ACTIONS(526), 3, - anon_sym_SQUOTE, - aux_sym__single_quoted_attribute_value_token1, + ACTIONS(528), 3, + anon_sym_DQUOTE, + aux_sym__double_quoted_attribute_value_token1, anon_sym_LBRACE, - [6456] = 4, - ACTIONS(522), 1, + [6498] = 4, + ACTIONS(530), 1, anon_sym_LT_SLASH, - ACTIONS(528), 1, + ACTIONS(532), 1, sym_raw_text, - STATE(138), 1, + STATE(139), 1, sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6470] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(449), 1, - aux_sym__tag_value_token1, - ACTIONS(530), 3, - anon_sym_DQUOTE, - aux_sym__double_quoted_attribute_value_token1, - anon_sym_LBRACE, - [6482] = 2, + [6512] = 4, + ACTIONS(530), 1, + anon_sym_LT_SLASH, + ACTIONS(534), 1, + sym_raw_text, + STATE(138), 1, + sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(502), 3, - anon_sym_GT, - sym_attribute_name, - anon_sym_LBRACE, - [6492] = 4, - ACTIONS(518), 1, + [6526] = 4, + ACTIONS(524), 1, sym__script_start_tag_name, - ACTIONS(520), 1, + ACTIONS(526), 1, sym__style_start_tag_name, - ACTIONS(532), 1, - sym__start_tag_name, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - [6506] = 2, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - ACTIONS(500), 3, - anon_sym_GT, - sym_attribute_name, - anon_sym_LBRACE, - [6516] = 4, - ACTIONS(534), 1, - anon_sym_LT_SLASH, ACTIONS(536), 1, - sym_raw_text, - STATE(63), 1, - sym_end_tag, + sym__start_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6530] = 4, - ACTIONS(534), 1, + [6540] = 4, + ACTIONS(518), 1, anon_sym_LT_SLASH, ACTIONS(538), 1, sym_raw_text, - STATE(134), 1, + STATE(102), 1, sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6544] = 2, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - ACTIONS(491), 3, - anon_sym_GT, - sym_attribute_name, - anon_sym_LBRACE, [6554] = 3, ACTIONS(540), 1, anon_sym_LBRACE, - STATE(122), 1, + STATE(117), 1, sym_await_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6565] = 3, - ACTIONS(155), 1, - anon_sym_SLASH, - STATE(307), 1, - sym__await_end_tag, + ACTIONS(518), 1, + anon_sym_LT_SLASH, + STATE(113), 1, + sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6576] = 3, - ACTIONS(540), 1, - anon_sym_LBRACE, - STATE(83), 1, - sym_await_end, + ACTIONS(518), 1, + anon_sym_LT_SLASH, + STATE(114), 1, + sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6587] = 3, ACTIONS(542), 1, - sym__end_tag_name, - ACTIONS(544), 1, - sym_erroneous_end_tag_name, + anon_sym_LBRACE, + STATE(115), 1, + sym_if_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6598] = 3, - ACTIONS(540), 1, + ACTIONS(544), 1, anon_sym_LBRACE, - STATE(133), 1, - sym_await_end, + STATE(72), 1, + sym_if_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6609] = 3, - ACTIONS(546), 1, - anon_sym_LBRACE, - STATE(94), 1, - sym_await_end, + ACTIONS(147), 1, + anon_sym_SLASH, + STATE(333), 1, + sym__await_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6620] = 3, - ACTIONS(548), 1, - anon_sym_LBRACE, - STATE(116), 1, - sym_if_end, + ACTIONS(155), 1, + anon_sym_SLASH, + STATE(286), 1, + sym__if_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6631] = 2, + [6631] = 3, + ACTIONS(530), 1, + anon_sym_LT_SLASH, + STATE(70), 1, + sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(550), 2, - sym_raw_text, - anon_sym_LT_SLASH, - [6640] = 3, - ACTIONS(552), 1, - anon_sym_RPAREN, - ACTIONS(554), 1, - sym_svelte_raw_text_snippet_arguments, + [6642] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, + ACTIONS(546), 2, + sym_svelte_raw_text, + sym_svelte_raw_text_each, [6651] = 3, - ACTIONS(556), 1, + ACTIONS(548), 1, + sym_svelte_raw_text, + ACTIONS(550), 1, + sym_svelte_raw_text_each, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + [6662] = 3, + ACTIONS(552), 1, anon_sym_LBRACE, - STATE(95), 1, - sym_if_end, + STATE(97), 1, + sym_await_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6662] = 2, + [6673] = 3, + ACTIONS(155), 1, + anon_sym_SLASH, + STATE(340), 1, + sym__if_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(558), 2, - sym_raw_text, - anon_sym_LT_SLASH, - [6671] = 2, + [6684] = 3, + ACTIONS(542), 1, + anon_sym_LBRACE, + STATE(128), 1, + sym_if_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(560), 2, - sym_raw_text, - anon_sym_LT_SLASH, - [6680] = 2, + [6695] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(562), 2, + ACTIONS(554), 2, sym_raw_text, anon_sym_LT_SLASH, - [6689] = 3, - ACTIONS(548), 1, - anon_sym_LBRACE, - STATE(76), 1, - sym_if_end, + [6704] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6700] = 3, - ACTIONS(546), 1, - anon_sym_LBRACE, - STATE(98), 1, - sym_await_end, + ACTIONS(556), 2, + sym_svelte_raw_text, + anon_sym_RBRACE, + [6713] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6711] = 2, + ACTIONS(558), 2, + sym_raw_text, + anon_sym_LT_SLASH, + [6722] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(564), 2, - sym_svelte_raw_text, - sym_svelte_raw_text_each, - [6720] = 3, - ACTIONS(556), 1, + ACTIONS(560), 2, + sym_raw_text, + anon_sym_LT_SLASH, + [6731] = 3, + ACTIONS(544), 1, anon_sym_LBRACE, - STATE(102), 1, + STATE(88), 1, sym_if_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6731] = 3, - ACTIONS(155), 1, - anon_sym_SLASH, - STATE(287), 1, - sym__await_end_tag, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, [6742] = 3, - ACTIONS(147), 1, - anon_sym_SLASH, - STATE(250), 1, - sym__if_end_tag, + ACTIONS(540), 1, + anon_sym_LBRACE, + STATE(132), 1, + sym_await_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6753] = 3, - ACTIONS(544), 1, - sym_erroneous_end_tag_name, - ACTIONS(566), 1, - sym__end_tag_name, + ACTIONS(147), 1, + anon_sym_SLASH, + STATE(303), 1, + sym__await_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6764] = 3, - ACTIONS(534), 1, - anon_sym_LT_SLASH, - STATE(109), 1, - sym_end_tag, + ACTIONS(562), 1, + anon_sym_then, + ACTIONS(564), 1, + anon_sym_catch, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6775] = 3, - ACTIONS(534), 1, - anon_sym_LT_SLASH, - STATE(108), 1, - sym_end_tag, + ACTIONS(566), 1, + anon_sym_COLON, + STATE(284), 1, + sym__else_if_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6786] = 3, - ACTIONS(546), 1, + ACTIONS(542), 1, anon_sym_LBRACE, - STATE(120), 1, - sym_await_end, + STATE(135), 1, + sym_if_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -7528,114 +7528,114 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, aux_sym__tag_value_token1, [6808] = 3, - ACTIONS(572), 1, - anon_sym_RBRACE, - ACTIONS(574), 1, - sym_svelte_raw_text, + ACTIONS(540), 1, + anon_sym_LBRACE, + STATE(137), 1, + sym_await_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6819] = 2, + [6819] = 3, + ACTIONS(572), 1, + anon_sym_RPAREN, + ACTIONS(574), 1, + sym_svelte_raw_text_snippet_arguments, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(576), 2, - sym_svelte_raw_text, + [6830] = 3, + ACTIONS(576), 1, anon_sym_RBRACE, - [6828] = 3, ACTIONS(578), 1, - anon_sym_then, - ACTIONS(580), 1, - anon_sym_catch, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6839] = 3, - ACTIONS(556), 1, - anon_sym_LBRACE, - STATE(62), 1, - sym_if_end, + [6841] = 3, + ACTIONS(580), 1, + sym__end_tag_name, + ACTIONS(582), 1, + sym_erroneous_end_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6850] = 3, - ACTIONS(522), 1, - anon_sym_LT_SLASH, - STATE(125), 1, - sym_end_tag, + [6852] = 3, + ACTIONS(584), 1, + anon_sym_elseif, + ACTIONS(586), 1, + anon_sym_else, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6861] = 3, - ACTIONS(522), 1, - anon_sym_LT_SLASH, - STATE(126), 1, - sym_end_tag, + [6863] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, + ACTIONS(588), 2, + sym_raw_text, + anon_sym_LT_SLASH, [6872] = 3, - ACTIONS(548), 1, + ACTIONS(552), 1, anon_sym_LBRACE, - STATE(86), 1, - sym_if_end, + STATE(92), 1, + sym_await_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6883] = 3, - ACTIONS(147), 1, - anon_sym_SLASH, - STATE(278), 1, - sym__if_end_tag, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - [6894] = 3, ACTIONS(582), 1, - sym_svelte_raw_text, - ACTIONS(584), 1, - sym_svelte_raw_text_each, + sym_erroneous_end_tag_name, + ACTIONS(590), 1, + sym__end_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6905] = 2, + [6894] = 2, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - ACTIONS(586), 2, + ACTIONS(592), 2, sym_svelte_raw_text, anon_sym_RBRACE, + [6903] = 3, + ACTIONS(552), 1, + anon_sym_LBRACE, + STATE(75), 1, + sym_await_end, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, [6914] = 3, - ACTIONS(588), 1, - anon_sym_COLON, - STATE(264), 1, - sym__else_if_tag, + ACTIONS(530), 1, + anon_sym_LT_SLASH, + STATE(71), 1, + sym_end_tag, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6925] = 3, - ACTIONS(590), 1, - anon_sym_elseif, - ACTIONS(592), 1, - anon_sym_else, + ACTIONS(544), 1, + anon_sym_LBRACE, + STATE(95), 1, + sym_if_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6936] = 2, ACTIONS(594), 1, - anon_sym_GT, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6944] = 2, ACTIONS(596), 1, - anon_sym_RBRACE, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [6952] = 2, ACTIONS(598), 1, - anon_sym_RBRACE, + aux_sym_snippet_start_token1, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -7645,61 +7645,61 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6968] = 2, - ACTIONS(602), 1, - anon_sym_RBRACE, - ACTIONS(3), 2, + [6968] = 3, + ACTIONS(3), 1, sym_comment, + ACTIONS(602), 1, aux_sym__tag_value_token1, - [6976] = 2, + STATE(270), 1, + sym__tag_value, + [6978] = 2, ACTIONS(604), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6984] = 2, + [6986] = 2, ACTIONS(606), 1, - sym_svelte_raw_text, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [6992] = 2, + [6994] = 2, ACTIONS(608), 1, - anon_sym_LPAREN, + anon_sym_as, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7000] = 2, + [7002] = 2, ACTIONS(610), 1, - anon_sym_if, + anon_sym_key, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7008] = 2, + [7010] = 2, ACTIONS(612), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7016] = 2, + [7018] = 2, ACTIONS(614), 1, - anon_sym_as, + anon_sym_GT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7024] = 2, + [7026] = 2, ACTIONS(616), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7032] = 3, - ACTIONS(3), 1, - sym_comment, + [7034] = 2, ACTIONS(618), 1, + anon_sym_RBRACE, + ACTIONS(3), 2, + sym_comment, aux_sym__tag_value_token1, - STATE(251), 1, - sym__tag_value, [7042] = 2, ACTIONS(620), 1, anon_sym_RBRACE, @@ -7707,479 +7707,479 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, aux_sym__tag_value_token1, [7050] = 2, - ACTIONS(622), 1, - anon_sym_RBRACE, + ACTIONS(580), 1, + sym__end_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [7058] = 2, - ACTIONS(624), 1, + ACTIONS(622), 1, sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [7066] = 2, - ACTIONS(626), 1, + ACTIONS(624), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [7074] = 2, - ACTIONS(566), 1, - sym__end_tag_name, + ACTIONS(626), 1, + anon_sym_snippet, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7082] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(618), 1, - aux_sym__tag_value_token1, - STATE(252), 1, - sym__tag_value, - [7092] = 2, + [7082] = 2, ACTIONS(628), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7100] = 2, - ACTIONS(590), 1, - anon_sym_elseif, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - [7108] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(618), 1, - aux_sym__tag_value_token1, - STATE(253), 1, - sym__tag_value, - [7118] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(618), 1, - aux_sym__tag_value_token1, - STATE(254), 1, - sym__tag_value, - [7128] = 2, + [7090] = 2, ACTIONS(630), 1, - aux_sym_snippet_start_token1, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7136] = 2, + [7098] = 2, ACTIONS(632), 1, - sym_svelte_raw_text, + sym_erroneous_end_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7144] = 2, + [7106] = 2, ACTIONS(634), 1, - sym_svelte_raw_text, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7152] = 2, + [7114] = 2, ACTIONS(636), 1, - sym__doctype, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7160] = 2, + [7122] = 2, ACTIONS(638), 1, anon_sym_GT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7168] = 2, + [7130] = 2, ACTIONS(640), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7176] = 2, + [7138] = 2, ACTIONS(642), 1, - anon_sym_RBRACE, + sym__doctype, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7184] = 2, + [7146] = 2, ACTIONS(644), 1, - anon_sym_else, + anon_sym_GT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7192] = 2, + [7154] = 2, ACTIONS(646), 1, - anon_sym_each, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7200] = 2, + [7162] = 2, ACTIONS(648), 1, - anon_sym_RBRACE, + sym_svelte_raw_text, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + [7170] = 2, + ACTIONS(564), 1, + anon_sym_catch, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7208] = 2, + [7178] = 2, ACTIONS(650), 1, - sym_svelte_raw_text, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7216] = 2, + [7186] = 2, ACTIONS(652), 1, sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7224] = 2, + [7194] = 2, ACTIONS(654), 1, - anon_sym_await, + ts_builtin_sym_end, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7232] = 2, + [7202] = 2, ACTIONS(656), 1, - sym_svelte_raw_text, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7240] = 2, + [7210] = 2, ACTIONS(658), 1, - anon_sym_RBRACE, + anon_sym_if, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7248] = 2, + [7218] = 2, ACTIONS(660), 1, - anon_sym_RBRACE, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7256] = 2, + [7226] = 2, ACTIONS(662), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7264] = 2, + [7234] = 2, ACTIONS(664), 1, - anon_sym_GT, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7272] = 2, + [7242] = 2, ACTIONS(666), 1, - sym_svelte_raw_text, + anon_sym_GT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7280] = 2, + [7250] = 2, ACTIONS(668), 1, - anon_sym_GT, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7288] = 2, + [7258] = 2, ACTIONS(670), 1, - aux_sym_snippet_start_token1, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7296] = 2, + [7266] = 2, ACTIONS(672), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7304] = 2, + [7274] = 2, ACTIONS(674), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7312] = 2, + [7282] = 2, ACTIONS(676), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7320] = 2, + [7290] = 2, ACTIONS(678), 1, anon_sym_GT, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7328] = 2, + [7298] = 2, ACTIONS(680), 1, - anon_sym_RBRACE, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7336] = 2, + [7306] = 2, ACTIONS(682), 1, - anon_sym_RBRACE, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7344] = 2, + [7314] = 2, ACTIONS(684), 1, - anon_sym_RBRACE, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7352] = 2, + [7322] = 2, ACTIONS(686), 1, - anon_sym_key, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7360] = 2, + [7330] = 2, ACTIONS(688), 1, - sym_svelte_raw_text, + anon_sym_LPAREN, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7368] = 2, + [7338] = 2, ACTIONS(690), 1, - sym_svelte_raw_text, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7376] = 2, + [7346] = 2, ACTIONS(692), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7384] = 2, - ACTIONS(694), 1, - anon_sym_RBRACE, - ACTIONS(3), 2, + [7354] = 3, + ACTIONS(3), 1, sym_comment, + ACTIONS(457), 1, aux_sym__tag_value_token1, - [7392] = 2, + ACTIONS(694), 1, + aux_sym_doctype_token1, + [7364] = 2, ACTIONS(696), 1, sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7400] = 3, - ACTIONS(3), 1, + [7372] = 2, + ACTIONS(698), 1, + anon_sym_RBRACE, + ACTIONS(3), 2, sym_comment, - ACTIONS(449), 1, aux_sym__tag_value_token1, - ACTIONS(698), 1, - aux_sym_doctype_token1, - [7410] = 2, + [7380] = 2, ACTIONS(700), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7418] = 2, + [7388] = 2, ACTIONS(702), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7426] = 2, + [7396] = 2, ACTIONS(704), 1, - sym__doctype, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7434] = 2, + [7404] = 2, ACTIONS(706), 1, - anon_sym_snippet, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7442] = 2, + [7412] = 2, ACTIONS(708), 1, - anon_sym_RPAREN, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7450] = 2, + [7420] = 2, ACTIONS(710), 1, - anon_sym_RBRACE, + anon_sym_RPAREN, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7458] = 2, + [7428] = 2, ACTIONS(712), 1, - anon_sym_RBRACE, + anon_sym_else, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7466] = 2, + [7436] = 2, ACTIONS(714), 1, - anon_sym_RBRACE, + anon_sym_each, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7474] = 2, + [7444] = 2, ACTIONS(716), 1, - sym_svelte_raw_text, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7482] = 2, + [7452] = 2, ACTIONS(718), 1, - anon_sym_RBRACE, + aux_sym_snippet_start_token1, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7490] = 2, + [7460] = 2, ACTIONS(720), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7498] = 2, + [7468] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(602), 1, + aux_sym__tag_value_token1, + STATE(323), 1, + sym__tag_value, + [7478] = 2, ACTIONS(722), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7506] = 2, + [7486] = 2, ACTIONS(724), 1, - sym_svelte_raw_text, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7514] = 2, + [7494] = 2, ACTIONS(726), 1, - anon_sym_GT, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7522] = 2, + [7502] = 2, ACTIONS(728), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7530] = 2, + [7510] = 2, ACTIONS(730), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7538] = 2, - ACTIONS(732), 1, - anon_sym_RBRACE, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - [7546] = 2, - ACTIONS(734), 1, - anon_sym_RBRACE, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - [7554] = 2, - ACTIONS(736), 1, - anon_sym_RBRACE, - ACTIONS(3), 2, - sym_comment, - aux_sym__tag_value_token1, - [7562] = 2, - ACTIONS(738), 1, - sym_svelte_raw_text, - ACTIONS(3), 2, + [7518] = 3, + ACTIONS(3), 1, sym_comment, + ACTIONS(602), 1, aux_sym__tag_value_token1, - [7570] = 2, - ACTIONS(544), 1, + STATE(332), 1, + sym__tag_value, + [7528] = 2, + ACTIONS(582), 1, sym_erroneous_end_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7578] = 2, - ACTIONS(740), 1, + [7536] = 2, + ACTIONS(732), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7586] = 3, + [7544] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(449), 1, + ACTIONS(457), 1, aux_sym__tag_value_token1, - ACTIONS(742), 1, + ACTIONS(734), 1, aux_sym_doctype_token1, - [7596] = 3, + [7554] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(618), 1, + ACTIONS(602), 1, aux_sym__tag_value_token1, - STATE(293), 1, + STATE(289), 1, sym__tag_value, - [7606] = 3, + [7564] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(618), 1, + ACTIONS(602), 1, aux_sym__tag_value_token1, - STATE(294), 1, + STATE(290), 1, sym__tag_value, - [7616] = 3, + [7574] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(618), 1, + ACTIONS(602), 1, aux_sym__tag_value_token1, - STATE(281), 1, + STATE(291), 1, sym__tag_value, - [7626] = 3, + [7584] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(618), 1, + ACTIONS(602), 1, aux_sym__tag_value_token1, - STATE(298), 1, + STATE(292), 1, sym__tag_value, - [7636] = 2, - ACTIONS(744), 1, - anon_sym_RBRACE, + [7594] = 2, + ACTIONS(736), 1, + anon_sym_await, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7644] = 2, - ACTIONS(542), 1, + [7602] = 2, + ACTIONS(590), 1, sym__end_tag_name, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, - [7652] = 2, - ACTIONS(746), 1, + [7610] = 2, + ACTIONS(584), 1, + anon_sym_elseif, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + [7618] = 2, + ACTIONS(738), 1, + anon_sym_RBRACE, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + [7626] = 2, + ACTIONS(740), 1, anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, + [7634] = 2, + ACTIONS(742), 1, + anon_sym_GT, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, + [7642] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(602), 1, + aux_sym__tag_value_token1, + STATE(252), 1, + sym__tag_value, + [7652] = 2, + ACTIONS(744), 1, + sym_svelte_raw_text, + ACTIONS(3), 2, + sym_comment, + aux_sym__tag_value_token1, [7660] = 2, - ACTIONS(748), 1, - ts_builtin_sym_end, + ACTIONS(746), 1, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [7668] = 2, - ACTIONS(750), 1, - anon_sym_RBRACE, + ACTIONS(748), 1, + sym_svelte_raw_text, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [7676] = 2, - ACTIONS(752), 1, - sym_erroneous_end_tag_name, + ACTIONS(750), 1, + sym__doctype, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, [7684] = 2, - ACTIONS(580), 1, - anon_sym_catch, + ACTIONS(752), 1, + anon_sym_RBRACE, ACTIONS(3), 2, sym_comment, aux_sym__tag_value_token1, @@ -8270,7 +8270,7 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(63)] = 4072, [SMALL_STATE(64)] = 4088, [SMALL_STATE(65)] = 4104, - [SMALL_STATE(66)] = 4120, + [SMALL_STATE(66)] = 4128, [SMALL_STATE(67)] = 4144, [SMALL_STATE(68)] = 4160, [SMALL_STATE(69)] = 4176, @@ -8278,145 +8278,145 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(71)] = 4208, [SMALL_STATE(72)] = 4224, [SMALL_STATE(73)] = 4240, - [SMALL_STATE(74)] = 4256, - [SMALL_STATE(75)] = 4272, - [SMALL_STATE(76)] = 4288, - [SMALL_STATE(77)] = 4304, - [SMALL_STATE(78)] = 4320, - [SMALL_STATE(79)] = 4336, + [SMALL_STATE(74)] = 4264, + [SMALL_STATE(75)] = 4280, + [SMALL_STATE(76)] = 4296, + [SMALL_STATE(77)] = 4312, + [SMALL_STATE(78)] = 4328, + [SMALL_STATE(79)] = 4344, [SMALL_STATE(80)] = 4360, [SMALL_STATE(81)] = 4376, - [SMALL_STATE(82)] = 4392, - [SMALL_STATE(83)] = 4416, - [SMALL_STATE(84)] = 4432, - [SMALL_STATE(85)] = 4448, - [SMALL_STATE(86)] = 4464, - [SMALL_STATE(87)] = 4480, - [SMALL_STATE(88)] = 4496, - [SMALL_STATE(89)] = 4520, - [SMALL_STATE(90)] = 4544, - [SMALL_STATE(91)] = 4560, - [SMALL_STATE(92)] = 4576, - [SMALL_STATE(93)] = 4600, - [SMALL_STATE(94)] = 4624, - [SMALL_STATE(95)] = 4640, - [SMALL_STATE(96)] = 4656, - [SMALL_STATE(97)] = 4672, - [SMALL_STATE(98)] = 4688, - [SMALL_STATE(99)] = 4704, - [SMALL_STATE(100)] = 4720, - [SMALL_STATE(101)] = 4736, - [SMALL_STATE(102)] = 4752, - [SMALL_STATE(103)] = 4768, - [SMALL_STATE(104)] = 4784, - [SMALL_STATE(105)] = 4800, - [SMALL_STATE(106)] = 4816, - [SMALL_STATE(107)] = 4832, - [SMALL_STATE(108)] = 4848, - [SMALL_STATE(109)] = 4864, - [SMALL_STATE(110)] = 4880, - [SMALL_STATE(111)] = 4896, - [SMALL_STATE(112)] = 4912, - [SMALL_STATE(113)] = 4928, - [SMALL_STATE(114)] = 4944, - [SMALL_STATE(115)] = 4960, - [SMALL_STATE(116)] = 4976, - [SMALL_STATE(117)] = 4992, - [SMALL_STATE(118)] = 5008, - [SMALL_STATE(119)] = 5032, - [SMALL_STATE(120)] = 5048, - [SMALL_STATE(121)] = 5064, - [SMALL_STATE(122)] = 5080, - [SMALL_STATE(123)] = 5096, - [SMALL_STATE(124)] = 5112, - [SMALL_STATE(125)] = 5128, - [SMALL_STATE(126)] = 5144, - [SMALL_STATE(127)] = 5160, - [SMALL_STATE(128)] = 5176, - [SMALL_STATE(129)] = 5192, - [SMALL_STATE(130)] = 5208, - [SMALL_STATE(131)] = 5224, - [SMALL_STATE(132)] = 5240, - [SMALL_STATE(133)] = 5256, - [SMALL_STATE(134)] = 5272, - [SMALL_STATE(135)] = 5288, - [SMALL_STATE(136)] = 5304, - [SMALL_STATE(137)] = 5320, - [SMALL_STATE(138)] = 5336, - [SMALL_STATE(139)] = 5352, - [SMALL_STATE(140)] = 5368, - [SMALL_STATE(141)] = 5384, - [SMALL_STATE(142)] = 5400, - [SMALL_STATE(143)] = 5416, - [SMALL_STATE(144)] = 5432, - [SMALL_STATE(145)] = 5448, - [SMALL_STATE(146)] = 5464, - [SMALL_STATE(147)] = 5480, - [SMALL_STATE(148)] = 5502, + [SMALL_STATE(82)] = 4398, + [SMALL_STATE(83)] = 4414, + [SMALL_STATE(84)] = 4430, + [SMALL_STATE(85)] = 4446, + [SMALL_STATE(86)] = 4462, + [SMALL_STATE(87)] = 4478, + [SMALL_STATE(88)] = 4494, + [SMALL_STATE(89)] = 4510, + [SMALL_STATE(90)] = 4526, + [SMALL_STATE(91)] = 4542, + [SMALL_STATE(92)] = 4558, + [SMALL_STATE(93)] = 4574, + [SMALL_STATE(94)] = 4590, + [SMALL_STATE(95)] = 4606, + [SMALL_STATE(96)] = 4622, + [SMALL_STATE(97)] = 4638, + [SMALL_STATE(98)] = 4654, + [SMALL_STATE(99)] = 4670, + [SMALL_STATE(100)] = 4686, + [SMALL_STATE(101)] = 4702, + [SMALL_STATE(102)] = 4718, + [SMALL_STATE(103)] = 4734, + [SMALL_STATE(104)] = 4750, + [SMALL_STATE(105)] = 4766, + [SMALL_STATE(106)] = 4782, + [SMALL_STATE(107)] = 4798, + [SMALL_STATE(108)] = 4814, + [SMALL_STATE(109)] = 4830, + [SMALL_STATE(110)] = 4846, + [SMALL_STATE(111)] = 4862, + [SMALL_STATE(112)] = 4878, + [SMALL_STATE(113)] = 4894, + [SMALL_STATE(114)] = 4910, + [SMALL_STATE(115)] = 4926, + [SMALL_STATE(116)] = 4942, + [SMALL_STATE(117)] = 4958, + [SMALL_STATE(118)] = 4974, + [SMALL_STATE(119)] = 4990, + [SMALL_STATE(120)] = 5006, + [SMALL_STATE(121)] = 5022, + [SMALL_STATE(122)] = 5038, + [SMALL_STATE(123)] = 5054, + [SMALL_STATE(124)] = 5070, + [SMALL_STATE(125)] = 5086, + [SMALL_STATE(126)] = 5102, + [SMALL_STATE(127)] = 5118, + [SMALL_STATE(128)] = 5134, + [SMALL_STATE(129)] = 5150, + [SMALL_STATE(130)] = 5166, + [SMALL_STATE(131)] = 5182, + [SMALL_STATE(132)] = 5198, + [SMALL_STATE(133)] = 5214, + [SMALL_STATE(134)] = 5230, + [SMALL_STATE(135)] = 5246, + [SMALL_STATE(136)] = 5262, + [SMALL_STATE(137)] = 5278, + [SMALL_STATE(138)] = 5294, + [SMALL_STATE(139)] = 5310, + [SMALL_STATE(140)] = 5326, + [SMALL_STATE(141)] = 5342, + [SMALL_STATE(142)] = 5366, + [SMALL_STATE(143)] = 5390, + [SMALL_STATE(144)] = 5406, + [SMALL_STATE(145)] = 5430, + [SMALL_STATE(146)] = 5454, + [SMALL_STATE(147)] = 5478, + [SMALL_STATE(148)] = 5494, [SMALL_STATE(149)] = 5518, [SMALL_STATE(150)] = 5534, - [SMALL_STATE(151)] = 5549, - [SMALL_STATE(152)] = 5564, - [SMALL_STATE(153)] = 5579, - [SMALL_STATE(154)] = 5594, - [SMALL_STATE(155)] = 5609, - [SMALL_STATE(156)] = 5624, - [SMALL_STATE(157)] = 5639, + [SMALL_STATE(151)] = 5555, + [SMALL_STATE(152)] = 5570, + [SMALL_STATE(153)] = 5585, + [SMALL_STATE(154)] = 5600, + [SMALL_STATE(155)] = 5615, + [SMALL_STATE(156)] = 5630, + [SMALL_STATE(157)] = 5645, [SMALL_STATE(158)] = 5660, [SMALL_STATE(159)] = 5675, - [SMALL_STATE(160)] = 5696, - [SMALL_STATE(161)] = 5711, - [SMALL_STATE(162)] = 5732, - [SMALL_STATE(163)] = 5747, + [SMALL_STATE(160)] = 5690, + [SMALL_STATE(161)] = 5705, + [SMALL_STATE(162)] = 5720, + [SMALL_STATE(163)] = 5741, [SMALL_STATE(164)] = 5762, [SMALL_STATE(165)] = 5783, - [SMALL_STATE(166)] = 5804, + [SMALL_STATE(166)] = 5798, [SMALL_STATE(167)] = 5819, - [SMALL_STATE(168)] = 5834, - [SMALL_STATE(169)] = 5855, + [SMALL_STATE(168)] = 5840, + [SMALL_STATE(169)] = 5861, [SMALL_STATE(170)] = 5876, [SMALL_STATE(171)] = 5896, [SMALL_STATE(172)] = 5918, - [SMALL_STATE(173)] = 5938, - [SMALL_STATE(174)] = 5960, - [SMALL_STATE(175)] = 5982, - [SMALL_STATE(176)] = 5996, + [SMALL_STATE(173)] = 5940, + [SMALL_STATE(174)] = 5962, + [SMALL_STATE(175)] = 5984, + [SMALL_STATE(176)] = 5998, [SMALL_STATE(177)] = 6018, [SMALL_STATE(178)] = 6040, - [SMALL_STATE(179)] = 6062, + [SMALL_STATE(179)] = 6060, [SMALL_STATE(180)] = 6082, [SMALL_STATE(181)] = 6104, [SMALL_STATE(182)] = 6126, [SMALL_STATE(183)] = 6148, [SMALL_STATE(184)] = 6170, - [SMALL_STATE(185)] = 6187, + [SMALL_STATE(185)] = 6181, [SMALL_STATE(186)] = 6198, [SMALL_STATE(187)] = 6209, - [SMALL_STATE(188)] = 6226, - [SMALL_STATE(189)] = 6241, - [SMALL_STATE(190)] = 6258, - [SMALL_STATE(191)] = 6271, - [SMALL_STATE(192)] = 6282, - [SMALL_STATE(193)] = 6293, - [SMALL_STATE(194)] = 6310, - [SMALL_STATE(195)] = 6327, - [SMALL_STATE(196)] = 6344, + [SMALL_STATE(188)] = 6224, + [SMALL_STATE(189)] = 6235, + [SMALL_STATE(190)] = 6252, + [SMALL_STATE(191)] = 6269, + [SMALL_STATE(192)] = 6286, + [SMALL_STATE(193)] = 6303, + [SMALL_STATE(194)] = 6320, + [SMALL_STATE(195)] = 6333, + [SMALL_STATE(196)] = 6350, [SMALL_STATE(197)] = 6361, [SMALL_STATE(198)] = 6372, - [SMALL_STATE(199)] = 6384, - [SMALL_STATE(200)] = 6394, - [SMALL_STATE(201)] = 6406, - [SMALL_STATE(202)] = 6416, - [SMALL_STATE(203)] = 6430, - [SMALL_STATE(204)] = 6444, - [SMALL_STATE(205)] = 6456, - [SMALL_STATE(206)] = 6470, - [SMALL_STATE(207)] = 6482, - [SMALL_STATE(208)] = 6492, - [SMALL_STATE(209)] = 6506, - [SMALL_STATE(210)] = 6516, - [SMALL_STATE(211)] = 6530, - [SMALL_STATE(212)] = 6544, + [SMALL_STATE(199)] = 6382, + [SMALL_STATE(200)] = 6392, + [SMALL_STATE(201)] = 6402, + [SMALL_STATE(202)] = 6412, + [SMALL_STATE(203)] = 6424, + [SMALL_STATE(204)] = 6434, + [SMALL_STATE(205)] = 6446, + [SMALL_STATE(206)] = 6458, + [SMALL_STATE(207)] = 6472, + [SMALL_STATE(208)] = 6486, + [SMALL_STATE(209)] = 6498, + [SMALL_STATE(210)] = 6512, + [SMALL_STATE(211)] = 6526, + [SMALL_STATE(212)] = 6540, [SMALL_STATE(213)] = 6554, [SMALL_STATE(214)] = 6565, [SMALL_STATE(215)] = 6576, @@ -8425,15 +8425,15 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(218)] = 6609, [SMALL_STATE(219)] = 6620, [SMALL_STATE(220)] = 6631, - [SMALL_STATE(221)] = 6640, + [SMALL_STATE(221)] = 6642, [SMALL_STATE(222)] = 6651, [SMALL_STATE(223)] = 6662, - [SMALL_STATE(224)] = 6671, - [SMALL_STATE(225)] = 6680, - [SMALL_STATE(226)] = 6689, - [SMALL_STATE(227)] = 6700, - [SMALL_STATE(228)] = 6711, - [SMALL_STATE(229)] = 6720, + [SMALL_STATE(224)] = 6673, + [SMALL_STATE(225)] = 6684, + [SMALL_STATE(226)] = 6695, + [SMALL_STATE(227)] = 6704, + [SMALL_STATE(228)] = 6713, + [SMALL_STATE(229)] = 6722, [SMALL_STATE(230)] = 6731, [SMALL_STATE(231)] = 6742, [SMALL_STATE(232)] = 6753, @@ -8443,14 +8443,14 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(236)] = 6797, [SMALL_STATE(237)] = 6808, [SMALL_STATE(238)] = 6819, - [SMALL_STATE(239)] = 6828, - [SMALL_STATE(240)] = 6839, - [SMALL_STATE(241)] = 6850, - [SMALL_STATE(242)] = 6861, + [SMALL_STATE(239)] = 6830, + [SMALL_STATE(240)] = 6841, + [SMALL_STATE(241)] = 6852, + [SMALL_STATE(242)] = 6863, [SMALL_STATE(243)] = 6872, [SMALL_STATE(244)] = 6883, [SMALL_STATE(245)] = 6894, - [SMALL_STATE(246)] = 6905, + [SMALL_STATE(246)] = 6903, [SMALL_STATE(247)] = 6914, [SMALL_STATE(248)] = 6925, [SMALL_STATE(249)] = 6936, @@ -8458,88 +8458,88 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(251)] = 6952, [SMALL_STATE(252)] = 6960, [SMALL_STATE(253)] = 6968, - [SMALL_STATE(254)] = 6976, - [SMALL_STATE(255)] = 6984, - [SMALL_STATE(256)] = 6992, - [SMALL_STATE(257)] = 7000, - [SMALL_STATE(258)] = 7008, - [SMALL_STATE(259)] = 7016, - [SMALL_STATE(260)] = 7024, - [SMALL_STATE(261)] = 7032, + [SMALL_STATE(254)] = 6978, + [SMALL_STATE(255)] = 6986, + [SMALL_STATE(256)] = 6994, + [SMALL_STATE(257)] = 7002, + [SMALL_STATE(258)] = 7010, + [SMALL_STATE(259)] = 7018, + [SMALL_STATE(260)] = 7026, + [SMALL_STATE(261)] = 7034, [SMALL_STATE(262)] = 7042, [SMALL_STATE(263)] = 7050, [SMALL_STATE(264)] = 7058, [SMALL_STATE(265)] = 7066, [SMALL_STATE(266)] = 7074, [SMALL_STATE(267)] = 7082, - [SMALL_STATE(268)] = 7092, - [SMALL_STATE(269)] = 7100, - [SMALL_STATE(270)] = 7108, - [SMALL_STATE(271)] = 7118, - [SMALL_STATE(272)] = 7128, - [SMALL_STATE(273)] = 7136, - [SMALL_STATE(274)] = 7144, - [SMALL_STATE(275)] = 7152, - [SMALL_STATE(276)] = 7160, - [SMALL_STATE(277)] = 7168, - [SMALL_STATE(278)] = 7176, - [SMALL_STATE(279)] = 7184, - [SMALL_STATE(280)] = 7192, - [SMALL_STATE(281)] = 7200, - [SMALL_STATE(282)] = 7208, - [SMALL_STATE(283)] = 7216, - [SMALL_STATE(284)] = 7224, - [SMALL_STATE(285)] = 7232, - [SMALL_STATE(286)] = 7240, - [SMALL_STATE(287)] = 7248, - [SMALL_STATE(288)] = 7256, - [SMALL_STATE(289)] = 7264, - [SMALL_STATE(290)] = 7272, - [SMALL_STATE(291)] = 7280, - [SMALL_STATE(292)] = 7288, - [SMALL_STATE(293)] = 7296, - [SMALL_STATE(294)] = 7304, - [SMALL_STATE(295)] = 7312, - [SMALL_STATE(296)] = 7320, - [SMALL_STATE(297)] = 7328, - [SMALL_STATE(298)] = 7336, - [SMALL_STATE(299)] = 7344, - [SMALL_STATE(300)] = 7352, - [SMALL_STATE(301)] = 7360, - [SMALL_STATE(302)] = 7368, - [SMALL_STATE(303)] = 7376, - [SMALL_STATE(304)] = 7384, - [SMALL_STATE(305)] = 7392, - [SMALL_STATE(306)] = 7400, - [SMALL_STATE(307)] = 7410, - [SMALL_STATE(308)] = 7418, - [SMALL_STATE(309)] = 7426, - [SMALL_STATE(310)] = 7434, - [SMALL_STATE(311)] = 7442, - [SMALL_STATE(312)] = 7450, - [SMALL_STATE(313)] = 7458, - [SMALL_STATE(314)] = 7466, - [SMALL_STATE(315)] = 7474, - [SMALL_STATE(316)] = 7482, - [SMALL_STATE(317)] = 7490, - [SMALL_STATE(318)] = 7498, - [SMALL_STATE(319)] = 7506, - [SMALL_STATE(320)] = 7514, - [SMALL_STATE(321)] = 7522, - [SMALL_STATE(322)] = 7530, - [SMALL_STATE(323)] = 7538, - [SMALL_STATE(324)] = 7546, + [SMALL_STATE(268)] = 7090, + [SMALL_STATE(269)] = 7098, + [SMALL_STATE(270)] = 7106, + [SMALL_STATE(271)] = 7114, + [SMALL_STATE(272)] = 7122, + [SMALL_STATE(273)] = 7130, + [SMALL_STATE(274)] = 7138, + [SMALL_STATE(275)] = 7146, + [SMALL_STATE(276)] = 7154, + [SMALL_STATE(277)] = 7162, + [SMALL_STATE(278)] = 7170, + [SMALL_STATE(279)] = 7178, + [SMALL_STATE(280)] = 7186, + [SMALL_STATE(281)] = 7194, + [SMALL_STATE(282)] = 7202, + [SMALL_STATE(283)] = 7210, + [SMALL_STATE(284)] = 7218, + [SMALL_STATE(285)] = 7226, + [SMALL_STATE(286)] = 7234, + [SMALL_STATE(287)] = 7242, + [SMALL_STATE(288)] = 7250, + [SMALL_STATE(289)] = 7258, + [SMALL_STATE(290)] = 7266, + [SMALL_STATE(291)] = 7274, + [SMALL_STATE(292)] = 7282, + [SMALL_STATE(293)] = 7290, + [SMALL_STATE(294)] = 7298, + [SMALL_STATE(295)] = 7306, + [SMALL_STATE(296)] = 7314, + [SMALL_STATE(297)] = 7322, + [SMALL_STATE(298)] = 7330, + [SMALL_STATE(299)] = 7338, + [SMALL_STATE(300)] = 7346, + [SMALL_STATE(301)] = 7354, + [SMALL_STATE(302)] = 7364, + [SMALL_STATE(303)] = 7372, + [SMALL_STATE(304)] = 7380, + [SMALL_STATE(305)] = 7388, + [SMALL_STATE(306)] = 7396, + [SMALL_STATE(307)] = 7404, + [SMALL_STATE(308)] = 7412, + [SMALL_STATE(309)] = 7420, + [SMALL_STATE(310)] = 7428, + [SMALL_STATE(311)] = 7436, + [SMALL_STATE(312)] = 7444, + [SMALL_STATE(313)] = 7452, + [SMALL_STATE(314)] = 7460, + [SMALL_STATE(315)] = 7468, + [SMALL_STATE(316)] = 7478, + [SMALL_STATE(317)] = 7486, + [SMALL_STATE(318)] = 7494, + [SMALL_STATE(319)] = 7502, + [SMALL_STATE(320)] = 7510, + [SMALL_STATE(321)] = 7518, + [SMALL_STATE(322)] = 7528, + [SMALL_STATE(323)] = 7536, + [SMALL_STATE(324)] = 7544, [SMALL_STATE(325)] = 7554, - [SMALL_STATE(326)] = 7562, - [SMALL_STATE(327)] = 7570, - [SMALL_STATE(328)] = 7578, - [SMALL_STATE(329)] = 7586, - [SMALL_STATE(330)] = 7596, - [SMALL_STATE(331)] = 7606, - [SMALL_STATE(332)] = 7616, + [SMALL_STATE(326)] = 7564, + [SMALL_STATE(327)] = 7574, + [SMALL_STATE(328)] = 7584, + [SMALL_STATE(329)] = 7594, + [SMALL_STATE(330)] = 7602, + [SMALL_STATE(331)] = 7610, + [SMALL_STATE(332)] = 7618, [SMALL_STATE(333)] = 7626, - [SMALL_STATE(334)] = 7636, - [SMALL_STATE(335)] = 7644, + [SMALL_STATE(334)] = 7634, + [SMALL_STATE(335)] = 7642, [SMALL_STATE(336)] = 7652, [SMALL_STATE(337)] = 7660, [SMALL_STATE(338)] = 7668, @@ -8556,366 +8556,366 @@ 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, 0, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208), - [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), - [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(211), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), - [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), - [65] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(309), - [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(202), - [71] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(339), - [74] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(64), - [77] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(60), - [80] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(275), - [83] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(208), - [86] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(327), - [89] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(149), - [92] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(59), - [95] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_then_block, 1, 0, 0), SHIFT(60), - [98] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(309), - [101] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(202), - [104] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(339), - [107] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(64), - [110] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(60), - [113] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_catch_block, 2, 0, 0), SHIFT(60), - [116] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_then_block, 2, 0, 0), SHIFT(60), - [119] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(60), - [122] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(309), - [125] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(202), - [128] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(339), - [131] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(64), - [134] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_if_block, 2, 0, 0), SHIFT(60), - [137] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_if_block, 1, 0, 0), SHIFT(60), - [140] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_catch_block, 1, 0, 0), SHIFT(60), - [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), - [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), - [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), - [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), - [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), - [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), - [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), - [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), - [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), - [167] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 5, 0, 0), - [169] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 5, 0, 0), - [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 3, 0, 0), - [173] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 3, 0, 0), - [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 2, 0, 0), - [177] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 2, 0, 0), - [179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node, 1, 0, 0), - [181] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node, 1, 0, 0), - [183] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 2, 0, 0), - [185] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 2, 0, 0), - [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 2, 0, 0), - [191] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 2, 0, 0), - [193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_end, 3, 0, 5), - [195] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_end, 3, 0, 5), - [197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_end, 3, 0, 5), - [199] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_end, 3, 0, 5), - [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 2, 0, 0), - [203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 2, 0, 0), - [205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_statement, 2, 0, 0), - [207] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_statement, 2, 0, 0), - [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_statement, 2, 0, 0), - [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_statement, 2, 0, 0), - [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_end, 3, 0, 5), - [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_end, 3, 0, 5), - [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 3, 0, 0), - [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 3, 0, 0), - [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 3, 0, 0), - [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 3, 0, 0), - [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 0), - [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 0), - [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 1, 0, 0), - [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 1, 0, 0), - [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), - [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 4, 0, 0), - [243] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 4, 0, 0), - [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_end, 3, 0, 5), - [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_end, 3, 0, 5), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 5, 0, 0), - [255] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 5, 0, 0), - [257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), - [259] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), - [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3, 0, 0), - [263] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3, 0, 0), - [265] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 4, 0, 0), - [267] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 4, 0, 0), - [269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_end, 3, 0, 5), - [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_end, 3, 0, 5), - [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 3, 0, 0), - [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 3, 0, 0), - [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_render_tag, 4, 0, 5), - [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_render_tag, 4, 0, 5), - [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 4, 0, 0), - [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 4, 0, 0), - [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_debug_tag, 4, 0, 5), - [293] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_debug_tag, 4, 0, 5), - [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 3, 0, 0), - [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 3, 0, 0), - [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 3, 0, 0), - [301] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 3, 0, 0), - [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 3, 0, 0), - [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 3, 0, 0), - [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_const_tag, 4, 0, 5), - [309] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_const_tag, 4, 0, 5), - [311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_html_tag, 4, 0, 5), - [313] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_html_tag, 4, 0, 5), - [315] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 4, 0, 0), - [317] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 4, 0, 0), - [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype, 4, 0, 0), - [321] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype, 4, 0, 0), - [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_statement, 3, 0, 0), - [325] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_statement, 3, 0, 0), - [327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_statement, 3, 0, 0), - [329] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_statement, 3, 0, 0), - [331] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 3, 0, 0), - [333] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 3, 0, 0), - [335] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 3, 0, 0), - [337] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 3, 0, 0), - [339] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 2, 0, 0), - [341] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 2, 0, 0), - [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 2, 0, 0), - [345] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 2, 0, 0), - [347] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 4, 0, 0), - [349] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 4, 0, 0), - [351] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), - [353] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(175), - [356] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(319), - [359] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_catch_start, 4, 0, 5), - [361] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_catch_start, 4, 0, 5), - [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_start, 4, 0, 4), - [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_start, 4, 0, 4), - [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_start, 7, 0, 5), - [369] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_start, 7, 0, 5), - [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_start, 4, 0, 5), - [373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_start, 4, 0, 5), - [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_start, 4, 0, 5), - [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_start, 4, 0, 5), - [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_catch_start, 3, 0, 5), - [381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_catch_start, 3, 0, 5), - [383] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_then_start, 3, 0, 5), - [385] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_then_start, 3, 0, 5), - [387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), - [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_start, 4, 0, 3), - [395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_start, 4, 0, 3), - [397] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(190), - [400] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(290), - [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if_start, 4, 0, 3), - [405] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if_start, 4, 0, 3), - [407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), - [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), - [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_start, 6, 0, 5), - [415] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_start, 6, 0, 5), - [417] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_start, 6, 0, 6), - [419] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_start, 6, 0, 6), - [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), - [423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [425] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), - [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_start, 3, 0, 5), - [431] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_start, 3, 0, 5), - [433] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_then_start, 4, 0, 5), - [435] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_then_start, 4, 0, 5), - [437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), - [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [441] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 2, 0, 0), - [443] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(206), - [446] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(283), - [449] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), + [59] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(274), + [62] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(207), + [65] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(269), + [68] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(140), + [71] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(59), + [74] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [76] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(339), + [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(211), + [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(322), + [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(98), + [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(60), + [91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), + [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [95] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_if_block, 1, 0, 0), SHIFT(59), + [98] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_catch_block, 1, 0, 0), SHIFT(59), + [101] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_then_block, 2, 0, 0), SHIFT(59), + [104] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(59), + [107] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_catch_block, 2, 0, 0), SHIFT(59), + [110] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_if_block, 2, 0, 0), SHIFT(59), + [113] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_then_block, 1, 0, 0), SHIFT(59), + [116] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(274), + [119] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(207), + [122] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(269), + [125] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 1, 0, 0), SHIFT(140), + [128] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(274), + [131] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(207), + [134] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(269), + [137] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(140), + [140] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_else_block, 2, 0, 0), SHIFT(59), + [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), + [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), + [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), + [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), + [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [167] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 2, 0, 0), + [169] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 2, 0, 0), + [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_statement, 2, 0, 0), + [173] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_statement, 2, 0, 0), + [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 3, 0, 0), + [177] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 3, 0, 0), + [179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 3, 0, 0), + [181] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 3, 0, 0), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_statement, 2, 0, 0), + [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_statement, 2, 0, 0), + [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), + [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), + [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3, 0, 0), + [201] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3, 0, 0), + [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 3, 0, 0), + [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 3, 0, 0), + [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 3, 0, 0), + [209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 3, 0, 0), + [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 3, 0, 0), + [213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 3, 0, 0), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 3, 0, 0), + [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 3, 0, 0), + [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 3, 0, 0), + [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 3, 0, 0), + [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 3, 0, 0), + [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 3, 0, 0), + [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_statement, 3, 0, 0), + [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_statement, 3, 0, 0), + [233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_statement, 3, 0, 0), + [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_statement, 3, 0, 0), + [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype, 4, 0, 0), + [239] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype, 4, 0, 0), + [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 4, 0, 0), + [243] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 4, 0, 0), + [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 4, 0, 0), + [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 4, 0, 0), + [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), + [251] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(175), + [254] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(277), + [257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_html_tag, 4, 0, 5), + [259] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_html_tag, 4, 0, 5), + [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_const_tag, 4, 0, 5), + [263] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_const_tag, 4, 0, 5), + [265] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_debug_tag, 4, 0, 5), + [267] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_debug_tag, 4, 0, 5), + [269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_render_tag, 4, 0, 5), + [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_render_tag, 4, 0, 5), + [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 3, 0, 0), + [275] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 3, 0, 0), + [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_end, 3, 0, 5), + [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_end, 3, 0, 5), + [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 4, 0, 0), + [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 4, 0, 0), + [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_end, 3, 0, 5), + [287] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_end, 3, 0, 5), + [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 4, 0, 0), + [291] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 4, 0, 0), + [293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_end, 3, 0, 5), + [295] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_end, 3, 0, 5), + [297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 4, 0, 0), + [299] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 4, 0, 0), + [301] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_end, 3, 0, 5), + [303] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_end, 3, 0, 5), + [305] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_end, 3, 0, 5), + [307] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_end, 3, 0, 5), + [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 0), + [311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 0), + [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 5, 0, 0), + [315] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 5, 0, 0), + [317] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 5, 0, 0), + [319] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 5, 0, 0), + [321] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node, 1, 0, 0), + [323] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node, 1, 0, 0), + [325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 1, 0, 0), + [327] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 1, 0, 0), + [329] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 2, 0, 0), + [331] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 2, 0, 0), + [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 2, 0, 0), + [335] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 2, 0, 0), + [337] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 2, 0, 0), + [339] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 2, 0, 0), + [341] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_statement, 2, 0, 0), + [343] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_statement, 2, 0, 0), + [345] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_statement, 2, 0, 0), + [347] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_statement, 2, 0, 0), + [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), + [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), + [365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_await_start, 4, 0, 5), + [367] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_await_start, 4, 0, 5), + [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_key_start, 4, 0, 5), + [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_key_start, 4, 0, 5), + [373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_start, 3, 0, 5), + [375] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_start, 3, 0, 5), + [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_then_start, 3, 0, 5), + [379] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_then_start, 3, 0, 5), + [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_catch_start, 3, 0, 5), + [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_catch_start, 3, 0, 5), + [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if_start, 4, 0, 3), + [387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if_start, 4, 0, 3), + [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_then_start, 4, 0, 5), + [391] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_then_start, 4, 0, 5), + [393] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_catch_start, 4, 0, 5), + [395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_catch_start, 4, 0, 5), + [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_start, 6, 0, 6), + [399] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_start, 6, 0, 6), + [401] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_start, 6, 0, 5), + [403] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_start, 6, 0, 5), + [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_snippet_start, 7, 0, 5), + [407] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_snippet_start, 7, 0, 5), + [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [411] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(194), + [414] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(336), + [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_start, 4, 0, 3), + [425] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_start, 4, 0, 3), + [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), + [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_each_start, 4, 0, 4), + [439] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_each_start, 4, 0, 4), + [441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), + [445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), + [447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [449] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), [451] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [453] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), - [457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), - [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1, 0, 0), - [461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), - [463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [465] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), - [467] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), - [471] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), - [473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), - [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), - [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [479] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 2, 0, 0), - [481] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(204), - [484] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(285), - [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), - [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340), + [453] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), + [457] = {.entry = {.count = 1, .reusable = false}}, SHIFT_EXTRA(), + [459] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), + [463] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 2, 0, 0), + [465] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(202), + [468] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(337), + [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 2, 0, 0), + [473] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(208), + [476] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 2, 0, 0), SHIFT_REPEAT(338), + [479] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1, 0, 0), + [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), [491] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 3, 0, 7), - [493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [495] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(247), - [498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, 0, 0), - [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1, 0, 1), - [504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341), - [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), + [493] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(234), + [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, 0, 0), + [498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341), + [502] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343), + [504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), + [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342), + [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [512] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1, 0, 1), [514] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 2, 0, 0), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), - [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), - [526] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 1, 0, 0), - [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), - [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 1, 0, 0), - [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), - [536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), - [538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234), - [540] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [542] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), - [544] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), - [546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), - [548] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [550] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 3, 0, 0), - [552] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), - [554] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311), - [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), + [516] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__single_quoted_attribute_value, 1, 0, 0), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [528] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__double_quoted_attribute_value, 1, 0, 0), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), + [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), + [536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [540] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), + [542] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [544] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), + [546] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__each_start_tag, 2, 0, 2), + [548] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [552] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), + [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 4, 0, 0), + [556] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__catch_tag, 2, 0, 2), [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_start_tag, 4, 0, 0), - [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 4, 0, 0), - [562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_start_tag, 3, 0, 0), - [564] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__each_start_tag, 2, 0, 2), - [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), - [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), - [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), - [576] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__catch_tag, 2, 0, 2), - [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), - [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), - [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), - [586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__then_tag, 2, 0, 2), - [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), - [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326), - [592] = {.entry = {.count = 1, .reusable = false}}, SHIFT(317), - [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), - [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(316), - [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), - [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), - [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [618] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), - [620] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), - [622] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [624] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), - [626] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__each_end_tag, 2, 0, 2), - [628] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), - [632] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), - [634] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), - [636] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), - [638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), - [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), - [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), - [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), - [658] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__await_end_tag, 2, 0, 2), - [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), - [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), - [670] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__snippet_start_tag, 2, 0, 2), - [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), - [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), - [688] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__key_start_tag, 2, 0, 2), - [690] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__await_start_tag, 2, 0, 2), - [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [696] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__if_start_tag, 2, 0, 2), - [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), - [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306), - [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), - [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), - [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), - [718] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__tag_value, 2, 0, 0), - [720] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__else_tag, 2, 0, 2), - [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), - [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), - [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), - [738] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__else_if_tag, 2, 0, 2), - [740] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__snippet_end_tag, 2, 0, 2), - [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), - [744] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__if_end_tag, 2, 0, 2), - [746] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__key_end_tag, 2, 0, 2), - [748] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_start_tag, 3, 0, 0), + [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), + [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), + [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), + [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), + [574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309), + [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), + [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), + [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), + [586] = {.entry = {.count = 1, .reusable = false}}, SHIFT(267), + [588] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 3, 0, 0), + [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [592] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__then_tag, 2, 0, 2), + [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [596] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__key_start_tag, 2, 0, 2), + [598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__snippet_start_tag, 2, 0, 2), + [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [604] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__each_end_tag, 2, 0, 2), + [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), + [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [618] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__await_end_tag, 2, 0, 2), + [620] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [622] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__else_if_tag, 2, 0, 2), + [624] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [626] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [628] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__else_tag, 2, 0, 2), + [630] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [632] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), + [634] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [636] = {.entry = {.count = 1, .reusable = true}}, SHIFT(316), + [638] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), + [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), + [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [652] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__if_start_tag, 2, 0, 2), + [654] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [656] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__if_end_tag, 2, 0, 2), + [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304), + [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [668] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__await_start_tag, 2, 0, 2), + [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306), + [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), + [686] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__key_end_tag, 2, 0, 2), + [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [692] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__snippet_end_tag, 2, 0, 2), + [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), + [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), + [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [702] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__tag_value, 2, 0, 0), + [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), + [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), + [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), + [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), + [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), + [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), + [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), + [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), [754] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__html_tag, 2, 0, 2), - [756] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__const_tag, 2, 0, 2), - [758] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__debug_tag, 2, 0, 2), - [760] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__render_tag, 2, 0, 2), + [756] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__render_tag, 2, 0, 2), + [758] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__const_tag, 2, 0, 2), + [760] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__debug_tag, 2, 0, 2), }; enum ts_external_scanner_symbol_identifiers { @@ -9013,13 +9013,13 @@ static const bool ts_external_scanner_states[19][EXTERNAL_TOKEN_COUNT] = { [ts_external_token_COLON] = true, }, [9] = { - [ts_external_token__start_tag_name] = true, - [ts_external_token__script_start_tag_name] = true, - [ts_external_token__style_start_tag_name] = true, + [ts_external_token_raw_text] = true, [ts_external_token_comment] = true, }, [10] = { - [ts_external_token_raw_text] = true, + [ts_external_token__start_tag_name] = true, + [ts_external_token__script_start_tag_name] = true, + [ts_external_token__style_start_tag_name] = true, [ts_external_token_comment] = true, }, [11] = { @@ -9027,26 +9027,26 @@ static const bool ts_external_scanner_states[19][EXTERNAL_TOKEN_COUNT] = { [ts_external_token_SLASH] = true, }, [12] = { - [ts_external_token__end_tag_name] = true, - [ts_external_token_erroneous_end_tag_name] = true, [ts_external_token_comment] = true, + [ts_external_token_svelte_raw_text] = true, + [ts_external_token_svelte_raw_text_each] = true, }, [13] = { [ts_external_token_comment] = true, - [ts_external_token_svelte_raw_text_snippet_arguments] = true, + [ts_external_token_svelte_raw_text] = true, }, [14] = { [ts_external_token_comment] = true, - [ts_external_token_svelte_raw_text] = true, - [ts_external_token_svelte_raw_text_each] = true, + [ts_external_token_COLON] = true, }, [15] = { [ts_external_token_comment] = true, - [ts_external_token_svelte_raw_text] = true, + [ts_external_token_svelte_raw_text_snippet_arguments] = true, }, [16] = { + [ts_external_token__end_tag_name] = true, + [ts_external_token_erroneous_end_tag_name] = true, [ts_external_token_comment] = true, - [ts_external_token_COLON] = true, }, [17] = { [ts_external_token__end_tag_name] = true, diff --git a/src/scanner.c b/src/scanner.c index 5645f58..24fd6d1 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -109,7 +109,8 @@ static void deserialize(Scanner *scanner, const char *buffer, unsigned length) { static String scan_tag_name(TSLexer *lexer) { String tag_name = array_new(); - while (iswalnum(lexer->lookahead) || lexer->lookahead == '-' || lexer->lookahead == ':' || lexer->lookahead == '.') { + while (iswalnum(lexer->lookahead) || lexer->lookahead == '-' || lexer->lookahead == ':' || + lexer->lookahead == '.') { // In `tree-sitter-html`, this is where each character is uppercased, // but we're preserving the original case. Why? // @@ -165,7 +166,8 @@ static bool scan_comment(TSLexer *lexer) { } static bool scan_javascript_template_string(TSLexer *lexer); -static bool scan_javascript_quoted_string(TSLexer *lexer, char delimiter); + +static bool scan_javascript_quoted_string(TSLexer *lexer, int32_t delimiter); // After consuming a forward slash and seeing an asterisk immediately after it, // call this function to advance the lexer to the end of the JavaScript block @@ -200,7 +202,7 @@ static bool scan_javascript_line_comment(TSLexer *lexer) { } advance(lexer); while (lexer->lookahead) { - switch(lexer->lookahead) { + switch (lexer->lookahead) { case '\n': case '\r': advance(lexer); @@ -254,7 +256,7 @@ static bool scan_javascript_balanced_brace(TSLexer *lexer) { // When you see a single or double quote that starts a string, call this // function to scan through until the end of the quoted string. -static bool scan_javascript_quoted_string(TSLexer *lexer, char delimiter) { +static bool scan_javascript_quoted_string(TSLexer *lexer, int32_t delimiter) { if (lexer->lookahead != delimiter) { return false; } @@ -302,7 +304,6 @@ static bool scan_javascript_template_string(TSLexer *lexer) { return true; default: advance(lexer); - } } return false; @@ -405,8 +406,9 @@ static bool scan_svelte_raw_text(TSLexer *lexer, const bool *valid_symbols) { // The presence of a special Svelte sigil disqualifies this as a raw text // node. This helps us distinguish those nodes from things like `{:else}`. bool has_sigil = lexer->lookahead == '@' || lexer->lookahead == '#' || lexer->lookahead == ':'; - if (has_sigil) return false; - + if (has_sigil) { + return false; + } // Keep track of whether we've advanced even once. If we haven't, then that // implies we've encountered `{}``, which isn't a valid `svelte_raw_text` @@ -417,7 +419,8 @@ static bool scan_svelte_raw_text(TSLexer *lexer, const bool *valid_symbols) { advance(lexer); if (lexer->lookahead == '*') { return scan_javascript_block_comment(lexer); - } else if (lexer->lookahead != '/') { // JavaScript comment + } + if (lexer->lookahead != '/') { // JavaScript comment return false; } diff --git a/test/corpus/svelte/balancing.txt b/test/corpus/balancing.txt similarity index 100% rename from test/corpus/svelte/balancing.txt rename to test/corpus/balancing.txt diff --git a/test/corpus/svelte/main.txt b/test/corpus/main.txt similarity index 100% rename from test/corpus/svelte/main.txt rename to test/corpus/main.txt diff --git a/test/corpus/svelte/snippets.txt b/test/corpus/snippets.txt similarity index 100% rename from test/corpus/svelte/snippets.txt rename to test/corpus/snippets.txt