From 4925dacbac27cb1cfe7e442827cab0ec09a6f17e Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Wed, 21 May 2025 12:25:13 +0300 Subject: [PATCH 1/5] feat!: update bindings --- .editorconfig | 46 +++ .gitattributes | 46 ++- .gitignore | 51 ++- .npmignore | 5 - CMakeLists.txt | 66 +++ Cargo.lock | 199 +++++++++ Cargo.toml | 29 +- Makefile | 99 +++++ Package.resolved | 25 ++ Package.swift | 59 +-- binding.gyp | 28 +- bindings/c/tree-sitter-kdl.pc.in | 10 + bindings/c/tree_sitter/tree-sitter-kdl.h | 16 + bindings/go/binding.go | 15 + bindings/go/binding_test.go | 15 + bindings/node/binding.cc | 35 +- bindings/node/binding_test.js | 9 + bindings/node/index.d.ts | 27 ++ bindings/node/index.js | 24 +- bindings/python/tests/test_binding.py | 12 + bindings/python/tree_sitter_kdl/__init__.py | 42 ++ bindings/python/tree_sitter_kdl/__init__.pyi | 10 + bindings/python/tree_sitter_kdl/binding.c | 35 ++ bindings/python/tree_sitter_kdl/py.typed | 0 bindings/rust/README.md | 39 -- bindings/rust/build.rs | 20 +- bindings/rust/lib.rs | 58 +-- bindings/swift/{ => TreeSitterKDL}/kdl.h | 2 +- .../TreeSitterKDLTests.swift | 12 + go.mod | 7 + go.sum | 36 ++ package-lock.json | 381 ++++++++++++++++++ package.json | 74 ++-- pyproject.toml | 29 ++ setup.py | 77 ++++ tree-sitter.json | 33 ++ 36 files changed, 1453 insertions(+), 218 deletions(-) create mode 100644 .editorconfig delete mode 100644 .npmignore create mode 100644 CMakeLists.txt create mode 100644 Cargo.lock create mode 100644 Makefile create mode 100644 Package.resolved create mode 100644 bindings/c/tree-sitter-kdl.pc.in create mode 100644 bindings/c/tree_sitter/tree-sitter-kdl.h 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_kdl/__init__.py create mode 100644 bindings/python/tree_sitter_kdl/__init__.pyi create mode 100644 bindings/python/tree_sitter_kdl/binding.c create mode 100644 bindings/python/tree_sitter_kdl/py.typed delete mode 100644 bindings/rust/README.md rename bindings/swift/{ => TreeSitterKDL}/kdl.h (82%) create mode 100644 bindings/swift/TreeSitterKDLTests/TreeSitterKDLTests.swift create mode 100644 go.mod create mode 100644 go.sum create mode 100644 package-lock.json create mode 100644 pyproject.toml create mode 100644 setup.py create mode 100644 tree-sitter.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..65330c4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,46 @@ +root = true + +[*] +charset = utf-8 + +[*.{json,toml,yml,gyp}] +indent_style = space +indent_size = 2 + +[*.js] +indent_style = space +indent_size = 2 + +[*.scm] +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 + +[{alloc,array,parser}.h] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes index 49e20c9..79475a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,41 @@ -/src/parser.c linguist-vendored -/src/*.json linguist-vendored -/examples/* linguist-vendored +* text=auto eol=lf -src/grammar.json -diff -src/node-types.json -diff -src/parser.c -diff +# Generated source files +src/*.json linguist-generated +src/parser.c linguist-generated +src/tree_sitter/* linguist-generated + +# C bindings +bindings/c/** linguist-generated +CMakeLists.txt linguist-generated +Makefile linguist-generated + +# Rust bindings +bindings/rust/* linguist-generated +Cargo.toml linguist-generated +Cargo.lock linguist-generated + +# Node.js bindings +bindings/node/* linguist-generated +binding.gyp linguist-generated +package.json linguist-generated +package-lock.json linguist-generated + +# Python bindings +bindings/python/** linguist-generated +setup.py linguist-generated +pyproject.toml linguist-generated + +# Go bindings +bindings/go/* linguist-generated +go.mod linguist-generated +go.sum linguist-generated + +# Swift bindings +bindings/swift/** linguist-generated +Package.swift linguist-generated +Package.resolved linguist-generated + +# Zig bindings +build.zig linguist-generated +build.zig.zon linguist-generated diff --git a/.gitignore b/.gitignore index 3862384..bc9e191 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,47 @@ -Cargo.lock -package-lock.json -/build -/node_modules +# Rust artifacts +target/ + +# Node artifacts +build/ +prebuilds/ +node_modules/ + +# Swift artifacts +.build/ + +# Go artifacts +_obj/ + +# Python artifacts +.venv/ +dist/ +*.egg-info +*.whl + +# C artifacts +*.a +*.so +*.so.* +*.dylib +*.dll +*.pc +*.exp +*.lib + +# Zig artifacts +.zig-cache/ +zig-cache/ +zig-out/ + +# Example dirs /examples/*/ -/target + +# Grammar volatiles +*.wasm +*.obj +*.o + +# Archives +*.tar.gz +*.tgz +*.zip diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 822430e..0000000 --- a/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -build -examples -script -target -test diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..49056f1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,66 @@ +cmake_minimum_required(VERSION 3.13) + +project(tree-sitter-kdl + VERSION "1.1.0" + DESCRIPTION "KDL grammar for tree-sitter" + HOMEPAGE_URL "https://github.com/tree-sitter-grammars/tree-sitter-kdl" + LANGUAGES C) + +option(BUILD_SHARED_LIBS "Build using shared libraries" ON) +option(TREE_SITTER_REUSE_ALLOCATOR "Reuse the library allocator" OFF) + +set(TREE_SITTER_ABI_VERSION 15 CACHE STRING "Tree-sitter ABI version") +if(NOT ${TREE_SITTER_ABI_VERSION} MATCHES "^[0-9]+$") + unset(TREE_SITTER_ABI_VERSION CACHE) + message(FATAL_ERROR "TREE_SITTER_ABI_VERSION must be an integer") +endif() + +find_program(TREE_SITTER_CLI tree-sitter DOC "Tree-sitter CLI") + +add_custom_command(OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/parser.c" + DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/grammar.json" + COMMAND "${TREE_SITTER_CLI}" generate src/grammar.json + --abi=${TREE_SITTER_ABI_VERSION} + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + COMMENT "Generating parser.c") + +add_library(tree-sitter-kdl src/parser.c) +if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/src/scanner.c) + target_sources(tree-sitter-kdl PRIVATE src/scanner.c) +endif() +target_include_directories(tree-sitter-kdl + PRIVATE src + INTERFACE $ + $) + +target_compile_definitions(tree-sitter-kdl PRIVATE + $<$:TREE_SITTER_REUSE_ALLOCATOR> + $<$:TREE_SITTER_DEBUG>) + +set_target_properties(tree-sitter-kdl + PROPERTIES + C_STANDARD 11 + POSITION_INDEPENDENT_CODE ON + SOVERSION "${TREE_SITTER_ABI_VERSION}.${PROJECT_VERSION_MAJOR}" + DEFINE_SYMBOL "") + +configure_file(bindings/c/tree-sitter-kdl.pc.in + "${CMAKE_CURRENT_BINARY_DIR}/tree-sitter-kdl.pc" @ONLY) + +include(GNUInstallDirs) + +install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bindings/c/tree_sitter" + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" + FILES_MATCHING PATTERN "*.h") +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tree-sitter-kdl.pc" + DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig") +install(TARGETS tree-sitter-kdl + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") + +file(GLOB QUERIES queries/*.scm) +install(FILES ${QUERIES} + DESTINATION "${CMAKE_INSTALL_DATADIR}/tree-sitter/queries/kdl") + +add_custom_target(ts-test "${TREE_SITTER_CLI}" test + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + COMMENT "tree-sitter test") diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..50a01e2 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,199 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[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.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766" +dependencies = [ + "shlex", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "hashbrown" +version = "0.15.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" + +[[package]] +name = "indexmap" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "itoa" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" + +[[package]] +name = "memchr" +version = "2.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" + +[[package]] +name = "proc-macro2" +version = "1.0.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "regex" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" + +[[package]] +name = "ryu" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" + +[[package]] +name = "serde" +version = "1.0.219" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.219" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.140" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +dependencies = [ + "indexmap", + "itoa", + "memchr", + "ryu", + "serde", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "streaming-iterator" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520" + +[[package]] +name = "syn" +version = "2.0.101" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tree-sitter" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69aff09fea9a41fb061ae6b206cb87cac1b8db07df31be3ba271fbc26760f213" +dependencies = [ + "cc", + "regex", + "regex-syntax", + "serde_json", + "streaming-iterator", + "tree-sitter-language", +] + +[[package]] +name = "tree-sitter-kdl" +version = "1.1.0" +dependencies = [ + "cc", + "tree-sitter", + "tree-sitter-language", +] + +[[package]] +name = "tree-sitter-language" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4013970217383f67b18aef68f6fb2e8d409bc5755227092d32efb0422ba24b8" + +[[package]] +name = "unicode-ident" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" diff --git a/Cargo.toml b/Cargo.toml index 24a5ac2..bd72c8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,26 +2,33 @@ name = "tree-sitter-kdl" description = "KDL grammar for tree-sitter" version = "1.1.0" -authors = [ - "Amaan Qureshi ", - "Andrew Hlynskyi ", -] +authors = ["Amaan Qureshi "] license = "MIT" -readme = "bindings/rust/README.md" -keywords = ["incremental", "parsing", "kdl"] -categories = ["parsing", "text-editors"] -repository = "https://github.com/amaanq/tree-sitter-kdl" +readme = "README.md" +keywords = ["incremental", "parsing", "tree-sitter", "kdl"] +categories = ["parser-implementations", "parsing", "text-editors"] +repository = "https://github.com/tree-sitter-grammars/tree-sitter-kdl" edition = "2021" autoexamples = false build = "bindings/rust/build.rs" -include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"] +include = [ + "bindings/rust/*", + "grammar.js", + "queries/*", + "src/*", + "tree-sitter.json", + "LICENSE", +] [lib] path = "bindings/rust/lib.rs" [dependencies] -tree-sitter = "~0.20.10" +tree-sitter-language = "0.1" [build-dependencies] -cc = "1.0" +cc = "1.2" + +[dev-dependencies] +tree-sitter = "0.25.4" diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..00a8d8b --- /dev/null +++ b/Makefile @@ -0,0 +1,99 @@ +ifeq ($(OS),Windows_NT) +$(error Windows is not supported) +endif + +LANGUAGE_NAME := tree-sitter-kdl +HOMEPAGE_URL := https://github.com/tree-sitter-grammars/tree-sitter-kdl +VERSION := 1.1.0 + +# repository +SRC_DIR := src + +TS ?= tree-sitter + +# install directory layout +PREFIX ?= /usr/local +DATADIR ?= $(PREFIX)/share +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 = $(shell sed -n 's/\#define LANGUAGE_VERSION //p' $(PARSER)) +SONAME_MINOR = $(word 1,$(subst ., ,$(VERSION))) + +# OS-specific bits +ifeq ($(shell uname),Darwin) + SOEXT = dylib + SOEXTVER_MAJOR = $(SONAME_MAJOR).$(SOEXT) + SOEXTVER = $(SONAME_MAJOR).$(SONAME_MINOR).$(SOEXT) + LINKSHARED = -dynamiclib -Wl,-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 = -shared -Wl,-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|@PROJECT_VERSION@|$(VERSION)|' \ + -e 's|@CMAKE_INSTALL_LIBDIR@|$(LIBDIR:$(PREFIX)/%=%)|' \ + -e 's|@CMAKE_INSTALL_INCLUDEDIR@|$(INCLUDEDIR:$(PREFIX)/%=%)|' \ + -e 's|@PROJECT_DESCRIPTION@|$(DESCRIPTION)|' \ + -e 's|@PROJECT_HOMEPAGE_URL@|$(HOMEPAGE_URL)|' \ + -e 's|@CMAKE_INSTALL_PREFIX@|$(PREFIX)|' $< > $@ + +$(PARSER): $(SRC_DIR)/grammar.json + $(TS) generate $^ + +install: all + install -d '$(DESTDIR)$(DATADIR)'/tree-sitter/queries/kdl '$(DESTDIR)$(INCLUDEDIR)'/tree_sitter '$(DESTDIR)$(PCLIBDIR)' '$(DESTDIR)$(LIBDIR)' + install -m644 bindings/c/tree_sitter/$(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) +ifneq ($(wildcard queries/*.scm),) + install -m644 queries/*.scm '$(DESTDIR)$(DATADIR)'/tree-sitter/queries/kdl +endif + +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 + $(RM) -r '$(DESTDIR)$(DATADIR)'/tree-sitter/queries/kdl + +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.resolved b/Package.resolved new file mode 100644 index 0000000..5a834cd --- /dev/null +++ b/Package.resolved @@ -0,0 +1,25 @@ +{ + "object": { + "pins": [ + { + "package": "SwiftTreeSitter", + "repositoryURL": "https://github.com/tree-sitter/swift-tree-sitter", + "state": { + "branch": null, + "revision": "36aa61d1b531f744f35229f010efba9c6d6cbbdd", + "version": "0.9.0" + } + }, + { + "package": "TreeSitter", + "repositoryURL": "https://github.com/tree-sitter/tree-sitter", + "state": { + "branch": null, + "revision": "d97db6d63507eb62c536bcb2c4ac7d70c8ec665e", + "version": "0.23.2" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift index 9ad8292..52a503c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,38 +1,41 @@ // swift-tools-version:5.3 + +import Foundation import PackageDescription +var sources = ["src/parser.c"] +if FileManager.default.fileExists(atPath: "src/scanner.c") { + sources.append("src/scanner.c") +} + let package = Package( name: "TreeSitterKDL", - platforms: [.macOS(.v10_13), .iOS(.v11)], products: [ .library(name: "TreeSitterKDL", targets: ["TreeSitterKDL"]), ], - dependencies: [], + dependencies: [ + .package(name: "SwiftTreeSitter", url: "https://github.com/tree-sitter/swift-tree-sitter", from: "0.9.0"), + ], targets: [ - .target(name: "TreeSitterKDL", - path: ".", - exclude: [ - "binding.gyp", - "bindings", - "Cargo.toml", - "test", - "examples", - "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: "TreeSitterKDL", + dependencies: [], + path: ".", + sources: sources, + resources: [ + .copy("queries") + ], + publicHeadersPath: "bindings/swift", + cSettings: [.headerSearchPath("src")] + ), + .testTarget( + name: "TreeSitterKDLTests", + dependencies: [ + "SwiftTreeSitter", + "TreeSitterKDL", + ], + path: "bindings/swift/TreeSitterKDLTests" + ) + ], + cLanguageStandard: .c11 ) diff --git a/binding.gyp b/binding.gyp index 9c9d278..c819d64 100644 --- a/binding.gyp +++ b/binding.gyp @@ -2,18 +2,34 @@ "targets": [ { "target_name": "tree_sitter_kdl_binding", + "dependencies": [ + " +#include -using namespace v8; +typedef struct TSLanguage TSLanguage; extern "C" TSLanguage *tree_sitter_kdl(); -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_kdl()); - - Nan::Set(instance, Nan::New("name").ToLocalChecked(), - Nan::New("kdl").ToLocalChecked()); - Nan::Set(module, Nan::New("exports").ToLocalChecked(), instance); +Napi::Object Init(Napi::Env env, Napi::Object exports) { + auto language = Napi::External::New(env, tree_sitter_kdl()); + language.TypeTag(&LANGUAGE_TYPE_TAG); + exports["language"] = language; + return exports; } -NODE_MODULE(tree_sitter_kdl_binding, Init) - -} // namespace +NODE_API_MODULE(tree_sitter_kdl_binding, Init) diff --git a/bindings/node/binding_test.js b/bindings/node/binding_test.js new file mode 100644 index 0000000..55becac --- /dev/null +++ b/bindings/node/binding_test.js @@ -0,0 +1,9 @@ +const assert = require("node:assert"); +const { test } = require("node:test"); + +const Parser = require("tree-sitter"); + +test("can load grammar", () => { + const parser = new Parser(); + 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..528e060 --- /dev/null +++ b/bindings/node/index.d.ts @@ -0,0 +1,27 @@ +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 = { + language: unknown; + nodeTypeInfo: NodeInfo[]; +}; + +declare const language: Language; +export = language; diff --git a/bindings/node/index.js b/bindings/node/index.js index acac171..3558fb8 100644 --- a/bindings/node/index.js +++ b/bindings/node/index.js @@ -1,19 +1,11 @@ -try { - module.exports = require('../../build/Release/tree_sitter_kdl_binding'); -} catch (error1) { - if (error1.code !== 'MODULE_NOT_FOUND') { - throw error1; - } - try { - module.exports = require('../../build/Debug/tree_sitter_kdl_binding'); - } catch (error2) { - if (error2.code !== 'MODULE_NOT_FOUND') { - throw error2; - } - throw error1; - } -} +const root = require("path").join(__dirname, "..", ".."); + +module.exports = + typeof process.versions.bun === "string" + // Support `bun build --compile` by being statically analyzable enough to find the .node file at build-time + ? require(`../../prebuilds/${process.platform}-${process.arch}/tree-sitter-kdl.node`) + : require("node-gyp-build")(root); try { - module.exports.nodeTypeInfo = require('../../src/node-types.json'); + module.exports.nodeTypeInfo = require("../../src/node-types.json"); } catch (_) {} diff --git a/bindings/python/tests/test_binding.py b/bindings/python/tests/test_binding.py new file mode 100644 index 0000000..651df40 --- /dev/null +++ b/bindings/python/tests/test_binding.py @@ -0,0 +1,12 @@ +from unittest import TestCase + +import tree_sitter +import tree_sitter_kdl + + +class TestLanguage(TestCase): + def test_can_load_grammar(self): + try: + tree_sitter.Language(tree_sitter_kdl.language()) + except Exception: + self.fail("Error loading KDL grammar") diff --git a/bindings/python/tree_sitter_kdl/__init__.py b/bindings/python/tree_sitter_kdl/__init__.py new file mode 100644 index 0000000..0833450 --- /dev/null +++ b/bindings/python/tree_sitter_kdl/__init__.py @@ -0,0 +1,42 @@ +"""KDL 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): + # NOTE: uncomment these to include any queries that this grammar contains: + + # 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") + # if name == "TAGS_QUERY": + # return _get_query("TAGS_QUERY", "tags.scm") + + raise AttributeError(f"module {__name__!r} has no attribute {name!r}") + + +__all__ = [ + "language", + # "HIGHLIGHTS_QUERY", + # "INJECTIONS_QUERY", + # "LOCALS_QUERY", + # "TAGS_QUERY", +] + + +def __dir__(): + return sorted(__all__ + [ + "__all__", "__builtins__", "__cached__", "__doc__", "__file__", + "__loader__", "__name__", "__package__", "__path__", "__spec__", + ]) diff --git a/bindings/python/tree_sitter_kdl/__init__.pyi b/bindings/python/tree_sitter_kdl/__init__.pyi new file mode 100644 index 0000000..abf6633 --- /dev/null +++ b/bindings/python/tree_sitter_kdl/__init__.pyi @@ -0,0 +1,10 @@ +from typing import Final + +# NOTE: uncomment these to include any queries that this grammar contains: + +# HIGHLIGHTS_QUERY: Final[str] +# INJECTIONS_QUERY: Final[str] +# LOCALS_QUERY: Final[str] +# TAGS_QUERY: Final[str] + +def language() -> object: ... diff --git a/bindings/python/tree_sitter_kdl/binding.c b/bindings/python/tree_sitter_kdl/binding.c new file mode 100644 index 0000000..c34a985 --- /dev/null +++ b/bindings/python/tree_sitter_kdl/binding.c @@ -0,0 +1,35 @@ +#include + +typedef struct TSLanguage TSLanguage; + +TSLanguage *tree_sitter_kdl(void); + +static PyObject* _binding_language(PyObject *Py_UNUSED(self), PyObject *Py_UNUSED(args)) { + return PyCapsule_New(tree_sitter_kdl(), "tree_sitter.Language", NULL); +} + +static struct PyModuleDef_Slot slots[] = { +#ifdef Py_GIL_DISABLED + {Py_mod_gil, Py_MOD_GIL_NOT_USED}, +#endif + {0, 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 = 0, + .m_methods = methods, + .m_slots = slots, +}; + +PyMODINIT_FUNC PyInit__binding(void) { + return PyModuleDef_Init(&module); +} diff --git a/bindings/python/tree_sitter_kdl/py.typed b/bindings/python/tree_sitter_kdl/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 58ccc60..0000000 --- a/bindings/rust/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# tree-sitter-kdl - -This crate provides a KDL 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-kdl = "1.1.0" -``` - -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#" -contents { - section "First section" { - paragraph "This is the first paragraph" - paragraph "This is the second paragraph" - } -} -"#; -let mut parser = Parser::new(); -parser.set_language(tree_sitter_kdl::language()).expect("Error loading KDL 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-kdl/*/tree_sitter_kdl/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..8dc1704 100644 --- a/bindings/rust/build.rs +++ b/bindings/rust/build.rs @@ -2,18 +2,20 @@ 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()); + if scanner_path.exists() { + 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-kdl"); } diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index cdafbdb..4f50909 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -1,68 +1,54 @@ -// ------------------------------------------------------------------------------------------------ -// Copyright © 2023, Amaan Qureshi , Andrew Hlynskyi -// See the LICENSE file in this repo for license details. -// ------------------------------------------------------------------------------------------------ - -//! This crate provides KDL language support for the [tree-sitter][] parsing library. +//! This crate provides KDL language support for the [tree-sitter] parsing library. //! -//! Typically, you will use the [language][language func] function to add this language to a -//! tree-sitter [Parser][], and then use the parser to parse some code: +//! Typically, you will use the [`LANGUAGE`] constant to add this language to a +//! tree-sitter [`Parser`], and then use the parser to parse some code: //! //! ``` -//! let code = ""; +//! let code = r#" +//! title "Hello, World" +//! "#; //! let mut parser = tree_sitter::Parser::new(); -//! parser.set_language(tree_sitter_kdl::language()).expect("Error loading KDL grammar"); +//! let language = tree_sitter_kdl::LANGUAGE; +//! parser +//! .set_language(&language.into()) +//! .expect("Error loading KDL 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 -//! [language func]: fn.language.html -//! [Parser]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Parser.html +//! [`Parser`]: https://docs.rs/tree-sitter/0.25.4/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_kdl() -> Language; + fn tree_sitter_kdl() -> *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_kdl() } -} +/// The tree-sitter [`LanguageFn`] for this grammar. +pub const LANGUAGE: LanguageFn = unsafe { LanguageFn::from_raw(tree_sitter_kdl) }; -/// The source of the Rust tree-sitter grammar description. -pub const GRAMMAR: &str = include_str!("../../grammar.js"); - -/// The folds query for this language. -pub const FOLDS_QUERY: &str = include_str!("../../queries/folds.scm"); +/// The content of the [`node-types.json`] file for this grammar. +/// +/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers/6-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 indents query for this language. -pub const INDENTS_QUERY: &str = include_str!("../../queries/indents.scm"); - /// The injection query for this language. pub const INJECTIONS_QUERY: &str = include_str!("../../queries/injections.scm"); /// The symbol tagging query for this language. pub const LOCALS_QUERY: &str = include_str!("../../queries/locals.scm"); -/// 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"); - #[cfg(test)] mod tests { #[test] fn test_can_load_grammar() { let mut parser = tree_sitter::Parser::new(); parser - .set_language(super::language()) - .expect("Error loading KDL grammar"); + .set_language(&super::LANGUAGE.into()) + .expect("Error loading KDL parser"); } } diff --git a/bindings/swift/kdl.h b/bindings/swift/TreeSitterKDL/kdl.h similarity index 82% rename from bindings/swift/kdl.h rename to bindings/swift/TreeSitterKDL/kdl.h index 1c27e61..b96b559 100644 --- a/bindings/swift/kdl.h +++ b/bindings/swift/TreeSitterKDL/kdl.h @@ -7,7 +7,7 @@ typedef struct TSLanguage TSLanguage; extern "C" { #endif -extern TSLanguage *tree_sitter_kdl(); +const TSLanguage *tree_sitter_kdl(void); #ifdef __cplusplus } diff --git a/bindings/swift/TreeSitterKDLTests/TreeSitterKDLTests.swift b/bindings/swift/TreeSitterKDLTests/TreeSitterKDLTests.swift new file mode 100644 index 0000000..14002ca --- /dev/null +++ b/bindings/swift/TreeSitterKDLTests/TreeSitterKDLTests.swift @@ -0,0 +1,12 @@ +import XCTest +import SwiftTreeSitter +import TreeSitterKDL + +final class TreeSitterKDLTests: XCTestCase { + func testCanLoadGrammar() throws { + let parser = Parser() + let language = Language(language: tree_sitter_kdl()) + XCTAssertNoThrow(try parser.setLanguage(language), + "Error loading KDL grammar") + } +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..168aaa8 --- /dev/null +++ b/go.mod @@ -0,0 +1,7 @@ +module github.com/tree-sitter-grammars/tree-sitter-kdl + +go 1.22 + +require github.com/tree-sitter/go-tree-sitter v0.24.0 + +require github.com/mattn/go-pointer v0.0.1 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..0a48bbe --- /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.24.0 h1:kRZb6aBNfcI/u0Qh8XEt3zjNVnmxTisDBN+kXK0xRYQ= +github.com/tree-sitter/go-tree-sitter v0.24.0/go.mod h1:x681iFVoLMEwOSIHA1chaLkXlroXEN7WY+VHGFaoDbk= +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/package-lock.json b/package-lock.json new file mode 100644 index 0000000..deafe59 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,381 @@ +{ + "name": "tree-sitter-kdl", + "version": "1.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "tree-sitter-kdl", + "version": "1.1.0", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^8.3.1", + "node-gyp-build": "^4.8.4" + }, + "devDependencies": { + "prebuildify": "^6.0.1", + "tree-sitter-cli": "^0.25.4" + }, + "peerDependencies": { + "tree-sitter": "^0.22.4" + }, + "peerDependenciesMeta": { + "tree-sitter": { + "optional": false + } + } + }, + "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" + } + ], + "license": "MIT" + }, + "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, + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "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" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "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, + "license": "ISC" + }, + "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, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true, + "license": "MIT" + }, + "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" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "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, + "license": "MIT" + }, + "node_modules/node-abi": { + "version": "3.75.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.75.0.tgz", + "integrity": "sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-addon-api": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.3.1.tgz", + "integrity": "sha512-lytcDEdxKjGJPTLEfW4mYMigRezMlyJY8W4wxJK8zE533Jlb8L8dRuObJFWg2P+AuOIxoCgKF+2Oq4d4Zd0OUA==", + "license": "MIT", + "engines": { + "node": "^18 || ^20 || >= 21" + } + }, + "node_modules/node-gyp-build": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", + "license": "MIT", + "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, + "license": "MIT", + "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", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "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, + "license": "MIT", + "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/pump": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", + "dev": true, + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "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, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "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" + } + ], + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "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, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/tar-fs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.2.tgz", + "integrity": "sha512-EsaAXwxmx8UB7FRKqeozqEPop69DXcmYwTQwXvyAPF352HJsPdkVhvTaDPYqfNgruveJIJy3TA2l+2zj8LJIJA==", + "dev": true, + "license": "MIT", + "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, + "license": "MIT", + "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/tree-sitter": { + "version": "0.22.4", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.22.4.tgz", + "integrity": "sha512-usbHZP9/oxNsUY65MQUsduGRqDHQOou1cagUSwjhoSYAmSahjQDAVsh9s+SlZkn8X8+O1FULRGwHu7AFP3kjzg==", + "hasInstallScript": true, + "license": "MIT", + "peer": true, + "dependencies": { + "node-addon-api": "^8.3.0", + "node-gyp-build": "^4.8.4" + } + }, + "node_modules/tree-sitter-cli": { + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/tree-sitter-cli/-/tree-sitter-cli-0.25.4.tgz", + "integrity": "sha512-tSOgiUuNH1xgSopWHMb+2EPuzIawj7/7/k0cNTNInBde21R0e53ElygJ+76PLjai2BOjnCzy9n8W0o7Eo9GVgA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "tree-sitter": "cli.js" + }, + "engines": { + "node": ">=12.0.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, + "license": "MIT" + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + } + } +} diff --git a/package.json b/package.json index c2ef9a3..b2158a0 100644 --- a/package.json +++ b/package.json @@ -2,48 +2,56 @@ "name": "tree-sitter-kdl", "version": "1.1.0", "description": "KDL grammar for tree-sitter", + "repository": "https://github.com/tree-sitter-grammars/tree-sitter-kdl", + "license": "MIT", + "author": { + "name": "Amaan Qureshi", + "email": "amaanq12@gmail.com" + }, + "contributors": [ + { + "name": "Andrew Hlynskyi", + "email": "ahlincq@gmail.com" + } + ], "main": "bindings/node", + "types": "bindings/node", "keywords": [ - "parser", - "lexer", + "incremental", + "parsing", + "tree-sitter", "kdl" ], - "author": "Amaan Qureshi ", - "contributors": [ - "Andrew Hlynskyi " + "files": [ + "grammar.js", + "tree-sitter.json", + "binding.gyp", + "prebuilds/**", + "bindings/node/*", + "queries/*", + "src/**", + "*.wasm" ], - "license": "MIT", - "bugs": { - "url": "https://github.com/amaanq/tree-sitter-kdl/issues" - }, - "homepage": "https://github.com/amaanq/tree-sitter-kdl#readme", "dependencies": { - "nan": "^2.18.0" + "node-addon-api": "^8.3.1", + "node-gyp-build": "^4.8.4" }, "devDependencies": { - "eslint": "^8.56.0", - "eslint-config-google": "^0.14.0", - "tree-sitter-cli": "^0.20.8", - "node-gyp": "^10.0.1" + "prebuildify": "^6.0.1", + "tree-sitter-cli": "^0.25.4" }, - "repository": "https://github.com/amaanq/tree-sitter-kdl", - "scripts": { - "build": "tree-sitter generate && node-gyp build", - "lint": "eslint grammar.js", - "parse": "tree-sitter parse", - "test": "tree-sitter test && script/parse-examples", - "test-windows": "tree-sitter test" + "peerDependencies": { + "tree-sitter": "^0.22.4" }, - "tree-sitter": [ - { - "scope": "source.kdl", - "injection-regex": "kdl", - "file-types": [ - "kdl" - ], - "highlights": [ - "queries/highlights.scm" - ] + "peerDependenciesMeta": { + "tree-sitter": { + "optional": true } - ] + }, + "scripts": { + "install": "node-gyp-build", + "prestart": "tree-sitter build --wasm", + "start": "tree-sitter playground", + "test": "node --test bindings/node/*_test.js" + } } diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3db3321 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "tree-sitter-kdl" +description = "KDL grammar for tree-sitter" +version = "1.1.0" +keywords = ["incremental", "parsing", "tree-sitter", "kdl"] +classifiers = [ + "Intended Audience :: Developers", + "Topic :: Software Development :: Compilers", + "Topic :: Text Processing :: Linguistic", + "Typing :: Typed", +] +authors = [{ name = "Amaan Qureshi", email = "amaanq12@gmail.com" }] +requires-python = ">=3.10" +license.text = "MIT" +readme = "README.md" + +[project.urls] +Homepage = "https://github.com/tree-sitter-grammars/tree-sitter-kdl" + +[project.optional-dependencies] +core = ["tree-sitter~=0.24"] + +[tool.cibuildwheel] +build = "cp310-*" +build-frontend = "build" diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..97750c8 --- /dev/null +++ b/setup.py @@ -0,0 +1,77 @@ +from os import path +from platform import system +from sysconfig import get_config_var + +from setuptools import Extension, find_packages, setup +from setuptools.command.build import build +from setuptools.command.egg_info import egg_info +from wheel.bdist_wheel import bdist_wheel + +sources = [ + "bindings/python/tree_sitter_kdl/binding.c", + "src/parser.c", +] +if path.exists("src/scanner.c"): + sources.append("src/scanner.c") + +macros: list[tuple[str, str | None]] = [ + ("PY_SSIZE_T_CLEAN", None), + ("TREE_SITTER_HIDE_SYMBOLS", None), +] +if limited_api := not get_config_var("Py_GIL_DISABLED"): + macros.append(("Py_LIMITED_API", "0x030A0000")) + +if system() != "Windows": + cflags = ["-std=c11", "-fvisibility=hidden"] +else: + cflags = ["/std:c11", "/utf-8"] + + +class Build(build): + def run(self): + if path.isdir("queries"): + dest = path.join(self.build_lib, "tree_sitter_kdl", "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 = "cp310", "abi3" + return python, abi, platform + + +class EggInfo(egg_info): + def find_sources(self): + super().find_sources() + self.filelist.recursive_include("queries", "*.scm") + self.filelist.include("src/tree_sitter/*.h") + + +setup( + packages=find_packages("bindings/python"), + package_dir={"": "bindings/python"}, + package_data={ + "tree_sitter_kdl": ["*.pyi", "py.typed"], + "tree_sitter_kdl.queries": ["*.scm"], + }, + ext_package="tree_sitter_kdl", + ext_modules=[ + Extension( + name="_binding", + sources=sources, + extra_compile_args=cflags, + define_macros=macros, + include_dirs=["src"], + py_limited_api=limited_api, + ) + ], + cmdclass={ + "build": Build, + "bdist_wheel": BdistWheel, + "egg_info": EggInfo, + }, + zip_safe=False +) diff --git a/tree-sitter.json b/tree-sitter.json new file mode 100644 index 0000000..8c91bdf --- /dev/null +++ b/tree-sitter.json @@ -0,0 +1,33 @@ +{ + "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json", + "grammars": [ + { + "name": "kdl", + "camelcase": "KDL", + "title": "KDL", + "scope": "source.kdl", + "file-types": [ + "kdl" + ], + "injection-regex": "^kdl$", + "class-name": "TreeSitterKDL", + "highlights": "queries/highlights.scm", + "injections": "queries/injections.scm", + "locals": "queries/locals.scm" + } + ], + "metadata": { + "version": "1.1.0", + "license": "MIT", + "description": "KDL grammar for tree-sitter", + "authors": [ + { + "name": "Amaan Qureshi", + "email": "amaanq12@gmail.com" + } + ], + "links": { + "repository": "https://github.com/tree-sitter-grammars/tree-sitter-kdl" + } + } +} From eb13be8af7f8c79c6228d8a56a7b225c057e8e28 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Wed, 21 May 2025 12:28:14 +0300 Subject: [PATCH 2/5] fix(scanner): silence parameter warning --- src/scanner.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index 0728068..750c0a5 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -1,6 +1,11 @@ #include "tree_sitter/parser.h" -#include "wctype.h" -#include + +#ifdef _MSC_VER +#pragma warning(disable : 4100) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" +#endif enum { _EOF, MULTI_LINE_COMMENT, _RAW_STRING }; @@ -119,3 +124,9 @@ bool tree_sitter_kdl_external_scanner_scan(void *payload, TSLexer *lexer, const return false; } + +#ifdef _MSC_VER +#pragma warning(default : 4100) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif From 4095d440ce6ed1a629e015119afd529a75236835 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Wed, 21 May 2025 12:38:59 +0300 Subject: [PATCH 3/5] feat(queries): update injection syntax --- queries/injections.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/queries/injections.scm b/queries/injections.scm index e8f3c2e..81d7734 100644 --- a/queries/injections.scm +++ b/queries/injections.scm @@ -1,4 +1,5 @@ -[ +([ (single_line_comment) (multi_line_comment) -] @comment +] @injection.content + (#set! injection.language "comment")) From f393243be9fb29d4fbc5defbffcaff43eb92ab4e Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Wed, 21 May 2025 13:01:24 +0300 Subject: [PATCH 4/5] ci: update workflows --- .eslintrc.js | 20 - .github/workflows/ci.yml | 59 +- .github/workflows/fuzz.yml | 12 +- .github/workflows/lint.yml | 19 +- .github/workflows/publish.yml | 94 +-- .github/workflows/release.yml | 35 -- eslint.config.mjs | 5 + grammar.js | 3 - package-lock.json | 1112 ++++++++++++++++++++++++++++++++- package.json | 3 + 10 files changed, 1191 insertions(+), 171 deletions(-) delete mode 100644 .eslintrc.js delete mode 100644 .github/workflows/release.yml create mode 100644 eslint.config.mjs diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index b2e707a..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - 'env': { - 'commonjs': true, - 'es2021': true, - }, - 'extends': 'google', - 'overrides': [ - ], - 'parserOptions': { - 'ecmaVersion': 'latest', - 'sourceType': 'module', - }, - 'rules': { - 'indent': ['error', 2, {'SwitchCase': 1}], - 'max-len': [ - 'error', - {'code': 120, 'ignoreComments': true, 'ignoreUrls': true, 'ignoreStrings': true}, - ], - }, -}; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0eb33b8..cabf8a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,33 +2,50 @@ name: CI on: push: - branches: - - master + branches: [main] + paths: + - grammar.js + - src/** + - test/** + - bindings/** + - binding.gyp pull_request: - branches: - - "**" + paths: + - grammar.js + - src/** + - test/** + - bindings/** + - binding.gyp + +concurrency: + group: ${{github.workflow}}-${{github.ref}} + cancel-in-progress: true jobs: test: - runs-on: ${{ matrix.os }} + name: Test parser + runs-on: ${{matrix.os}} strategy: - fail-fast: true + fail-fast: false matrix: - os: [macos-latest, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up tree-sitter + uses: tree-sitter/setup-action/cli@v2 + - name: Run parser and binding tests + uses: tree-sitter/parser-test-action@v2 with: - node-version: 18 - - run: npm install - - run: npm test - - test_windows: - runs-on: windows-2019 - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + test-rust: true + - name: Parse sample files + uses: tree-sitter/parse-action@v4 + id: parse-files + with: + files: examples/** + - name: Upload failures artifact + uses: actions/upload-artifact@v4 + if: "!cancelled() && steps.parse-files.outcome == 'failure'" with: - node-version: 18 - - run: npm install - - run: npm run-script test-windows + name: failures-${{runner.os}} + path: ${{steps.parse-files.outputs.failures}} diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index a0786f1..0429b4c 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -9,13 +9,11 @@ on: - src/scanner.c jobs: - test: + fuzz: name: Parser fuzzing runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: vigoux/tree-sitter-fuzz-action@v1 - with: - language: kdl - external-scanner: src/scanner.c - time: 60 + - name: Checkout repository + uses: actions/checkout@v4 + - name: Run the fuzzer + uses: tree-sitter/fuzz-action@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d94f7f3..f7b03a3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,18 +2,25 @@ name: Lint on: push: - branches: - - master + branches: [main] + paths: + - grammar.js pull_request: - branches: - - "**" + paths: + - grammar.js jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - 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 install + run: npm ci --legacy-peer-deps - name: Run ESLint run: npm run lint diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9471a7f..d1d3bd0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,81 +1,23 @@ name: Publish on: - pull_request: - types: [closed] - -permissions: - contents: write + push: + tags: ["*"] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - run: npm install - - run: npm test - - publish: - if: github.event.pull_request.merged && startsWith(github.event.pull_request.title, 'chore(master):') - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.merge_commit_sha }} - token: ${{ secrets.GITHUB_TOKEN }} - - name: Extract version - id: extract_version - run: | - PR_TITLE="${{ github.event.pull_request.title }}" - VERSION=$(echo "$PR_TITLE" | grep -oP '(?<=release ).*$') - echo "::set-output name=version::$VERSION" - - name: Update versions - run: | - version="${{ steps.extract_version.outputs.version }}" - repo_name="${{ github.repository }}" - repo_name="${repo_name##*/}" - - git config user.name github-actions[bot] - git config user.email github-actions[bot]@users.noreply.github.com - git fetch origin master - git checkout master - - sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/g" package.json - sed -i "s/version = \"[^\"]*\"/version = \"$version\"/g" Cargo.toml - sed -i "s/$repo_name = \"[^\"]*\"/$repo_name = \"$version\"/g" bindings/rust/README.md - - git add package.json Cargo.toml bindings/rust/README.md - git commit -m "chore(manifests): bump version to $version" - git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:master - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - registry-url: https://registry.npmjs.org/ - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - name: Setup Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Publish to Crates.io - uses: katyo/publish-crates@v2 - with: - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} - - uses: actions/checkout@v3 - - name: Tag stable versions - run: | - git config user.name github-actions[bot] - git config user.email github-actions[bot]@users.noreply.github.com - git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" - git tag -d stable || true - git push origin :stable || true - git tag -a stable -m "Last Stable Release" - git push origin stable + github: + uses: tree-sitter/workflows/.github/workflows/release.yml@main + with: + attestations: true + permissions: + contents: write + id-token: write + attestations: write + npm: + uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main + secrets: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + crates: + uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main + secrets: + CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index c6230ff..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Release - -on: - push: - branches: - - master - workflow_dispatch: - -permissions: - contents: write - pull-requests: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - run: npm install - - run: npm test - - release: - name: release - if: ${{ github.ref == 'refs/heads/master' }} - needs: - - build - runs-on: ubuntu-latest - steps: - - uses: google-github-actions/release-please-action@v3 - id: release - with: - release-type: simple - package-name: tree-sitter-kdl diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..494a10e --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,5 @@ +import treesitter from 'eslint-config-treesitter'; + +export default [ + ...treesitter, +]; diff --git a/grammar.js b/grammar.js index 48f1abb..6ac658a 100644 --- a/grammar.js +++ b/grammar.js @@ -7,9 +7,6 @@ */ // deno-lint-ignore-file no-control-regex -/* eslint-disable arrow-parens */ -/* eslint-disable camelcase */ -/* eslint-disable-next-line spaced-comment */ /// // @ts-check diff --git a/package-lock.json b/package-lock.json index deafe59..4eaf609 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,8 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { + "eslint": "^9.26.0", + "eslint-config-treesitter": "^1.0.2", "node-addon-api": "^8.3.1", "node-gyp-build": "^4.8.4" }, @@ -22,10 +24,316 @@ }, "peerDependenciesMeta": { "tree-sitter": { - "optional": false + "optional": true } } }, + "node_modules/@es-joy/jsdoccomment": { + "version": "0.50.2", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.50.2.tgz", + "integrity": "sha512-YAdE/IJSpwbOTiaURNCKECdAwqrJuFiZhylmesBcIRawtYKnBR2wxPhoIewMg+Yu+QuYvHfJNReWpoxGBKOChA==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.6", + "@typescript-eslint/types": "^8.11.0", + "comment-parser": "1.4.1", + "esquery": "^1.6.0", + "jsdoc-type-pratt-parser": "~4.1.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "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==", + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.20.0.tgz", + "integrity": "sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==", + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.2.tgz", + "integrity": "sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==", + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.14.0.tgz", + "integrity": "sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==", + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz", + "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "9.27.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.27.0.tgz", + "integrity": "sha512-G5JD9Tu5HJEu4z2Uo4aHY2sLV64B7CDMXxFzqzjl3NKd6RVzSXNoE80jk7Y0lJkTTkjiIhBAqmlYwjuBY3tvpA==", + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.1.tgz", + "integrity": "sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==", + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.14.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@types/estree": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz", + "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==", + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "license": "MIT" + }, + "node_modules/@typescript-eslint/types": { + "version": "8.32.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.32.1.tgz", + "integrity": "sha512-YmybwXUJcgGqgAp6bEsgpPXEg6dcCyPyCSr0CAAueacR/CCBi25G3V8gGQ2kRzQRBNol7VQknxMs9HvVa9Rvfg==", + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/acorn": { + "version": "8.14.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", + "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/are-docs-informative": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz", + "integrity": "sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -59,6 +367,16 @@ "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", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -84,6 +402,31 @@ "ieee754": "^1.1.13" } }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "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", @@ -91,6 +434,76 @@ "dev": true, "license": "ISC" }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/comment-parser": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", + "license": "MIT", + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "license": "MIT" + }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", @@ -101,6 +514,266 @@ "once": "^1.4.0" } }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.27.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.27.0.tgz", + "integrity": "sha512-ixRawFQuMB9DZ7fjU3iGGganFDp3+45bPOdaRurcFHSXO1e/sYwUX/FtQZpLZJR6SjMoJH8hR2pPEAfDyCoU2Q==", + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.20.0", + "@eslint/config-helpers": "^0.2.1", + "@eslint/core": "^0.14.0", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "9.27.0", + "@eslint/plugin-kit": "^0.3.1", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.3.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-config-treesitter": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/eslint-config-treesitter/-/eslint-config-treesitter-1.0.2.tgz", + "integrity": "sha512-OkzjA0oaNgYUFkGmo9T2cvRE7cxzh1dgSt0laO8Hdcypp9di8lebldoPivALXFusRb7s54J5exIw1w7l+g85Rg==", + "license": "MIT", + "dependencies": { + "eslint-plugin-jsdoc": "^50.2.4" + }, + "peerDependencies": { + "eslint": ">= 9" + } + }, + "node_modules/eslint-plugin-jsdoc": { + "version": "50.6.17", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-50.6.17.tgz", + "integrity": "sha512-hq+VQylhd12l8qjexyriDsejZhqiP33WgMTy2AmaGZ9+MrMWVqPECsM87GPxgHfQn0zw+YTuhqjUfk1f+q67aQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@es-joy/jsdoccomment": "~0.50.1", + "are-docs-informative": "^0.0.2", + "comment-parser": "1.4.1", + "debug": "^4.3.6", + "escape-string-regexp": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.6.0", + "parse-imports-exports": "^0.2.4", + "semver": "^7.6.3", + "spdx-expression-parse": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.3.0.tgz", + "integrity": "sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==", + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.14.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "license": "MIT" + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "license": "ISC" + }, "node_modules/fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", @@ -108,6 +781,39 @@ "dev": true, "license": "MIT" }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -129,6 +835,40 @@ ], "license": "BSD-3-Clause" }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -136,6 +876,127 @@ "dev": true, "license": "ISC" }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsdoc-type-pratt-parser": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz", + "integrity": "sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "license": "MIT" + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "license": "MIT" + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/minimist": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", @@ -153,6 +1014,18 @@ "dev": true, "license": "MIT" }, + "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==", + "license": "MIT" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "license": "MIT" + }, "node_modules/node-abi": { "version": "3.75.0", "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.75.0.tgz", @@ -209,11 +1082,93 @@ "wrappy": "1" } }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-imports-exports": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/parse-imports-exports/-/parse-imports-exports-0.2.4.tgz", + "integrity": "sha512-4s6vd6dx1AotCx/RCI2m7t7GCh5bDRUtGNvRfHSP2wbBQdMi67pPe7mtzmgwcaQ8VKK/6IB7Glfyu3qdZJPybQ==", + "license": "MIT", + "dependencies": { + "parse-statements": "1.0.11" + } + }, + "node_modules/parse-statements": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/parse-statements/-/parse-statements-1.0.11.tgz", + "integrity": "sha512-HlsyYdMBnbPQ9Jr/VgJ1YF4scnldvJpJxCVx6KgqPL4dxppsWrJHCIIxQXMJrqGnsRkNPATbeMJ8Yxu7JMsYcA==", + "license": "MIT" + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -237,6 +1192,15 @@ "prebuildify": "bin.js" } }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/pump": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", @@ -248,6 +1212,15 @@ "once": "^1.3.1" } }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -263,6 +1236,15 @@ "node": ">= 6" } }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -288,7 +1270,6 @@ "version": "7.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -297,6 +1278,49 @@ "node": ">=10" } }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", + "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz", + "integrity": "sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==", + "license": "CC0-1.0" + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -307,6 +1331,30 @@ "safe-buffer": "~5.2.0" } }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/tar-fs": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.2.tgz", @@ -343,6 +1391,7 @@ "integrity": "sha512-usbHZP9/oxNsUY65MQUsduGRqDHQOou1cagUSwjhoSYAmSahjQDAVsh9s+SlZkn8X8+O1FULRGwHu7AFP3kjzg==", "hasInstallScript": true, "license": "MIT", + "optional": true, "peer": true, "dependencies": { "node-addon-api": "^8.3.0", @@ -363,6 +1412,27 @@ "node": ">=12.0.0" } }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "license": "BSD-2-Clause", + "dependencies": { + "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", @@ -370,12 +1440,48 @@ "dev": true, "license": "MIT" }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "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==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true, "license": "ISC" + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } } } diff --git a/package.json b/package.json index b2158a0..5289a99 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,8 @@ "*.wasm" ], "dependencies": { + "eslint": "^9.26.0", + "eslint-config-treesitter": "^1.0.2", "node-addon-api": "^8.3.1", "node-gyp-build": "^4.8.4" }, @@ -50,6 +52,7 @@ }, "scripts": { "install": "node-gyp-build", + "lint": "eslint grammar.js", "prestart": "tree-sitter build --wasm", "start": "tree-sitter playground", "test": "node --test bindings/node/*_test.js" From 7dbf219a27c934de18d29159ea069f0d44cd82c4 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Sat, 24 May 2025 09:39:21 +0300 Subject: [PATCH 5/5] feat: regenerate parser --- .github/workflows/ci.yml | 1 + src/grammar.json | 6 +- src/node-types.json | 4 +- src/parser.c | 5899 +++++++++++++++++++------------------- src/tree_sitter/alloc.h | 8 +- src/tree_sitter/array.h | 3 +- src/tree_sitter/parser.h | 35 +- 7 files changed, 3017 insertions(+), 2939 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cabf8a2..f5c883b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,7 @@ jobs: - name: Run parser and binding tests uses: tree-sitter/parser-test-action@v2 with: + generate: false test-rust: true - name: Parse sample files uses: tree-sitter/parse-action@v4 diff --git a/src/grammar.json b/src/grammar.json index b1a09f8..1e7f4c1 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -1,4 +1,5 @@ { + "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json", "name": "kdl", "word": "_normal_bare_identifier", "rules": { @@ -1263,5 +1264,6 @@ } ], "inline": [], - "supertypes": [] -} + "supertypes": [], + "reserved": {} +} \ No newline at end of file diff --git a/src/node-types.json b/src/node-types.json index 055c5ab..b4c9e31 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -17,6 +17,7 @@ { "type": "document", "named": true, + "root": true, "fields": {}, "children": { "multiple": true, @@ -519,7 +520,8 @@ }, { "type": "multi_line_comment", - "named": true + "named": true, + "extra": true }, { "type": "node_children_comment", diff --git a/src/parser.c b/src/parser.c index 2a130ed..1dd08ce 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1,3 +1,5 @@ +/* Automatically @generated by tree-sitter v0.25.4 (726dcd1e872149d95de581589fc408fb8ea9cb0b) */ + #include "tree_sitter/parser.h" #if defined(__GNUC__) || defined(__clang__) @@ -7,13 +9,15 @@ #define LANGUAGE_VERSION 14 #define STATE_COUNT 304 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 127 +#define SYMBOL_COUNT 126 #define ALIAS_COUNT 4 -#define TOKEN_COUNT 84 +#define TOKEN_COUNT 83 #define EXTERNAL_TOKEN_COUNT 3 #define FIELD_COUNT 1 #define MAX_ALIAS_SEQUENCE_LENGTH 10 +#define MAX_RESERVED_WORD_SET_SIZE 0 #define PRODUCTION_ID_COUNT 17 +#define SUPERTYPE_COUNT 0 enum ts_symbol_identifiers { sym__normal_bare_identifier = 1, @@ -23,129 +27,128 @@ enum ts_symbol_identifiers { anon_sym_SEMI = 5, sym__identifier_char = 6, sym___identifier_char_no_digit = 7, - sym___identifier_char_no_digit_sign = 8, - anon_sym_null = 9, - anon_sym_i8 = 10, - anon_sym_i16 = 11, - anon_sym_i32 = 12, - anon_sym_i64 = 13, - anon_sym_u8 = 14, - anon_sym_u16 = 15, - anon_sym_u32 = 16, - anon_sym_u64 = 17, - anon_sym_isize = 18, - anon_sym_usize = 19, - anon_sym_f32 = 20, - anon_sym_f64 = 21, - anon_sym_decimal64 = 22, - anon_sym_decimal128 = 23, - anon_sym_date_DASHtime = 24, - anon_sym_time = 25, - anon_sym_date = 26, - anon_sym_duration = 27, - anon_sym_decimal = 28, - anon_sym_currency = 29, - anon_sym_country_DASH2 = 30, - anon_sym_country_DASH3 = 31, - anon_sym_country_DASHsubdivision = 32, - anon_sym_email = 33, - anon_sym_idn_DASHemail = 34, - anon_sym_hostname = 35, - anon_sym_idn_DASHhostname = 36, - anon_sym_ipv4 = 37, - anon_sym_ipv6 = 38, - anon_sym_url = 39, - anon_sym_url_DASHreference = 40, - anon_sym_irl = 41, - anon_sym_iri_DASHreference = 42, - anon_sym_url_DASHtemplate = 43, - anon_sym_uuid = 44, - anon_sym_regex = 45, - anon_sym_base64 = 46, - anon_sym_EQ = 47, - anon_sym_LPAREN = 48, - anon_sym_RPAREN = 49, - anon_sym_DQUOTE = 50, - aux_sym__escaped_string_token1 = 51, - sym_escape = 52, - sym__hex_digit = 53, - anon_sym_DOT = 54, - anon_sym_e = 55, - anon_sym_E = 56, - anon_sym__ = 57, - sym__digit = 58, - anon_sym_PLUS = 59, - anon_sym_DASH = 60, - anon_sym_0x = 61, - anon_sym_0o = 62, - aux_sym__octal_token1 = 63, - anon_sym_0b = 64, - anon_sym_0 = 65, - anon_sym_1 = 66, - anon_sym_true = 67, - anon_sym_false = 68, - anon_sym_BSLASH = 69, - aux_sym__newline_token1 = 70, - aux_sym__newline_token2 = 71, - aux_sym__newline_token3 = 72, - aux_sym__newline_token4 = 73, - aux_sym__newline_token5 = 74, - aux_sym__newline_token6 = 75, - aux_sym__newline_token7 = 76, - sym__bom = 77, - sym__unicode_space = 78, - anon_sym_SLASH_SLASH = 79, - aux_sym_single_line_comment_token1 = 80, - sym__eof = 81, - sym_multi_line_comment = 82, - sym__raw_string = 83, - sym_document = 84, - sym_node = 85, - sym_node_field = 86, - sym__node_field_comment = 87, - sym__node_field = 88, - sym_node_children = 89, - sym__node_space = 90, - sym__node_terminator = 91, - sym_identifier = 92, - sym__bare_identifier = 93, - sym_keyword = 94, - sym_annotation_type = 95, - sym_prop = 96, - sym_value = 97, - sym_type = 98, - sym_string = 99, - sym__escaped_string = 100, - sym_number = 101, - sym__decimal = 102, - sym__exponent = 103, - sym__integer = 104, - sym__sign = 105, - sym__hex = 106, - sym__octal = 107, - sym__binary = 108, - sym_boolean = 109, - sym__escline = 110, - sym__linespace = 111, - sym__newline = 112, - sym__ws = 113, - sym_single_line_comment = 114, - aux_sym_document_repeat1 = 115, - aux_sym_document_repeat2 = 116, - aux_sym_node_repeat1 = 117, - aux_sym_node_repeat2 = 118, - aux_sym_node_repeat3 = 119, - aux_sym__bare_identifier_repeat1 = 120, - aux_sym__escaped_string_repeat1 = 121, - aux_sym__integer_repeat1 = 122, - aux_sym__hex_repeat1 = 123, - aux_sym__octal_repeat1 = 124, - aux_sym__binary_repeat1 = 125, - aux_sym_single_line_comment_repeat1 = 126, - alias_sym_decimal = 127, - alias_sym_node_children_comment = 128, - alias_sym_node_field_comment = 129, - alias_sym_string_fragment = 130, + anon_sym_null = 8, + anon_sym_i8 = 9, + anon_sym_i16 = 10, + anon_sym_i32 = 11, + anon_sym_i64 = 12, + anon_sym_u8 = 13, + anon_sym_u16 = 14, + anon_sym_u32 = 15, + anon_sym_u64 = 16, + anon_sym_isize = 17, + anon_sym_usize = 18, + anon_sym_f32 = 19, + anon_sym_f64 = 20, + anon_sym_decimal64 = 21, + anon_sym_decimal128 = 22, + anon_sym_date_DASHtime = 23, + anon_sym_time = 24, + anon_sym_date = 25, + anon_sym_duration = 26, + anon_sym_decimal = 27, + anon_sym_currency = 28, + anon_sym_country_DASH2 = 29, + anon_sym_country_DASH3 = 30, + anon_sym_country_DASHsubdivision = 31, + anon_sym_email = 32, + anon_sym_idn_DASHemail = 33, + anon_sym_hostname = 34, + anon_sym_idn_DASHhostname = 35, + anon_sym_ipv4 = 36, + anon_sym_ipv6 = 37, + anon_sym_url = 38, + anon_sym_url_DASHreference = 39, + anon_sym_irl = 40, + anon_sym_iri_DASHreference = 41, + anon_sym_url_DASHtemplate = 42, + anon_sym_uuid = 43, + anon_sym_regex = 44, + anon_sym_base64 = 45, + anon_sym_EQ = 46, + anon_sym_LPAREN = 47, + anon_sym_RPAREN = 48, + anon_sym_DQUOTE = 49, + aux_sym__escaped_string_token1 = 50, + sym_escape = 51, + sym__hex_digit = 52, + anon_sym_DOT = 53, + anon_sym_e = 54, + anon_sym_E = 55, + anon_sym__ = 56, + sym__digit = 57, + anon_sym_PLUS = 58, + anon_sym_DASH = 59, + anon_sym_0x = 60, + anon_sym_0o = 61, + aux_sym__octal_token1 = 62, + anon_sym_0b = 63, + anon_sym_0 = 64, + anon_sym_1 = 65, + anon_sym_true = 66, + anon_sym_false = 67, + anon_sym_BSLASH = 68, + aux_sym__newline_token1 = 69, + aux_sym__newline_token2 = 70, + aux_sym__newline_token3 = 71, + aux_sym__newline_token4 = 72, + aux_sym__newline_token5 = 73, + aux_sym__newline_token6 = 74, + aux_sym__newline_token7 = 75, + sym__bom = 76, + sym__unicode_space = 77, + anon_sym_SLASH_SLASH = 78, + aux_sym_single_line_comment_token1 = 79, + sym__eof = 80, + sym_multi_line_comment = 81, + sym__raw_string = 82, + sym_document = 83, + sym_node = 84, + sym_node_field = 85, + sym__node_field_comment = 86, + sym__node_field = 87, + sym_node_children = 88, + sym__node_space = 89, + sym__node_terminator = 90, + sym_identifier = 91, + sym__bare_identifier = 92, + sym_keyword = 93, + sym_annotation_type = 94, + sym_prop = 95, + sym_value = 96, + sym_type = 97, + sym_string = 98, + sym__escaped_string = 99, + sym_number = 100, + sym__decimal = 101, + sym__exponent = 102, + sym__integer = 103, + sym__sign = 104, + sym__hex = 105, + sym__octal = 106, + sym__binary = 107, + sym_boolean = 108, + sym__escline = 109, + sym__linespace = 110, + sym__newline = 111, + sym__ws = 112, + sym_single_line_comment = 113, + aux_sym_document_repeat1 = 114, + aux_sym_document_repeat2 = 115, + aux_sym_node_repeat1 = 116, + aux_sym_node_repeat2 = 117, + aux_sym_node_repeat3 = 118, + aux_sym__bare_identifier_repeat1 = 119, + aux_sym__escaped_string_repeat1 = 120, + aux_sym__integer_repeat1 = 121, + aux_sym__hex_repeat1 = 122, + aux_sym__octal_repeat1 = 123, + aux_sym__binary_repeat1 = 124, + aux_sym_single_line_comment_repeat1 = 125, + alias_sym_decimal = 126, + alias_sym_node_children_comment = 127, + alias_sym_node_field_comment = 128, + alias_sym_string_fragment = 129, }; static const char * const ts_symbol_names[] = { @@ -157,7 +160,6 @@ static const char * const ts_symbol_names[] = { [anon_sym_SEMI] = ";", [sym__identifier_char] = "_identifier_char", [sym___identifier_char_no_digit] = "__identifier_char_no_digit", - [sym___identifier_char_no_digit_sign] = "__identifier_char_no_digit_sign", [anon_sym_null] = "null", [anon_sym_i8] = "i8", [anon_sym_i16] = "i16", @@ -291,7 +293,6 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_SEMI] = anon_sym_SEMI, [sym__identifier_char] = sym__identifier_char, [sym___identifier_char_no_digit] = sym___identifier_char_no_digit, - [sym___identifier_char_no_digit_sign] = sym___identifier_char_no_digit_sign, [anon_sym_null] = anon_sym_null, [anon_sym_i8] = anon_sym_i8, [anon_sym_i16] = anon_sym_i16, @@ -449,10 +450,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, - [sym___identifier_char_no_digit_sign] = { - .visible = false, - .named = true, - }, [anon_sym_null] = { .visible = true, .named = false, @@ -952,7 +949,7 @@ static const char * const ts_field_names[] = { [field_children] = "children", }; -static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { +static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { [2] = {.index = 0, .length = 1}, [3] = {.index = 1, .length = 1}, [7] = {.index = 2, .length = 1}, @@ -1096,9 +1093,9 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [56] = 56, [57] = 57, [58] = 58, - [59] = 55, - [60] = 60, - [61] = 60, + [59] = 58, + [60] = 56, + [61] = 61, [62] = 62, [63] = 63, [64] = 64, @@ -1131,13 +1128,13 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [91] = 91, [92] = 92, [93] = 93, - [94] = 94, + [94] = 30, [95] = 95, [96] = 96, [97] = 97, [98] = 98, [99] = 99, - [100] = 27, + [100] = 100, [101] = 101, [102] = 102, [103] = 103, @@ -1158,13 +1155,13 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [118] = 118, [119] = 119, [120] = 120, - [121] = 39, - [122] = 53, - [123] = 38, - [124] = 124, - [125] = 34, - [126] = 49, - [127] = 127, + [121] = 121, + [122] = 47, + [123] = 52, + [124] = 50, + [125] = 125, + [126] = 53, + [127] = 33, [128] = 128, [129] = 129, [130] = 130, @@ -1210,140 +1207,140 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [170] = 170, [171] = 171, [172] = 172, - [173] = 173, + [173] = 57, [174] = 174, [175] = 175, - [176] = 176, + [176] = 61, [177] = 177, [178] = 178, - [179] = 57, + [179] = 179, [180] = 180, [181] = 181, - [182] = 182, - [183] = 56, + [182] = 55, + [183] = 183, [184] = 184, [185] = 185, - [186] = 58, + [186] = 186, [187] = 15, [188] = 188, [189] = 189, [190] = 190, [191] = 191, [192] = 192, - [193] = 27, + [193] = 193, [194] = 194, [195] = 195, [196] = 196, - [197] = 197, + [197] = 30, [198] = 198, - [199] = 199, + [199] = 53, [200] = 200, - [201] = 38, + [201] = 201, [202] = 202, [203] = 203, [204] = 204, - [205] = 49, - [206] = 39, - [207] = 53, - [208] = 208, + [205] = 205, + [206] = 206, + [207] = 207, + [208] = 33, [209] = 209, [210] = 210, [211] = 211, - [212] = 34, + [212] = 212, [213] = 213, [214] = 214, [215] = 215, [216] = 216, - [217] = 217, + [217] = 47, [218] = 218, - [219] = 219, + [219] = 50, [220] = 220, - [221] = 221, + [221] = 52, [222] = 222, [223] = 223, [224] = 223, [225] = 223, - [226] = 223, - [227] = 227, - [228] = 227, - [229] = 227, - [230] = 49, - [231] = 227, + [226] = 226, + [227] = 226, + [228] = 226, + [229] = 223, + [230] = 226, + [231] = 53, [232] = 232, [233] = 233, - [234] = 58, + [234] = 57, [235] = 235, - [236] = 57, - [237] = 55, + [236] = 236, + [237] = 237, [238] = 238, [239] = 239, [240] = 240, [241] = 241, - [242] = 242, - [243] = 243, - [244] = 60, + [242] = 61, + [243] = 55, + [244] = 58, [245] = 245, - [246] = 56, - [247] = 247, + [246] = 246, + [247] = 56, [248] = 248, [249] = 249, - [250] = 250, - [251] = 250, + [250] = 249, + [251] = 251, [252] = 249, - [253] = 249, - [254] = 250, - [255] = 250, - [256] = 249, + [253] = 251, + [254] = 251, + [255] = 249, + [256] = 251, [257] = 257, [258] = 258, [259] = 259, [260] = 260, - [261] = 261, - [262] = 15, + [261] = 15, + [262] = 262, [263] = 263, - [264] = 264, - [265] = 27, - [266] = 38, - [267] = 39, - [268] = 53, - [269] = 34, + [264] = 30, + [265] = 265, + [266] = 50, + [267] = 47, + [268] = 52, + [269] = 33, [270] = 270, [271] = 271, - [272] = 55, - [273] = 273, - [274] = 60, + [272] = 188, + [273] = 55, + [274] = 56, [275] = 58, - [276] = 56, - [277] = 277, - [278] = 189, - [279] = 188, - [280] = 273, - [281] = 57, - [282] = 277, - [283] = 283, - [284] = 190, + [276] = 276, + [277] = 190, + [278] = 61, + [279] = 279, + [280] = 57, + [281] = 281, + [282] = 189, + [283] = 281, + [284] = 276, [285] = 285, [286] = 286, - [287] = 287, + [287] = 207, [288] = 288, [289] = 289, - [290] = 218, + [290] = 196, [291] = 291, - [292] = 192, - [293] = 197, - [294] = 196, - [295] = 295, - [296] = 194, + [292] = 292, + [293] = 293, + [294] = 191, + [295] = 193, + [296] = 296, [297] = 297, [298] = 298, - [299] = 299, + [299] = 192, [300] = 300, [301] = 301, [302] = 302, [303] = 303, }; -static TSCharacterRange sym__normal_bare_identifier_character_set_2[] = { +static const TSCharacterRange sym__normal_bare_identifier_character_set_2[] = { {'!', '!'}, {'#', '\''}, {'*', '+'}, {'-', '.'}, {'0', ':'}, {'?', 'Z'}, {'^', '_'}, {'a', 'z'}, {'|', '|'}, {'~', '~'}, {0xa9, 0xaa}, {0xae, 0xae}, {0xb2, 0xb3}, {0xb5, 0xb5}, {0xb9, 0xba}, {0xbc, 0xbe}, {0xc0, 0xd6}, {0xd8, 0xf6}, {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x300, 0x374}, @@ -1351,7 +1348,7 @@ static TSCharacterRange sym__normal_bare_identifier_character_set_2[] = { {0x3f7, 0x481}, {0x483, 0x52f}, {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x591, 0x5bd}, {0x5bf, 0x5bf}, {0x5c1, 0x5c2}, {0x5c4, 0x5c5}, {0x5c7, 0x5c7}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x610, 0x61a}, {0x620, 0x669}, {0x66e, 0x6d3}, {0x6d5, 0x6dc}, {0x6df, 0x6e8}, {0x6ea, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x74a}, {0x74d, 0x7b1}, {0x7c0, 0x7f5}, {0x7fa, 0x7fa}, {0x7fd, 0x7fd}, - {0x800, 0x82d}, {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x898, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, + {0x800, 0x82d}, {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x897, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, {0x971, 0x983}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, {0x9bc, 0x9c4}, {0x9c7, 0x9c8}, {0x9cb, 0x9ce}, {0x9d7, 0x9d7}, {0x9dc, 0x9dd}, {0x9df, 0x9e3}, {0x9e6, 0x9f1}, {0x9f4, 0x9f9}, {0x9fc, 0x9fc}, {0x9fe, 0x9fe}, {0xa01, 0xa03}, {0xa05, 0xa0a}, {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, @@ -1379,7 +1376,7 @@ static TSCharacterRange sym__normal_bare_identifier_character_set_2[] = { {0x17e0, 0x17e9}, {0x17f0, 0x17f9}, {0x180b, 0x180d}, {0x180f, 0x1819}, {0x1820, 0x1878}, {0x1880, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1920, 0x192b}, {0x1930, 0x193b}, {0x1946, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x19d0, 0x19da}, {0x1a00, 0x1a1b}, {0x1a20, 0x1a5e}, {0x1a60, 0x1a7c}, {0x1a7f, 0x1a89}, {0x1a90, 0x1a99}, {0x1aa7, 0x1aa7}, {0x1ab0, 0x1ace}, {0x1b00, 0x1b4c}, {0x1b50, 0x1b59}, - {0x1b6b, 0x1b73}, {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, + {0x1b6b, 0x1b73}, {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c8a}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, {0x1cd4, 0x1cfa}, {0x1d00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x203c, 0x203c}, {0x2049, 0x2049}, {0x2070, 0x2071}, @@ -1400,87 +1397,13 @@ static TSCharacterRange sym__normal_bare_identifier_character_set_2[] = { {0x2dc0, 0x2dc6}, {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x2de0, 0x2dff}, {0x2e2f, 0x2e2f}, {0x3005, 0x3007}, {0x3021, 0x3035}, {0x3038, 0x303d}, {0x3041, 0x3096}, {0x3099, 0x309a}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, {0x3105, 0x312f}, {0x3131, 0x318e}, {0x3192, 0x3195}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3220, 0x3229}, {0x3248, 0x324f}, {0x3251, 0x325f}, {0x3280, 0x3289}, {0x3297, 0x3297}, - {0x3299, 0x3299}, {0x32b1, 0x32bf}, {0x3400, 0x3400}, {0x4dbf, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, - {0xa640, 0xa672}, {0xa674, 0xa67d}, {0xa67f, 0xa6f1}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, - {0xa7d5, 0xa7d9}, {0xa7f2, 0xa827}, {0xa82c, 0xa82c}, {0xa830, 0xa835}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, - {0xa8fb, 0xa8fb}, {0xa8fd, 0xa92d}, {0xa930, 0xa953}, {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, - {0xaa40, 0xaa4d}, {0xaa50, 0xaa59}, {0xaa60, 0xaa76}, {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, - {0xab09, 0xab0e}, {0xab11, 0xab16}, {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabea}, {0xabec, 0xabed}, - {0xabf0, 0xabf9}, {0xac00, 0xac00}, {0xd7a3, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, - {0xfb13, 0xfb17}, {0xfb1d, 0xfb28}, {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, - {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, {0xfe00, 0xfe0f}, {0xfe20, 0xfe2f}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, - {0xff10, 0xff19}, {0xff21, 0xff3a}, {0xff41, 0xff5a}, {0xff66, 0xffbe}, {0xffc2, 0xffc7}, {0xffca, 0xffcf}, {0xffd2, 0xffd7}, {0xffda, 0xffdc}, - {0x10000, 0x1000b}, {0x1000d, 0x10026}, {0x10028, 0x1003a}, {0x1003c, 0x1003d}, {0x1003f, 0x1004d}, {0x10050, 0x1005d}, {0x10080, 0x100fa}, {0x10107, 0x10133}, - {0x10140, 0x10178}, {0x1018a, 0x1018b}, {0x101fd, 0x101fd}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x102e0, 0x102fb}, {0x10300, 0x10323}, {0x1032d, 0x1034a}, - {0x10350, 0x1037a}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104a0, 0x104a9}, {0x104b0, 0x104d3}, - {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, - {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, - {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10858, 0x10876}, - {0x10879, 0x1089e}, {0x108a7, 0x108af}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x108fb, 0x1091b}, {0x1f004, 0x1f004}, {0x1f0cf, 0x1f0cf}, {0x1f170, 0x1f171}, - {0x1f17e, 0x1f17f}, {0x1f18e, 0x1f18e}, {0x1f191, 0x1f19a}, {0x1f1e6, 0x1f1ff}, {0x1f201, 0x1f202}, {0x1f21a, 0x1f21a}, {0x1f22f, 0x1f22f}, {0x1f232, 0x1f23a}, - {0x1f250, 0x1f251}, {0x1f300, 0x1f321}, {0x1f324, 0x1f393}, {0x1f396, 0x1f397}, {0x1f399, 0x1f39b}, {0x1f39e, 0x1f3f0}, {0x1f3f3, 0x1f3f5}, {0x1f3f7, 0x1f4fd}, - {0x1f4ff, 0x1f53d}, {0x1f549, 0x1f54e}, {0x1f550, 0x1f567}, {0x1f56f, 0x1f570}, {0x1f573, 0x1f57a}, {0x1f587, 0x1f587}, {0x1f58a, 0x1f58d}, {0x1f590, 0x1f590}, - {0x1f595, 0x1f596}, {0x1f5a4, 0x1f5a5}, {0x1f5a8, 0x1f5a8}, {0x1f5b1, 0x1f5b2}, {0x1f5bc, 0x1f5bc}, {0x1f5c2, 0x1f5c4}, {0x1f5d1, 0x1f5d3}, {0x1f5dc, 0x1f5de}, - {0x1f5e1, 0x1f5e1}, {0x1f5e3, 0x1f5e3}, {0x1f5e8, 0x1f5e8}, {0x1f5ef, 0x1f5ef}, {0x1f5f3, 0x1f5f3}, {0x1f5fa, 0x1f64f}, {0x1f680, 0x1f6c5}, {0x1f6cb, 0x1f6d2}, - {0x1f6d5, 0x1f6d7}, {0x1f6dc, 0x1f6e5}, {0x1f6e9, 0x1f6e9}, {0x1f6eb, 0x1f6ec}, {0x1f6f0, 0x1f6f0}, {0x1f6f3, 0x1f6fc}, {0x1f7e0, 0x1f7eb}, {0x1f7f0, 0x1f7f0}, - {0x1f90c, 0x1f93a}, {0x1f93c, 0x1f945}, {0x1f947, 0x1f9ff}, {0x1fa70, 0x1fa7c}, {0x1fa80, 0x1fa88}, {0x1fa90, 0x1fabd}, {0x1fabf, 0x1fac5}, {0x1face, 0x1fadb}, - {0x1fae0, 0x1fae8}, {0x1faf0, 0x1faf8}, -}; - -static TSCharacterRange sym__identifier_char_character_set_1[] = { - {'!', '!'}, {'#', '\''}, {'*', '+'}, {'-', '.'}, {'0', ':'}, {'?', 'Z'}, {'^', '_'}, {'a', 'z'}, - {'|', '|'}, {'~', '~'}, {0xaa, 0xaa}, {0xb2, 0xb3}, {0xb5, 0xb5}, {0xb9, 0xba}, {0xbc, 0xbe}, {0xc0, 0xd6}, - {0xd8, 0xf6}, {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x300, 0x374}, {0x376, 0x377}, - {0x37a, 0x37d}, {0x37f, 0x37f}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, {0x3a3, 0x3f5}, {0x3f7, 0x481}, - {0x483, 0x52f}, {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x591, 0x5bd}, {0x5bf, 0x5bf}, {0x5c1, 0x5c2}, {0x5c4, 0x5c5}, - {0x5c7, 0x5c7}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x610, 0x61a}, {0x620, 0x669}, {0x66e, 0x6d3}, {0x6d5, 0x6dc}, {0x6df, 0x6e8}, - {0x6ea, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x74a}, {0x74d, 0x7b1}, {0x7c0, 0x7f5}, {0x7fa, 0x7fa}, {0x7fd, 0x7fd}, {0x800, 0x82d}, - {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x898, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, {0x971, 0x983}, - {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, {0x9bc, 0x9c4}, {0x9c7, 0x9c8}, - {0x9cb, 0x9ce}, {0x9d7, 0x9d7}, {0x9dc, 0x9dd}, {0x9df, 0x9e3}, {0x9e6, 0x9f1}, {0x9f4, 0x9f9}, {0x9fc, 0x9fc}, {0x9fe, 0x9fe}, - {0xa01, 0xa03}, {0xa05, 0xa0a}, {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, - {0xa3c, 0xa3c}, {0xa3e, 0xa42}, {0xa47, 0xa48}, {0xa4b, 0xa4d}, {0xa51, 0xa51}, {0xa59, 0xa5c}, {0xa5e, 0xa5e}, {0xa66, 0xa75}, - {0xa81, 0xa83}, {0xa85, 0xa8d}, {0xa8f, 0xa91}, {0xa93, 0xaa8}, {0xaaa, 0xab0}, {0xab2, 0xab3}, {0xab5, 0xab9}, {0xabc, 0xac5}, - {0xac7, 0xac9}, {0xacb, 0xacd}, {0xad0, 0xad0}, {0xae0, 0xae3}, {0xae6, 0xaef}, {0xaf9, 0xaff}, {0xb01, 0xb03}, {0xb05, 0xb0c}, - {0xb0f, 0xb10}, {0xb13, 0xb28}, {0xb2a, 0xb30}, {0xb32, 0xb33}, {0xb35, 0xb39}, {0xb3c, 0xb44}, {0xb47, 0xb48}, {0xb4b, 0xb4d}, - {0xb55, 0xb57}, {0xb5c, 0xb5d}, {0xb5f, 0xb63}, {0xb66, 0xb6f}, {0xb71, 0xb77}, {0xb82, 0xb83}, {0xb85, 0xb8a}, {0xb8e, 0xb90}, - {0xb92, 0xb95}, {0xb99, 0xb9a}, {0xb9c, 0xb9c}, {0xb9e, 0xb9f}, {0xba3, 0xba4}, {0xba8, 0xbaa}, {0xbae, 0xbb9}, {0xbbe, 0xbc2}, - {0xbc6, 0xbc8}, {0xbca, 0xbcd}, {0xbd0, 0xbd0}, {0xbd7, 0xbd7}, {0xbe6, 0xbf2}, {0xc00, 0xc0c}, {0xc0e, 0xc10}, {0xc12, 0xc28}, - {0xc2a, 0xc39}, {0xc3c, 0xc44}, {0xc46, 0xc48}, {0xc4a, 0xc4d}, {0xc55, 0xc56}, {0xc58, 0xc5a}, {0xc5d, 0xc5d}, {0xc60, 0xc63}, - {0xc66, 0xc6f}, {0xc78, 0xc7e}, {0xc80, 0xc83}, {0xc85, 0xc8c}, {0xc8e, 0xc90}, {0xc92, 0xca8}, {0xcaa, 0xcb3}, {0xcb5, 0xcb9}, - {0xcbc, 0xcc4}, {0xcc6, 0xcc8}, {0xcca, 0xccd}, {0xcd5, 0xcd6}, {0xcdd, 0xcde}, {0xce0, 0xce3}, {0xce6, 0xcef}, {0xcf1, 0xcf3}, - {0xd00, 0xd0c}, {0xd0e, 0xd10}, {0xd12, 0xd44}, {0xd46, 0xd48}, {0xd4a, 0xd4e}, {0xd54, 0xd63}, {0xd66, 0xd78}, {0xd7a, 0xd7f}, - {0xd81, 0xd83}, {0xd85, 0xd96}, {0xd9a, 0xdb1}, {0xdb3, 0xdbb}, {0xdbd, 0xdbd}, {0xdc0, 0xdc6}, {0xdca, 0xdca}, {0xdcf, 0xdd4}, - {0xdd6, 0xdd6}, {0xdd8, 0xddf}, {0xde6, 0xdef}, {0xdf2, 0xdf3}, {0xe01, 0xe3a}, {0xe40, 0xe4e}, {0xe50, 0xe59}, {0xe81, 0xe82}, - {0xe84, 0xe84}, {0xe86, 0xe8a}, {0xe8c, 0xea3}, {0xea5, 0xea5}, {0xea7, 0xebd}, {0xec0, 0xec4}, {0xec6, 0xec6}, {0xec8, 0xece}, - {0xed0, 0xed9}, {0xedc, 0xedf}, {0xf00, 0xf00}, {0xf18, 0xf19}, {0xf20, 0xf33}, {0xf35, 0xf35}, {0xf37, 0xf37}, {0xf39, 0xf39}, - {0xf3e, 0xf47}, {0xf49, 0xf6c}, {0xf71, 0xf84}, {0xf86, 0xf97}, {0xf99, 0xfbc}, {0xfc6, 0xfc6}, {0x1000, 0x1049}, {0x1050, 0x109d}, - {0x10a0, 0x10c5}, {0x10c7, 0x10c7}, {0x10cd, 0x10cd}, {0x10d0, 0x10fa}, {0x10fc, 0x1248}, {0x124a, 0x124d}, {0x1250, 0x1256}, {0x1258, 0x1258}, - {0x125a, 0x125d}, {0x1260, 0x1288}, {0x128a, 0x128d}, {0x1290, 0x12b0}, {0x12b2, 0x12b5}, {0x12b8, 0x12be}, {0x12c0, 0x12c0}, {0x12c2, 0x12c5}, - {0x12c8, 0x12d6}, {0x12d8, 0x1310}, {0x1312, 0x1315}, {0x1318, 0x135a}, {0x135d, 0x135f}, {0x1369, 0x137c}, {0x1380, 0x138f}, {0x13a0, 0x13f5}, - {0x13f8, 0x13fd}, {0x1401, 0x166c}, {0x166f, 0x167f}, {0x1681, 0x169a}, {0x16a0, 0x16ea}, {0x16ee, 0x16f8}, {0x1700, 0x1715}, {0x171f, 0x1734}, - {0x1740, 0x1753}, {0x1760, 0x176c}, {0x176e, 0x1770}, {0x1772, 0x1773}, {0x1780, 0x17d3}, {0x17d7, 0x17d7}, {0x17dc, 0x17dd}, {0x17e0, 0x17e9}, - {0x17f0, 0x17f9}, {0x180b, 0x180d}, {0x180f, 0x1819}, {0x1820, 0x1878}, {0x1880, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1920, 0x192b}, - {0x1930, 0x193b}, {0x1946, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x19d0, 0x19da}, {0x1a00, 0x1a1b}, {0x1a20, 0x1a5e}, - {0x1a60, 0x1a7c}, {0x1a7f, 0x1a89}, {0x1a90, 0x1a99}, {0x1aa7, 0x1aa7}, {0x1ab0, 0x1ace}, {0x1b00, 0x1b4c}, {0x1b50, 0x1b59}, {0x1b6b, 0x1b73}, - {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, - {0x1cd4, 0x1cfa}, {0x1d00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, - {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, - {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2070, 0x2071}, {0x2074, 0x2079}, {0x207f, 0x2089}, {0x2090, 0x209c}, - {0x20d0, 0x20f0}, {0x2102, 0x2102}, {0x2107, 0x2107}, {0x210a, 0x2113}, {0x2115, 0x2115}, {0x2119, 0x211d}, {0x2124, 0x2124}, {0x2126, 0x2126}, - {0x2128, 0x2128}, {0x212a, 0x212d}, {0x212f, 0x2139}, {0x213c, 0x213f}, {0x2145, 0x2149}, {0x214e, 0x214e}, {0x2150, 0x2189}, {0x2460, 0x249b}, - {0x24ea, 0x24ff}, {0x2776, 0x2793}, {0x2c00, 0x2ce4}, {0x2ceb, 0x2cf3}, {0x2cfd, 0x2cfd}, {0x2d00, 0x2d25}, {0x2d27, 0x2d27}, {0x2d2d, 0x2d2d}, - {0x2d30, 0x2d67}, {0x2d6f, 0x2d6f}, {0x2d7f, 0x2d96}, {0x2da0, 0x2da6}, {0x2da8, 0x2dae}, {0x2db0, 0x2db6}, {0x2db8, 0x2dbe}, {0x2dc0, 0x2dc6}, - {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x2de0, 0x2dff}, {0x2e2f, 0x2e2f}, {0x3005, 0x3007}, {0x3021, 0x302f}, {0x3031, 0x3035}, - {0x3038, 0x303c}, {0x3041, 0x3096}, {0x3099, 0x309a}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, {0x3105, 0x312f}, {0x3131, 0x318e}, - {0x3192, 0x3195}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3220, 0x3229}, {0x3248, 0x324f}, {0x3251, 0x325f}, {0x3280, 0x3289}, {0x32b1, 0x32bf}, - {0x3400, 0x3400}, {0x4dbf, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, {0xa640, 0xa672}, {0xa674, 0xa67d}, - {0xa67f, 0xa6f1}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7d9}, {0xa7f2, 0xa827}, - {0xa82c, 0xa82c}, {0xa830, 0xa835}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa92d}, - {0xa930, 0xa953}, {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, {0xaa40, 0xaa4d}, {0xaa50, 0xaa59}, - {0xaa60, 0xaa76}, {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, - {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabea}, {0xabec, 0xabed}, {0xabf0, 0xabf9}, {0xac00, 0xac00}, - {0xd7a3, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb28}, + {0x3299, 0x3299}, {0x32b1, 0x32bf}, {0x3400, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, {0xa640, 0xa672}, + {0xa674, 0xa67d}, {0xa67f, 0xa6f1}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7cd}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7dc}, + {0xa7f2, 0xa827}, {0xa82c, 0xa82c}, {0xa830, 0xa835}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, {0xa8fb, 0xa8fb}, + {0xa8fd, 0xa92d}, {0xa930, 0xa953}, {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, {0xaa40, 0xaa4d}, + {0xaa50, 0xaa59}, {0xaa60, 0xaa76}, {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, {0xab09, 0xab0e}, + {0xab11, 0xab16}, {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabea}, {0xabec, 0xabed}, {0xabf0, 0xabf9}, + {0xac00, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb28}, {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, {0xfe00, 0xfe0f}, {0xfe20, 0xfe2f}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {0xff10, 0xff19}, {0xff21, 0xff3a}, {0xff41, 0xff5a}, {0xff66, 0xffbe}, {0xffc2, 0xffc7}, {0xffca, 0xffcf}, {0xffd2, 0xffd7}, {0xffda, 0xffdc}, {0x10000, 0x1000b}, {0x1000d, 0x10026}, @@ -1488,20 +1411,68 @@ static TSCharacterRange sym__identifier_char_character_set_1[] = { {0x101fd, 0x101fd}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x102e0, 0x102fb}, {0x10300, 0x10323}, {0x1032d, 0x1034a}, {0x10350, 0x1037a}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104a0, 0x104a9}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, - {0x105bb, 0x105bc}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, - {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10858, 0x10876}, {0x10879, 0x1089e}, {0x108a7, 0x108af}, - {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x108fb, 0x1091b}, + {0x105bb, 0x105bc}, {0x105c0, 0x105f3}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, + {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10858, 0x10876}, {0x10879, 0x1089e}, + {0x108a7, 0x108af}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x108fb, 0x1091b}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109bc, 0x109cf}, {0x109d2, 0x10a03}, + {0x10a05, 0x10a06}, {0x10a0c, 0x10a13}, {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, {0x10a38, 0x10a3a}, {0x10a3f, 0x10a48}, {0x10a60, 0x10a7e}, {0x10a80, 0x10a9f}, + {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae6}, {0x10aeb, 0x10aef}, {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b58, 0x10b72}, {0x10b78, 0x10b91}, {0x10ba9, 0x10baf}, + {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, {0x10cc0, 0x10cf2}, {0x10cfa, 0x10d27}, {0x10d30, 0x10d39}, {0x10d40, 0x10d65}, {0x10d69, 0x10d6d}, {0x10d6f, 0x10d85}, + {0x10e60, 0x10e7e}, {0x10e80, 0x10ea9}, {0x10eab, 0x10eac}, {0x10eb0, 0x10eb1}, {0x10ec2, 0x10ec4}, {0x10efc, 0x10f27}, {0x10f30, 0x10f54}, {0x10f70, 0x10f85}, + {0x10fb0, 0x10fcb}, {0x10fe0, 0x10ff6}, {0x11000, 0x11046}, {0x11052, 0x11075}, {0x1107f, 0x110ba}, {0x110c2, 0x110c2}, {0x110d0, 0x110e8}, {0x110f0, 0x110f9}, + {0x11100, 0x11134}, {0x11136, 0x1113f}, {0x11144, 0x11147}, {0x11150, 0x11173}, {0x11176, 0x11176}, {0x11180, 0x111c4}, {0x111c9, 0x111cc}, {0x111ce, 0x111da}, + {0x111dc, 0x111dc}, {0x111e1, 0x111f4}, {0x11200, 0x11211}, {0x11213, 0x11237}, {0x1123e, 0x11241}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, + {0x1128f, 0x1129d}, {0x1129f, 0x112a8}, {0x112b0, 0x112ea}, {0x112f0, 0x112f9}, {0x11300, 0x11303}, {0x11305, 0x1130c}, {0x1130f, 0x11310}, {0x11313, 0x11328}, + {0x1132a, 0x11330}, {0x11332, 0x11333}, {0x11335, 0x11339}, {0x1133b, 0x11344}, {0x11347, 0x11348}, {0x1134b, 0x1134d}, {0x11350, 0x11350}, {0x11357, 0x11357}, + {0x1135d, 0x11363}, {0x11366, 0x1136c}, {0x11370, 0x11374}, {0x11380, 0x11389}, {0x1138b, 0x1138b}, {0x1138e, 0x1138e}, {0x11390, 0x113b5}, {0x113b7, 0x113c0}, + {0x113c2, 0x113c2}, {0x113c5, 0x113c5}, {0x113c7, 0x113ca}, {0x113cc, 0x113d3}, {0x113e1, 0x113e2}, {0x11400, 0x1144a}, {0x11450, 0x11459}, {0x1145e, 0x11461}, + {0x11480, 0x114c5}, {0x114c7, 0x114c7}, {0x114d0, 0x114d9}, {0x11580, 0x115b5}, {0x115b8, 0x115c0}, {0x115d8, 0x115dd}, {0x11600, 0x11640}, {0x11644, 0x11644}, + {0x11650, 0x11659}, {0x11680, 0x116b8}, {0x116c0, 0x116c9}, {0x116d0, 0x116e3}, {0x11700, 0x1171a}, {0x1171d, 0x1172b}, {0x11730, 0x1173b}, {0x11740, 0x11746}, + {0x11800, 0x1183a}, {0x118a0, 0x118f2}, {0x118ff, 0x11906}, {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, {0x11918, 0x11935}, {0x11937, 0x11938}, + {0x1193b, 0x11943}, {0x11950, 0x11959}, {0x119a0, 0x119a7}, {0x119aa, 0x119d7}, {0x119da, 0x119e1}, {0x119e3, 0x119e4}, {0x11a00, 0x11a3e}, {0x11a47, 0x11a47}, + {0x11a50, 0x11a99}, {0x11a9d, 0x11a9d}, {0x11ab0, 0x11af8}, {0x11bc0, 0x11be0}, {0x11bf0, 0x11bf9}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c36}, {0x11c38, 0x11c40}, + {0x11c50, 0x11c6c}, {0x11c72, 0x11c8f}, {0x11c92, 0x11ca7}, {0x11ca9, 0x11cb6}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d36}, {0x11d3a, 0x11d3a}, + {0x11d3c, 0x11d3d}, {0x11d3f, 0x11d47}, {0x11d50, 0x11d59}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d8e}, {0x11d90, 0x11d91}, {0x11d93, 0x11d98}, + {0x11da0, 0x11da9}, {0x11ee0, 0x11ef6}, {0x11f00, 0x11f10}, {0x11f12, 0x11f3a}, {0x11f3e, 0x11f42}, {0x11f50, 0x11f5a}, {0x11fb0, 0x11fb0}, {0x11fc0, 0x11fd4}, + {0x12000, 0x12399}, {0x12400, 0x1246e}, {0x12480, 0x12543}, {0x12f90, 0x12ff0}, {0x13000, 0x1342f}, {0x13440, 0x13455}, {0x13460, 0x143fa}, {0x14400, 0x14646}, + {0x16100, 0x16139}, {0x16800, 0x16a38}, {0x16a40, 0x16a5e}, {0x16a60, 0x16a69}, {0x16a70, 0x16abe}, {0x16ac0, 0x16ac9}, {0x16ad0, 0x16aed}, {0x16af0, 0x16af4}, + {0x16b00, 0x16b36}, {0x16b40, 0x16b43}, {0x16b50, 0x16b59}, {0x16b5b, 0x16b61}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16d40, 0x16d6c}, {0x16d70, 0x16d79}, + {0x16e40, 0x16e96}, {0x16f00, 0x16f4a}, {0x16f4f, 0x16f87}, {0x16f8f, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe4}, {0x16ff0, 0x16ff1}, {0x17000, 0x187f7}, + {0x18800, 0x18cd5}, {0x18cff, 0x18d08}, {0x1aff0, 0x1aff3}, {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, + {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, {0x1b170, 0x1b2fb}, {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1bc9d, 0x1bc9e}, + {0x1ccf0, 0x1ccf9}, {0x1cf00, 0x1cf2d}, {0x1cf30, 0x1cf46}, {0x1d165, 0x1d169}, {0x1d16d, 0x1d172}, {0x1d17b, 0x1d182}, {0x1d185, 0x1d18b}, {0x1d1aa, 0x1d1ad}, + {0x1d242, 0x1d244}, {0x1d2c0, 0x1d2d3}, {0x1d2e0, 0x1d2f3}, {0x1d360, 0x1d378}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, + {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, + {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, + {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, + {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, {0x1d7ce, 0x1d7ff}, {0x1da00, 0x1da36}, {0x1da3b, 0x1da6c}, {0x1da75, 0x1da75}, {0x1da84, 0x1da84}, {0x1da9b, 0x1da9f}, + {0x1daa1, 0x1daaf}, {0x1df00, 0x1df1e}, {0x1df25, 0x1df2a}, {0x1e000, 0x1e006}, {0x1e008, 0x1e018}, {0x1e01b, 0x1e021}, {0x1e023, 0x1e024}, {0x1e026, 0x1e02a}, + {0x1e030, 0x1e06d}, {0x1e08f, 0x1e08f}, {0x1e100, 0x1e12c}, {0x1e130, 0x1e13d}, {0x1e140, 0x1e149}, {0x1e14e, 0x1e14e}, {0x1e290, 0x1e2ae}, {0x1e2c0, 0x1e2f9}, + {0x1e4d0, 0x1e4f9}, {0x1e5d0, 0x1e5fa}, {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, {0x1e800, 0x1e8c4}, {0x1e8c7, 0x1e8d6}, + {0x1e900, 0x1e94b}, {0x1e950, 0x1e959}, {0x1ec71, 0x1ecab}, {0x1ecad, 0x1ecaf}, {0x1ecb1, 0x1ecb4}, {0x1ed01, 0x1ed2d}, {0x1ed2f, 0x1ed3d}, {0x1ee00, 0x1ee03}, + {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, {0x1ee24, 0x1ee24}, {0x1ee27, 0x1ee27}, {0x1ee29, 0x1ee32}, {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, + {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, {0x1ee49, 0x1ee49}, {0x1ee4b, 0x1ee4b}, {0x1ee4d, 0x1ee4f}, {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, + {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, {0x1ee5d, 0x1ee5d}, {0x1ee5f, 0x1ee5f}, {0x1ee61, 0x1ee62}, {0x1ee64, 0x1ee64}, {0x1ee67, 0x1ee6a}, {0x1ee6c, 0x1ee72}, + {0x1ee74, 0x1ee77}, {0x1ee79, 0x1ee7c}, {0x1ee7e, 0x1ee7e}, {0x1ee80, 0x1ee89}, {0x1ee8b, 0x1ee9b}, {0x1eea1, 0x1eea3}, {0x1eea5, 0x1eea9}, {0x1eeab, 0x1eebb}, + {0x1f004, 0x1f004}, {0x1f0cf, 0x1f0cf}, {0x1f100, 0x1f10c}, {0x1f170, 0x1f171}, {0x1f17e, 0x1f17f}, {0x1f18e, 0x1f18e}, {0x1f191, 0x1f19a}, {0x1f1e6, 0x1f1ff}, + {0x1f201, 0x1f202}, {0x1f21a, 0x1f21a}, {0x1f22f, 0x1f22f}, {0x1f232, 0x1f23a}, {0x1f250, 0x1f251}, {0x1f300, 0x1f321}, {0x1f324, 0x1f393}, {0x1f396, 0x1f397}, + {0x1f399, 0x1f39b}, {0x1f39e, 0x1f3f0}, {0x1f3f3, 0x1f3f5}, {0x1f3f7, 0x1f4fd}, {0x1f4ff, 0x1f53d}, {0x1f549, 0x1f54e}, {0x1f550, 0x1f567}, {0x1f56f, 0x1f570}, + {0x1f573, 0x1f57a}, {0x1f587, 0x1f587}, {0x1f58a, 0x1f58d}, {0x1f590, 0x1f590}, {0x1f595, 0x1f596}, {0x1f5a4, 0x1f5a5}, {0x1f5a8, 0x1f5a8}, {0x1f5b1, 0x1f5b2}, + {0x1f5bc, 0x1f5bc}, {0x1f5c2, 0x1f5c4}, {0x1f5d1, 0x1f5d3}, {0x1f5dc, 0x1f5de}, {0x1f5e1, 0x1f5e1}, {0x1f5e3, 0x1f5e3}, {0x1f5e8, 0x1f5e8}, {0x1f5ef, 0x1f5ef}, + {0x1f5f3, 0x1f5f3}, {0x1f5fa, 0x1f64f}, {0x1f680, 0x1f6c5}, {0x1f6cb, 0x1f6d2}, {0x1f6d5, 0x1f6d7}, {0x1f6dc, 0x1f6e5}, {0x1f6e9, 0x1f6e9}, {0x1f6eb, 0x1f6ec}, + {0x1f6f0, 0x1f6f0}, {0x1f6f3, 0x1f6fc}, {0x1f7e0, 0x1f7eb}, {0x1f7f0, 0x1f7f0}, {0x1f90c, 0x1f93a}, {0x1f93c, 0x1f945}, {0x1f947, 0x1f9ff}, {0x1fa70, 0x1fa7c}, + {0x1fa80, 0x1fa89}, {0x1fa8f, 0x1fac6}, {0x1face, 0x1fadc}, {0x1fadf, 0x1fae9}, {0x1faf0, 0x1faf8}, {0x1fbf0, 0x1fbf9}, {0x20000, 0x2a6df}, {0x2a700, 0x2b739}, + {0x2b740, 0x2b81d}, {0x2b820, 0x2cea1}, {0x2ceb0, 0x2ebe0}, {0x2ebf0, 0x2ee5d}, {0x2f800, 0x2fa1d}, {0x30000, 0x3134a}, {0x31350, 0x323af}, {0xe0100, 0xe01ef}, }; -static TSCharacterRange sym___identifier_char_no_digit_character_set_1[] = { - {'!', '!'}, {'#', '\''}, {'*', '+'}, {'-', '.'}, {':', ':'}, {'?', 'Z'}, {'^', '_'}, {'a', 'z'}, +static const TSCharacterRange sym__identifier_char_character_set_1[] = { + {'!', '!'}, {'#', '\''}, {'*', '+'}, {'-', '.'}, {'0', ':'}, {'?', 'Z'}, {'^', '_'}, {'a', 'z'}, {'|', '|'}, {'~', '~'}, {0xaa, 0xaa}, {0xb2, 0xb3}, {0xb5, 0xb5}, {0xb9, 0xba}, {0xbc, 0xbe}, {0xc0, 0xd6}, {0xd8, 0xf6}, {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x300, 0x374}, {0x376, 0x377}, {0x37a, 0x37d}, {0x37f, 0x37f}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, {0x3a3, 0x3f5}, {0x3f7, 0x481}, {0x483, 0x52f}, {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x591, 0x5bd}, {0x5bf, 0x5bf}, {0x5c1, 0x5c2}, {0x5c4, 0x5c5}, {0x5c7, 0x5c7}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x610, 0x61a}, {0x620, 0x669}, {0x66e, 0x6d3}, {0x6d5, 0x6dc}, {0x6df, 0x6e8}, {0x6ea, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x74a}, {0x74d, 0x7b1}, {0x7c0, 0x7f5}, {0x7fa, 0x7fa}, {0x7fd, 0x7fd}, {0x800, 0x82d}, - {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x898, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, {0x971, 0x983}, + {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x897, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, {0x971, 0x983}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, {0x9bc, 0x9c4}, {0x9c7, 0x9c8}, {0x9cb, 0x9ce}, {0x9d7, 0x9d7}, {0x9dc, 0x9dd}, {0x9df, 0x9e3}, {0x9e6, 0x9f1}, {0x9f4, 0x9f9}, {0x9fc, 0x9fc}, {0x9fe, 0x9fe}, {0xa01, 0xa03}, {0xa05, 0xa0a}, {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, @@ -1529,7 +1500,7 @@ static TSCharacterRange sym___identifier_char_no_digit_character_set_1[] = { {0x17f0, 0x17f9}, {0x180b, 0x180d}, {0x180f, 0x1819}, {0x1820, 0x1878}, {0x1880, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1920, 0x192b}, {0x1930, 0x193b}, {0x1946, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x19d0, 0x19da}, {0x1a00, 0x1a1b}, {0x1a20, 0x1a5e}, {0x1a60, 0x1a7c}, {0x1a7f, 0x1a89}, {0x1a90, 0x1a99}, {0x1aa7, 0x1aa7}, {0x1ab0, 0x1ace}, {0x1b00, 0x1b4c}, {0x1b50, 0x1b59}, {0x1b6b, 0x1b73}, - {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, + {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c8a}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, {0x1cd4, 0x1cfa}, {0x1d00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2070, 0x2071}, {0x2074, 0x2079}, {0x207f, 0x2089}, {0x2090, 0x209c}, @@ -1540,34 +1511,75 @@ static TSCharacterRange sym___identifier_char_no_digit_character_set_1[] = { {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x2de0, 0x2dff}, {0x2e2f, 0x2e2f}, {0x3005, 0x3007}, {0x3021, 0x302f}, {0x3031, 0x3035}, {0x3038, 0x303c}, {0x3041, 0x3096}, {0x3099, 0x309a}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, {0x3105, 0x312f}, {0x3131, 0x318e}, {0x3192, 0x3195}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3220, 0x3229}, {0x3248, 0x324f}, {0x3251, 0x325f}, {0x3280, 0x3289}, {0x32b1, 0x32bf}, - {0x3400, 0x3400}, {0x4dbf, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, {0xa640, 0xa672}, {0xa674, 0xa67d}, - {0xa67f, 0xa6f1}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7d9}, {0xa7f2, 0xa827}, - {0xa82c, 0xa82c}, {0xa830, 0xa835}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa92d}, - {0xa930, 0xa953}, {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, {0xaa40, 0xaa4d}, {0xaa50, 0xaa59}, - {0xaa60, 0xaa76}, {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, - {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabea}, {0xabec, 0xabed}, {0xabf0, 0xabf9}, {0xac00, 0xac00}, - {0xd7a3, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb28}, - {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, - {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, {0xfe00, 0xfe0f}, {0xfe20, 0xfe2f}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {0xff10, 0xff19}, {0xff21, 0xff3a}, - {0xff41, 0xff5a}, {0xff66, 0xffbe}, {0xffc2, 0xffc7}, {0xffca, 0xffcf}, {0xffd2, 0xffd7}, {0xffda, 0xffdc}, {0x10000, 0x1000b}, {0x1000d, 0x10026}, - {0x10028, 0x1003a}, {0x1003c, 0x1003d}, {0x1003f, 0x1004d}, {0x10050, 0x1005d}, {0x10080, 0x100fa}, {0x10107, 0x10133}, {0x10140, 0x10178}, {0x1018a, 0x1018b}, - {0x101fd, 0x101fd}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x102e0, 0x102fb}, {0x10300, 0x10323}, {0x1032d, 0x1034a}, {0x10350, 0x1037a}, {0x10380, 0x1039d}, - {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104a0, 0x104a9}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, - {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, - {0x105bb, 0x105bc}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, - {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10858, 0x10876}, {0x10879, 0x1089e}, {0x108a7, 0x108af}, - {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x108fb, 0x1091b}, + {0x3400, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, {0xa640, 0xa672}, {0xa674, 0xa67d}, {0xa67f, 0xa6f1}, + {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7cd}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7dc}, {0xa7f2, 0xa827}, {0xa82c, 0xa82c}, + {0xa830, 0xa835}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa92d}, {0xa930, 0xa953}, + {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, {0xaa40, 0xaa4d}, {0xaa50, 0xaa59}, {0xaa60, 0xaa76}, + {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, {0xab20, 0xab26}, + {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabea}, {0xabec, 0xabed}, {0xabf0, 0xabf9}, {0xac00, 0xd7a3}, {0xd7b0, 0xd7c6}, + {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb28}, {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, + {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, + {0xfe00, 0xfe0f}, {0xfe20, 0xfe2f}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {0xff10, 0xff19}, {0xff21, 0xff3a}, {0xff41, 0xff5a}, {0xff66, 0xffbe}, + {0xffc2, 0xffc7}, {0xffca, 0xffcf}, {0xffd2, 0xffd7}, {0xffda, 0xffdc}, {0x10000, 0x1000b}, {0x1000d, 0x10026}, {0x10028, 0x1003a}, {0x1003c, 0x1003d}, + {0x1003f, 0x1004d}, {0x10050, 0x1005d}, {0x10080, 0x100fa}, {0x10107, 0x10133}, {0x10140, 0x10178}, {0x1018a, 0x1018b}, {0x101fd, 0x101fd}, {0x10280, 0x1029c}, + {0x102a0, 0x102d0}, {0x102e0, 0x102fb}, {0x10300, 0x10323}, {0x1032d, 0x1034a}, {0x10350, 0x1037a}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, + {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104a0, 0x104a9}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, + {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x105c0, 0x105f3}, + {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, + {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10858, 0x10876}, {0x10879, 0x1089e}, {0x108a7, 0x108af}, {0x108e0, 0x108f2}, + {0x108f4, 0x108f5}, {0x108fb, 0x1091b}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109bc, 0x109cf}, {0x109d2, 0x10a03}, {0x10a05, 0x10a06}, {0x10a0c, 0x10a13}, + {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, {0x10a38, 0x10a3a}, {0x10a3f, 0x10a48}, {0x10a60, 0x10a7e}, {0x10a80, 0x10a9f}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae6}, + {0x10aeb, 0x10aef}, {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b58, 0x10b72}, {0x10b78, 0x10b91}, {0x10ba9, 0x10baf}, {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, + {0x10cc0, 0x10cf2}, {0x10cfa, 0x10d27}, {0x10d30, 0x10d39}, {0x10d40, 0x10d65}, {0x10d69, 0x10d6d}, {0x10d6f, 0x10d85}, {0x10e60, 0x10e7e}, {0x10e80, 0x10ea9}, + {0x10eab, 0x10eac}, {0x10eb0, 0x10eb1}, {0x10ec2, 0x10ec4}, {0x10efc, 0x10f27}, {0x10f30, 0x10f54}, {0x10f70, 0x10f85}, {0x10fb0, 0x10fcb}, {0x10fe0, 0x10ff6}, + {0x11000, 0x11046}, {0x11052, 0x11075}, {0x1107f, 0x110ba}, {0x110c2, 0x110c2}, {0x110d0, 0x110e8}, {0x110f0, 0x110f9}, {0x11100, 0x11134}, {0x11136, 0x1113f}, + {0x11144, 0x11147}, {0x11150, 0x11173}, {0x11176, 0x11176}, {0x11180, 0x111c4}, {0x111c9, 0x111cc}, {0x111ce, 0x111da}, {0x111dc, 0x111dc}, {0x111e1, 0x111f4}, + {0x11200, 0x11211}, {0x11213, 0x11237}, {0x1123e, 0x11241}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, {0x1128f, 0x1129d}, {0x1129f, 0x112a8}, + {0x112b0, 0x112ea}, {0x112f0, 0x112f9}, {0x11300, 0x11303}, {0x11305, 0x1130c}, {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, {0x11332, 0x11333}, + {0x11335, 0x11339}, {0x1133b, 0x11344}, {0x11347, 0x11348}, {0x1134b, 0x1134d}, {0x11350, 0x11350}, {0x11357, 0x11357}, {0x1135d, 0x11363}, {0x11366, 0x1136c}, + {0x11370, 0x11374}, {0x11380, 0x11389}, {0x1138b, 0x1138b}, {0x1138e, 0x1138e}, {0x11390, 0x113b5}, {0x113b7, 0x113c0}, {0x113c2, 0x113c2}, {0x113c5, 0x113c5}, + {0x113c7, 0x113ca}, {0x113cc, 0x113d3}, {0x113e1, 0x113e2}, {0x11400, 0x1144a}, {0x11450, 0x11459}, {0x1145e, 0x11461}, {0x11480, 0x114c5}, {0x114c7, 0x114c7}, + {0x114d0, 0x114d9}, {0x11580, 0x115b5}, {0x115b8, 0x115c0}, {0x115d8, 0x115dd}, {0x11600, 0x11640}, {0x11644, 0x11644}, {0x11650, 0x11659}, {0x11680, 0x116b8}, + {0x116c0, 0x116c9}, {0x116d0, 0x116e3}, {0x11700, 0x1171a}, {0x1171d, 0x1172b}, {0x11730, 0x1173b}, {0x11740, 0x11746}, {0x11800, 0x1183a}, {0x118a0, 0x118f2}, + {0x118ff, 0x11906}, {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, {0x11918, 0x11935}, {0x11937, 0x11938}, {0x1193b, 0x11943}, {0x11950, 0x11959}, + {0x119a0, 0x119a7}, {0x119aa, 0x119d7}, {0x119da, 0x119e1}, {0x119e3, 0x119e4}, {0x11a00, 0x11a3e}, {0x11a47, 0x11a47}, {0x11a50, 0x11a99}, {0x11a9d, 0x11a9d}, + {0x11ab0, 0x11af8}, {0x11bc0, 0x11be0}, {0x11bf0, 0x11bf9}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c36}, {0x11c38, 0x11c40}, {0x11c50, 0x11c6c}, {0x11c72, 0x11c8f}, + {0x11c92, 0x11ca7}, {0x11ca9, 0x11cb6}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d36}, {0x11d3a, 0x11d3a}, {0x11d3c, 0x11d3d}, {0x11d3f, 0x11d47}, + {0x11d50, 0x11d59}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d8e}, {0x11d90, 0x11d91}, {0x11d93, 0x11d98}, {0x11da0, 0x11da9}, {0x11ee0, 0x11ef6}, + {0x11f00, 0x11f10}, {0x11f12, 0x11f3a}, {0x11f3e, 0x11f42}, {0x11f50, 0x11f5a}, {0x11fb0, 0x11fb0}, {0x11fc0, 0x11fd4}, {0x12000, 0x12399}, {0x12400, 0x1246e}, + {0x12480, 0x12543}, {0x12f90, 0x12ff0}, {0x13000, 0x1342f}, {0x13440, 0x13455}, {0x13460, 0x143fa}, {0x14400, 0x14646}, {0x16100, 0x16139}, {0x16800, 0x16a38}, + {0x16a40, 0x16a5e}, {0x16a60, 0x16a69}, {0x16a70, 0x16abe}, {0x16ac0, 0x16ac9}, {0x16ad0, 0x16aed}, {0x16af0, 0x16af4}, {0x16b00, 0x16b36}, {0x16b40, 0x16b43}, + {0x16b50, 0x16b59}, {0x16b5b, 0x16b61}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16d40, 0x16d6c}, {0x16d70, 0x16d79}, {0x16e40, 0x16e96}, {0x16f00, 0x16f4a}, + {0x16f4f, 0x16f87}, {0x16f8f, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe4}, {0x16ff0, 0x16ff1}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, {0x18cff, 0x18d08}, + {0x1aff0, 0x1aff3}, {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, + {0x1b170, 0x1b2fb}, {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1bc9d, 0x1bc9e}, {0x1ccf0, 0x1ccf9}, {0x1cf00, 0x1cf2d}, + {0x1cf30, 0x1cf46}, {0x1d165, 0x1d169}, {0x1d16d, 0x1d172}, {0x1d17b, 0x1d182}, {0x1d185, 0x1d18b}, {0x1d1aa, 0x1d1ad}, {0x1d242, 0x1d244}, {0x1d2c0, 0x1d2d3}, + {0x1d2e0, 0x1d2f3}, {0x1d360, 0x1d378}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, + {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, + {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, + {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, + {0x1d7ce, 0x1d7ff}, {0x1da00, 0x1da36}, {0x1da3b, 0x1da6c}, {0x1da75, 0x1da75}, {0x1da84, 0x1da84}, {0x1da9b, 0x1da9f}, {0x1daa1, 0x1daaf}, {0x1df00, 0x1df1e}, + {0x1df25, 0x1df2a}, {0x1e000, 0x1e006}, {0x1e008, 0x1e018}, {0x1e01b, 0x1e021}, {0x1e023, 0x1e024}, {0x1e026, 0x1e02a}, {0x1e030, 0x1e06d}, {0x1e08f, 0x1e08f}, + {0x1e100, 0x1e12c}, {0x1e130, 0x1e13d}, {0x1e140, 0x1e149}, {0x1e14e, 0x1e14e}, {0x1e290, 0x1e2ae}, {0x1e2c0, 0x1e2f9}, {0x1e4d0, 0x1e4f9}, {0x1e5d0, 0x1e5fa}, + {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, {0x1e800, 0x1e8c4}, {0x1e8c7, 0x1e8d6}, {0x1e900, 0x1e94b}, {0x1e950, 0x1e959}, + {0x1ec71, 0x1ecab}, {0x1ecad, 0x1ecaf}, {0x1ecb1, 0x1ecb4}, {0x1ed01, 0x1ed2d}, {0x1ed2f, 0x1ed3d}, {0x1ee00, 0x1ee03}, {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, + {0x1ee24, 0x1ee24}, {0x1ee27, 0x1ee27}, {0x1ee29, 0x1ee32}, {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, + {0x1ee49, 0x1ee49}, {0x1ee4b, 0x1ee4b}, {0x1ee4d, 0x1ee4f}, {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, + {0x1ee5d, 0x1ee5d}, {0x1ee5f, 0x1ee5f}, {0x1ee61, 0x1ee62}, {0x1ee64, 0x1ee64}, {0x1ee67, 0x1ee6a}, {0x1ee6c, 0x1ee72}, {0x1ee74, 0x1ee77}, {0x1ee79, 0x1ee7c}, + {0x1ee7e, 0x1ee7e}, {0x1ee80, 0x1ee89}, {0x1ee8b, 0x1ee9b}, {0x1eea1, 0x1eea3}, {0x1eea5, 0x1eea9}, {0x1eeab, 0x1eebb}, {0x1f100, 0x1f10c}, {0x1fbf0, 0x1fbf9}, + {0x20000, 0x2a6df}, {0x2a700, 0x2b739}, {0x2b740, 0x2b81d}, {0x2b820, 0x2cea1}, {0x2ceb0, 0x2ebe0}, {0x2ebf0, 0x2ee5d}, {0x2f800, 0x2fa1d}, {0x30000, 0x3134a}, + {0x31350, 0x323af}, {0xe0100, 0xe01ef}, }; -static TSCharacterRange sym___identifier_char_no_digit_sign_character_set_1[] = { - {'!', '!'}, {'#', '\''}, {'*', '*'}, {'.', '.'}, {':', ':'}, {'?', 'Z'}, {'^', '_'}, {'a', 'z'}, +static const TSCharacterRange sym___identifier_char_no_digit_character_set_1[] = { + {'!', '!'}, {'#', '\''}, {'*', '+'}, {'-', '.'}, {':', ':'}, {'?', 'Z'}, {'^', '_'}, {'a', 'z'}, {'|', '|'}, {'~', '~'}, {0xaa, 0xaa}, {0xb2, 0xb3}, {0xb5, 0xb5}, {0xb9, 0xba}, {0xbc, 0xbe}, {0xc0, 0xd6}, {0xd8, 0xf6}, {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x300, 0x374}, {0x376, 0x377}, {0x37a, 0x37d}, {0x37f, 0x37f}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, {0x3a3, 0x3f5}, {0x3f7, 0x481}, {0x483, 0x52f}, {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x591, 0x5bd}, {0x5bf, 0x5bf}, {0x5c1, 0x5c2}, {0x5c4, 0x5c5}, {0x5c7, 0x5c7}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x610, 0x61a}, {0x620, 0x669}, {0x66e, 0x6d3}, {0x6d5, 0x6dc}, {0x6df, 0x6e8}, {0x6ea, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x74a}, {0x74d, 0x7b1}, {0x7c0, 0x7f5}, {0x7fa, 0x7fa}, {0x7fd, 0x7fd}, {0x800, 0x82d}, - {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x898, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, {0x971, 0x983}, + {0x840, 0x85b}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x897, 0x8e1}, {0x8e3, 0x963}, {0x966, 0x96f}, {0x971, 0x983}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, {0x9bc, 0x9c4}, {0x9c7, 0x9c8}, {0x9cb, 0x9ce}, {0x9d7, 0x9d7}, {0x9dc, 0x9dd}, {0x9df, 0x9e3}, {0x9e6, 0x9f1}, {0x9f4, 0x9f9}, {0x9fc, 0x9fc}, {0x9fe, 0x9fe}, {0xa01, 0xa03}, {0xa05, 0xa0a}, {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, @@ -1595,7 +1607,7 @@ static TSCharacterRange sym___identifier_char_no_digit_sign_character_set_1[] = {0x17f0, 0x17f9}, {0x180b, 0x180d}, {0x180f, 0x1819}, {0x1820, 0x1878}, {0x1880, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1920, 0x192b}, {0x1930, 0x193b}, {0x1946, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x19d0, 0x19da}, {0x1a00, 0x1a1b}, {0x1a20, 0x1a5e}, {0x1a60, 0x1a7c}, {0x1a7f, 0x1a89}, {0x1a90, 0x1a99}, {0x1aa7, 0x1aa7}, {0x1ab0, 0x1ace}, {0x1b00, 0x1b4c}, {0x1b50, 0x1b59}, {0x1b6b, 0x1b73}, - {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c88}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, + {0x1b80, 0x1bf3}, {0x1c00, 0x1c37}, {0x1c40, 0x1c49}, {0x1c4d, 0x1c7d}, {0x1c80, 0x1c8a}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1cd0, 0x1cd2}, {0x1cd4, 0x1cfa}, {0x1d00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2070, 0x2071}, {0x2074, 0x2079}, {0x207f, 0x2089}, {0x2090, 0x209c}, @@ -1606,23 +1618,64 @@ static TSCharacterRange sym___identifier_char_no_digit_sign_character_set_1[] = {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x2de0, 0x2dff}, {0x2e2f, 0x2e2f}, {0x3005, 0x3007}, {0x3021, 0x302f}, {0x3031, 0x3035}, {0x3038, 0x303c}, {0x3041, 0x3096}, {0x3099, 0x309a}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, {0x3105, 0x312f}, {0x3131, 0x318e}, {0x3192, 0x3195}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3220, 0x3229}, {0x3248, 0x324f}, {0x3251, 0x325f}, {0x3280, 0x3289}, {0x32b1, 0x32bf}, - {0x3400, 0x3400}, {0x4dbf, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, {0xa640, 0xa672}, {0xa674, 0xa67d}, - {0xa67f, 0xa6f1}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7ca}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7d9}, {0xa7f2, 0xa827}, - {0xa82c, 0xa82c}, {0xa830, 0xa835}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa92d}, - {0xa930, 0xa953}, {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, {0xaa40, 0xaa4d}, {0xaa50, 0xaa59}, - {0xaa60, 0xaa76}, {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, - {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabea}, {0xabec, 0xabed}, {0xabf0, 0xabf9}, {0xac00, 0xac00}, - {0xd7a3, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb28}, - {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, - {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, {0xfe00, 0xfe0f}, {0xfe20, 0xfe2f}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {0xff10, 0xff19}, {0xff21, 0xff3a}, - {0xff41, 0xff5a}, {0xff66, 0xffbe}, {0xffc2, 0xffc7}, {0xffca, 0xffcf}, {0xffd2, 0xffd7}, {0xffda, 0xffdc}, {0x10000, 0x1000b}, {0x1000d, 0x10026}, - {0x10028, 0x1003a}, {0x1003c, 0x1003d}, {0x1003f, 0x1004d}, {0x10050, 0x1005d}, {0x10080, 0x100fa}, {0x10107, 0x10133}, {0x10140, 0x10178}, {0x1018a, 0x1018b}, - {0x101fd, 0x101fd}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x102e0, 0x102fb}, {0x10300, 0x10323}, {0x1032d, 0x1034a}, {0x10350, 0x1037a}, {0x10380, 0x1039d}, - {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104a0, 0x104a9}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, - {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, - {0x105bb, 0x105bc}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, - {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10858, 0x10876}, {0x10879, 0x1089e}, {0x108a7, 0x108af}, - {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x108fb, 0x1091b}, + {0x3400, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa62b}, {0xa640, 0xa672}, {0xa674, 0xa67d}, {0xa67f, 0xa6f1}, + {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7cd}, {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7dc}, {0xa7f2, 0xa827}, {0xa82c, 0xa82c}, + {0xa830, 0xa835}, {0xa840, 0xa873}, {0xa880, 0xa8c5}, {0xa8d0, 0xa8d9}, {0xa8e0, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa92d}, {0xa930, 0xa953}, + {0xa960, 0xa97c}, {0xa980, 0xa9c0}, {0xa9cf, 0xa9d9}, {0xa9e0, 0xa9fe}, {0xaa00, 0xaa36}, {0xaa40, 0xaa4d}, {0xaa50, 0xaa59}, {0xaa60, 0xaa76}, + {0xaa7a, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaef}, {0xaaf2, 0xaaf6}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, {0xab20, 0xab26}, + {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, {0xab70, 0xabea}, {0xabec, 0xabed}, {0xabf0, 0xabf9}, {0xac00, 0xd7a3}, {0xd7b0, 0xd7c6}, + {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, {0xfb1d, 0xfb28}, {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, + {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, + {0xfe00, 0xfe0f}, {0xfe20, 0xfe2f}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {0xff10, 0xff19}, {0xff21, 0xff3a}, {0xff41, 0xff5a}, {0xff66, 0xffbe}, + {0xffc2, 0xffc7}, {0xffca, 0xffcf}, {0xffd2, 0xffd7}, {0xffda, 0xffdc}, {0x10000, 0x1000b}, {0x1000d, 0x10026}, {0x10028, 0x1003a}, {0x1003c, 0x1003d}, + {0x1003f, 0x1004d}, {0x10050, 0x1005d}, {0x10080, 0x100fa}, {0x10107, 0x10133}, {0x10140, 0x10178}, {0x1018a, 0x1018b}, {0x101fd, 0x101fd}, {0x10280, 0x1029c}, + {0x102a0, 0x102d0}, {0x102e0, 0x102fb}, {0x10300, 0x10323}, {0x1032d, 0x1034a}, {0x10350, 0x1037a}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, + {0x103d1, 0x103d5}, {0x10400, 0x1049d}, {0x104a0, 0x104a9}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, + {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x105c0, 0x105f3}, + {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, + {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10858, 0x10876}, {0x10879, 0x1089e}, {0x108a7, 0x108af}, {0x108e0, 0x108f2}, + {0x108f4, 0x108f5}, {0x108fb, 0x1091b}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109bc, 0x109cf}, {0x109d2, 0x10a03}, {0x10a05, 0x10a06}, {0x10a0c, 0x10a13}, + {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, {0x10a38, 0x10a3a}, {0x10a3f, 0x10a48}, {0x10a60, 0x10a7e}, {0x10a80, 0x10a9f}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae6}, + {0x10aeb, 0x10aef}, {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b58, 0x10b72}, {0x10b78, 0x10b91}, {0x10ba9, 0x10baf}, {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, + {0x10cc0, 0x10cf2}, {0x10cfa, 0x10d27}, {0x10d30, 0x10d39}, {0x10d40, 0x10d65}, {0x10d69, 0x10d6d}, {0x10d6f, 0x10d85}, {0x10e60, 0x10e7e}, {0x10e80, 0x10ea9}, + {0x10eab, 0x10eac}, {0x10eb0, 0x10eb1}, {0x10ec2, 0x10ec4}, {0x10efc, 0x10f27}, {0x10f30, 0x10f54}, {0x10f70, 0x10f85}, {0x10fb0, 0x10fcb}, {0x10fe0, 0x10ff6}, + {0x11000, 0x11046}, {0x11052, 0x11075}, {0x1107f, 0x110ba}, {0x110c2, 0x110c2}, {0x110d0, 0x110e8}, {0x110f0, 0x110f9}, {0x11100, 0x11134}, {0x11136, 0x1113f}, + {0x11144, 0x11147}, {0x11150, 0x11173}, {0x11176, 0x11176}, {0x11180, 0x111c4}, {0x111c9, 0x111cc}, {0x111ce, 0x111da}, {0x111dc, 0x111dc}, {0x111e1, 0x111f4}, + {0x11200, 0x11211}, {0x11213, 0x11237}, {0x1123e, 0x11241}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, {0x1128f, 0x1129d}, {0x1129f, 0x112a8}, + {0x112b0, 0x112ea}, {0x112f0, 0x112f9}, {0x11300, 0x11303}, {0x11305, 0x1130c}, {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, {0x11332, 0x11333}, + {0x11335, 0x11339}, {0x1133b, 0x11344}, {0x11347, 0x11348}, {0x1134b, 0x1134d}, {0x11350, 0x11350}, {0x11357, 0x11357}, {0x1135d, 0x11363}, {0x11366, 0x1136c}, + {0x11370, 0x11374}, {0x11380, 0x11389}, {0x1138b, 0x1138b}, {0x1138e, 0x1138e}, {0x11390, 0x113b5}, {0x113b7, 0x113c0}, {0x113c2, 0x113c2}, {0x113c5, 0x113c5}, + {0x113c7, 0x113ca}, {0x113cc, 0x113d3}, {0x113e1, 0x113e2}, {0x11400, 0x1144a}, {0x11450, 0x11459}, {0x1145e, 0x11461}, {0x11480, 0x114c5}, {0x114c7, 0x114c7}, + {0x114d0, 0x114d9}, {0x11580, 0x115b5}, {0x115b8, 0x115c0}, {0x115d8, 0x115dd}, {0x11600, 0x11640}, {0x11644, 0x11644}, {0x11650, 0x11659}, {0x11680, 0x116b8}, + {0x116c0, 0x116c9}, {0x116d0, 0x116e3}, {0x11700, 0x1171a}, {0x1171d, 0x1172b}, {0x11730, 0x1173b}, {0x11740, 0x11746}, {0x11800, 0x1183a}, {0x118a0, 0x118f2}, + {0x118ff, 0x11906}, {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, {0x11918, 0x11935}, {0x11937, 0x11938}, {0x1193b, 0x11943}, {0x11950, 0x11959}, + {0x119a0, 0x119a7}, {0x119aa, 0x119d7}, {0x119da, 0x119e1}, {0x119e3, 0x119e4}, {0x11a00, 0x11a3e}, {0x11a47, 0x11a47}, {0x11a50, 0x11a99}, {0x11a9d, 0x11a9d}, + {0x11ab0, 0x11af8}, {0x11bc0, 0x11be0}, {0x11bf0, 0x11bf9}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c36}, {0x11c38, 0x11c40}, {0x11c50, 0x11c6c}, {0x11c72, 0x11c8f}, + {0x11c92, 0x11ca7}, {0x11ca9, 0x11cb6}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d36}, {0x11d3a, 0x11d3a}, {0x11d3c, 0x11d3d}, {0x11d3f, 0x11d47}, + {0x11d50, 0x11d59}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d8e}, {0x11d90, 0x11d91}, {0x11d93, 0x11d98}, {0x11da0, 0x11da9}, {0x11ee0, 0x11ef6}, + {0x11f00, 0x11f10}, {0x11f12, 0x11f3a}, {0x11f3e, 0x11f42}, {0x11f50, 0x11f5a}, {0x11fb0, 0x11fb0}, {0x11fc0, 0x11fd4}, {0x12000, 0x12399}, {0x12400, 0x1246e}, + {0x12480, 0x12543}, {0x12f90, 0x12ff0}, {0x13000, 0x1342f}, {0x13440, 0x13455}, {0x13460, 0x143fa}, {0x14400, 0x14646}, {0x16100, 0x16139}, {0x16800, 0x16a38}, + {0x16a40, 0x16a5e}, {0x16a60, 0x16a69}, {0x16a70, 0x16abe}, {0x16ac0, 0x16ac9}, {0x16ad0, 0x16aed}, {0x16af0, 0x16af4}, {0x16b00, 0x16b36}, {0x16b40, 0x16b43}, + {0x16b50, 0x16b59}, {0x16b5b, 0x16b61}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16d40, 0x16d6c}, {0x16d70, 0x16d79}, {0x16e40, 0x16e96}, {0x16f00, 0x16f4a}, + {0x16f4f, 0x16f87}, {0x16f8f, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe4}, {0x16ff0, 0x16ff1}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, {0x18cff, 0x18d08}, + {0x1aff0, 0x1aff3}, {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, + {0x1b170, 0x1b2fb}, {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1bc9d, 0x1bc9e}, {0x1ccf0, 0x1ccf9}, {0x1cf00, 0x1cf2d}, + {0x1cf30, 0x1cf46}, {0x1d165, 0x1d169}, {0x1d16d, 0x1d172}, {0x1d17b, 0x1d182}, {0x1d185, 0x1d18b}, {0x1d1aa, 0x1d1ad}, {0x1d242, 0x1d244}, {0x1d2c0, 0x1d2d3}, + {0x1d2e0, 0x1d2f3}, {0x1d360, 0x1d378}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, + {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, + {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, + {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, + {0x1d7ce, 0x1d7ff}, {0x1da00, 0x1da36}, {0x1da3b, 0x1da6c}, {0x1da75, 0x1da75}, {0x1da84, 0x1da84}, {0x1da9b, 0x1da9f}, {0x1daa1, 0x1daaf}, {0x1df00, 0x1df1e}, + {0x1df25, 0x1df2a}, {0x1e000, 0x1e006}, {0x1e008, 0x1e018}, {0x1e01b, 0x1e021}, {0x1e023, 0x1e024}, {0x1e026, 0x1e02a}, {0x1e030, 0x1e06d}, {0x1e08f, 0x1e08f}, + {0x1e100, 0x1e12c}, {0x1e130, 0x1e13d}, {0x1e140, 0x1e149}, {0x1e14e, 0x1e14e}, {0x1e290, 0x1e2ae}, {0x1e2c0, 0x1e2f9}, {0x1e4d0, 0x1e4f9}, {0x1e5d0, 0x1e5fa}, + {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, {0x1e800, 0x1e8c4}, {0x1e8c7, 0x1e8d6}, {0x1e900, 0x1e94b}, {0x1e950, 0x1e959}, + {0x1ec71, 0x1ecab}, {0x1ecad, 0x1ecaf}, {0x1ecb1, 0x1ecb4}, {0x1ed01, 0x1ed2d}, {0x1ed2f, 0x1ed3d}, {0x1ee00, 0x1ee03}, {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, + {0x1ee24, 0x1ee24}, {0x1ee27, 0x1ee27}, {0x1ee29, 0x1ee32}, {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, + {0x1ee49, 0x1ee49}, {0x1ee4b, 0x1ee4b}, {0x1ee4d, 0x1ee4f}, {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, + {0x1ee5d, 0x1ee5d}, {0x1ee5f, 0x1ee5f}, {0x1ee61, 0x1ee62}, {0x1ee64, 0x1ee64}, {0x1ee67, 0x1ee6a}, {0x1ee6c, 0x1ee72}, {0x1ee74, 0x1ee77}, {0x1ee79, 0x1ee7c}, + {0x1ee7e, 0x1ee7e}, {0x1ee80, 0x1ee89}, {0x1ee8b, 0x1ee9b}, {0x1eea1, 0x1eea3}, {0x1eea5, 0x1eea9}, {0x1eeab, 0x1eebb}, {0x1f100, 0x1f10c}, {0x1fbf0, 0x1fbf9}, + {0x20000, 0x2a6df}, {0x2a700, 0x2b739}, {0x2b740, 0x2b81d}, {0x2b820, 0x2cea1}, {0x2ceb0, 0x2ebe0}, {0x2ebf0, 0x2ee5d}, {0x2f800, 0x2fa1d}, {0x30000, 0x3134a}, + {0x31350, 0x323af}, {0xe0100, 0xe01ef}, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1842,13 +1895,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (0x1f93c <= lookahead && lookahead <= 0x1f945) || (0x1f947 <= lookahead && lookahead <= 0x1f9ff) || (0x1fa70 <= lookahead && lookahead <= 0x1fa7c) || - (0x1fa80 <= lookahead && lookahead <= 0x1fa88) || - (0x1fa90 <= lookahead && lookahead <= 0x1fabd) || - (0x1fabf <= lookahead && lookahead <= 0x1fac5) || - (0x1face <= lookahead && lookahead <= 0x1fadb) || - (0x1fae0 <= lookahead && lookahead <= 0x1fae8) || + (0x1fa80 <= lookahead && lookahead <= 0x1fa89) || + (0x1fa8f <= lookahead && lookahead <= 0x1fac6) || + (0x1face <= lookahead && lookahead <= 0x1fadc) || + (0x1fadf <= lookahead && lookahead <= 0x1fae9) || (0x1faf0 <= lookahead && lookahead <= 0x1faf8)) ADVANCE(25); - if (set_contains(sym___identifier_char_no_digit_sign_character_set_1, 499, lookahead)) ADVANCE(25); + if (set_contains(sym___identifier_char_no_digit_character_set_1, 826, lookahead)) ADVANCE(25); if (lookahead != 0) ADVANCE(32); END_STATE(); case 1: @@ -1877,7 +1929,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == 0x202f || lookahead == 0x205f || lookahead == 0x3000) ADVANCE(63); - if (set_contains(sym___identifier_char_no_digit_character_set_1, 499, lookahead)) ADVANCE(27); + if (set_contains(sym___identifier_char_no_digit_character_set_1, 826, lookahead)) ADVANCE(27); END_STATE(); case 2: ADVANCE_MAP( @@ -1903,7 +1955,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == 0x202f || lookahead == 0x205f || lookahead == 0x3000) ADVANCE(63); - if (set_contains(sym__identifier_char_character_set_1, 499, lookahead)) ADVANCE(26); + if (set_contains(sym__identifier_char_character_set_1, 826, lookahead)) ADVANCE(26); END_STATE(); case 3: ADVANCE_MAP( @@ -2106,7 +2158,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == 0x202f || lookahead == 0x205f || lookahead == 0x3000) ADVANCE(63); - if (set_contains(sym__normal_bare_identifier_character_set_2, 642, lookahead)) ADVANCE(25); + if (set_contains(sym__normal_bare_identifier_character_set_2, 968, lookahead)) ADVANCE(25); END_STATE(); case 20: ACCEPT_TOKEN(ts_builtin_sym_end); @@ -2125,7 +2177,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 25: ACCEPT_TOKEN(sym__normal_bare_identifier); - if (set_contains(sym__normal_bare_identifier_character_set_2, 642, lookahead)) ADVANCE(25); + if (set_contains(sym__normal_bare_identifier_character_set_2, 968, lookahead)) ADVANCE(25); END_STATE(); case 26: ACCEPT_TOKEN(sym__identifier_char); @@ -2173,28 +2225,28 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 37: ACCEPT_TOKEN(anon_sym_DOT); - if (set_contains(sym__normal_bare_identifier_character_set_2, 642, lookahead)) ADVANCE(25); + if (set_contains(sym__normal_bare_identifier_character_set_2, 968, lookahead)) ADVANCE(25); END_STATE(); case 38: ACCEPT_TOKEN(anon_sym_e); END_STATE(); case 39: ACCEPT_TOKEN(anon_sym_e); - if (set_contains(sym__normal_bare_identifier_character_set_2, 642, lookahead)) ADVANCE(25); + if (set_contains(sym__normal_bare_identifier_character_set_2, 968, lookahead)) ADVANCE(25); END_STATE(); case 40: ACCEPT_TOKEN(anon_sym_E); END_STATE(); case 41: ACCEPT_TOKEN(anon_sym_E); - if (set_contains(sym__normal_bare_identifier_character_set_2, 642, lookahead)) ADVANCE(25); + if (set_contains(sym__normal_bare_identifier_character_set_2, 968, lookahead)) ADVANCE(25); END_STATE(); case 42: ACCEPT_TOKEN(anon_sym__); END_STATE(); case 43: ACCEPT_TOKEN(anon_sym__); - if (set_contains(sym__normal_bare_identifier_character_set_2, 642, lookahead)) ADVANCE(25); + if (set_contains(sym__normal_bare_identifier_character_set_2, 968, lookahead)) ADVANCE(25); END_STATE(); case 44: ACCEPT_TOKEN(sym__digit); @@ -2890,19 +2942,19 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [24] = {.lex_state = 19, .external_lex_state = 2}, [25] = {.lex_state = 19, .external_lex_state = 2}, [26] = {.lex_state = 19, .external_lex_state = 2}, - [27] = {.lex_state = 19, .external_lex_state = 1}, + [27] = {.lex_state = 19, .external_lex_state = 2}, [28] = {.lex_state = 19, .external_lex_state = 2}, [29] = {.lex_state = 19, .external_lex_state = 2}, - [30] = {.lex_state = 19, .external_lex_state = 2}, + [30] = {.lex_state = 19, .external_lex_state = 1}, [31] = {.lex_state = 19, .external_lex_state = 2}, [32] = {.lex_state = 19, .external_lex_state = 2}, - [33] = {.lex_state = 19, .external_lex_state = 2}, - [34] = {.lex_state = 19, .external_lex_state = 1}, + [33] = {.lex_state = 19, .external_lex_state = 1}, + [34] = {.lex_state = 19, .external_lex_state = 2}, [35] = {.lex_state = 19, .external_lex_state = 2}, [36] = {.lex_state = 19, .external_lex_state = 2}, [37] = {.lex_state = 19, .external_lex_state = 2}, - [38] = {.lex_state = 19, .external_lex_state = 1}, - [39] = {.lex_state = 19, .external_lex_state = 1}, + [38] = {.lex_state = 19, .external_lex_state = 2}, + [39] = {.lex_state = 19, .external_lex_state = 2}, [40] = {.lex_state = 19, .external_lex_state = 2}, [41] = {.lex_state = 19, .external_lex_state = 2}, [42] = {.lex_state = 19, .external_lex_state = 2}, @@ -2910,27 +2962,27 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [44] = {.lex_state = 19, .external_lex_state = 2}, [45] = {.lex_state = 19, .external_lex_state = 2}, [46] = {.lex_state = 19, .external_lex_state = 2}, - [47] = {.lex_state = 19, .external_lex_state = 2}, + [47] = {.lex_state = 19, .external_lex_state = 1}, [48] = {.lex_state = 19, .external_lex_state = 2}, - [49] = {.lex_state = 19, .external_lex_state = 1}, - [50] = {.lex_state = 19, .external_lex_state = 2}, + [49] = {.lex_state = 19, .external_lex_state = 2}, + [50] = {.lex_state = 19, .external_lex_state = 1}, [51] = {.lex_state = 19, .external_lex_state = 2}, - [52] = {.lex_state = 19, .external_lex_state = 2}, + [52] = {.lex_state = 19, .external_lex_state = 1}, [53] = {.lex_state = 19, .external_lex_state = 1}, [54] = {.lex_state = 19, .external_lex_state = 2}, - [55] = {.lex_state = 19, .external_lex_state = 2}, - [56] = {.lex_state = 19, .external_lex_state = 1}, + [55] = {.lex_state = 19, .external_lex_state = 1}, + [56] = {.lex_state = 19, .external_lex_state = 2}, [57] = {.lex_state = 19, .external_lex_state = 1}, [58] = {.lex_state = 19, .external_lex_state = 1}, - [59] = {.lex_state = 19, .external_lex_state = 1}, - [60] = {.lex_state = 19, .external_lex_state = 2}, + [59] = {.lex_state = 19, .external_lex_state = 2}, + [60] = {.lex_state = 19, .external_lex_state = 1}, [61] = {.lex_state = 19, .external_lex_state = 1}, [62] = {.lex_state = 19, .external_lex_state = 3}, - [63] = {.lex_state = 19, .external_lex_state = 3}, + [63] = {.lex_state = 19, .external_lex_state = 2}, [64] = {.lex_state = 19, .external_lex_state = 3}, [65] = {.lex_state = 19, .external_lex_state = 3}, [66] = {.lex_state = 19, .external_lex_state = 3}, - [67] = {.lex_state = 19, .external_lex_state = 2}, + [67] = {.lex_state = 19, .external_lex_state = 3}, [68] = {.lex_state = 19, .external_lex_state = 3}, [69] = {.lex_state = 19, .external_lex_state = 3}, [70] = {.lex_state = 19, .external_lex_state = 3}, @@ -2944,9 +2996,9 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [78] = {.lex_state = 19, .external_lex_state = 2}, [79] = {.lex_state = 19, .external_lex_state = 2}, [80] = {.lex_state = 19, .external_lex_state = 3}, - [81] = {.lex_state = 3, .external_lex_state = 3}, - [82] = {.lex_state = 19, .external_lex_state = 3}, - [83] = {.lex_state = 19, .external_lex_state = 3}, + [81] = {.lex_state = 19, .external_lex_state = 3}, + [82] = {.lex_state = 3, .external_lex_state = 3}, + [83] = {.lex_state = 3, .external_lex_state = 3}, [84] = {.lex_state = 19, .external_lex_state = 3}, [85] = {.lex_state = 19, .external_lex_state = 3}, [86] = {.lex_state = 19, .external_lex_state = 3}, @@ -2957,19 +3009,19 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [91] = {.lex_state = 19, .external_lex_state = 3}, [92] = {.lex_state = 19, .external_lex_state = 3}, [93] = {.lex_state = 19, .external_lex_state = 3}, - [94] = {.lex_state = 19, .external_lex_state = 3}, + [94] = {.lex_state = 19, .external_lex_state = 2}, [95] = {.lex_state = 19, .external_lex_state = 3}, [96] = {.lex_state = 19, .external_lex_state = 3}, [97] = {.lex_state = 19, .external_lex_state = 3}, [98] = {.lex_state = 19, .external_lex_state = 3}, - [99] = {.lex_state = 3, .external_lex_state = 3}, - [100] = {.lex_state = 19, .external_lex_state = 2}, + [99] = {.lex_state = 19, .external_lex_state = 3}, + [100] = {.lex_state = 19, .external_lex_state = 3}, [101] = {.lex_state = 19, .external_lex_state = 3}, [102] = {.lex_state = 19, .external_lex_state = 3}, [103] = {.lex_state = 19, .external_lex_state = 3}, [104] = {.lex_state = 19, .external_lex_state = 3}, [105] = {.lex_state = 19, .external_lex_state = 3}, - [106] = {.lex_state = 19, .external_lex_state = 3}, + [106] = {.lex_state = 3, .external_lex_state = 3}, [107] = {.lex_state = 19, .external_lex_state = 3}, [108] = {.lex_state = 19, .external_lex_state = 3}, [109] = {.lex_state = 19, .external_lex_state = 3}, @@ -2982,7 +3034,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [116] = {.lex_state = 19, .external_lex_state = 3}, [117] = {.lex_state = 19, .external_lex_state = 3}, [118] = {.lex_state = 19, .external_lex_state = 3}, - [119] = {.lex_state = 3, .external_lex_state = 3}, + [119] = {.lex_state = 19, .external_lex_state = 3}, [120] = {.lex_state = 19, .external_lex_state = 3}, [121] = {.lex_state = 19, .external_lex_state = 2}, [122] = {.lex_state = 19, .external_lex_state = 2}, @@ -2992,17 +3044,17 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [126] = {.lex_state = 19, .external_lex_state = 2}, [127] = {.lex_state = 19, .external_lex_state = 2}, [128] = {.lex_state = 19, .external_lex_state = 2}, - [129] = {.lex_state = 19, .external_lex_state = 2}, - [130] = {.lex_state = 4, .external_lex_state = 3}, + [129] = {.lex_state = 4, .external_lex_state = 3}, + [130] = {.lex_state = 19, .external_lex_state = 2}, [131] = {.lex_state = 19, .external_lex_state = 2}, [132] = {.lex_state = 19, .external_lex_state = 2}, [133] = {.lex_state = 19, .external_lex_state = 2}, [134] = {.lex_state = 19, .external_lex_state = 2}, - [135] = {.lex_state = 3, .external_lex_state = 3}, + [135] = {.lex_state = 19, .external_lex_state = 2}, [136] = {.lex_state = 19, .external_lex_state = 2}, - [137] = {.lex_state = 19, .external_lex_state = 2}, - [138] = {.lex_state = 19, .external_lex_state = 2}, - [139] = {.lex_state = 19, .external_lex_state = 2}, + [137] = {.lex_state = 3, .external_lex_state = 3}, + [138] = {.lex_state = 4, .external_lex_state = 3}, + [139] = {.lex_state = 4, .external_lex_state = 3}, [140] = {.lex_state = 19, .external_lex_state = 2}, [141] = {.lex_state = 19, .external_lex_state = 2}, [142] = {.lex_state = 19, .external_lex_state = 2}, @@ -3010,14 +3062,14 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [144] = {.lex_state = 19, .external_lex_state = 2}, [145] = {.lex_state = 19, .external_lex_state = 2}, [146] = {.lex_state = 19, .external_lex_state = 2}, - [147] = {.lex_state = 4, .external_lex_state = 3}, + [147] = {.lex_state = 3, .external_lex_state = 3}, [148] = {.lex_state = 19, .external_lex_state = 2}, [149] = {.lex_state = 19, .external_lex_state = 2}, - [150] = {.lex_state = 19, .external_lex_state = 2}, - [151] = {.lex_state = 19, .external_lex_state = 2}, + [150] = {.lex_state = 4, .external_lex_state = 3}, + [151] = {.lex_state = 4, .external_lex_state = 3}, [152] = {.lex_state = 19, .external_lex_state = 2}, [153] = {.lex_state = 19, .external_lex_state = 2}, - [154] = {.lex_state = 3, .external_lex_state = 3}, + [154] = {.lex_state = 19, .external_lex_state = 2}, [155] = {.lex_state = 19, .external_lex_state = 2}, [156] = {.lex_state = 19, .external_lex_state = 2}, [157] = {.lex_state = 19, .external_lex_state = 2}, @@ -3027,39 +3079,39 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [161] = {.lex_state = 19, .external_lex_state = 2}, [162] = {.lex_state = 19, .external_lex_state = 2}, [163] = {.lex_state = 19, .external_lex_state = 2}, - [164] = {.lex_state = 4, .external_lex_state = 3}, - [165] = {.lex_state = 4, .external_lex_state = 3}, - [166] = {.lex_state = 4, .external_lex_state = 3}, + [164] = {.lex_state = 19, .external_lex_state = 2}, + [165] = {.lex_state = 19, .external_lex_state = 2}, + [166] = {.lex_state = 19, .external_lex_state = 2}, [167] = {.lex_state = 19, .external_lex_state = 2}, [168] = {.lex_state = 19, .external_lex_state = 2}, [169] = {.lex_state = 19, .external_lex_state = 2}, [170] = {.lex_state = 19, .external_lex_state = 2}, [171] = {.lex_state = 19, .external_lex_state = 2}, [172] = {.lex_state = 5, .external_lex_state = 3}, - [173] = {.lex_state = 5, .external_lex_state = 3}, - [174] = {.lex_state = 3, .external_lex_state = 3}, - [175] = {.lex_state = 6, .external_lex_state = 3}, - [176] = {.lex_state = 5, .external_lex_state = 3}, + [173] = {.lex_state = 19, .external_lex_state = 2}, + [174] = {.lex_state = 6, .external_lex_state = 3}, + [175] = {.lex_state = 5, .external_lex_state = 3}, + [176] = {.lex_state = 19, .external_lex_state = 2}, [177] = {.lex_state = 6, .external_lex_state = 3}, - [178] = {.lex_state = 6, .external_lex_state = 3}, - [179] = {.lex_state = 19, .external_lex_state = 2}, - [180] = {.lex_state = 3, .external_lex_state = 3}, + [178] = {.lex_state = 3, .external_lex_state = 3}, + [179] = {.lex_state = 3, .external_lex_state = 3}, + [180] = {.lex_state = 6, .external_lex_state = 3}, [181] = {.lex_state = 5, .external_lex_state = 3}, - [182] = {.lex_state = 5, .external_lex_state = 3}, - [183] = {.lex_state = 19, .external_lex_state = 2}, + [182] = {.lex_state = 19, .external_lex_state = 2}, + [183] = {.lex_state = 6, .external_lex_state = 3}, [184] = {.lex_state = 6, .external_lex_state = 3}, - [185] = {.lex_state = 6, .external_lex_state = 3}, - [186] = {.lex_state = 19, .external_lex_state = 2}, + [185] = {.lex_state = 5, .external_lex_state = 3}, + [186] = {.lex_state = 5, .external_lex_state = 3}, [187] = {.lex_state = 19, .external_lex_state = 3}, [188] = {.lex_state = 2, .external_lex_state = 3}, [189] = {.lex_state = 2, .external_lex_state = 3}, [190] = {.lex_state = 2, .external_lex_state = 3}, [191] = {.lex_state = 19, .external_lex_state = 3}, - [192] = {.lex_state = 1, .external_lex_state = 3}, + [192] = {.lex_state = 19, .external_lex_state = 3}, [193] = {.lex_state = 19, .external_lex_state = 3}, [194] = {.lex_state = 19, .external_lex_state = 3}, [195] = {.lex_state = 19, .external_lex_state = 3}, - [196] = {.lex_state = 19, .external_lex_state = 3}, + [196] = {.lex_state = 1, .external_lex_state = 3}, [197] = {.lex_state = 19, .external_lex_state = 3}, [198] = {.lex_state = 19, .external_lex_state = 3}, [199] = {.lex_state = 19, .external_lex_state = 3}, @@ -3122,55 +3174,55 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [256] = {.lex_state = 7, .external_lex_state = 3}, [257] = {.lex_state = 19, .external_lex_state = 2}, [258] = {.lex_state = 19, .external_lex_state = 2}, - [259] = {.lex_state = 7, .external_lex_state = 3}, - [260] = {.lex_state = 19, .external_lex_state = 2}, + [259] = {.lex_state = 19, .external_lex_state = 2}, + [260] = {.lex_state = 7, .external_lex_state = 3}, [261] = {.lex_state = 19, .external_lex_state = 4}, [262] = {.lex_state = 19, .external_lex_state = 4}, [263] = {.lex_state = 19, .external_lex_state = 4}, - [264] = {.lex_state = 1, .external_lex_state = 4}, - [265] = {.lex_state = 19, .external_lex_state = 4}, + [264] = {.lex_state = 19, .external_lex_state = 4}, + [265] = {.lex_state = 1, .external_lex_state = 4}, [266] = {.lex_state = 19, .external_lex_state = 4}, [267] = {.lex_state = 19, .external_lex_state = 4}, [268] = {.lex_state = 19, .external_lex_state = 4}, [269] = {.lex_state = 19, .external_lex_state = 4}, [270] = {.lex_state = 19, .external_lex_state = 4}, [271] = {.lex_state = 19, .external_lex_state = 4}, - [272] = {.lex_state = 19, .external_lex_state = 4}, - [273] = {.lex_state = 9, .external_lex_state = 4}, + [272] = {.lex_state = 2, .external_lex_state = 4}, + [273] = {.lex_state = 19, .external_lex_state = 4}, [274] = {.lex_state = 19, .external_lex_state = 4}, [275] = {.lex_state = 19, .external_lex_state = 4}, - [276] = {.lex_state = 19, .external_lex_state = 4}, - [277] = {.lex_state = 9, .external_lex_state = 4}, - [278] = {.lex_state = 2, .external_lex_state = 4}, - [279] = {.lex_state = 2, .external_lex_state = 4}, - [280] = {.lex_state = 9, .external_lex_state = 4}, - [281] = {.lex_state = 19, .external_lex_state = 4}, - [282] = {.lex_state = 9, .external_lex_state = 4}, + [276] = {.lex_state = 9, .external_lex_state = 4}, + [277] = {.lex_state = 2, .external_lex_state = 4}, + [278] = {.lex_state = 19, .external_lex_state = 4}, + [279] = {.lex_state = 9, .external_lex_state = 4}, + [280] = {.lex_state = 19, .external_lex_state = 4}, + [281] = {.lex_state = 9, .external_lex_state = 4}, + [282] = {.lex_state = 2, .external_lex_state = 4}, [283] = {.lex_state = 9, .external_lex_state = 4}, - [284] = {.lex_state = 2, .external_lex_state = 4}, + [284] = {.lex_state = 9, .external_lex_state = 4}, [285] = {.lex_state = 9, .external_lex_state = 4}, [286] = {.lex_state = 19, .external_lex_state = 4}, [287] = {.lex_state = 19, .external_lex_state = 4}, [288] = {.lex_state = 4, .external_lex_state = 4}, - [289] = {.lex_state = 4, .external_lex_state = 4}, - [290] = {.lex_state = 19, .external_lex_state = 4}, - [291] = {.lex_state = 19, .external_lex_state = 4}, - [292] = {.lex_state = 1, .external_lex_state = 4}, - [293] = {.lex_state = 19, .external_lex_state = 4}, + [289] = {.lex_state = 19, .external_lex_state = 4}, + [290] = {.lex_state = 1, .external_lex_state = 4}, + [291] = {.lex_state = 4, .external_lex_state = 4}, + [292] = {.lex_state = 19, .external_lex_state = 4}, + [293] = {.lex_state = 6, .external_lex_state = 4}, [294] = {.lex_state = 19, .external_lex_state = 4}, [295] = {.lex_state = 19, .external_lex_state = 4}, [296] = {.lex_state = 19, .external_lex_state = 4}, [297] = {.lex_state = 0, .external_lex_state = 4}, - [298] = {.lex_state = 6, .external_lex_state = 4}, - [299] = {.lex_state = 5, .external_lex_state = 4}, - [300] = {.lex_state = 5, .external_lex_state = 4}, - [301] = {.lex_state = 19, .external_lex_state = 4}, - [302] = {.lex_state = 6, .external_lex_state = 4}, + [298] = {.lex_state = 19, .external_lex_state = 4}, + [299] = {.lex_state = 19, .external_lex_state = 4}, + [300] = {.lex_state = 6, .external_lex_state = 4}, + [301] = {.lex_state = 5, .external_lex_state = 4}, + [302] = {.lex_state = 5, .external_lex_state = 4}, [303] = {.lex_state = 19, .external_lex_state = 4}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { - [0] = { + [STATE(0)] = { [ts_builtin_sym_end] = ACTIONS(1), [sym__normal_bare_identifier] = ACTIONS(1), [anon_sym_LBRACE] = ACTIONS(1), @@ -3178,7 +3230,6 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_SEMI] = ACTIONS(1), [sym__identifier_char] = ACTIONS(1), [sym___identifier_char_no_digit] = ACTIONS(1), - [sym___identifier_char_no_digit_sign] = ACTIONS(1), [anon_sym_null] = ACTIONS(1), [anon_sym_i8] = ACTIONS(1), [anon_sym_i16] = ACTIONS(1), @@ -3248,20 +3299,20 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_multi_line_comment] = ACTIONS(3), [sym__raw_string] = ACTIONS(1), }, - [1] = { + [STATE(1)] = { [sym_document] = STATE(297), - [sym_node] = STATE(17), - [sym_identifier] = STATE(71), - [sym__bare_identifier] = STATE(218), - [sym_type] = STATE(260), - [sym_string] = STATE(218), - [sym__escaped_string] = STATE(194), - [sym__sign] = STATE(192), - [sym__linespace] = STATE(45), - [sym__newline] = STATE(45), - [sym__ws] = STATE(45), - [sym_single_line_comment] = STATE(45), - [aux_sym_document_repeat1] = STATE(45), + [sym_node] = STATE(31), + [sym_identifier] = STATE(65), + [sym__bare_identifier] = STATE(207), + [sym_type] = STATE(258), + [sym_string] = STATE(207), + [sym__escaped_string] = STATE(191), + [sym__sign] = STATE(196), + [sym__linespace] = STATE(40), + [sym__newline] = STATE(40), + [sym__ws] = STATE(40), + [sym_single_line_comment] = STATE(40), + [aux_sym_document_repeat1] = STATE(40), [ts_builtin_sym_end] = ACTIONS(5), [sym__normal_bare_identifier] = ACTIONS(7), [anon_sym_SLASH_DASH] = ACTIONS(9), @@ -3314,29 +3365,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, STATE(79), 1, sym_type, - STATE(109), 1, + STATE(112), 1, sym_node_children, - STATE(154), 1, + STATE(137), 1, sym__integer, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -3344,27 +3395,27 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(152), 3, + STATE(142), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -3408,29 +3459,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, STATE(79), 1, sym_type, - STATE(118), 1, + STATE(97), 1, sym_node_children, - STATE(154), 1, + STATE(137), 1, sym__integer, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -3438,27 +3489,27 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(142), 3, + STATE(171), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -3502,29 +3553,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, STATE(79), 1, sym_type, - STATE(95), 1, + STATE(116), 1, sym_node_children, - STATE(154), 1, + STATE(137), 1, sym__integer, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -3532,27 +3583,27 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(171), 3, + STATE(135), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -3596,29 +3647,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, STATE(79), 1, sym_type, - STATE(85), 1, + STATE(88), 1, sym_node_children, - STATE(154), 1, + STATE(137), 1, sym__integer, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -3626,27 +3677,27 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(141), 3, + STATE(144), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -3690,29 +3741,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, STATE(79), 1, sym_type, - STATE(90), 1, + STATE(98), 1, sym_node_children, - STATE(154), 1, + STATE(137), 1, sym__integer, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -3720,27 +3771,27 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(162), 3, + STATE(133), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -3784,29 +3835,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, STATE(79), 1, sym_type, - STATE(80), 1, + STATE(92), 1, sym_node_children, - STATE(154), 1, + STATE(137), 1, sym__integer, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -3814,18 +3865,18 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, @@ -3834,7 +3885,7 @@ static const uint16_t ts_small_parse_table[] = { sym__node_terminator, sym__newline, sym_single_line_comment, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -3878,29 +3929,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, STATE(79), 1, sym_type, - STATE(108), 1, + STATE(105), 1, sym_node_children, - STATE(154), 1, + STATE(137), 1, sym__integer, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -3908,27 +3959,27 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(160), 3, + STATE(158), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -3952,17 +4003,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, ACTIONS(67), 1, sym__raw_string, - STATE(292), 1, + STATE(290), 1, sym__sign, - STATE(296), 1, + STATE(294), 1, sym__escaped_string, ACTIONS(65), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(290), 2, + STATE(287), 2, sym__bare_identifier, sym_string, - STATE(301), 2, + STATE(298), 2, sym_identifier, sym_annotation_type, ACTIONS(61), 37, @@ -4030,25 +4081,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_node_repeat1, STATE(79), 1, sym_type, - STATE(125), 1, + STATE(122), 1, sym__escline, - STATE(154), 1, + STATE(137), 1, sym__integer, - STATE(186), 1, + STATE(173), 1, sym__node_space, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, + STATE(194), 1, + sym_string, STATE(198), 1, sym_node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -4056,23 +4107,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(100), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(211), 2, - sym__node_field_comment, - sym__node_field, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, + STATE(222), 2, + sym__node_field_comment, + sym__node_field, ACTIONS(73), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -4104,25 +4155,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_node_repeat1, STATE(79), 1, sym_type, - STATE(125), 1, + STATE(122), 1, sym__escline, - STATE(154), 1, + STATE(137), 1, sym__integer, - STATE(186), 1, + STATE(173), 1, sym__node_space, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, - STATE(217), 1, - sym_boolean, - STATE(221), 1, + STATE(194), 1, + sym_string, + STATE(211), 1, sym__node_field, - STATE(264), 1, + STATE(213), 1, + sym_boolean, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -4130,20 +4181,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(100), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, ACTIONS(73), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -4175,25 +4226,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_node_repeat1, STATE(79), 1, sym_type, - STATE(125), 1, + STATE(122), 1, sym__escline, - STATE(154), 1, + STATE(137), 1, sym__integer, - STATE(186), 1, + STATE(173), 1, sym__node_space, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, - STATE(209), 1, + STATE(194), 1, + sym_string, + STATE(212), 1, sym__node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -4201,20 +4252,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(100), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, ACTIONS(73), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -4244,25 +4295,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_node_repeat1, STATE(79), 1, sym_type, - STATE(125), 1, + STATE(122), 1, sym__escline, - STATE(154), 1, + STATE(137), 1, sym__integer, - STATE(186), 1, + STATE(173), 1, sym__node_space, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, - STATE(217), 1, - sym_boolean, - STATE(221), 1, + STATE(194), 1, + sym_string, + STATE(211), 1, sym__node_field, - STATE(264), 1, + STATE(213), 1, + sym_boolean, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -4270,20 +4321,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(100), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, ACTIONS(73), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -4313,25 +4364,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_node_repeat1, STATE(79), 1, sym_type, - STATE(125), 1, + STATE(122), 1, sym__escline, - STATE(154), 1, + STATE(137), 1, sym__integer, - STATE(186), 1, + STATE(173), 1, sym__node_space, STATE(191), 1, - sym_string, - STATE(194), 1, sym__escaped_string, - STATE(209), 1, + STATE(194), 1, + sym_string, + STATE(212), 1, sym__node_field, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(264), 1, + STATE(265), 1, sym__sign, - STATE(290), 1, + STATE(287), 1, sym__bare_identifier, - STATE(295), 1, + STATE(296), 1, sym_identifier, ACTIONS(35), 2, anon_sym_PLUS, @@ -4339,20 +4390,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(43), 2, anon_sym_true, anon_sym_false, - STATE(100), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, - STATE(199), 2, + STATE(209), 2, sym_keyword, sym_number, - STATE(213), 2, + STATE(220), 2, sym_prop, sym_value, ACTIONS(73), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -4362,11 +4413,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(15), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(86), 3, @@ -4413,13 +4464,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(112), 1, sym__raw_string, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(89), 2, ts_builtin_sym_end, @@ -4430,7 +4481,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(54), 5, @@ -4464,25 +4515,25 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(21), 1, sym__raw_string, ACTIONS(115), 1, - ts_builtin_sym_end, - STATE(71), 1, + anon_sym_RBRACE, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(29), 2, + STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(43), 5, + STATE(32), 5, sym__linespace, sym__newline, sym__ws, @@ -4513,25 +4564,25 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(21), 1, sym__raw_string, ACTIONS(119), 1, - anon_sym_RBRACE, - STATE(71), 1, + ts_builtin_sym_end, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(20), 2, + STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(51), 5, + STATE(41), 5, sym__linespace, sym__newline, sym__ws, @@ -4562,25 +4613,25 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(21), 1, sym__raw_string, ACTIONS(123), 1, - ts_builtin_sym_end, - STATE(71), 1, + anon_sym_RBRACE, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(16), 2, + STATE(22), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(50), 5, + STATE(48), 5, sym__linespace, sym__newline, sym__ws, @@ -4610,32 +4661,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(127), 1, + ACTIONS(115), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(16), 2, + STATE(24), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(41), 5, + STATE(32), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(129), 10, + ACTIONS(117), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -4659,32 +4710,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(119), 1, - anon_sym_RBRACE, - STATE(71), 1, + ACTIONS(127), 1, + ts_builtin_sym_end, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(16), 2, + STATE(18), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(51), 5, + STATE(43), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(121), 10, + ACTIONS(129), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -4710,24 +4761,24 @@ static const uint16_t ts_small_parse_table[] = { sym__raw_string, ACTIONS(131), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(21), 2, + STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(47), 5, + STATE(35), 5, sym__linespace, sym__newline, sym__ws, @@ -4757,32 +4808,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(135), 1, + ACTIONS(131), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(31), 2, + STATE(26), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(32), 5, + STATE(35), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(137), 10, + ACTIONS(133), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -4806,32 +4857,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(139), 1, + ACTIONS(135), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(25), 2, + STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(40), 5, + STATE(42), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(141), 10, + ACTIONS(137), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -4855,32 +4906,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(143), 1, + ACTIONS(139), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(16), 2, + STATE(17), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(37), 5, + STATE(49), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(145), 10, + ACTIONS(141), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -4906,24 +4957,24 @@ static const uint16_t ts_small_parse_table[] = { sym__raw_string, ACTIONS(143), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(30), 2, + STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(37), 5, + STATE(44), 5, sym__linespace, sym__newline, sym__ws, @@ -4940,46 +4991,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2250] = 6, - ACTIONS(151), 1, - anon_sym_BSLASH, - STATE(39), 1, - sym__escline, - STATE(49), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(154), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(147), 5, - sym__normal_bare_identifier, - anon_sym_null, - sym__digit, - anon_sym_true, - anon_sym_false, - ACTIONS(149), 20, - sym__eof, - sym__raw_string, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_0x, - anon_sym_0o, - anon_sym_0b, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - anon_sym_SLASH_SLASH, - [2295] = 16, + [2250] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -4992,32 +5004,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(157), 1, - ts_builtin_sym_end, - STATE(71), 1, + ACTIONS(143), 1, + anon_sym_RBRACE, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(19), 2, + STATE(29), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(52), 5, + STATE(44), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(159), 10, + ACTIONS(145), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5028,7 +5040,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2360] = 16, + [2315] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5041,15 +5053,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(157), 1, + ACTIONS(127), 1, ts_builtin_sym_end, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, @@ -5057,16 +5069,16 @@ static const uint16_t ts_small_parse_table[] = { STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(52), 5, + STATE(43), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(159), 10, + ACTIONS(129), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5077,7 +5089,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2425] = 16, + [2380] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5090,15 +5102,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(161), 1, + ACTIONS(147), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, @@ -5106,7 +5118,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(16), 2, sym_node, aux_sym_document_repeat2, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(46), 5, @@ -5115,7 +5127,7 @@ static const uint16_t ts_small_parse_table[] = { sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(163), 10, + ACTIONS(149), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5126,46 +5138,37 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2490] = 16, - ACTIONS(7), 1, + [2445] = 6, + ACTIONS(155), 1, + anon_sym_BSLASH, + STATE(52), 1, + sym__escline, + STATE(53), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(158), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + ACTIONS(151), 5, sym__normal_bare_identifier, - ACTIONS(9), 1, + anon_sym_null, + sym__digit, + anon_sym_true, + anon_sym_false, + ACTIONS(153), 20, + sym__eof, + sym__raw_string, anon_sym_SLASH_DASH, - ACTIONS(11), 1, + anon_sym_LBRACE, + anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(13), 1, anon_sym_DQUOTE, - ACTIONS(19), 1, - anon_sym_SLASH_SLASH, - ACTIONS(21), 1, - sym__raw_string, - ACTIONS(139), 1, - anon_sym_RBRACE, - STATE(71), 1, - sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, - sym__escaped_string, - STATE(260), 1, - sym_type, - ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(16), 2, - sym_node, - aux_sym_document_repeat2, - STATE(218), 2, - sym__bare_identifier, - sym_string, - STATE(40), 5, - sym__linespace, - sym__newline, - sym__ws, - sym_single_line_comment, - aux_sym_document_repeat1, - ACTIONS(141), 10, - sym_multi_line_comment, + anon_sym_0x, + anon_sym_0o, + anon_sym_0b, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -5173,9 +5176,8 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - sym__bom, - sym__unicode_space, - [2555] = 16, + anon_sym_SLASH_SLASH, + [2490] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5188,31 +5190,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(139), 1, - anon_sym_RBRACE, - STATE(71), 1, + ACTIONS(161), 1, + ts_builtin_sym_end, + STATE(65), 1, sym_identifier, - STATE(153), 1, - sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(28), 2, + sym_node, + aux_sym_document_repeat2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(73), 5, + STATE(45), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(165), 10, + ACTIONS(163), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5223,7 +5226,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2619] = 16, + [2555] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5238,29 +5241,29 @@ static const uint16_t ts_small_parse_table[] = { sym__raw_string, ACTIONS(135), 1, anon_sym_RBRACE, - STATE(24), 1, - sym_node, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(159), 1, + sym_node, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(36), 5, + STATE(73), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(167), 10, + ACTIONS(165), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5271,21 +5274,21 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2683] = 4, + [2619] = 4, STATE(53), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(169), 3, + ACTIONS(171), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(147), 5, + ACTIONS(167), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(149), 21, + ACTIONS(169), 21, sym__eof, sym__raw_string, anon_sym_SLASH_DASH, @@ -5307,7 +5310,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token6, aux_sym__newline_token7, anon_sym_SLASH_SLASH, - [2723] = 16, + [2659] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5320,25 +5323,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(172), 1, + ACTIONS(131), 1, anon_sym_RBRACE, - STATE(22), 1, + STATE(27), 1, sym_node, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(44), 5, + STATE(77), 5, sym__linespace, sym__newline, sym__ws, @@ -5355,7 +5358,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2787] = 16, + [2723] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5368,31 +5371,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(139), 1, + ACTIONS(143), 1, anon_sym_RBRACE, - STATE(26), 1, - sym_node, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(159), 1, + sym_node, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(78), 5, + STATE(73), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(176), 10, + ACTIONS(165), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5403,7 +5406,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2851] = 16, + [2787] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5416,31 +5419,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(161), 1, + ACTIONS(123), 1, anon_sym_RBRACE, - STATE(71), 1, - sym_identifier, - STATE(153), 1, + STATE(23), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(65), 1, + sym_identifier, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(73), 5, + STATE(76), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(165), 10, + ACTIONS(176), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5451,70 +5454,45 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [2915] = 4, - STATE(49), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(182), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(178), 5, + [2851] = 16, + ACTIONS(7), 1, sym__normal_bare_identifier, - anon_sym_null, - sym__digit, - anon_sym_true, - anon_sym_false, - ACTIONS(180), 21, - sym__eof, - sym__raw_string, + ACTIONS(9), 1, anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, + ACTIONS(11), 1, anon_sym_LPAREN, + ACTIONS(13), 1, anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_0x, - anon_sym_0o, - anon_sym_0b, - anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, + ACTIONS(19), 1, anon_sym_SLASH_SLASH, - [2955] = 4, - STATE(38), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(189), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(185), 5, - sym__normal_bare_identifier, - anon_sym_null, - sym__digit, - anon_sym_true, - anon_sym_false, - ACTIONS(187), 21, - sym__eof, + ACTIONS(21), 1, sym__raw_string, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_DQUOTE, + ACTIONS(178), 1, + anon_sym_RBRACE, + STATE(19), 1, + sym_node, + STATE(65), 1, + sym_identifier, + STATE(191), 1, + sym__escaped_string, + STATE(196), 1, + sym__sign, + STATE(258), 1, + sym_type, + ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - anon_sym_0x, - anon_sym_0o, - anon_sym_0b, - anon_sym_BSLASH, + STATE(207), 2, + sym__bare_identifier, + sym_string, + STATE(36), 5, + sym__linespace, + sym__newline, + sym__ws, + sym_single_line_comment, + aux_sym_document_repeat1, + ACTIONS(180), 10, + sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -5522,8 +5500,9 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - anon_sym_SLASH_SLASH, - [2995] = 16, + sym__bom, + sym__unicode_space, + [2915] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5536,31 +5515,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(143), 1, + ACTIONS(123), 1, anon_sym_RBRACE, - STATE(71), 1, - sym_identifier, - STATE(153), 1, + STATE(23), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(65), 1, + sym_identifier, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(73), 5, + STATE(34), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(165), 10, + ACTIONS(182), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5571,7 +5550,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3059] = 16, + [2979] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5584,31 +5563,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(192), 1, + ACTIONS(139), 1, anon_sym_RBRACE, - STATE(71), 1, - sym_identifier, - STATE(153), 1, + STATE(20), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(65), 1, + sym_identifier, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(73), 5, + STATE(75), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(165), 10, + ACTIONS(184), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5619,7 +5598,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3123] = 16, + [3043] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5632,31 +5611,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(135), 1, - anon_sym_RBRACE, - STATE(24), 1, + ACTIONS(161), 1, + ts_builtin_sym_end, + STATE(21), 1, sym_node, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(76), 5, + STATE(78), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(194), 10, + ACTIONS(186), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5667,7 +5646,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3187] = 16, + [3107] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5680,22 +5659,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(157), 1, + ACTIONS(188), 1, ts_builtin_sym_end, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(153), 1, + STATE(159), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(73), 5, @@ -5715,7 +5694,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3251] = 16, + [3171] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5728,31 +5707,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(131), 1, + ACTIONS(190), 1, anon_sym_RBRACE, - STATE(18), 1, - sym_node, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(159), 1, + sym_node, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(75), 5, + STATE(73), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(196), 10, + ACTIONS(165), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5763,7 +5742,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3315] = 16, + [3235] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5776,31 +5755,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(115), 1, + ACTIONS(119), 1, ts_builtin_sym_end, - STATE(28), 1, - sym_node, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(159), 1, + sym_node, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(77), 5, + STATE(73), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(198), 10, + ACTIONS(165), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5811,7 +5790,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3379] = 16, + [3299] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5824,22 +5803,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(200), 1, + ACTIONS(147), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(153), 1, + STATE(159), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(73), 5, @@ -5859,7 +5838,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3443] = 16, + [3363] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5872,22 +5851,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(119), 1, - anon_sym_RBRACE, - STATE(71), 1, + ACTIONS(127), 1, + ts_builtin_sym_end, + STATE(65), 1, sym_identifier, - STATE(153), 1, + STATE(159), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(73), 5, @@ -5907,7 +5886,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3507] = 16, + [3427] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -5920,31 +5899,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(202), 1, + ACTIONS(192), 1, anon_sym_RBRACE, - STATE(23), 1, - sym_node, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(159), 1, + sym_node, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(42), 5, + STATE(73), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(204), 10, + ACTIONS(165), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -5955,21 +5934,21 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3571] = 4, - STATE(49), 2, + [3491] = 4, + STATE(50), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(210), 3, + ACTIONS(194), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(206), 5, + ACTIONS(151), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(208), 21, + ACTIONS(153), 21, sym__eof, sym__raw_string, anon_sym_SLASH_DASH, @@ -5991,7 +5970,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token6, aux_sym__newline_token7, anon_sym_SLASH_SLASH, - [3611] = 16, + [3531] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -6004,22 +5983,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(213), 1, - ts_builtin_sym_end, - STATE(71), 1, + ACTIONS(131), 1, + anon_sym_RBRACE, + STATE(65), 1, sym_identifier, - STATE(153), 1, + STATE(159), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(73), 5, @@ -6039,7 +6018,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3675] = 16, + [3595] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -6052,22 +6031,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(127), 1, + ACTIONS(115), 1, anon_sym_RBRACE, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(153), 1, + STATE(159), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(73), 5, @@ -6087,7 +6066,43 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, - [3739] = 16, + [3659] = 4, + STATE(53), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(201), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + ACTIONS(197), 5, + sym__normal_bare_identifier, + anon_sym_null, + sym__digit, + anon_sym_true, + anon_sym_false, + ACTIONS(199), 21, + sym__eof, + sym__raw_string, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_DQUOTE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_0x, + anon_sym_0o, + anon_sym_0b, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + anon_sym_SLASH_SLASH, + [3699] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(9), 1, @@ -6100,31 +6115,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - ACTIONS(123), 1, - ts_builtin_sym_end, - STATE(71), 1, - sym_identifier, - STATE(153), 1, + ACTIONS(204), 1, + anon_sym_RBRACE, + STATE(25), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(65), 1, + sym_identifier, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - STATE(73), 5, + STATE(39), 5, sym__linespace, sym__newline, sym__ws, sym_single_line_comment, aux_sym_document_repeat1, - ACTIONS(165), 10, + ACTIONS(206), 10, sym_multi_line_comment, aux_sym__newline_token1, aux_sym__newline_token2, @@ -6135,21 +6150,57 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token7, sym__bom, sym__unicode_space, + [3763] = 4, + STATE(33), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(208), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + ACTIONS(197), 5, + sym__normal_bare_identifier, + anon_sym_null, + sym__digit, + anon_sym_true, + anon_sym_false, + ACTIONS(199), 21, + sym__eof, + sym__raw_string, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_DQUOTE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_0x, + anon_sym_0o, + anon_sym_0b, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + anon_sym_SLASH_SLASH, [3803] = 4, - STATE(49), 2, + STATE(53), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(215), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(185), 5, + ACTIONS(211), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(187), 21, + ACTIONS(213), 21, sym__eof, sym__raw_string, anon_sym_SLASH_DASH, @@ -6184,20 +6235,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(21), 1, sym__raw_string, - STATE(71), 1, + STATE(65), 1, sym_identifier, - STATE(153), 1, + STATE(159), 1, sym_node, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(260), 1, + STATE(196), 1, + sym__sign, + STATE(258), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, STATE(73), 5, @@ -6218,19 +6269,19 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, [3904] = 2, - ACTIONS(220), 5, + ACTIONS(218), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(218), 24, + ACTIONS(220), 24, + sym__eof, sym_multi_line_comment, sym__raw_string, - ts_builtin_sym_end, anon_sym_SLASH_DASH, anon_sym_LBRACE, - anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_LPAREN, anon_sym_DQUOTE, anon_sym_PLUS, @@ -6250,19 +6301,19 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [3938] = 2, - ACTIONS(222), 5, + ACTIONS(224), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(224), 24, - sym__eof, + ACTIONS(222), 24, sym_multi_line_comment, sym__raw_string, + ts_builtin_sym_end, anon_sym_SLASH_DASH, anon_sym_LBRACE, - anon_sym_SEMI, + anon_sym_RBRACE, anon_sym_LPAREN, anon_sym_DQUOTE, anon_sym_PLUS, @@ -6346,19 +6397,19 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [4040] = 2, - ACTIONS(220), 5, + ACTIONS(230), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(218), 24, - sym__eof, + ACTIONS(232), 24, sym_multi_line_comment, sym__raw_string, + ts_builtin_sym_end, anon_sym_SLASH_DASH, anon_sym_LBRACE, - anon_sym_SEMI, + anon_sym_RBRACE, anon_sym_LPAREN, anon_sym_DQUOTE, anon_sym_PLUS, @@ -6378,19 +6429,19 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [4074] = 2, - ACTIONS(236), 5, + ACTIONS(224), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(234), 24, + ACTIONS(222), 24, + sym__eof, sym_multi_line_comment, sym__raw_string, - ts_builtin_sym_end, anon_sym_SLASH_DASH, anon_sym_LBRACE, - anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_LPAREN, anon_sym_DQUOTE, anon_sym_PLUS, @@ -6410,13 +6461,13 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [4108] = 2, - ACTIONS(236), 5, + ACTIONS(234), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(234), 24, + ACTIONS(236), 24, sym__eof, sym_multi_line_comment, sym__raw_string, @@ -6452,26 +6503,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_DASH, STATE(8), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(85), 1, + STATE(92), 1, sym_node_children, - STATE(89), 1, + STATE(93), 1, aux_sym_node_repeat2, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(141), 3, + STATE(148), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(53), 9, + ACTIONS(57), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6481,7 +6532,53 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [4195] = 13, + [4195] = 19, + ACTIONS(3), 1, + sym_multi_line_comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + anon_sym_DQUOTE, + ACTIONS(21), 1, + sym__raw_string, + ACTIONS(33), 1, + sym__digit, + ACTIONS(37), 1, + anon_sym_0x, + ACTIONS(39), 1, + anon_sym_0o, + ACTIONS(41), 1, + anon_sym_0b, + ACTIONS(240), 1, + anon_sym_null, + STATE(79), 1, + sym_type, + STATE(137), 1, + sym__integer, + STATE(191), 1, + sym__escaped_string, + STATE(200), 1, + sym_value, + STATE(213), 1, + sym_boolean, + STATE(270), 1, + sym__sign, + ACTIONS(242), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(244), 2, + anon_sym_true, + anon_sym_false, + STATE(209), 3, + sym_keyword, + sym_string, + sym_number, + STATE(205), 4, + sym__decimal, + sym__hex, + sym__octal, + sym__binary, + [4260] = 13, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(27), 1, @@ -6490,28 +6587,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, ACTIONS(238), 1, anon_sym_SLASH_DASH, - STATE(7), 1, + STATE(3), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(69), 1, + STATE(71), 1, aux_sym_node_repeat2, - STATE(97), 1, + STATE(112), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(169), 3, + STATE(142), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(240), 9, + ACTIONS(29), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6521,7 +6618,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [4248] = 13, + [4313] = 13, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(27), 1, @@ -6530,28 +6627,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, ACTIONS(238), 1, anon_sym_SLASH_DASH, - STATE(3), 1, + STATE(2), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(70), 1, + STATE(66), 1, aux_sym_node_repeat2, - STATE(95), 1, + STATE(118), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(171), 3, + STATE(166), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(51), 9, + ACTIONS(246), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6561,7 +6658,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [4301] = 13, + [4366] = 13, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(27), 1, @@ -6572,26 +6669,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_DASH, STATE(3), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(89), 1, + STATE(93), 1, aux_sym_node_repeat2, - STATE(95), 1, + STATE(112), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(171), 3, + STATE(142), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(51), 9, + ACTIONS(29), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6601,7 +6698,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [4354] = 13, + [4419] = 13, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(27), 1, @@ -6610,28 +6707,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, ACTIONS(238), 1, anon_sym_SLASH_DASH, - STATE(4), 1, + STATE(7), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(65), 1, + STATE(93), 1, aux_sym_node_repeat2, - STATE(109), 1, + STATE(116), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(152), 3, + STATE(135), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(29), 9, + ACTIONS(51), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6641,52 +6738,6 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [4407] = 19, - ACTIONS(3), 1, - sym_multi_line_comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - anon_sym_DQUOTE, - ACTIONS(21), 1, - sym__raw_string, - ACTIONS(33), 1, - sym__digit, - ACTIONS(37), 1, - anon_sym_0x, - ACTIONS(39), 1, - anon_sym_0o, - ACTIONS(41), 1, - anon_sym_0b, - ACTIONS(242), 1, - anon_sym_null, - STATE(79), 1, - sym_type, - STATE(154), 1, - sym__integer, - STATE(194), 1, - sym__escaped_string, - STATE(208), 1, - sym_value, - STATE(217), 1, - sym_boolean, - STATE(271), 1, - sym__sign, - ACTIONS(244), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(246), 2, - anon_sym_true, - anon_sym_false, - STATE(199), 3, - sym_keyword, - sym_string, - sym_number, - STATE(214), 4, - sym__decimal, - sym__hex, - sym__octal, - sym__binary, [4472] = 13, ACTIONS(19), 1, anon_sym_SLASH_SLASH, @@ -6698,26 +6749,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_DASH, STATE(5), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(62), 1, + STATE(93), 1, aux_sym_node_repeat2, - STATE(80), 1, + STATE(98), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(148), 3, + STATE(133), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(57), 9, + ACTIONS(55), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6736,28 +6787,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, ACTIONS(238), 1, anon_sym_SLASH_DASH, - STATE(5), 1, + STATE(7), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(80), 1, - sym_node_children, - STATE(89), 1, + STATE(62), 1, aux_sym_node_repeat2, - STATE(27), 2, + STATE(116), 1, + sym_node_children, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(148), 3, + STATE(135), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(57), 9, + ACTIONS(51), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6778,22 +6829,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_DASH, STATE(6), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(89), 1, + STATE(68), 1, aux_sym_node_repeat2, - STATE(118), 1, + STATE(97), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(142), 3, + STATE(171), 3, sym__node_terminator, sym__newline, sym_single_line_comment, @@ -6816,28 +6867,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, ACTIONS(238), 1, anon_sym_SLASH_DASH, - STATE(2), 1, + STATE(6), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(72), 1, + STATE(93), 1, aux_sym_node_repeat2, - STATE(104), 1, + STATE(97), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(156), 3, + STATE(171), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(248), 9, + ACTIONS(49), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6858,26 +6909,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_DASH, STATE(4), 1, aux_sym_node_repeat1, - STATE(34), 1, + STATE(47), 1, sym__escline, - STATE(58), 1, + STATE(57), 1, sym__node_space, - STATE(89), 1, + STATE(67), 1, aux_sym_node_repeat2, - STATE(109), 1, + STATE(107), 1, sym_node_children, - STATE(27), 2, + STATE(30), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(47), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(152), 3, + STATE(149), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(29), 9, + ACTIONS(248), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -6922,11 +6973,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(74), 1, aux_sym_node_repeat1, - STATE(125), 1, + STATE(122), 1, sym__escline, - STATE(186), 1, + STATE(173), 1, sym__node_space, - STATE(100), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(261), 3, @@ -7014,7 +7065,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(255), 1, anon_sym_SLASH_SLASH, ACTIONS(270), 1, - ts_builtin_sym_end, + anon_sym_RBRACE, STATE(73), 5, sym__linespace, sym__newline, @@ -7044,7 +7095,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(255), 1, anon_sym_SLASH_SLASH, ACTIONS(273), 1, - anon_sym_RBRACE, + ts_builtin_sym_end, STATE(73), 5, sym__linespace, sym__newline, @@ -7085,27 +7136,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_0o, ACTIONS(41), 1, anon_sym_0b, - ACTIONS(242), 1, + ACTIONS(240), 1, anon_sym_null, - STATE(154), 1, + STATE(137), 1, sym__integer, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(217), 1, + STATE(213), 1, sym_boolean, - STATE(271), 1, + STATE(270), 1, sym__sign, - ACTIONS(244), 2, + ACTIONS(242), 2, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(246), 2, + ACTIONS(244), 2, anon_sym_true, anon_sym_false, - STATE(220), 3, + STATE(215), 3, sym_keyword, sym_string, sym_number, - STATE(214), 4, + STATE(205), 4, sym__decimal, sym__hex, sym__octal, @@ -7115,20 +7166,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(87), 1, + STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(86), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(155), 3, + STATE(131), 3, sym__node_terminator, sym__newline, sym_single_line_comment, @@ -7142,13 +7193,71 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5049] = 3, - STATE(119), 1, + [5049] = 9, + ACTIONS(19), 1, + anon_sym_SLASH_SLASH, + ACTIONS(278), 1, + anon_sym_BSLASH, + STATE(187), 1, + aux_sym_node_repeat1, + STATE(217), 1, + sym__escline, + STATE(234), 1, + sym__node_space, + STATE(197), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(280), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + STATE(140), 3, + sym__node_terminator, + sym__newline, + sym_single_line_comment, + ACTIONS(282), 9, + sym__eof, + anon_sym_SEMI, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + [5090] = 3, + STATE(82), 1, + aux_sym__integer_repeat1, + ACTIONS(286), 2, + anon_sym__, + sym__digit, + ACTIONS(284), 19, + sym__eof, + sym_multi_line_comment, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_DOT, + anon_sym_e, + anon_sym_E, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + sym__bom, + sym__unicode_space, + anon_sym_SLASH_SLASH, + [5119] = 3, + STATE(106), 1, aux_sym__integer_repeat1, - ACTIONS(284), 2, + ACTIONS(291), 2, anon_sym__, sym__digit, - ACTIONS(282), 19, + ACTIONS(289), 19, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -7168,29 +7277,29 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [5078] = 9, + [5148] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(129), 3, + STATE(152), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(286), 9, + ACTIONS(293), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7200,29 +7309,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5119] = 9, + [5189] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(136), 3, + STATE(141), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(290), 9, + ACTIONS(295), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7232,29 +7341,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5160] = 9, + [5230] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(128), 3, + STATE(153), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(292), 9, + ACTIONS(297), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7264,29 +7373,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5201] = 9, + [5271] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(117), 1, + STATE(120), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(114), 2, + STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(296), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(131), 3, + STATE(153), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(294), 9, + ACTIONS(297), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7296,29 +7405,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5242] = 9, + [5312] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(83), 1, + STATE(100), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(195), 2, + STATE(101), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(303), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(132), 3, + STATE(154), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(298), 9, + ACTIONS(301), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7328,29 +7437,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5283] = 9, + [5353] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(132), 3, + STATE(155), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(298), 9, + ACTIONS(305), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7360,29 +7469,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5324] = 9, + [5394] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(133), 3, + STATE(156), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(302), 9, + ACTIONS(307), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7392,28 +7501,30 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5365] = 8, - ACTIONS(306), 1, + [5435] = 9, + ACTIONS(19), 1, + anon_sym_SLASH_SLASH, + ACTIONS(278), 1, anon_sym_BSLASH, - STATE(10), 1, + STATE(102), 1, aux_sym_node_repeat1, - STATE(89), 1, - aux_sym_node_repeat2, - STATE(125), 1, + STATE(204), 1, sym__escline, - STATE(186), 1, + STATE(234), 1, sym__node_space, - STATE(100), 2, + STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(309), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(304), 12, + STATE(156), 3, + sym__node_terminator, + sym__newline, + sym_single_line_comment, + ACTIONS(307), 9, sym__eof, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, anon_sym_SEMI, aux_sym__newline_token1, aux_sym__newline_token2, @@ -7422,30 +7533,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - anon_sym_SLASH_SLASH, - [5404] = 9, + [5476] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(111), 1, + STATE(103), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(103), 2, + STATE(104), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(314), 3, + ACTIONS(311), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(134), 3, + STATE(157), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(312), 9, + ACTIONS(309), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7455,30 +7565,28 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5445] = 9, - ACTIONS(19), 1, - anon_sym_SLASH_SLASH, - ACTIONS(278), 1, + [5517] = 8, + ACTIONS(315), 1, anon_sym_BSLASH, - STATE(98), 1, + STATE(10), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(93), 1, + aux_sym_node_repeat2, + STATE(122), 1, sym__escline, - STATE(234), 1, + STATE(173), 1, sym__node_space, - STATE(195), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(318), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(151), 3, - sym__node_terminator, - sym__newline, - sym_single_line_comment, - ACTIONS(316), 9, + ACTIONS(313), 12, sym__eof, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, anon_sym_SEMI, aux_sym__newline_token1, aux_sym__newline_token2, @@ -7487,61 +7595,59 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5486] = 9, - ACTIONS(19), 1, anon_sym_SLASH_SLASH, - ACTIONS(278), 1, + [5556] = 6, + ACTIONS(321), 1, anon_sym_BSLASH, - STATE(187), 1, - aux_sym_node_repeat1, - STATE(212), 1, + STATE(123), 1, sym__escline, - STATE(234), 1, - sym__node_space, - STATE(193), 2, + STATE(126), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(324), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(151), 3, - sym__node_terminator, - sym__newline, - sym_single_line_comment, - ACTIONS(316), 9, - sym__eof, - anon_sym_SEMI, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - [5527] = 9, + ACTIONS(151), 5, + sym__normal_bare_identifier, + anon_sym_null, + sym__digit, + anon_sym_true, + anon_sym_false, + ACTIONS(153), 10, + sym__raw_string, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_DQUOTE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_0x, + anon_sym_0o, + anon_sym_0b, + [5591] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(187), 1, + STATE(81), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(137), 3, + STATE(131), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(318), 9, + ACTIONS(276), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7551,29 +7657,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5568] = 9, + [5632] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(102), 1, + STATE(84), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(137), 3, + STATE(141), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(318), 9, + ACTIONS(295), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7583,29 +7689,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5609] = 9, + [5673] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(116), 1, + STATE(85), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(120), 2, + STATE(96), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(322), 3, + ACTIONS(329), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(138), 3, + STATE(132), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(320), 9, + ACTIONS(327), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7615,29 +7721,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5650] = 9, + [5714] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(187), 1, + STATE(86), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(87), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(333), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(157), 3, + STATE(128), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(324), 9, + ACTIONS(331), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7647,29 +7753,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5691] = 9, + [5755] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(113), 1, + STATE(117), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(112), 2, + STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(328), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(144), 3, + STATE(165), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(326), 9, + ACTIONS(335), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7679,54 +7785,31 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [5732] = 9, + [5796] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(145), 3, + STATE(161), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(330), 9, - sym__eof, - anon_sym_SEMI, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - [5773] = 3, - STATE(99), 1, - aux_sym__integer_repeat1, - ACTIONS(334), 2, - anon_sym__, - sym__digit, - ACTIONS(332), 19, + ACTIONS(337), 9, sym__eof, - sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, anon_sym_SEMI, - anon_sym_DOT, - anon_sym_e, - anon_sym_E, - anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -7734,61 +7817,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - sym__bom, - sym__unicode_space, - anon_sym_SLASH_SLASH, - [5802] = 6, - ACTIONS(337), 1, - anon_sym_BSLASH, - STATE(121), 1, - sym__escline, - STATE(126), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(340), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(147), 5, - sym__normal_bare_identifier, - anon_sym_null, - sym__digit, - anon_sym_true, - anon_sym_false, - ACTIONS(149), 10, - sym__raw_string, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_0x, - anon_sym_0o, - anon_sym_0b, [5837] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(187), 1, + STATE(108), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(143), 3, + STATE(161), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(343), 9, + ACTIONS(337), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7805,22 +7856,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(167), 3, + STATE(162), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(345), 9, + ACTIONS(339), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7835,24 +7886,24 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(84), 1, + STATE(187), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(195), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(140), 3, + STATE(163), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(347), 9, + ACTIONS(341), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7867,24 +7918,24 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(107), 1, + STATE(109), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(106), 2, + STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(351), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(158), 3, + STATE(163), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(349), 9, + ACTIONS(341), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7899,20 +7950,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(82), 1, + STATE(110), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(195), 2, + STATE(111), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(345), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(143), 3, + STATE(164), 3, sym__node_terminator, sym__newline, sym_single_line_comment, @@ -7926,29 +7977,55 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6042] = 9, + [6042] = 3, + STATE(82), 1, + aux_sym__integer_repeat1, + ACTIONS(349), 2, + anon_sym__, + sym__digit, + ACTIONS(347), 19, + sym__eof, + sym_multi_line_comment, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_DOT, + anon_sym_e, + anon_sym_E, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + sym__bom, + sym__unicode_space, + anon_sym_SLASH_SLASH, + [6071] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(115), 1, + STATE(114), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(195), 2, + STATE(115), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(353), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(146), 3, + STATE(134), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(353), 9, + ACTIONS(351), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7958,29 +8035,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6083] = 9, + [6112] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(146), 3, + STATE(167), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(353), 9, + ACTIONS(355), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -7990,29 +8067,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6124] = 9, + [6153] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(101), 1, + STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(105), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(357), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(163), 3, + STATE(168), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(355), 9, + ACTIONS(357), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8022,25 +8099,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6165] = 9, + [6194] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(93), 1, + STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(94), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(361), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(149), 3, + STATE(169), 3, sym__node_terminator, sym__newline, sym_single_line_comment, @@ -8054,29 +8131,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6206] = 9, + [6235] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(187), 1, + STATE(113), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(150), 3, + STATE(169), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(363), 9, + ACTIONS(359), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8086,29 +8163,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6247] = 9, + [6276] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(187), 1, + STATE(80), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(95), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(363), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(140), 3, + STATE(143), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(347), 9, + ACTIONS(361), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8118,25 +8195,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6288] = 9, + [6317] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(88), 1, + STATE(187), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(195), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(159), 3, + STATE(170), 3, sym__node_terminator, sym__newline, sym_single_line_comment, @@ -8150,29 +8227,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6329] = 9, + [6358] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(159), 3, + STATE(145), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(365), 9, + ACTIONS(367), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8182,25 +8259,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6370] = 9, + [6399] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(110), 1, + STATE(89), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(204), 1, sym__escline, STATE(234), 1, sym__node_space, STATE(195), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(299), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(139), 3, + STATE(145), 3, sym__node_terminator, sym__newline, sym_single_line_comment, @@ -8214,25 +8291,25 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6411] = 9, + [6440] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(187), 1, + STATE(90), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(91), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(371), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(161), 3, + STATE(146), 3, sym__node_terminator, sym__newline, sym_single_line_comment, @@ -8246,29 +8323,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6452] = 9, + [6481] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(168), 3, + STATE(136), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(371), 9, + ACTIONS(373), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8278,29 +8355,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6493] = 9, + [6522] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(187), 1, + STATE(119), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(99), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(288), 3, + ACTIONS(377), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(139), 3, + STATE(130), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(367), 9, + ACTIONS(375), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8310,29 +8387,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6534] = 9, + [6563] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(92), 1, + STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(91), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(375), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(170), 3, + STATE(165), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(373), 9, + ACTIONS(335), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8342,55 +8419,29 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6575] = 3, - STATE(99), 1, - aux_sym__integer_repeat1, - ACTIONS(379), 2, - anon_sym__, - sym__digit, - ACTIONS(377), 19, - sym__eof, - sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_DOT, - anon_sym_e, - anon_sym_E, - anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - sym__bom, - sym__unicode_space, - anon_sym_SLASH_SLASH, [6604] = 9, ACTIONS(19), 1, anon_sym_SLASH_SLASH, ACTIONS(278), 1, anon_sym_BSLASH, - STATE(96), 1, + STATE(187), 1, aux_sym_node_repeat1, - STATE(222), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(195), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(300), 3, + ACTIONS(280), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - STATE(168), 3, + STATE(160), 3, sym__node_terminator, sym__newline, sym_single_line_comment, - ACTIONS(371), 9, + ACTIONS(379), 9, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -8400,21 +8451,59 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [6645] = 4, - STATE(123), 2, + [6645] = 16, + ACTIONS(7), 1, + sym__normal_bare_identifier, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + anon_sym_DQUOTE, + ACTIONS(21), 1, + sym__raw_string, + ACTIONS(71), 1, + anon_sym_BSLASH, + STATE(64), 1, + sym_identifier, + STATE(122), 1, + sym__escline, + STATE(125), 1, + aux_sym_node_repeat1, + STATE(173), 1, + sym__node_space, + STATE(191), 1, + sym__escaped_string, + STATE(196), 1, + sym__sign, + STATE(257), 1, + sym_type, + ACTIONS(15), 2, + anon_sym_PLUS, + anon_sym_DASH, + STATE(94), 2, + sym__ws, + aux_sym_node_repeat3, + STATE(207), 2, + sym__bare_identifier, + sym_string, + ACTIONS(73), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + [6699] = 4, + STATE(124), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(381), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(185), 5, + ACTIONS(151), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(187), 11, + ACTIONS(153), 11, sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, @@ -8426,21 +8515,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_0o, anon_sym_0b, anon_sym_BSLASH, - [6675] = 4, - STATE(126), 2, + [6729] = 4, + STATE(127), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(384), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(185), 5, + ACTIONS(197), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(187), 11, + ACTIONS(199), 11, sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, @@ -8452,7 +8541,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_0o, anon_sym_0b, anon_sym_BSLASH, - [6705] = 4, + [6759] = 4, STATE(126), 2, sym__ws, aux_sym_node_repeat3, @@ -8460,13 +8549,13 @@ static const uint16_t ts_small_parse_table[] = { sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(178), 5, + ACTIONS(197), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(180), 11, + ACTIONS(199), 11, sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, @@ -8478,7 +8567,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_0o, anon_sym_0b, anon_sym_BSLASH, - [6735] = 16, + [6789] = 16, ACTIONS(7), 1, sym__normal_bare_identifier, ACTIONS(11), 1, @@ -8489,48 +8578,48 @@ static const uint16_t ts_small_parse_table[] = { sym__raw_string, ACTIONS(71), 1, anon_sym_BSLASH, - STATE(63), 1, + STATE(72), 1, sym_identifier, STATE(74), 1, aux_sym_node_repeat1, - STATE(125), 1, + STATE(122), 1, sym__escline, - STATE(186), 1, + STATE(173), 1, sym__node_space, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, - STATE(257), 1, + STATE(196), 1, + sym__sign, + STATE(259), 1, sym_type, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(100), 2, + STATE(94), 2, sym__ws, aux_sym_node_repeat3, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, ACTIONS(73), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - [6789] = 4, - STATE(122), 2, + [6843] = 4, + STATE(126), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(390), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(147), 5, + ACTIONS(211), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(149), 11, + ACTIONS(213), 11, sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, @@ -8542,7 +8631,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_0o, anon_sym_0b, anon_sym_BSLASH, - [6819] = 4, + [6873] = 4, STATE(126), 2, sym__ws, aux_sym_node_repeat3, @@ -8550,13 +8639,13 @@ static const uint16_t ts_small_parse_table[] = { sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(206), 5, + ACTIONS(167), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(208), 11, + ACTIONS(169), 11, sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, @@ -8568,46 +8657,54 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_0o, anon_sym_0b, anon_sym_BSLASH, - [6849] = 16, - ACTIONS(7), 1, + [6903] = 1, + ACTIONS(396), 20, + sym_multi_line_comment, + sym__raw_string, + ts_builtin_sym_end, + anon_sym_SLASH_DASH, + anon_sym_RBRACE, sym__normal_bare_identifier, - ACTIONS(11), 1, anon_sym_LPAREN, - ACTIONS(13), 1, anon_sym_DQUOTE, - ACTIONS(21), 1, - sym__raw_string, - ACTIONS(71), 1, - anon_sym_BSLASH, - STATE(66), 1, - sym_identifier, - STATE(124), 1, - aux_sym_node_repeat1, - STATE(125), 1, - sym__escline, - STATE(186), 1, - sym__node_space, - STATE(192), 1, - sym__sign, - STATE(194), 1, - sym__escaped_string, - STATE(258), 1, - sym_type, - ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(100), 2, - sym__ws, - aux_sym_node_repeat3, - STATE(218), 2, - sym__bare_identifier, - sym_string, - ACTIONS(73), 3, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + sym__bom, + sym__unicode_space, + anon_sym_SLASH_SLASH, + [6926] = 3, + STATE(138), 1, + aux_sym__binary_repeat1, + ACTIONS(400), 3, + anon_sym__, + anon_sym_0, + anon_sym_1, + ACTIONS(398), 16, + sym__eof, sym_multi_line_comment, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, sym__bom, sym__unicode_space, - [6903] = 1, - ACTIONS(396), 20, + anon_sym_SLASH_SLASH, + [6953] = 1, + ACTIONS(402), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8628,8 +8725,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [6926] = 1, - ACTIONS(398), 20, + [6976] = 1, + ACTIONS(404), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8650,20 +8747,18 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [6949] = 3, - STATE(130), 1, - aux_sym__binary_repeat1, - ACTIONS(402), 3, - anon_sym__, - anon_sym_0, - anon_sym_1, - ACTIONS(400), 16, - sym__eof, + [6999] = 1, + ACTIONS(406), 20, sym_multi_line_comment, + sym__raw_string, + ts_builtin_sym_end, anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_BSLASH, + anon_sym_RBRACE, + sym__normal_bare_identifier, + anon_sym_LPAREN, + anon_sym_DQUOTE, + anon_sym_PLUS, + anon_sym_DASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -8674,8 +8769,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [6976] = 1, - ACTIONS(405), 20, + [7022] = 1, + ACTIONS(408), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8696,8 +8791,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [6999] = 1, - ACTIONS(407), 20, + [7045] = 1, + ACTIONS(410), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8718,8 +8813,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7022] = 1, - ACTIONS(409), 20, + [7068] = 1, + ACTIONS(412), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8740,8 +8835,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7045] = 1, - ACTIONS(411), 20, + [7091] = 1, + ACTIONS(414), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8762,15 +8857,15 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7068] = 4, - ACTIONS(415), 1, + [7114] = 4, + ACTIONS(418), 1, anon_sym_DOT, - STATE(202), 1, + STATE(216), 1, sym__exponent, - ACTIONS(417), 2, + ACTIONS(420), 2, anon_sym_e, anon_sym_E, - ACTIONS(413), 16, + ACTIONS(416), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -8787,18 +8882,20 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7097] = 1, - ACTIONS(419), 20, + [7143] = 3, + STATE(150), 1, + aux_sym__binary_repeat1, + ACTIONS(424), 3, + anon_sym__, + anon_sym_0, + anon_sym_1, + ACTIONS(422), 16, + sym__eof, sym_multi_line_comment, - sym__raw_string, - ts_builtin_sym_end, anon_sym_SLASH_DASH, - anon_sym_RBRACE, - sym__normal_bare_identifier, - anon_sym_LPAREN, - anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -8809,18 +8906,20 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7120] = 1, - ACTIONS(421), 20, + [7170] = 3, + STATE(151), 1, + aux_sym__binary_repeat1, + ACTIONS(426), 3, + anon_sym__, + anon_sym_0, + anon_sym_1, + ACTIONS(422), 16, + sym__eof, sym_multi_line_comment, - sym__raw_string, - ts_builtin_sym_end, anon_sym_SLASH_DASH, - anon_sym_RBRACE, - sym__normal_bare_identifier, - anon_sym_LPAREN, - anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -8831,8 +8930,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7143] = 1, - ACTIONS(423), 20, + [7197] = 1, + ACTIONS(428), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8853,8 +8952,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7166] = 1, - ACTIONS(425), 20, + [7220] = 1, + ACTIONS(430), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8875,8 +8974,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7189] = 1, - ACTIONS(427), 20, + [7243] = 1, + ACTIONS(432), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8897,8 +8996,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7212] = 1, - ACTIONS(429), 20, + [7266] = 1, + ACTIONS(434), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8919,8 +9018,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7235] = 1, - ACTIONS(431), 20, + [7289] = 1, + ACTIONS(436), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8941,8 +9040,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7258] = 1, - ACTIONS(433), 20, + [7312] = 1, + ACTIONS(438), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8963,8 +9062,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7281] = 1, - ACTIONS(435), 20, + [7335] = 1, + ACTIONS(440), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -8985,8 +9084,33 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7304] = 1, - ACTIONS(437), 20, + [7358] = 4, + ACTIONS(444), 1, + anon_sym_DOT, + STATE(201), 1, + sym__exponent, + ACTIONS(420), 2, + anon_sym_e, + anon_sym_E, + ACTIONS(442), 16, + sym__eof, + sym_multi_line_comment, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + sym__bom, + sym__unicode_space, + anon_sym_SLASH_SLASH, + [7387] = 1, + ACTIONS(446), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9007,8 +9131,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7327] = 1, - ACTIONS(439), 20, + [7410] = 1, + ACTIONS(448), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9029,14 +9153,14 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7350] = 3, - STATE(164), 1, + [7433] = 3, + STATE(150), 1, aux_sym__binary_repeat1, - ACTIONS(443), 3, + ACTIONS(452), 3, anon_sym__, anon_sym_0, anon_sym_1, - ACTIONS(441), 16, + ACTIONS(450), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9053,18 +9177,20 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7377] = 1, - ACTIONS(445), 20, + [7460] = 3, + STATE(150), 1, + aux_sym__binary_repeat1, + ACTIONS(424), 3, + anon_sym__, + anon_sym_0, + anon_sym_1, + ACTIONS(455), 16, + sym__eof, sym_multi_line_comment, - sym__raw_string, - ts_builtin_sym_end, anon_sym_SLASH_DASH, - anon_sym_RBRACE, - sym__normal_bare_identifier, - anon_sym_LPAREN, - anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -9075,8 +9201,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7400] = 1, - ACTIONS(447), 20, + [7487] = 1, + ACTIONS(457), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9097,8 +9223,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7423] = 1, - ACTIONS(449), 20, + [7510] = 1, + ACTIONS(459), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9119,8 +9245,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7446] = 1, - ACTIONS(451), 20, + [7533] = 1, + ACTIONS(461), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9141,8 +9267,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7469] = 1, - ACTIONS(453), 20, + [7556] = 1, + ACTIONS(463), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9163,8 +9289,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7492] = 1, - ACTIONS(89), 20, + [7579] = 1, + ACTIONS(465), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9185,21 +9311,18 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7515] = 4, - ACTIONS(457), 1, - anon_sym_DOT, - STATE(216), 1, - sym__exponent, - ACTIONS(417), 2, - anon_sym_e, - anon_sym_E, - ACTIONS(455), 16, - sym__eof, + [7602] = 1, + ACTIONS(467), 20, sym_multi_line_comment, + sym__raw_string, + ts_builtin_sym_end, anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_BSLASH, + anon_sym_RBRACE, + sym__normal_bare_identifier, + anon_sym_LPAREN, + anon_sym_DQUOTE, + anon_sym_PLUS, + anon_sym_DASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -9210,8 +9333,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7544] = 1, - ACTIONS(459), 20, + [7625] = 1, + ACTIONS(469), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9232,8 +9355,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7567] = 1, - ACTIONS(461), 20, + [7648] = 1, + ACTIONS(89), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9254,8 +9377,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7590] = 1, - ACTIONS(463), 20, + [7671] = 1, + ACTIONS(471), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9276,8 +9399,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7613] = 1, - ACTIONS(465), 20, + [7694] = 1, + ACTIONS(473), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9298,8 +9421,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7636] = 1, - ACTIONS(467), 20, + [7717] = 1, + ACTIONS(475), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9320,8 +9443,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7659] = 1, - ACTIONS(469), 20, + [7740] = 1, + ACTIONS(477), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9342,8 +9465,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7682] = 1, - ACTIONS(471), 20, + [7763] = 1, + ACTIONS(479), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9364,8 +9487,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7705] = 1, - ACTIONS(473), 20, + [7786] = 1, + ACTIONS(481), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9386,8 +9509,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7728] = 1, - ACTIONS(475), 20, + [7809] = 1, + ACTIONS(483), 20, sym_multi_line_comment, sym__raw_string, ts_builtin_sym_end, @@ -9408,78 +9531,6 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7751] = 3, - STATE(130), 1, - aux_sym__binary_repeat1, - ACTIONS(479), 3, - anon_sym__, - anon_sym_0, - anon_sym_1, - ACTIONS(477), 16, - sym__eof, - sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - sym__bom, - sym__unicode_space, - anon_sym_SLASH_SLASH, - [7778] = 3, - STATE(130), 1, - aux_sym__binary_repeat1, - ACTIONS(479), 3, - anon_sym__, - anon_sym_0, - anon_sym_1, - ACTIONS(481), 16, - sym__eof, - sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - sym__bom, - sym__unicode_space, - anon_sym_SLASH_SLASH, - [7805] = 3, - STATE(165), 1, - aux_sym__binary_repeat1, - ACTIONS(483), 3, - anon_sym__, - anon_sym_0, - anon_sym_1, - ACTIONS(477), 16, - sym__eof, - sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - sym__bom, - sym__unicode_space, - anon_sym_SLASH_SLASH, [7832] = 1, ACTIONS(485), 20, sym_multi_line_comment, @@ -9591,7 +9642,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [7947] = 3, - STATE(181), 1, + STATE(172), 1, aux_sym__octal_repeat1, ACTIONS(497), 2, anon_sym__, @@ -9613,36 +9664,35 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [7973] = 3, - STATE(182), 1, - aux_sym__octal_repeat1, - ACTIONS(501), 2, - anon_sym__, - aux_sym__octal_token1, - ACTIONS(499), 16, - sym__eof, + [7973] = 2, + ACTIONS(226), 5, + sym__normal_bare_identifier, + anon_sym_null, + sym__digit, + anon_sym_true, + anon_sym_false, + ACTIONS(228), 14, sym_multi_line_comment, + sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, - anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_DQUOTE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_0x, + anon_sym_0o, + anon_sym_0b, anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, sym__bom, sym__unicode_space, - anon_sym_SLASH_SLASH, - [7999] = 3, - STATE(203), 1, - sym__exponent, - ACTIONS(417), 2, - anon_sym_e, - anon_sym_E, - ACTIONS(503), 16, + [7997] = 3, + STATE(174), 1, + aux_sym__hex_repeat1, + ACTIONS(502), 2, + sym__hex_digit, + anon_sym__, + ACTIONS(500), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9659,12 +9709,12 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8025] = 3, - STATE(178), 1, - aux_sym__hex_repeat1, + [8023] = 3, + STATE(172), 1, + aux_sym__octal_repeat1, ACTIONS(507), 2, - sym__hex_digit, anon_sym__, + aux_sym__octal_token1, ACTIONS(505), 16, sym__eof, sym_multi_line_comment, @@ -9682,36 +9732,35 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8051] = 3, - STATE(172), 1, - aux_sym__octal_repeat1, - ACTIONS(511), 2, - anon_sym__, - aux_sym__octal_token1, - ACTIONS(509), 16, - sym__eof, + [8049] = 2, + ACTIONS(234), 5, + sym__normal_bare_identifier, + anon_sym_null, + sym__digit, + anon_sym_true, + anon_sym_false, + ACTIONS(236), 14, sym_multi_line_comment, + sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, - anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_DQUOTE, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_0x, + anon_sym_0o, + anon_sym_0b, anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, sym__bom, sym__unicode_space, - anon_sym_SLASH_SLASH, - [8077] = 3, - STATE(184), 1, + [8073] = 3, + STATE(174), 1, aux_sym__hex_repeat1, - ACTIONS(513), 2, + ACTIONS(511), 2, sym__hex_digit, anon_sym__, - ACTIONS(505), 16, + ACTIONS(509), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9728,13 +9777,13 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8103] = 3, - STATE(184), 1, - aux_sym__hex_repeat1, - ACTIONS(513), 2, - sym__hex_digit, - anon_sym__, - ACTIONS(515), 16, + [8099] = 3, + STATE(210), 1, + sym__exponent, + ACTIONS(420), 2, + anon_sym_e, + anon_sym_E, + ACTIONS(513), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9751,35 +9800,13 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8129] = 2, - ACTIONS(226), 5, - sym__normal_bare_identifier, - anon_sym_null, - sym__digit, - anon_sym_true, - anon_sym_false, - ACTIONS(228), 14, - sym_multi_line_comment, - sym__raw_string, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_0x, - anon_sym_0o, - anon_sym_0b, - anon_sym_BSLASH, - sym__bom, - sym__unicode_space, - [8153] = 3, - STATE(215), 1, + [8125] = 3, + STATE(202), 1, sym__exponent, - ACTIONS(417), 2, + ACTIONS(420), 2, anon_sym_e, anon_sym_E, - ACTIONS(517), 16, + ACTIONS(515), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9796,13 +9823,13 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8179] = 3, - STATE(181), 1, - aux_sym__octal_repeat1, - ACTIONS(521), 2, + [8151] = 3, + STATE(177), 1, + aux_sym__hex_repeat1, + ACTIONS(519), 2, + sym__hex_digit, anon_sym__, - aux_sym__octal_token1, - ACTIONS(519), 16, + ACTIONS(517), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9819,13 +9846,13 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8205] = 3, - STATE(181), 1, + [8177] = 3, + STATE(175), 1, aux_sym__octal_repeat1, - ACTIONS(497), 2, + ACTIONS(523), 2, anon_sym__, aux_sym__octal_token1, - ACTIONS(509), 16, + ACTIONS(521), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9842,14 +9869,14 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8231] = 2, - ACTIONS(222), 5, + [8203] = 2, + ACTIONS(218), 5, sym__normal_bare_identifier, anon_sym_null, sym__digit, anon_sym_true, anon_sym_false, - ACTIONS(224), 14, + ACTIONS(220), 14, sym_multi_line_comment, sym__raw_string, anon_sym_SLASH_DASH, @@ -9864,13 +9891,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BSLASH, sym__bom, sym__unicode_space, - [8255] = 3, - STATE(184), 1, + [8227] = 3, + STATE(174), 1, aux_sym__hex_repeat1, - ACTIONS(526), 2, + ACTIONS(511), 2, sym__hex_digit, anon_sym__, - ACTIONS(524), 16, + ACTIONS(517), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -9887,12 +9914,35 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8281] = 3, - STATE(177), 1, + [8253] = 3, + STATE(183), 1, aux_sym__hex_repeat1, - ACTIONS(531), 2, + ACTIONS(527), 2, sym__hex_digit, anon_sym__, + ACTIONS(525), 16, + sym__eof, + sym_multi_line_comment, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + sym__bom, + sym__unicode_space, + anon_sym_SLASH_SLASH, + [8279] = 3, + STATE(186), 1, + aux_sym__octal_repeat1, + ACTIONS(531), 2, + anon_sym__, + aux_sym__octal_token1, ACTIONS(529), 16, sym__eof, sym_multi_line_comment, @@ -9910,38 +9960,39 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8307] = 2, - ACTIONS(230), 5, - sym__normal_bare_identifier, - anon_sym_null, - sym__digit, - anon_sym_true, - anon_sym_false, - ACTIONS(232), 14, + [8305] = 3, + STATE(172), 1, + aux_sym__octal_repeat1, + ACTIONS(507), 2, + anon_sym__, + aux_sym__octal_token1, + ACTIONS(521), 16, + sym__eof, sym_multi_line_comment, - sym__raw_string, anon_sym_SLASH_DASH, anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_DQUOTE, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_0x, - anon_sym_0o, - anon_sym_0b, + anon_sym_SEMI, anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, sym__bom, sym__unicode_space, + anon_sym_SLASH_SLASH, [8331] = 7, ACTIONS(533), 1, anon_sym_BSLASH, STATE(187), 1, aux_sym_node_repeat1, - STATE(212), 1, + STATE(217), 1, sym__escline, STATE(234), 1, sym__node_space, - STATE(193), 2, + STATE(197), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(536), 3, @@ -10025,15 +10076,14 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8440] = 2, - ACTIONS(554), 1, - anon_sym_EQ, - ACTIONS(552), 16, + [8440] = 1, + ACTIONS(552), 17, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, anon_sym_LBRACE, anon_sym_SEMI, + anon_sym_EQ, anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, @@ -10045,15 +10095,14 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8462] = 2, - ACTIONS(558), 1, - sym___identifier_char_no_digit, - ACTIONS(556), 16, + [8460] = 1, + ACTIONS(554), 17, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, anon_sym_LBRACE, anon_sym_SEMI, + anon_sym_EQ, anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, @@ -10065,21 +10114,15 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8484] = 5, - ACTIONS(560), 1, - anon_sym_BSLASH, - STATE(206), 1, - sym__escline, - STATE(205), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(563), 3, + [8480] = 1, + ACTIONS(556), 17, + sym__eof, sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(149), 10, - sym__eof, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, anon_sym_SEMI, + anon_sym_EQ, + anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10087,15 +10130,18 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, + sym__bom, + sym__unicode_space, anon_sym_SLASH_SLASH, - [8512] = 1, - ACTIONS(566), 17, + [8500] = 2, + ACTIONS(560), 1, + anon_sym_EQ, + ACTIONS(558), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, anon_sym_LBRACE, anon_sym_SEMI, - anon_sym_EQ, anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, @@ -10107,19 +10153,19 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8532] = 5, - ACTIONS(571), 1, + [8522] = 5, + ACTIONS(565), 1, anon_sym_BSLASH, - STATE(206), 1, + STATE(221), 1, sym__escline, - STATE(205), 2, + STATE(199), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(575), 3, + ACTIONS(569), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(568), 10, + ACTIONS(562), 10, sym__eof, anon_sym_SEMI, aux_sym__newline_token1, @@ -10130,14 +10176,15 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token6, aux_sym__newline_token7, anon_sym_SLASH_SLASH, - [8560] = 1, - ACTIONS(579), 17, + [8550] = 2, + ACTIONS(575), 1, + sym___identifier_char_no_digit, + ACTIONS(573), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, anon_sym_LBRACE, anon_sym_SEMI, - anon_sym_EQ, anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, @@ -10149,15 +10196,21 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8580] = 1, - ACTIONS(581), 17, - sym__eof, + [8572] = 5, + ACTIONS(577), 1, + anon_sym_BSLASH, + STATE(221), 1, + sym__escline, + STATE(199), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(580), 3, sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, + sym__bom, + sym__unicode_space, + ACTIONS(153), 10, + sym__eof, anon_sym_SEMI, - anon_sym_EQ, - anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10165,11 +10218,9 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - sym__bom, - sym__unicode_space, anon_sym_SLASH_SLASH, [8600] = 1, - ACTIONS(304), 16, + ACTIONS(313), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10186,12 +10237,16 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8619] = 1, - ACTIONS(552), 16, - sym__eof, + [8619] = 3, + STATE(199), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(583), 3, sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, + sym__bom, + sym__unicode_space, + ACTIONS(213), 11, + sym__eof, anon_sym_SEMI, anon_sym_BSLASH, aux_sym__newline_token1, @@ -10201,11 +10256,9 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - sym__bom, - sym__unicode_space, anon_sym_SLASH_SLASH, - [8638] = 1, - ACTIONS(583), 16, + [8642] = 1, + ACTIONS(586), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10222,27 +10275,7 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8657] = 3, - STATE(205), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(585), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(180), 11, - sym__eof, - anon_sym_SEMI, - anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - anon_sym_SLASH_SLASH, - [8680] = 1, + [8661] = 1, ACTIONS(588), 16, sym__eof, sym_multi_line_comment, @@ -10260,7 +10293,7 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8699] = 1, + [8680] = 1, ACTIONS(590), 16, sym__eof, sym_multi_line_comment, @@ -10278,7 +10311,7 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8718] = 1, + [8699] = 1, ACTIONS(592), 16, sym__eof, sym_multi_line_comment, @@ -10296,15 +10329,15 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8737] = 3, - STATE(205), 2, + [8718] = 3, + STATE(206), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(594), 3, + ACTIONS(597), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(208), 11, + ACTIONS(594), 11, sym__eof, anon_sym_SEMI, anon_sym_BSLASH, @@ -10316,16 +10349,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token6, aux_sym__newline_token7, anon_sym_SLASH_SLASH, - [8760] = 3, - STATE(201), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(597), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(187), 11, + [8741] = 1, + ACTIONS(601), 16, sym__eof, + sym_multi_line_comment, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, anon_sym_SEMI, anon_sym_BSLASH, aux_sym__newline_token1, @@ -10335,16 +10364,18 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, + sym__bom, + sym__unicode_space, anon_sym_SLASH_SLASH, - [8783] = 3, - STATE(205), 2, + [8760] = 3, + STATE(199), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(600), 3, + ACTIONS(606), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(187), 11, + ACTIONS(603), 11, sym__eof, anon_sym_SEMI, anon_sym_BSLASH, @@ -10356,8 +10387,8 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token6, aux_sym__newline_token7, anon_sym_SLASH_SLASH, - [8806] = 1, - ACTIONS(603), 16, + [8783] = 1, + ACTIONS(560), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10374,33 +10405,15 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8825] = 1, - ACTIONS(605), 16, - sym__eof, - sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, - anon_sym_SEMI, - anon_sym_BSLASH, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - sym__bom, - sym__unicode_space, - anon_sym_SLASH_SLASH, - [8844] = 3, - STATE(205), 2, + [8802] = 3, + STATE(199), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(610), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(607), 11, + ACTIONS(169), 11, sym__eof, anon_sym_SEMI, anon_sym_BSLASH, @@ -10412,8 +10425,8 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token6, aux_sym__newline_token7, anon_sym_SLASH_SLASH, - [8867] = 1, - ACTIONS(614), 16, + [8825] = 1, + ACTIONS(558), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10430,16 +10443,12 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8886] = 3, - STATE(207), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(616), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(149), 11, + [8844] = 1, + ACTIONS(613), 16, sym__eof, + sym_multi_line_comment, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, anon_sym_SEMI, anon_sym_BSLASH, aux_sym__newline_token1, @@ -10449,9 +10458,11 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, + sym__bom, + sym__unicode_space, anon_sym_SLASH_SLASH, - [8909] = 1, - ACTIONS(619), 16, + [8863] = 1, + ACTIONS(615), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10468,8 +10479,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8928] = 1, - ACTIONS(621), 16, + [8882] = 1, + ACTIONS(617), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10486,8 +10497,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8947] = 1, - ACTIONS(623), 16, + [8901] = 1, + ACTIONS(619), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10504,8 +10515,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8966] = 1, - ACTIONS(413), 16, + [8920] = 1, + ACTIONS(621), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10522,8 +10533,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [8985] = 1, - ACTIONS(625), 16, + [8939] = 1, + ACTIONS(623), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10540,8 +10551,8 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [9004] = 1, - ACTIONS(554), 16, + [8958] = 1, + ACTIONS(442), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10558,12 +10569,16 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [9023] = 1, - ACTIONS(627), 16, - sym__eof, + [8977] = 3, + STATE(219), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(625), 3, sym_multi_line_comment, - anon_sym_SLASH_DASH, - anon_sym_LBRACE, + sym__bom, + sym__unicode_space, + ACTIONS(153), 11, + sym__eof, anon_sym_SEMI, anon_sym_BSLASH, aux_sym__newline_token1, @@ -10573,11 +10588,9 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - sym__bom, - sym__unicode_space, anon_sym_SLASH_SLASH, - [9042] = 1, - ACTIONS(629), 16, + [9000] = 1, + ACTIONS(628), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10594,8 +10607,28 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [9061] = 1, - ACTIONS(631), 16, + [9019] = 3, + STATE(199), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(630), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + ACTIONS(199), 11, + sym__eof, + anon_sym_SEMI, + anon_sym_BSLASH, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + anon_sym_SLASH_SLASH, + [9042] = 1, + ACTIONS(633), 16, sym__eof, sym_multi_line_comment, anon_sym_SLASH_DASH, @@ -10612,15 +10645,15 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, anon_sym_SLASH_SLASH, - [9080] = 3, - STATE(210), 2, + [9061] = 3, + STATE(208), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(636), 3, + ACTIONS(635), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(633), 11, + ACTIONS(199), 11, sym__eof, anon_sym_SEMI, anon_sym_BSLASH, @@ -10632,20 +10665,14 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token6, aux_sym__newline_token7, anon_sym_SLASH_SLASH, - [9103] = 5, - ACTIONS(644), 1, - anon_sym_SLASH_SLASH, - STATE(230), 2, - sym__ws, - aux_sym_node_repeat3, - STATE(281), 2, - sym__newline, - sym_single_line_comment, - ACTIONS(642), 3, + [9084] = 1, + ACTIONS(638), 16, + sym__eof, sym_multi_line_comment, - sym__bom, - sym__unicode_space, - ACTIONS(640), 7, + anon_sym_SLASH_DASH, + anon_sym_LBRACE, + anon_sym_SEMI, + anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10653,20 +10680,23 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [9129] = 5, + sym__bom, + sym__unicode_space, + anon_sym_SLASH_SLASH, + [9103] = 5, ACTIONS(19), 1, anon_sym_SLASH_SLASH, - STATE(179), 2, + STATE(182), 2, sym__newline, sym_single_line_comment, - STATE(230), 2, + STATE(226), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(642), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(646), 7, + ACTIONS(640), 7, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10674,20 +10704,20 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [9155] = 5, - ACTIONS(650), 1, + [9129] = 5, + ACTIONS(648), 1, anon_sym_SLASH_SLASH, - STATE(57), 2, - sym__newline, - sym_single_line_comment, - STATE(230), 2, + STATE(227), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(642), 3, + STATE(243), 2, + sym__newline, + sym_single_line_comment, + ACTIONS(646), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(648), 7, + ACTIONS(644), 7, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10695,20 +10725,20 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [9181] = 5, + [9155] = 5, ACTIONS(654), 1, anon_sym_SLASH_SLASH, - STATE(230), 2, - sym__ws, - aux_sym_node_repeat3, - STATE(236), 2, + STATE(55), 2, sym__newline, sym_single_line_comment, - ACTIONS(642), 3, + STATE(228), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(652), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(652), 7, + ACTIONS(650), 7, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10716,13 +10746,13 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [9207] = 5, + [9181] = 5, ACTIONS(19), 1, anon_sym_SLASH_SLASH, - STATE(183), 2, + STATE(176), 2, sym__newline, sym_single_line_comment, - STATE(224), 2, + STATE(231), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(658), 3, @@ -10737,16 +10767,16 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [9233] = 5, - ACTIONS(644), 1, + [9207] = 5, + ACTIONS(648), 1, anon_sym_SLASH_SLASH, - STATE(223), 2, + STATE(231), 2, sym__ws, aux_sym_node_repeat3, - STATE(276), 2, + STATE(242), 2, sym__newline, sym_single_line_comment, - ACTIONS(662), 3, + ACTIONS(658), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, @@ -10758,20 +10788,20 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [9259] = 5, - ACTIONS(650), 1, + [9233] = 5, + ACTIONS(654), 1, anon_sym_SLASH_SLASH, - STATE(56), 2, + STATE(61), 2, sym__newline, sym_single_line_comment, - STATE(225), 2, + STATE(231), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(666), 3, + ACTIONS(658), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(664), 7, + ACTIONS(662), 7, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10779,17 +10809,20 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, - [9285] = 3, + [9259] = 5, + ACTIONS(668), 1, + anon_sym_SLASH_SLASH, STATE(230), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(668), 3, + STATE(273), 2, + sym__newline, + sym_single_line_comment, + ACTIONS(666), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(208), 10, - anon_sym_LBRACE, - anon_sym_BSLASH, + ACTIONS(664), 7, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10797,21 +10830,38 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, + [9285] = 5, + ACTIONS(668), 1, anon_sym_SLASH_SLASH, - [9307] = 5, - ACTIONS(654), 1, - anon_sym_SLASH_SLASH, - STATE(226), 2, + STATE(231), 2, sym__ws, aux_sym_node_repeat3, - STATE(246), 2, + STATE(278), 2, sym__newline, sym_single_line_comment, - ACTIONS(673), 3, + ACTIONS(658), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + ACTIONS(670), 7, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, + [9311] = 3, + STATE(231), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(672), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - ACTIONS(671), 7, + ACTIONS(213), 10, + anon_sym_LBRACE, + anon_sym_BSLASH, aux_sym__newline_token1, aux_sym__newline_token2, aux_sym__newline_token3, @@ -10819,6 +10869,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__newline_token5, aux_sym__newline_token6, aux_sym__newline_token7, + anon_sym_SLASH_SLASH, [9333] = 1, ACTIONS(675), 14, sym__eof, @@ -10852,7 +10903,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9367] = 1, - ACTIONS(232), 14, + ACTIONS(228), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10884,7 +10935,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9401] = 1, - ACTIONS(228), 14, + ACTIONS(681), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10900,7 +10951,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9418] = 1, - ACTIONS(218), 14, + ACTIONS(683), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10916,7 +10967,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9435] = 1, - ACTIONS(681), 14, + ACTIONS(685), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10932,7 +10983,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9452] = 1, - ACTIONS(683), 14, + ACTIONS(687), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10948,7 +10999,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9469] = 1, - ACTIONS(685), 14, + ACTIONS(689), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10964,7 +11015,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9486] = 1, - ACTIONS(687), 14, + ACTIONS(691), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10980,7 +11031,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9503] = 1, - ACTIONS(689), 14, + ACTIONS(236), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -10996,7 +11047,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9520] = 1, - ACTIONS(691), 14, + ACTIONS(220), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -11012,7 +11063,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9537] = 1, - ACTIONS(234), 14, + ACTIONS(232), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -11044,7 +11095,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9571] = 1, - ACTIONS(224), 14, + ACTIONS(695), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -11060,7 +11111,7 @@ static const uint16_t ts_small_parse_table[] = { sym__unicode_space, anon_sym_SLASH_SLASH, [9588] = 1, - ACTIONS(695), 14, + ACTIONS(222), 14, sym__eof, sym_multi_line_comment, anon_sym_SEMI, @@ -11097,9 +11148,9 @@ static const uint16_t ts_small_parse_table[] = { sym_multi_line_comment, ACTIONS(703), 1, aux_sym_single_line_comment_token1, - STATE(61), 1, + STATE(244), 1, sym__newline, - STATE(255), 1, + STATE(256), 1, aux_sym_single_line_comment_repeat1, ACTIONS(701), 8, sym__eof, @@ -11115,10 +11166,10 @@ static const uint16_t ts_small_parse_table[] = { sym_multi_line_comment, ACTIONS(707), 1, aux_sym_single_line_comment_token1, - STATE(237), 1, - sym__newline, - STATE(259), 1, + STATE(251), 1, aux_sym_single_line_comment_repeat1, + STATE(275), 1, + sym__newline, ACTIONS(705), 8, sym__eof, aux_sym__newline_token1, @@ -11131,11 +11182,11 @@ static const uint16_t ts_small_parse_table[] = { [9671] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(707), 1, + ACTIONS(711), 1, aux_sym_single_line_comment_token1, - STATE(259), 1, + STATE(260), 1, aux_sym_single_line_comment_repeat1, - STATE(272), 1, + STATE(274), 1, sym__newline, ACTIONS(709), 8, sym__eof, @@ -11149,13 +11200,13 @@ static const uint16_t ts_small_parse_table[] = { [9694] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(713), 1, + ACTIONS(715), 1, aux_sym_single_line_comment_token1, - STATE(60), 1, + STATE(58), 1, sym__newline, STATE(254), 1, aux_sym_single_line_comment_repeat1, - ACTIONS(711), 8, + ACTIONS(713), 8, sym__eof, aux_sym__newline_token1, aux_sym__newline_token2, @@ -11167,13 +11218,13 @@ static const uint16_t ts_small_parse_table[] = { [9717] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(717), 1, + ACTIONS(711), 1, aux_sym_single_line_comment_token1, - STATE(251), 1, - aux_sym_single_line_comment_repeat1, - STATE(274), 1, + STATE(56), 1, sym__newline, - ACTIONS(715), 8, + STATE(260), 1, + aux_sym_single_line_comment_repeat1, + ACTIONS(717), 8, sym__eof, aux_sym__newline_token1, aux_sym__newline_token2, @@ -11185,11 +11236,11 @@ static const uint16_t ts_small_parse_table[] = { [9740] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(707), 1, + ACTIONS(711), 1, aux_sym_single_line_comment_token1, - STATE(55), 1, + STATE(60), 1, sym__newline, - STATE(259), 1, + STATE(260), 1, aux_sym_single_line_comment_repeat1, ACTIONS(719), 8, sym__eof, @@ -11203,11 +11254,11 @@ static const uint16_t ts_small_parse_table[] = { [9763] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(707), 1, + ACTIONS(723), 1, aux_sym_single_line_comment_token1, STATE(59), 1, sym__newline, - STATE(259), 1, + STATE(253), 1, aux_sym_single_line_comment_repeat1, ACTIONS(721), 8, sym__eof, @@ -11221,13 +11272,13 @@ static const uint16_t ts_small_parse_table[] = { [9786] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(725), 1, + ACTIONS(711), 1, aux_sym_single_line_comment_token1, - STATE(244), 1, + STATE(247), 1, sym__newline, - STATE(250), 1, + STATE(260), 1, aux_sym_single_line_comment_repeat1, - ACTIONS(723), 8, + ACTIONS(725), 8, sym__eof, aux_sym__newline_token1, aux_sym__newline_token2, @@ -11245,16 +11296,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, ACTIONS(21), 1, sym__raw_string, - STATE(68), 1, + STATE(70), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, + STATE(196), 1, + sym__sign, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, [9839] = 9, @@ -11268,33 +11319,17 @@ static const uint16_t ts_small_parse_table[] = { sym__raw_string, STATE(64), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, + STATE(196), 1, + sym__sign, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, - [9869] = 4, - ACTIONS(3), 1, - sym_multi_line_comment, - ACTIONS(729), 1, - aux_sym_single_line_comment_token1, - STATE(259), 1, - aux_sym_single_line_comment_repeat1, - ACTIONS(727), 8, - sym__eof, - aux_sym__newline_token1, - aux_sym__newline_token2, - aux_sym__newline_token3, - aux_sym__newline_token4, - aux_sym__newline_token5, - aux_sym__newline_token6, - aux_sym__newline_token7, - [9889] = 9, + [9869] = 9, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(7), 1, @@ -11303,108 +11338,124 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, ACTIONS(21), 1, sym__raw_string, - STATE(66), 1, + STATE(69), 1, sym_identifier, - STATE(192), 1, - sym__sign, - STATE(194), 1, + STATE(191), 1, sym__escaped_string, + STATE(196), 1, + sym__sign, ACTIONS(15), 2, anon_sym_PLUS, anon_sym_DASH, - STATE(218), 2, + STATE(207), 2, sym__bare_identifier, sym_string, + [9899] = 4, + ACTIONS(3), 1, + sym_multi_line_comment, + ACTIONS(729), 1, + aux_sym_single_line_comment_token1, + STATE(260), 1, + aux_sym_single_line_comment_repeat1, + ACTIONS(727), 8, + sym__eof, + aux_sym__newline_token1, + aux_sym__newline_token2, + aux_sym__newline_token3, + aux_sym__newline_token4, + aux_sym__newline_token5, + aux_sym__newline_token6, + aux_sym__newline_token7, [9919] = 7, - ACTIONS(75), 1, + ACTIONS(81), 1, anon_sym_LBRACE, ACTIONS(732), 1, anon_sym_BSLASH, - STATE(263), 1, + STATE(261), 1, aux_sym_node_repeat1, - STATE(269), 1, + STATE(267), 1, sym__escline, - STATE(275), 1, + STATE(280), 1, sym__node_space, - STATE(265), 2, + STATE(264), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(734), 3, + ACTIONS(735), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, [9944] = 7, - ACTIONS(81), 1, + ACTIONS(77), 1, anon_sym_LBRACE, - ACTIONS(736), 1, + ACTIONS(738), 1, anon_sym_BSLASH, - STATE(262), 1, + STATE(261), 1, aux_sym_node_repeat1, - STATE(269), 1, + STATE(267), 1, sym__escline, - STATE(275), 1, + STATE(280), 1, sym__node_space, - STATE(265), 2, + STATE(264), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(739), 3, + ACTIONS(740), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, [9969] = 7, - ACTIONS(77), 1, + ACTIONS(75), 1, anon_sym_LBRACE, - ACTIONS(732), 1, + ACTIONS(738), 1, anon_sym_BSLASH, STATE(262), 1, aux_sym_node_repeat1, - STATE(269), 1, + STATE(267), 1, sym__escline, - STATE(275), 1, + STATE(280), 1, sym__node_space, - STATE(265), 2, + STATE(264), 2, + sym__ws, + aux_sym_node_repeat3, + ACTIONS(740), 3, + sym_multi_line_comment, + sym__bom, + sym__unicode_space, + [9994] = 5, + ACTIONS(153), 1, + anon_sym_LBRACE, + ACTIONS(742), 1, + anon_sym_BSLASH, + STATE(268), 1, + sym__escline, + STATE(231), 2, sym__ws, aux_sym_node_repeat3, - ACTIONS(734), 3, + ACTIONS(745), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - [9994] = 8, + [10013] = 8, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(33), 1, sym__digit, - ACTIONS(556), 1, + ACTIONS(573), 1, anon_sym_EQ, - ACTIONS(742), 1, + ACTIONS(748), 1, sym___identifier_char_no_digit, - ACTIONS(744), 1, + ACTIONS(750), 1, anon_sym_0x, - ACTIONS(746), 1, + ACTIONS(752), 1, anon_sym_0o, - ACTIONS(748), 1, + ACTIONS(754), 1, anon_sym_0b, - STATE(135), 1, + STATE(147), 1, sym__integer, - [10019] = 5, - ACTIONS(149), 1, - anon_sym_LBRACE, - ACTIONS(750), 1, - anon_sym_BSLASH, - STATE(267), 1, - sym__escline, - STATE(230), 2, - sym__ws, - aux_sym_node_repeat3, - ACTIONS(753), 3, - sym_multi_line_comment, - sym__bom, - sym__unicode_space, [10038] = 3, - ACTIONS(180), 2, + ACTIONS(199), 2, anon_sym_LBRACE, anon_sym_BSLASH, - STATE(230), 2, + STATE(231), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(756), 3, @@ -11412,7 +11463,7 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, [10052] = 3, - ACTIONS(187), 2, + ACTIONS(153), 2, anon_sym_LBRACE, anon_sym_BSLASH, STATE(266), 2, @@ -11423,10 +11474,10 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, [10066] = 3, - ACTIONS(187), 2, + ACTIONS(199), 2, anon_sym_LBRACE, anon_sym_BSLASH, - STATE(230), 2, + STATE(269), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(762), 3, @@ -11434,161 +11485,161 @@ static const uint16_t ts_small_parse_table[] = { sym__bom, sym__unicode_space, [10080] = 3, - ACTIONS(149), 2, + ACTIONS(169), 2, anon_sym_LBRACE, anon_sym_BSLASH, - STATE(268), 2, + STATE(231), 2, sym__ws, aux_sym_node_repeat3, ACTIONS(765), 3, sym_multi_line_comment, sym__bom, sym__unicode_space, - [10094] = 5, - ACTIONS(3), 1, - sym_multi_line_comment, - ACTIONS(768), 1, - sym__digit, - STATE(200), 1, - sym__integer, - STATE(287), 1, - sym__sign, - ACTIONS(770), 2, - anon_sym_PLUS, - anon_sym_DASH, - [10111] = 6, + [10094] = 6, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(33), 1, sym__digit, - ACTIONS(744), 1, + ACTIONS(750), 1, anon_sym_0x, - ACTIONS(746), 1, + ACTIONS(752), 1, anon_sym_0o, - ACTIONS(748), 1, + ACTIONS(754), 1, anon_sym_0b, - STATE(135), 1, + STATE(147), 1, sym__integer, - [10130] = 1, - ACTIONS(218), 5, + [10113] = 5, + ACTIONS(3), 1, sym_multi_line_comment, - anon_sym_LBRACE, - anon_sym_BSLASH, - sym__bom, - sym__unicode_space, - [10138] = 5, + ACTIONS(768), 1, + sym__digit, + STATE(218), 1, + sym__integer, + STATE(292), 1, + sym__sign, + ACTIONS(770), 2, + anon_sym_PLUS, + anon_sym_DASH, + [10130] = 4, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(772), 1, - anon_sym_DQUOTE, - ACTIONS(774), 1, - aux_sym__escaped_string_token1, - ACTIONS(776), 1, - sym_escape, - STATE(282), 1, - aux_sym__escaped_string_repeat1, - [10154] = 1, - ACTIONS(234), 5, + sym__identifier_char, + STATE(272), 1, + aux_sym__bare_identifier_repeat1, + ACTIONS(539), 2, + anon_sym_EQ, + anon_sym_RPAREN, + [10144] = 1, + ACTIONS(220), 5, sym_multi_line_comment, anon_sym_LBRACE, anon_sym_BSLASH, sym__bom, sym__unicode_space, - [10162] = 1, - ACTIONS(232), 5, + [10152] = 1, + ACTIONS(222), 5, sym_multi_line_comment, anon_sym_LBRACE, anon_sym_BSLASH, sym__bom, sym__unicode_space, - [10170] = 1, - ACTIONS(224), 5, + [10160] = 1, + ACTIONS(232), 5, sym_multi_line_comment, anon_sym_LBRACE, anon_sym_BSLASH, sym__bom, sym__unicode_space, - [10178] = 5, + [10168] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(774), 1, + ACTIONS(775), 1, + anon_sym_DQUOTE, + ACTIONS(777), 1, aux_sym__escaped_string_token1, - ACTIONS(776), 1, + ACTIONS(779), 1, sym_escape, - ACTIONS(778), 1, - anon_sym_DQUOTE, - STATE(283), 1, + STATE(279), 1, aux_sym__escaped_string_repeat1, - [10194] = 4, + [10184] = 4, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(780), 1, + ACTIONS(781), 1, sym__identifier_char, - STATE(279), 1, + STATE(282), 1, aux_sym__bare_identifier_repeat1, - ACTIONS(544), 2, + ACTIONS(548), 2, anon_sym_EQ, anon_sym_RPAREN, - [10208] = 4, - ACTIONS(3), 1, + [10198] = 1, + ACTIONS(236), 5, sym_multi_line_comment, - ACTIONS(782), 1, - sym__identifier_char, - STATE(279), 1, - aux_sym__bare_identifier_repeat1, - ACTIONS(539), 2, - anon_sym_EQ, - anon_sym_RPAREN, - [10222] = 5, + anon_sym_LBRACE, + anon_sym_BSLASH, + sym__bom, + sym__unicode_space, + [10206] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(774), 1, + ACTIONS(783), 1, + anon_sym_DQUOTE, + ACTIONS(785), 1, aux_sym__escaped_string_token1, - ACTIONS(776), 1, + ACTIONS(788), 1, sym_escape, - ACTIONS(785), 1, - anon_sym_DQUOTE, - STATE(277), 1, + STATE(279), 1, aux_sym__escaped_string_repeat1, - [10238] = 1, + [10222] = 1, ACTIONS(228), 5, sym_multi_line_comment, anon_sym_LBRACE, anon_sym_BSLASH, sym__bom, sym__unicode_space, - [10246] = 5, + [10230] = 5, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(774), 1, + ACTIONS(777), 1, aux_sym__escaped_string_token1, - ACTIONS(776), 1, + ACTIONS(779), 1, sym_escape, - ACTIONS(787), 1, + ACTIONS(791), 1, anon_sym_DQUOTE, - STATE(283), 1, + STATE(276), 1, aux_sym__escaped_string_repeat1, - [10262] = 5, + [10246] = 4, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(789), 1, - anon_sym_DQUOTE, - ACTIONS(791), 1, + ACTIONS(793), 1, + sym__identifier_char, + STATE(272), 1, + aux_sym__bare_identifier_repeat1, + ACTIONS(544), 2, + anon_sym_EQ, + anon_sym_RPAREN, + [10260] = 5, + ACTIONS(3), 1, + sym_multi_line_comment, + ACTIONS(777), 1, aux_sym__escaped_string_token1, - ACTIONS(794), 1, + ACTIONS(779), 1, sym_escape, - STATE(283), 1, + ACTIONS(795), 1, + anon_sym_DQUOTE, + STATE(284), 1, aux_sym__escaped_string_repeat1, - [10278] = 4, + [10276] = 5, ACTIONS(3), 1, sym_multi_line_comment, + ACTIONS(777), 1, + aux_sym__escaped_string_token1, + ACTIONS(779), 1, + sym_escape, ACTIONS(797), 1, - sym__identifier_char, - STATE(278), 1, - aux_sym__bare_identifier_repeat1, - ACTIONS(548), 2, - anon_sym_EQ, - anon_sym_RPAREN, + anon_sym_DQUOTE, + STATE(279), 1, + aux_sym__escaped_string_repeat1, [10292] = 3, ACTIONS(3), 1, sym_multi_line_comment, @@ -11602,97 +11653,97 @@ static const uint16_t ts_small_parse_table[] = { sym_multi_line_comment, ACTIONS(768), 1, sym__digit, - STATE(174), 1, + STATE(178), 1, sym__integer, - [10313] = 3, + [10313] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(768), 1, - sym__digit, - STATE(204), 1, - sym__integer, - [10323] = 2, + ACTIONS(560), 2, + anon_sym_EQ, + anon_sym_RPAREN, + [10321] = 2, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(803), 2, anon_sym_0, anon_sym_1, - [10331] = 2, + [10329] = 3, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(805), 2, - anon_sym_0, - anon_sym_1, - [10339] = 2, + ACTIONS(768), 1, + sym__digit, + STATE(179), 1, + sym__integer, + [10339] = 3, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(554), 2, - anon_sym_EQ, + ACTIONS(573), 1, anon_sym_RPAREN, - [10347] = 3, + ACTIONS(748), 1, + sym___identifier_char_no_digit, + [10349] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(768), 1, - sym__digit, - STATE(180), 1, - sym__integer, + ACTIONS(805), 2, + anon_sym_0, + anon_sym_1, [10357] = 3, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(556), 1, - anon_sym_RPAREN, - ACTIONS(742), 1, - sym___identifier_char_no_digit, + ACTIONS(768), 1, + sym__digit, + STATE(203), 1, + sym__integer, [10367] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(581), 1, - anon_sym_RPAREN, + ACTIONS(807), 1, + sym__hex_digit, [10374] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(579), 1, + ACTIONS(552), 1, anon_sym_RPAREN, [10381] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(807), 1, - anon_sym_EQ, + ACTIONS(556), 1, + anon_sym_RPAREN, [10388] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(566), 1, - anon_sym_RPAREN, + ACTIONS(809), 1, + anon_sym_EQ, [10395] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(809), 1, + ACTIONS(811), 1, ts_builtin_sym_end, [10402] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(811), 1, - sym__hex_digit, + ACTIONS(813), 1, + anon_sym_RPAREN, [10409] = 2, ACTIONS(3), 1, sym_multi_line_comment, - ACTIONS(813), 1, - aux_sym__octal_token1, + ACTIONS(554), 1, + anon_sym_RPAREN, [10416] = 2, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(815), 1, - aux_sym__octal_token1, + sym__hex_digit, [10423] = 2, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(817), 1, - anon_sym_RPAREN, + aux_sym__octal_token1, [10430] = 2, ACTIONS(3), 1, sym_multi_line_comment, ACTIONS(819), 1, - sym__hex_digit, + aux_sym__octal_token1, [10437] = 2, ACTIONS(3), 1, sym_multi_line_comment, @@ -11727,31 +11778,31 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(25)] = 2120, [SMALL_STATE(26)] = 2185, [SMALL_STATE(27)] = 2250, - [SMALL_STATE(28)] = 2295, - [SMALL_STATE(29)] = 2360, - [SMALL_STATE(30)] = 2425, + [SMALL_STATE(28)] = 2315, + [SMALL_STATE(29)] = 2380, + [SMALL_STATE(30)] = 2445, [SMALL_STATE(31)] = 2490, [SMALL_STATE(32)] = 2555, [SMALL_STATE(33)] = 2619, - [SMALL_STATE(34)] = 2683, + [SMALL_STATE(34)] = 2659, [SMALL_STATE(35)] = 2723, [SMALL_STATE(36)] = 2787, [SMALL_STATE(37)] = 2851, [SMALL_STATE(38)] = 2915, - [SMALL_STATE(39)] = 2955, - [SMALL_STATE(40)] = 2995, - [SMALL_STATE(41)] = 3059, - [SMALL_STATE(42)] = 3123, - [SMALL_STATE(43)] = 3187, - [SMALL_STATE(44)] = 3251, - [SMALL_STATE(45)] = 3315, - [SMALL_STATE(46)] = 3379, - [SMALL_STATE(47)] = 3443, - [SMALL_STATE(48)] = 3507, - [SMALL_STATE(49)] = 3571, - [SMALL_STATE(50)] = 3611, - [SMALL_STATE(51)] = 3675, - [SMALL_STATE(52)] = 3739, + [SMALL_STATE(39)] = 2979, + [SMALL_STATE(40)] = 3043, + [SMALL_STATE(41)] = 3107, + [SMALL_STATE(42)] = 3171, + [SMALL_STATE(43)] = 3235, + [SMALL_STATE(44)] = 3299, + [SMALL_STATE(45)] = 3363, + [SMALL_STATE(46)] = 3427, + [SMALL_STATE(47)] = 3491, + [SMALL_STATE(48)] = 3531, + [SMALL_STATE(49)] = 3595, + [SMALL_STATE(50)] = 3659, + [SMALL_STATE(51)] = 3699, + [SMALL_STATE(52)] = 3763, [SMALL_STATE(53)] = 3803, [SMALL_STATE(54)] = 3843, [SMALL_STATE(55)] = 3904, @@ -11763,10 +11814,10 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(61)] = 4108, [SMALL_STATE(62)] = 4142, [SMALL_STATE(63)] = 4195, - [SMALL_STATE(64)] = 4248, - [SMALL_STATE(65)] = 4301, - [SMALL_STATE(66)] = 4354, - [SMALL_STATE(67)] = 4407, + [SMALL_STATE(64)] = 4260, + [SMALL_STATE(65)] = 4313, + [SMALL_STATE(66)] = 4366, + [SMALL_STATE(67)] = 4419, [SMALL_STATE(68)] = 4472, [SMALL_STATE(69)] = 4525, [SMALL_STATE(70)] = 4578, @@ -11781,91 +11832,91 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(79)] = 4952, [SMALL_STATE(80)] = 5008, [SMALL_STATE(81)] = 5049, - [SMALL_STATE(82)] = 5078, + [SMALL_STATE(82)] = 5090, [SMALL_STATE(83)] = 5119, - [SMALL_STATE(84)] = 5160, - [SMALL_STATE(85)] = 5201, - [SMALL_STATE(86)] = 5242, - [SMALL_STATE(87)] = 5283, - [SMALL_STATE(88)] = 5324, - [SMALL_STATE(89)] = 5365, - [SMALL_STATE(90)] = 5404, - [SMALL_STATE(91)] = 5445, - [SMALL_STATE(92)] = 5486, - [SMALL_STATE(93)] = 5527, - [SMALL_STATE(94)] = 5568, - [SMALL_STATE(95)] = 5609, - [SMALL_STATE(96)] = 5650, - [SMALL_STATE(97)] = 5691, - [SMALL_STATE(98)] = 5732, - [SMALL_STATE(99)] = 5773, - [SMALL_STATE(100)] = 5802, + [SMALL_STATE(84)] = 5148, + [SMALL_STATE(85)] = 5189, + [SMALL_STATE(86)] = 5230, + [SMALL_STATE(87)] = 5271, + [SMALL_STATE(88)] = 5312, + [SMALL_STATE(89)] = 5353, + [SMALL_STATE(90)] = 5394, + [SMALL_STATE(91)] = 5435, + [SMALL_STATE(92)] = 5476, + [SMALL_STATE(93)] = 5517, + [SMALL_STATE(94)] = 5556, + [SMALL_STATE(95)] = 5591, + [SMALL_STATE(96)] = 5632, + [SMALL_STATE(97)] = 5673, + [SMALL_STATE(98)] = 5714, + [SMALL_STATE(99)] = 5755, + [SMALL_STATE(100)] = 5796, [SMALL_STATE(101)] = 5837, [SMALL_STATE(102)] = 5878, [SMALL_STATE(103)] = 5919, [SMALL_STATE(104)] = 5960, [SMALL_STATE(105)] = 6001, [SMALL_STATE(106)] = 6042, - [SMALL_STATE(107)] = 6083, - [SMALL_STATE(108)] = 6124, - [SMALL_STATE(109)] = 6165, - [SMALL_STATE(110)] = 6206, - [SMALL_STATE(111)] = 6247, - [SMALL_STATE(112)] = 6288, - [SMALL_STATE(113)] = 6329, - [SMALL_STATE(114)] = 6370, - [SMALL_STATE(115)] = 6411, - [SMALL_STATE(116)] = 6452, - [SMALL_STATE(117)] = 6493, - [SMALL_STATE(118)] = 6534, - [SMALL_STATE(119)] = 6575, + [SMALL_STATE(107)] = 6071, + [SMALL_STATE(108)] = 6112, + [SMALL_STATE(109)] = 6153, + [SMALL_STATE(110)] = 6194, + [SMALL_STATE(111)] = 6235, + [SMALL_STATE(112)] = 6276, + [SMALL_STATE(113)] = 6317, + [SMALL_STATE(114)] = 6358, + [SMALL_STATE(115)] = 6399, + [SMALL_STATE(116)] = 6440, + [SMALL_STATE(117)] = 6481, + [SMALL_STATE(118)] = 6522, + [SMALL_STATE(119)] = 6563, [SMALL_STATE(120)] = 6604, [SMALL_STATE(121)] = 6645, - [SMALL_STATE(122)] = 6675, - [SMALL_STATE(123)] = 6705, - [SMALL_STATE(124)] = 6735, + [SMALL_STATE(122)] = 6699, + [SMALL_STATE(123)] = 6729, + [SMALL_STATE(124)] = 6759, [SMALL_STATE(125)] = 6789, - [SMALL_STATE(126)] = 6819, - [SMALL_STATE(127)] = 6849, + [SMALL_STATE(126)] = 6843, + [SMALL_STATE(127)] = 6873, [SMALL_STATE(128)] = 6903, [SMALL_STATE(129)] = 6926, - [SMALL_STATE(130)] = 6949, + [SMALL_STATE(130)] = 6953, [SMALL_STATE(131)] = 6976, [SMALL_STATE(132)] = 6999, [SMALL_STATE(133)] = 7022, [SMALL_STATE(134)] = 7045, [SMALL_STATE(135)] = 7068, - [SMALL_STATE(136)] = 7097, - [SMALL_STATE(137)] = 7120, + [SMALL_STATE(136)] = 7091, + [SMALL_STATE(137)] = 7114, [SMALL_STATE(138)] = 7143, - [SMALL_STATE(139)] = 7166, - [SMALL_STATE(140)] = 7189, - [SMALL_STATE(141)] = 7212, - [SMALL_STATE(142)] = 7235, - [SMALL_STATE(143)] = 7258, - [SMALL_STATE(144)] = 7281, - [SMALL_STATE(145)] = 7304, - [SMALL_STATE(146)] = 7327, - [SMALL_STATE(147)] = 7350, - [SMALL_STATE(148)] = 7377, - [SMALL_STATE(149)] = 7400, - [SMALL_STATE(150)] = 7423, - [SMALL_STATE(151)] = 7446, - [SMALL_STATE(152)] = 7469, - [SMALL_STATE(153)] = 7492, - [SMALL_STATE(154)] = 7515, - [SMALL_STATE(155)] = 7544, - [SMALL_STATE(156)] = 7567, - [SMALL_STATE(157)] = 7590, - [SMALL_STATE(158)] = 7613, - [SMALL_STATE(159)] = 7636, - [SMALL_STATE(160)] = 7659, - [SMALL_STATE(161)] = 7682, - [SMALL_STATE(162)] = 7705, - [SMALL_STATE(163)] = 7728, - [SMALL_STATE(164)] = 7751, - [SMALL_STATE(165)] = 7778, - [SMALL_STATE(166)] = 7805, + [SMALL_STATE(139)] = 7170, + [SMALL_STATE(140)] = 7197, + [SMALL_STATE(141)] = 7220, + [SMALL_STATE(142)] = 7243, + [SMALL_STATE(143)] = 7266, + [SMALL_STATE(144)] = 7289, + [SMALL_STATE(145)] = 7312, + [SMALL_STATE(146)] = 7335, + [SMALL_STATE(147)] = 7358, + [SMALL_STATE(148)] = 7387, + [SMALL_STATE(149)] = 7410, + [SMALL_STATE(150)] = 7433, + [SMALL_STATE(151)] = 7460, + [SMALL_STATE(152)] = 7487, + [SMALL_STATE(153)] = 7510, + [SMALL_STATE(154)] = 7533, + [SMALL_STATE(155)] = 7556, + [SMALL_STATE(156)] = 7579, + [SMALL_STATE(157)] = 7602, + [SMALL_STATE(158)] = 7625, + [SMALL_STATE(159)] = 7648, + [SMALL_STATE(160)] = 7671, + [SMALL_STATE(161)] = 7694, + [SMALL_STATE(162)] = 7717, + [SMALL_STATE(163)] = 7740, + [SMALL_STATE(164)] = 7763, + [SMALL_STATE(165)] = 7786, + [SMALL_STATE(166)] = 7809, [SMALL_STATE(167)] = 7832, [SMALL_STATE(168)] = 7855, [SMALL_STATE(169)] = 7878, @@ -11873,55 +11924,55 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(171)] = 7924, [SMALL_STATE(172)] = 7947, [SMALL_STATE(173)] = 7973, - [SMALL_STATE(174)] = 7999, - [SMALL_STATE(175)] = 8025, - [SMALL_STATE(176)] = 8051, - [SMALL_STATE(177)] = 8077, - [SMALL_STATE(178)] = 8103, - [SMALL_STATE(179)] = 8129, - [SMALL_STATE(180)] = 8153, - [SMALL_STATE(181)] = 8179, - [SMALL_STATE(182)] = 8205, - [SMALL_STATE(183)] = 8231, - [SMALL_STATE(184)] = 8255, - [SMALL_STATE(185)] = 8281, - [SMALL_STATE(186)] = 8307, + [SMALL_STATE(174)] = 7997, + [SMALL_STATE(175)] = 8023, + [SMALL_STATE(176)] = 8049, + [SMALL_STATE(177)] = 8073, + [SMALL_STATE(178)] = 8099, + [SMALL_STATE(179)] = 8125, + [SMALL_STATE(180)] = 8151, + [SMALL_STATE(181)] = 8177, + [SMALL_STATE(182)] = 8203, + [SMALL_STATE(183)] = 8227, + [SMALL_STATE(184)] = 8253, + [SMALL_STATE(185)] = 8279, + [SMALL_STATE(186)] = 8305, [SMALL_STATE(187)] = 8331, [SMALL_STATE(188)] = 8365, [SMALL_STATE(189)] = 8390, [SMALL_STATE(190)] = 8415, [SMALL_STATE(191)] = 8440, - [SMALL_STATE(192)] = 8462, - [SMALL_STATE(193)] = 8484, - [SMALL_STATE(194)] = 8512, - [SMALL_STATE(195)] = 8532, - [SMALL_STATE(196)] = 8560, - [SMALL_STATE(197)] = 8580, + [SMALL_STATE(192)] = 8460, + [SMALL_STATE(193)] = 8480, + [SMALL_STATE(194)] = 8500, + [SMALL_STATE(195)] = 8522, + [SMALL_STATE(196)] = 8550, + [SMALL_STATE(197)] = 8572, [SMALL_STATE(198)] = 8600, [SMALL_STATE(199)] = 8619, - [SMALL_STATE(200)] = 8638, - [SMALL_STATE(201)] = 8657, + [SMALL_STATE(200)] = 8642, + [SMALL_STATE(201)] = 8661, [SMALL_STATE(202)] = 8680, [SMALL_STATE(203)] = 8699, [SMALL_STATE(204)] = 8718, - [SMALL_STATE(205)] = 8737, + [SMALL_STATE(205)] = 8741, [SMALL_STATE(206)] = 8760, [SMALL_STATE(207)] = 8783, - [SMALL_STATE(208)] = 8806, + [SMALL_STATE(208)] = 8802, [SMALL_STATE(209)] = 8825, [SMALL_STATE(210)] = 8844, - [SMALL_STATE(211)] = 8867, - [SMALL_STATE(212)] = 8886, - [SMALL_STATE(213)] = 8909, - [SMALL_STATE(214)] = 8928, - [SMALL_STATE(215)] = 8947, - [SMALL_STATE(216)] = 8966, - [SMALL_STATE(217)] = 8985, - [SMALL_STATE(218)] = 9004, - [SMALL_STATE(219)] = 9023, + [SMALL_STATE(211)] = 8863, + [SMALL_STATE(212)] = 8882, + [SMALL_STATE(213)] = 8901, + [SMALL_STATE(214)] = 8920, + [SMALL_STATE(215)] = 8939, + [SMALL_STATE(216)] = 8958, + [SMALL_STATE(217)] = 8977, + [SMALL_STATE(218)] = 9000, + [SMALL_STATE(219)] = 9019, [SMALL_STATE(220)] = 9042, [SMALL_STATE(221)] = 9061, - [SMALL_STATE(222)] = 9080, + [SMALL_STATE(222)] = 9084, [SMALL_STATE(223)] = 9103, [SMALL_STATE(224)] = 9129, [SMALL_STATE(225)] = 9155, @@ -11930,7 +11981,7 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(228)] = 9233, [SMALL_STATE(229)] = 9259, [SMALL_STATE(230)] = 9285, - [SMALL_STATE(231)] = 9307, + [SMALL_STATE(231)] = 9311, [SMALL_STATE(232)] = 9333, [SMALL_STATE(233)] = 9350, [SMALL_STATE(234)] = 9367, @@ -11959,38 +12010,38 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(257)] = 9809, [SMALL_STATE(258)] = 9839, [SMALL_STATE(259)] = 9869, - [SMALL_STATE(260)] = 9889, + [SMALL_STATE(260)] = 9899, [SMALL_STATE(261)] = 9919, [SMALL_STATE(262)] = 9944, [SMALL_STATE(263)] = 9969, [SMALL_STATE(264)] = 9994, - [SMALL_STATE(265)] = 10019, + [SMALL_STATE(265)] = 10013, [SMALL_STATE(266)] = 10038, [SMALL_STATE(267)] = 10052, [SMALL_STATE(268)] = 10066, [SMALL_STATE(269)] = 10080, [SMALL_STATE(270)] = 10094, - [SMALL_STATE(271)] = 10111, + [SMALL_STATE(271)] = 10113, [SMALL_STATE(272)] = 10130, - [SMALL_STATE(273)] = 10138, - [SMALL_STATE(274)] = 10154, - [SMALL_STATE(275)] = 10162, - [SMALL_STATE(276)] = 10170, - [SMALL_STATE(277)] = 10178, - [SMALL_STATE(278)] = 10194, - [SMALL_STATE(279)] = 10208, + [SMALL_STATE(273)] = 10144, + [SMALL_STATE(274)] = 10152, + [SMALL_STATE(275)] = 10160, + [SMALL_STATE(276)] = 10168, + [SMALL_STATE(277)] = 10184, + [SMALL_STATE(278)] = 10198, + [SMALL_STATE(279)] = 10206, [SMALL_STATE(280)] = 10222, - [SMALL_STATE(281)] = 10238, + [SMALL_STATE(281)] = 10230, [SMALL_STATE(282)] = 10246, - [SMALL_STATE(283)] = 10262, - [SMALL_STATE(284)] = 10278, + [SMALL_STATE(283)] = 10260, + [SMALL_STATE(284)] = 10276, [SMALL_STATE(285)] = 10292, [SMALL_STATE(286)] = 10303, [SMALL_STATE(287)] = 10313, - [SMALL_STATE(288)] = 10323, - [SMALL_STATE(289)] = 10331, + [SMALL_STATE(288)] = 10321, + [SMALL_STATE(289)] = 10329, [SMALL_STATE(290)] = 10339, - [SMALL_STATE(291)] = 10347, + [SMALL_STATE(291)] = 10349, [SMALL_STATE(292)] = 10357, [SMALL_STATE(293)] = 10367, [SMALL_STATE(294)] = 10374, @@ -12010,377 +12061,377 @@ 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(218), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(290), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(287), [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), - [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), - [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), - [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(219), - [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), - [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(214), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), + [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), - [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), [61] = {.entry = {.count = 1, .reusable = false}}, SHIFT(303), - [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), - [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), - [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), + [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), + [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), [69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), - [73] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), + [73] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [75] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), [79] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), - [83] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(229), - [86] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(27), + [83] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(225), + [86] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(30), [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), - [91] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(218), - [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(127), + [91] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(207), + [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(121), [97] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(9), - [100] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(273), - [103] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(192), + [100] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(281), + [103] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(196), [106] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(54), - [109] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(252), - [112] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(194), - [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), - [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), - [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 3, 0, 0), - [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), - [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243), - [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), - [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node_space, 1, 0, 0), - [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), - [151] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(229), - [154] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(49), - [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 2, 0, 0), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), - [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [109] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(255), + [112] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2, 0, 0), SHIFT_REPEAT(191), + [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), + [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 3, 0, 0), + [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), + [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 2, 0, 0), + [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), + [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), + [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node_space, 1, 0, 0), + [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), + [155] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(225), + [158] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(53), + [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [169] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(53), - [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), - [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node_space, 3, 0, 0), - [180] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), - [182] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(49), - [185] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node_space, 2, 0, 0), - [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), - [189] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(38), + [167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node_space, 3, 0, 0), + [169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), + [171] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(53), + [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 4, 0, 0), + [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), - [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), - [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), - [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), - [210] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(49), - [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 4, 0, 0), - [215] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(49), - [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_line_comment, 3, 0, 0), - [220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_line_comment, 3, 0, 0), - [222] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__escline, 2, 0, 0), - [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escline, 2, 0, 0), - [226] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__escline, 3, 0, 0), - [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escline, 3, 0, 0), - [230] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_node_repeat1, 1, 0, 0), - [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 1, 0, 0), - [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_line_comment, 2, 0, 0), - [236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_line_comment, 2, 0, 0), - [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), - [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), - [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), - [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), - [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), - [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [194] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(50), + [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__node_space, 2, 0, 0), + [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), + [201] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(53), + [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), + [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [208] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(33), + [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), + [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), + [215] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(53), + [218] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__escline, 2, 0, 0), + [220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escline, 2, 0, 0), + [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_line_comment, 3, 0, 0), + [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_line_comment, 3, 0, 0), + [226] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_node_repeat1, 1, 0, 0), + [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 1, 0, 0), + [230] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_line_comment, 2, 0, 0), + [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_line_comment, 2, 0, 0), + [234] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__escline, 3, 0, 0), + [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escline, 3, 0, 0), + [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), + [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), + [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), [252] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(73), - [255] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(252), - [258] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(227), - [261] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(100), - [264] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT(247), - [267] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT(243), - [270] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_document, 2, 0, 0), REDUCE(aux_sym_document_repeat1, 2, 0, 0), - [273] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT(245), - [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), - [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__integer, 1, 0, 0), - [284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), - [290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), - [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), - [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_node_repeat2, 2, 0, 0), - [306] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat2, 2, 0, 0), SHIFT_REPEAT(227), - [309] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat2, 2, 0, 0), SHIFT_REPEAT(100), - [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), - [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), - [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__integer_repeat1, 2, 0, 0), - [334] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__integer_repeat1, 2, 0, 0), SHIFT_REPEAT(99), - [337] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(227), - [340] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(126), - [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), - [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), - [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__integer, 2, 0, 0), - [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [381] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(123), - [384] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(126), - [387] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(126), - [390] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(122), - [393] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(126), - [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 9, 0, 14), - [398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 10, 0, 16), - [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__binary_repeat1, 2, 0, 0), - [402] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__binary_repeat1, 2, 0, 0), SHIFT_REPEAT(130), - [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 15), - [407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 12), - [409] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 8), - [411] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 14), - [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 2, 0, 0), - [415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), - [417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), - [419] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 12), - [421] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 3), - [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 7), - [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 15), - [427] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 14), - [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 4), - [431] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 0), - [433] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 9, 0, 16), - [435] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 8), - [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 11), - [439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 4, 0, 2), - [441] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__binary, 2, 0, 0), - [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [445] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 4), - [447] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 4, 0, 3), - [449] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 9, 0, 15), - [451] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 11), - [453] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 3, 0, 0), - [455] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 1, 0, 0), - [457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 12), - [461] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 2, 0, 0), - [463] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 7), - [465] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 3, 0, 2), - [467] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 8), + [255] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(255), + [258] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(223), + [261] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(94), + [264] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT(240), + [267] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT(238), + [270] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT(241), + [273] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_document, 2, 0, 0), REDUCE(aux_sym_document_repeat1, 2, 0, 0), + [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__integer_repeat1, 2, 0, 0), + [286] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__integer_repeat1, 2, 0, 0), SHIFT_REPEAT(82), + [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__integer, 1, 0, 0), + [291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_node_repeat2, 2, 0, 0), + [315] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat2, 2, 0, 0), SHIFT_REPEAT(223), + [318] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat2, 2, 0, 0), SHIFT_REPEAT(94), + [321] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(223), + [324] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(126), + [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [333] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [347] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__integer, 2, 0, 0), + [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [373] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [375] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [381] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(124), + [384] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(127), + [387] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(126), + [390] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(126), + [393] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(126), + [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 11), + [398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__binary, 2, 0, 0), + [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 3, 0, 2), + [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 3), + [406] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 7), + [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 0), + [410] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 8), + [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 4), + [414] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 2), + [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 1, 0, 0), + [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), + [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__binary, 3, 0, 0), + [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 3), + [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 7), + [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 3, 0, 0), + [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 4, 0, 3), + [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 0), + [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 8), + [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 12), + [442] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 2, 0, 0), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), + [446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 4), + [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 4, 0, 4), + [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__binary_repeat1, 2, 0, 0), + [452] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__binary_repeat1, 2, 0, 0), SHIFT_REPEAT(150), + [455] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__binary, 4, 0, 0), + [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 7), + [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 11), + [461] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 14), + [463] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 8), + [465] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 12), + [467] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 15), [469] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 7, 0, 4), - [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 5, 0, 2), - [473] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 0), - [475] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 16), - [477] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__binary, 3, 0, 0), - [479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [481] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__binary, 4, 0, 0), - [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [485] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 3), - [487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 7), - [489] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 4, 0, 4), - [491] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 6, 0, 11), + [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 11), + [473] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 14), + [475] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 12), + [477] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 15), + [479] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 8, 0, 16), + [481] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 4, 0, 2), + [483] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 2, 0, 0), + [485] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 9, 0, 14), + [487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 9, 0, 15), + [489] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 9, 0, 16), + [491] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 10, 0, 16), [493] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node, 4, 0, 0), - [495] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__octal, 4, 0, 0), - [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), - [499] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__octal, 2, 0, 0), - [501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [503] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 3, 0, 10), - [505] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hex, 3, 0, 0), - [507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [509] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__octal, 3, 0, 0), - [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [515] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hex, 4, 0, 0), - [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 4, 0, 13), - [519] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__octal_repeat1, 2, 0, 0), - [521] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__octal_repeat1, 2, 0, 0), SHIFT_REPEAT(181), - [524] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__hex_repeat1, 2, 0, 0), - [526] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__hex_repeat1, 2, 0, 0), SHIFT_REPEAT(184), - [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hex, 2, 0, 0), - [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [533] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(231), - [536] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(193), + [495] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__octal_repeat1, 2, 0, 0), + [497] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__octal_repeat1, 2, 0, 0), SHIFT_REPEAT(172), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__hex_repeat1, 2, 0, 0), + [502] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__hex_repeat1, 2, 0, 0), SHIFT_REPEAT(174), + [505] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__octal, 4, 0, 0), + [507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [509] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hex, 4, 0, 0), + [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [513] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 4, 0, 13), + [515] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 3, 0, 10), + [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hex, 3, 0, 0), + [519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [521] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__octal, 3, 0, 0), + [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hex, 2, 0, 0), + [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__octal, 2, 0, 0), + [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [533] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(224), + [536] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(197), [539] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__bare_identifier_repeat1, 2, 0, 0), [541] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__bare_identifier_repeat1, 2, 0, 0), SHIFT_REPEAT(188), [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bare_identifier, 3, 0, 0), [546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), [548] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bare_identifier, 2, 0, 0), [550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1, 0, 0), - [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1, 0, 0), - [556] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bare_identifier, 1, 0, 0), - [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [560] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(231), - [563] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(205), - [566] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1, 0, 0), - [568] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(aux_sym_node_repeat3, 2, 0, 0), - [571] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT(231), - [575] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT(205), - [579] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escaped_string, 2, 0, 0), - [581] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escaped_string, 3, 0, 1), - [583] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__exponent, 2, 0, 0), - [585] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(205), + [552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1, 0, 0), + [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escaped_string, 3, 0, 1), + [556] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__escaped_string, 2, 0, 0), + [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1, 0, 0), + [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1, 0, 0), + [562] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(aux_sym_node_repeat3, 2, 0, 0), + [565] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT(224), + [569] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT(199), + [573] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bare_identifier, 1, 0, 0), + [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [577] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(224), + [580] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(199), + [583] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(199), + [586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prop, 3, 0, 0), [588] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 3, 0, 0), [590] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 4, 0, 10), [592] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__exponent, 3, 0, 0), - [594] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(205), - [597] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(201), - [600] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(205), - [603] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prop, 3, 0, 0), - [605] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_field_comment, 3, 0, 9), - [607] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), REDUCE(sym__node_space, 3, 0, 0), - [610] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), REDUCE(sym__node_space, 3, 0, 0), SHIFT(205), - [614] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_field, 1, 0, 0), - [616] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(207), - [619] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_field, 1, 0, 0), - [621] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_number, 1, 0, 0), - [623] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 5, 0, 13), - [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_keyword, 1, 0, 0), - [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1, 0, 0), - [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 2, 0, 0), - [631] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_field_comment, 2, 0, 6), - [633] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(sym__node_space, 2, 0, 0), - [636] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(sym__node_space, 2, 0, 0), SHIFT(210), - [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), - [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), - [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), - [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), - [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), - [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), - [668] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(230), - [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), - [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), - [675] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 3, 0, 5), - [677] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 8, 0, 5), - [679] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 6, 0, 0), - [681] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 5, 0, 0), - [683] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 4, 0, 5), - [685] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 7, 0, 5), - [687] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 2, 0, 0), - [689] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 3, 0, 0), - [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 5, 0, 5), - [693] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 6, 0, 5), - [695] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 4, 0, 0), + [594] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(sym__node_space, 2, 0, 0), + [597] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), REDUCE(sym__node_space, 2, 0, 0), SHIFT(206), + [601] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_number, 1, 0, 0), + [603] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), REDUCE(sym__node_space, 3, 0, 0), + [606] = {.entry = {.count = 3, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), REDUCE(sym__node_space, 3, 0, 0), SHIFT(199), + [610] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(199), + [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__decimal, 5, 0, 13), + [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_field_comment, 2, 0, 6), + [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_field_comment, 3, 0, 9), + [619] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_keyword, 1, 0, 0), + [621] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1, 0, 0), + [623] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 2, 0, 0), + [625] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(219), + [628] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__exponent, 2, 0, 0), + [630] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(199), + [633] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__node_field, 1, 0, 0), + [635] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(208), + [638] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_field, 1, 0, 0), + [640] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [642] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243), + [646] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), + [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), + [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), + [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), + [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), + [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [670] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), + [672] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat3, 2, 0, 0), SHIFT_REPEAT(231), + [675] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 6, 0, 0), + [677] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 7, 0, 5), + [679] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 8, 0, 5), + [681] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 3, 0, 5), + [683] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 2, 0, 0), + [685] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 5, 0, 5), + [687] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 3, 0, 0), + [689] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 4, 0, 0), + [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 6, 0, 5), + [693] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 5, 0, 0), + [695] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_node_children, 4, 0, 5), [697] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 3, 0, 0), [699] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3, 0, 0), - [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), - [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), - [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), - [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), - [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), - [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), - [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), + [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), [727] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_single_line_comment_repeat1, 2, 0, 0), - [729] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_single_line_comment_repeat1, 2, 0, 0), SHIFT_REPEAT(259), - [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), - [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [736] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(228), - [739] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(265), - [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), - [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), - [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), - [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), - [750] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(228), - [753] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(230), - [756] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(230), - [759] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(266), - [762] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(230), - [765] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(268), - [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), - [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), - [772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [774] = {.entry = {.count = 1, .reusable = false}}, SHIFT(285), - [776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), - [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), - [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), - [782] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__bare_identifier_repeat1, 2, 0, 0), SHIFT_REPEAT(279), - [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), - [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [789] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__escaped_string_repeat1, 2, 0, 0), - [791] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__escaped_string_repeat1, 2, 0, 0), SHIFT_REPEAT(285), - [794] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__escaped_string_repeat1, 2, 0, 0), SHIFT_REPEAT(285), - [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), + [729] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_single_line_comment_repeat1, 2, 0, 0), SHIFT_REPEAT(260), + [732] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(229), + [735] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_node_repeat1, 2, 0, 0), SHIFT_REPEAT(264), + [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), + [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), + [742] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(229), + [745] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(231), + [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), + [756] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(231), + [759] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 1, 0, 0), SHIFT(266), + [762] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 2, 0, 0), SHIFT(269), + [765] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym__node_space, 3, 0, 0), SHIFT(231), + [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [772] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__bare_identifier_repeat1, 2, 0, 0), SHIFT_REPEAT(272), + [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [777] = {.entry = {.count = 1, .reusable = false}}, SHIFT(285), + [779] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [783] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__escaped_string_repeat1, 2, 0, 0), + [785] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__escaped_string_repeat1, 2, 0, 0), SHIFT_REPEAT(285), + [788] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__escaped_string_repeat1, 2, 0, 0), SHIFT_REPEAT(285), + [791] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [793] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), + [795] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), [799] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__escaped_string_repeat1, 1, 0, 0), [801] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__escaped_string_repeat1, 1, 0, 0), - [803] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [805] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), - [807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [809] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [811] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [815] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [817] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), - [819] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [803] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [805] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [809] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [811] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [815] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [817] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [819] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), [821] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_annotation_type, 1, 0, 0), }; @@ -12434,7 +12485,7 @@ void tree_sitter_kdl_external_scanner_deserialize(void *, const char *, unsigned TS_PUBLIC const TSLanguage *tree_sitter_kdl(void) { static const TSLanguage language = { - .version = LANGUAGE_VERSION, + .abi_version = LANGUAGE_VERSION, .symbol_count = SYMBOL_COUNT, .alias_count = ALIAS_COUNT, .token_count = TOKEN_COUNT, @@ -12456,7 +12507,7 @@ TS_PUBLIC const TSLanguage *tree_sitter_kdl(void) { .public_symbol_map = ts_symbol_map, .alias_map = ts_non_terminal_alias_map, .alias_sequences = &ts_alias_sequences[0][0], - .lex_modes = ts_lex_modes, + .lex_modes = (const void*)ts_lex_modes, .lex_fn = ts_lex, .keyword_lex_fn = ts_lex_keywords, .keyword_capture_token = sym__normal_bare_identifier, diff --git a/src/tree_sitter/alloc.h b/src/tree_sitter/alloc.h index 1f4466d..1abdd12 100644 --- a/src/tree_sitter/alloc.h +++ b/src/tree_sitter/alloc.h @@ -12,10 +12,10 @@ extern "C" { // Allow clients to override allocation functions #ifdef TREE_SITTER_REUSE_ALLOCATOR -extern void *(*ts_current_malloc)(size_t); -extern void *(*ts_current_calloc)(size_t, size_t); -extern void *(*ts_current_realloc)(void *, size_t); -extern void (*ts_current_free)(void *); +extern void *(*ts_current_malloc)(size_t size); +extern void *(*ts_current_calloc)(size_t count, size_t size); +extern void *(*ts_current_realloc)(void *ptr, size_t size); +extern void (*ts_current_free)(void *ptr); #ifndef ts_malloc #define ts_malloc ts_current_malloc diff --git a/src/tree_sitter/array.h b/src/tree_sitter/array.h index 15a3b23..a17a574 100644 --- a/src/tree_sitter/array.h +++ b/src/tree_sitter/array.h @@ -14,6 +14,7 @@ extern "C" { #include #ifdef _MSC_VER +#pragma warning(push) #pragma warning(disable : 4101) #elif defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push @@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size, #define _compare_int(a, b) ((int)*(a) - (int)(b)) #ifdef _MSC_VER -#pragma warning(default : 4101) +#pragma warning(pop) #elif defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic pop #endif diff --git a/src/tree_sitter/parser.h b/src/tree_sitter/parser.h index 17f0e94..858107d 100644 --- a/src/tree_sitter/parser.h +++ b/src/tree_sitter/parser.h @@ -18,6 +18,11 @@ typedef uint16_t TSStateId; typedef uint16_t TSSymbol; typedef uint16_t TSFieldId; typedef struct TSLanguage TSLanguage; +typedef struct TSLanguageMetadata { + uint8_t major_version; + uint8_t minor_version; + uint8_t patch_version; +} TSLanguageMetadata; #endif typedef struct { @@ -26,10 +31,11 @@ typedef struct { bool inherited; } TSFieldMapEntry; +// Used to index the field and supertype maps. typedef struct { uint16_t index; uint16_t length; -} TSFieldMapSlice; +} TSMapSlice; typedef struct { bool visible; @@ -47,6 +53,7 @@ struct TSLexer { uint32_t (*get_column)(TSLexer *); bool (*is_at_included_range_start)(const TSLexer *); bool (*eof)(const TSLexer *); + void (*log)(const TSLexer *, const char *, ...); }; typedef enum { @@ -78,6 +85,12 @@ typedef struct { uint16_t external_lex_state; } TSLexMode; +typedef struct { + uint16_t lex_state; + uint16_t external_lex_state; + uint16_t reserved_word_set_id; +} TSLexerMode; + typedef union { TSParseAction action; struct { @@ -92,7 +105,7 @@ typedef struct { } TSCharacterRange; struct TSLanguage { - uint32_t version; + uint32_t abi_version; uint32_t symbol_count; uint32_t alias_count; uint32_t token_count; @@ -108,13 +121,13 @@ struct TSLanguage { const TSParseActionEntry *parse_actions; const char * const *symbol_names; const char * const *field_names; - const TSFieldMapSlice *field_map_slices; + const TSMapSlice *field_map_slices; const TSFieldMapEntry *field_map_entries; const TSSymbolMetadata *symbol_metadata; const TSSymbol *public_symbol_map; const uint16_t *alias_map; const TSSymbol *alias_sequences; - const TSLexMode *lex_modes; + const TSLexerMode *lex_modes; bool (*lex_fn)(TSLexer *, TSStateId); bool (*keyword_lex_fn)(TSLexer *, TSStateId); TSSymbol keyword_capture_token; @@ -128,15 +141,23 @@ struct TSLanguage { void (*deserialize)(void *, const char *, unsigned); } external_scanner; const TSStateId *primary_state_ids; + const char *name; + const TSSymbol *reserved_words; + uint16_t max_reserved_word_set_size; + uint32_t supertype_count; + const TSSymbol *supertype_symbols; + const TSMapSlice *supertype_map_slices; + const TSSymbol *supertype_map_entries; + TSLanguageMetadata metadata; }; -static inline bool set_contains(TSCharacterRange *ranges, uint32_t len, int32_t lookahead) { +static inline bool set_contains(const TSCharacterRange *ranges, uint32_t len, int32_t lookahead) { uint32_t index = 0; uint32_t size = len - index; while (size > 1) { uint32_t half_size = size / 2; uint32_t mid_index = index + half_size; - TSCharacterRange *range = &ranges[mid_index]; + const TSCharacterRange *range = &ranges[mid_index]; if (lookahead >= range->start && lookahead <= range->end) { return true; } else if (lookahead > range->end) { @@ -144,7 +165,7 @@ static inline bool set_contains(TSCharacterRange *ranges, uint32_t len, int32_t } size -= half_size; } - TSCharacterRange *range = &ranges[index]; + const TSCharacterRange *range = &ranges[index]; return (lookahead >= range->start && lookahead <= range->end); }