diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..04c758f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Test + +on: + pull_request: + push: + branches: [main] + +jobs: + grammar: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: "22" + - name: Install tree-sitter CLI + run: npm install -g tree-sitter-cli@0.25.10 + - name: Parse Helm fixtures + run: bash scripts/check-grammar.sh diff --git a/Cargo.toml b/Cargo.toml index fe72c18..7a94814 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zed_helm" -version = "0.0.6" +version = "0.0.7" edition = "2024" publish = false license = "Apache-2.0" diff --git a/README.md b/README.md index 23c4078..ea9612a 100644 --- a/README.md +++ b/README.md @@ -1,68 +1,104 @@ # helm.zed -Syntax highlighting for Helm templates using tree-sitter and integration of [helm-ls](https://github.com/mrjosh/helm-ls). +Syntax highlighting for Helm templates using tree-sitter, plus [helm-ls](https://github.com/mrjosh/helm-ls). ## Installation -Before the extension is working properly, you have to install the [helm-ls](https://github.com/mrjosh/helm-ls#installation-with-a-package-manager) -and [yaml-languages-server](https://github.com/redhat-developer/yaml-language-server) with your preferred package manager. +Install from the [Zed extension store](https://zed.dev/extensions/helm). -Install this extension via the [Zed extension store](https://zed.dev/extensions/helm). +The extension looks for `helm_ls`, then `helm-ls`, on PATH. If neither is there it downloads a helm-ls release. [yaml-language-server](https://github.com/redhat-developer/yaml-language-server) is optional; helm-ls uses it for Kubernetes schema diagnostics when it is installed. -The extension relies on the PATH environment variable and first looks for 'helm_ls', then 'helm-ls'. -If neither is available, an error is shown. +You can also pin a binary: -## Configuration +```json +{ + "lsp": { + "helm_ls": { + "binary": { + "path": "/usr/local/bin/helm_ls", + "arguments": ["serve"] + } + } + } +} +``` + +## File detection + +`.tpl`, `.gotmpl`, `helmfile.yaml`, and `helmfile.yml` are Helm out of the box. Chart templates still share `.yaml` with ordinary YAML, so map those in `settings.json`: + +```json +{ + "file_types": { + "Helm": [ + "**/templates/**/*.tpl", + "**/templates/**/*.yaml", + "**/templates/**/*.yml", + "**/templates/**/*.gotmpl", + "**/helmfile.d/**/*.yaml", + "**/helmfile.d/**/*.yml", + "helmfile.yaml", + "helmfile.yml", + "**/values*.yaml", + "**/values*.yml" + ] + } +} +``` + +Leave `Chart.yaml` as YAML. It is chart metadata, not a template. -This is an example of providing configuration for the language server via Zed's `settings.json`. -For full reference of possible values, refer to [helm-ls configuration section](https://github.com/mrjosh/helm-ls/?tab=readme-ov-file#configuration-options). +If a `.yaml` file still opens as YAML, pick Helm in the language selector once, or add the glob above. helm-ls will not start on files that stay tagged as YAML, and yaml-language-server will flag `{{ }}` as errors. + +## Language server settings + +helm-ls reads the `helm-ls` section of workspace configuration. Put that nested object under `lsp.helm_ls.settings` (`lsp.helm` and `lsp.helm-ls` also work). These two shapes are equivalent: + +```json +{ + "lsp": { + "helm_ls": { + "settings": { + "yamlls": { + "enabled": false + } + } + } + } +} +``` ```json { - ... "lsp": { "helm_ls": { "settings": { "helm-ls": { "logLevel": "info", "yamlls": { - "enabled": true + "enabled": true, + "enabledForFilesGlob": "*.{yaml,yml}" } } } } - }, - "file_types": { - "Helm": [ - "helmfile.yaml", - "helmfile.yml", - "Chart.yaml", - "Chart.yml", - "Chart.lock", - "requirements.yaml", - "requirements.yml", - "**/templates/**/*.tpl", - "**/templates/**/*.yaml", - "**/templates/**/*.yml", - "**/helmfile.d/**/*.yaml", - "**/helmfile.d/**/*.yml", - ], - }, + } } ``` -## Credits +`yamlls.enabled` only controls the yaml-language-server process that helm-ls starts. It does not disable Zed's own YAML language server. If CRDs are still underlined, the buffer is probably still language YAML. Use the `file_types` globs above. + +Full helm-ls options: [helm-ls configuration](https://github.com/mrjosh/helm-ls/?tab=readme-ov-file#configuration-options). -[https://github.com/ngalaiko/tree-sitter-go-template] +## Empty mappings (`emptyDir: {}`) -## Release Process +The vendored helm grammar keeps `{}`, the rest of that line, and the trailing newline as one text token so typing at EOL after `emptyDir: {}` does not sit on the next node's start. YAML is injected per `(text)` node, not combined ([zed#57341](https://github.com/zed-industries/zed/issues/57341)). -Every time the extension is released: +## Credits -1. **Bump the Version:** - Update the version number in Cargo.toml and extension.toml. +Highlighting uses [tree-sitter-go-template](https://github.com/ngalaiko/tree-sitter-go-template), including the empty-mapping lexer fix from [tree-sitter-go-template#53](https://github.com/ngalaiko/tree-sitter-go-template/pull/53). -2. **Update Extension Index:** - After releasing, update the extension entry in [zed-industries/extensions](http://github.com/zed-industries/extensions/) to reflect the new version. +## Release process -This ensures users always have access to the newest version. +1. Bump the version in `Cargo.toml` and `extension.toml`. +2. After release, update the entry in [zed-industries/extensions](https://github.com/zed-industries/extensions/). diff --git a/extension.toml b/extension.toml index 75820aa..b1dc124 100644 --- a/extension.toml +++ b/extension.toml @@ -1,6 +1,6 @@ id = "helm" name = "Helm" -version = "0.0.6" +version = "0.0.7" schema_version = 1 authors = [ "cabrinha ", @@ -14,7 +14,15 @@ repository = "https://github.com/cabrinha/helm.zed" name = "helm_ls" language = "Helm" +# helm-ls only treats languageId "helm" (lowercase) as a template document. +[language_servers.helm.language_ids] +Helm = "helm" + +# Vendored helm dialect in this repo. `{}` plus rest of line plus the +# trailing newline is one text token, so an EOL insert after emptyDir: {} +# stays in that node and YAML for keys below is not dropped. YAML is +# injected per (text) node, not combined (zed#57341). [grammars.helm] -repository = "https://github.com/ngalaiko/tree-sitter-go-template" -commit = "aa71f63de226c5592dfbfc1f29949522d7c95fac" -path = "dialects/helm" +repository = "https://github.com/cabrinha/helm.zed" +commit = "d4a62d114ffc784cf7df8ec294d8323d590de46d" +path = "vendor/tree-sitter-helm" diff --git a/languages/helm/brackets.scm b/languages/helm/brackets.scm new file mode 100644 index 0000000..e874d9e --- /dev/null +++ b/languages/helm/brackets.scm @@ -0,0 +1,4 @@ +("{{" @open "}}" @close) +("{{-" @open "-}}" @close) +("(" @open ")" @close) +("\"" @open "\"" @close) diff --git a/languages/helm/config.toml b/languages/helm/config.toml index 5cd1360..6dd06c3 100644 --- a/languages/helm/config.toml +++ b/languages/helm/config.toml @@ -1,12 +1,27 @@ name = "Helm" grammar = "helm" line_comments = ["# "] -path_suffixes = [".helmignore"] +path_suffixes = [ + "tpl", + "gotmpl", + "helm", + "yaml.gotmpl", + "yml.gotmpl", + "helmfile.yaml", + "helmfile.yml", + ".helmignore", +] +# Templates that open with an action, including helmfile and _helpers.tpl. +# Path globs such as charts/*/templates/*.yaml still need file_types in settings. +first_line_pattern = "^\\s*\\{\\{[-]?\\s*(if|range|with|define|block|template|include|/\\*)" tab_size = 2 word_characters = ["-"] block_comment = ["{{/* ", " */}}"] +autoclose_before = ";:.,=}])>" brackets = [ { start = "{{", end = "}}", close = true, newline = false }, { start = "{{-", end = "-}}", close = true, newline = false }, { start = "(", end = ")", close = true, newline = false }, + { start = "\"", end = "\"", close = true, newline = false }, + { start = "`", end = "`", close = true, newline = false }, ] diff --git a/languages/helm/highlights.scm b/languages/helm/highlights.scm index 6186c70..afdb463 100644 --- a/languages/helm/highlights.scm +++ b/languages/helm/highlights.scm @@ -1,12 +1,14 @@ ; Identifiers [ - (field) - (field_identifier) + (field) + (field_identifier) ] @property (variable) @variable +(dot) @variable.special + ; Function calls (function_call @@ -18,36 +20,91 @@ ; Operators -"|" @operator -":=" @operator - -; Builtin functions - -((identifier) @function.builtin - (#match? @function.builtin "^(abbrev|abbrevboth|add|add1|add1f|addf|adler32sum|ago|and|append|atoi|b32dec|b32enc|b64dec|b64enc|base|buildCustomCert|camelcase|call|cat|ceil|chunk|clean|coalesce|compact|concat|contains|date|dateInZone|dateModify|decryptAES|deepCopy|deepEqual|default|derivePassword|dict|dig|dir|div|divf|duration|durationRound|empty|encryptAES|eq|ext|fail|first|float64|floor|fromJson|fromJsonArray|fromYaml|fromYamlArray|ge|genCA|genPrivateKey|genSelfSignedCert|genSignedCert|get|getHostByName|gt|has|hasKey|hasPrefix|hasSuffix|html|htmlDate|htmlDateInZone|htpasswd|index|indent|initials|int|int64|isAbs|js|kebabcase|keys|kindIs|kindOf|last|le|len|list|lookup|lower|lt|max|maxf|merge|mergeOverwrite|min|minf|mod|mul|mulf|mustAppend|mustCompact|mustDateModify|mustDeepCopy|mustFirst|mustHas|mustInitial|mustLast|mustMerge|mustMergeOverwrite|mustPrepend|mustRegexFind|mustRegexFindAll|mustRegexMatch|mustRegexReplaceAll|mustRegexReplaceAllLiteral|mustRegexSplit|mustRest|mustReverse|mustSlice|mustToDate|mustToJson|mustToPrettyJson|mustToRawJson|mustToToml|mustUniq|mustWithout|ne|nindent|nospace|not|now|omit|or|pick|pluck|plural|prepend|print|printf|println|quote|randAlpha|randAlphaNum|randAscii|randBytes|randNumeric|regexFind|regexFindAll|regexMatch|regexReplaceAll|regexReplaceAllLiteral|regexSplit|repeat|replace|required|rest|reverse|round|semver|semverCompare|seq|set|sha1sum|sha256sum|shuffle|slice|snakecase|squote|sub|subf|substr|swapcase|ternary|title|toDate|toDecimal|toJson|toPrettyJson|toRawJson|toString|toStrings|toToml|toYaml|toYamlPretty|trim|trimAll|trimPrefix|trimSuffix|trunc|typeIs|typeIsLike|typeOf|uniq|unixEpoch|unset|until|untilStep|untitle|upper|urlJoin|urlParse|urlquery|uuidv4|values|without|wrap|wrapWith)$")) +[ + "|" + ":=" + "=" +] @operator + +; Helm / Sprig / Go template builtins. Scoped to the function name so field +; identifiers such as .Values.index are not highlighted as functions, and so +; the matcher is a hash lookup (#any-of?) instead of a giant regex on every +; identifier. +(function_call + function: (identifier) @function.builtin + (#any-of? @function.builtin + "abbrev" "abbrevboth" "add" "add1" "add1f" "addf" "adler32sum" "ago" "all" + "and" "any" "append" "atoi" "b32dec" "b32enc" "b64dec" "b64enc" "base" + "buildCustomCert" "camelcase" "call" "cat" "ceil" "chunk" "clean" "coalesce" + "compact" "concat" "contains" "date" "dateInZone" "dateModify" "decryptAES" + "deepCopy" "deepEqual" "default" "derivePassword" "dict" "dig" "dir" "div" + "divf" "duration" "durationRound" "empty" "encryptAES" "eq" "ext" "fail" + "first" "float64" "floor" "fromJson" "fromJsonArray" "fromYaml" + "fromYamlArray" "ge" "genCA" "genPrivateKey" "genSelfSignedCert" + "genSignedCert" "get" "getHostByName" "gt" "has" "hasKey" "hasPrefix" + "hasSuffix" "html" "htmlDate" "htmlDateInZone" "htpasswd" "include" "index" + "indent" "initial" "initials" "int" "int64" "isAbs" "js" "kebabcase" "keys" + "kindIs" "kindOf" "last" "le" "len" "list" "lookup" "lower" "lt" "max" + "maxf" "merge" "mergeOverwrite" "min" "minf" "mod" "mul" "mulf" + "mustAppend" "mustCompact" "mustDateModify" "mustDeepCopy" "mustFirst" + "mustHas" "mustInitial" "mustLast" "mustMerge" "mustMergeOverwrite" + "mustPrepend" "mustRegexFind" "mustRegexFindAll" "mustRegexMatch" + "mustRegexReplaceAll" "mustRegexReplaceAllLiteral" "mustRegexSplit" + "mustRest" "mustReverse" "mustSlice" "mustToDate" "mustToJson" + "mustToPrettyJson" "mustToRawJson" "mustToToml" "mustUniq" "mustWithout" + "ne" "nindent" "nospace" "not" "now" "omit" "or" "pick" "pluck" "plural" + "prepend" "print" "printf" "println" "quote" "randAlpha" "randAlphaNum" + "randAscii" "randBytes" "randNumeric" "regexFind" "regexFindAll" + "regexMatch" "regexReplaceAll" "regexReplaceAllLiteral" "regexSplit" + "repeat" "replace" "required" "rest" "reverse" "round" "semver" + "semverCompare" "seq" "set" "sha1sum" "sha256sum" "sha512sum" "shuffle" + "slice" "snakecase" "squote" "sub" "subf" "substr" "swapcase" "ternary" + "title" "toDate" "toDecimal" "toJson" "toPrettyJson" "toRawJson" "toString" + "toStrings" "toToml" "toYaml" "toYamlPretty" "tpl" "trim" "trimAll" + "trimPrefix" "trimSuffix" "trunc" "typeIs" "typeIsLike" "typeOf" "uniq" + "unixEpoch" "unset" "until" "untilStep" "untitle" "upper" "urlJoin" + "urlParse" "urlquery" "uuidv4" "values" "without" "wrap" "wrapWith")) + +; Built-in chart objects: {{ .Values.foo }} and {{ $.Release.Name }} +(field + name: (identifier) @constant.builtin + (#any-of? @constant.builtin + "Values" "Chart" "Release" "Capabilities" "Files" "Subcharts" "Template")) + +(selector_expression + operand: (variable) + field: (field_identifier) @constant.builtin + (#any-of? @constant.builtin + "Values" "Chart" "Release" "Capabilities" "Files" "Subcharts" "Template")) ; Delimiters "." @punctuation.delimiter "," @punctuation.delimiter -"{{" @punctuation.bracket -"}}" @punctuation.bracket -"{{-" @punctuation.bracket -"-}}" @punctuation.bracket -")" @punctuation.bracket -"(" @punctuation.bracket +[ + "{{" + "}}" + "{{-" + "-}}" + "(" + ")" +] @punctuation.bracket ; Keywords -"else" @keyword -"if" @keyword -"range" @keyword -"with" @keyword -"end" @keyword -"template" @keyword -"define" @keyword -"block" @keyword +[ + "else" + "if" + "range" + "with" + "end" + "template" + "define" + "block" + "break" + "continue" +] @keyword ; Literals @@ -72,4 +129,3 @@ ] @constant.builtin (comment) @comment -(ERROR) @error diff --git a/languages/helm/injections.scm b/languages/helm/injections.scm index 62dafc4..bea6cc0 100644 --- a/languages/helm/injections.scm +++ b/languages/helm/injections.scm @@ -1,3 +1,12 @@ +; YAML highlighting for each (text) node. Use only @content: Zed errors +; if @content and @injection.content are both set on the same pattern. +; +; Do not set combined. Zed drops a combined YAML layer on incremental +; edits (zed-industries/zed#57341). +; +; The helm lexer keeps `{}`, the rest of that line, and the trailing +; newline in one text node. An EOL insert after emptyDir: {} stays +; inside that node, so YAML for keys on later lines is not dropped. ((text) @content - (#set! "language" "yaml") - (#set! "combined")) + (#set! "language" "yaml")) + diff --git a/languages/helm/outline.scm b/languages/helm/outline.scm index 9e8c1ba..21e805b 100644 --- a/languages/helm/outline.scm +++ b/languages/helm/outline.scm @@ -1,5 +1,4 @@ ; Named template definitions: {{- define "mychart.labels" -}} ... {{- end }} -; Both quoted ("name") and backtick (`name`) string forms are handled. (define_action name: [ (interpreted_string_literal) @@ -7,9 +6,19 @@ ] @name) @item ; Block definitions: {{- block "mychart.body" . -}} ... {{- end }} -; `block` is like `define` but with a fallback body — also worth showing in the outline. (block_action name: [ (interpreted_string_literal) (raw_string_literal) ] @name) @item + +; Includes show up constantly in real charts; worth a one-line outline entry. +(function_call + function: (identifier) @context + (#eq? @context "include") + arguments: (argument_list + . + [ + (interpreted_string_literal) + (raw_string_literal) + ] @name)) @item diff --git a/scripts/check-grammar.sh b/scripts/check-grammar.sh new file mode 100755 index 0000000..35f21d0 --- /dev/null +++ b/scripts/check-grammar.sh @@ -0,0 +1,238 @@ +#!/usr/bin/env bash +# Parse Helm fixtures with the grammar pinned in extension.toml. +# Fails if any fixture produces an ERROR node, or if `{}` splits into +# separate text nodes (the issue #22 lexer bug). +set -euo pipefail + +ROOT="$(cd "$(dirname "$0")/.." && pwd)" +GRAMMAR_REPO="$(awk '/\[grammars.helm\]/{f=1} f && /^repository =/{gsub(/"/, "", $3); print $3; exit}' "$ROOT/extension.toml")" +GRAMMAR_COMMIT="$(awk '/\[grammars.helm\]/{f=1} f && /^commit =/{gsub(/"/, "", $3); print $3; exit}' "$ROOT/extension.toml")" +GRAMMAR_PATH="$(awk '/\[grammars.helm\]/{f=1} f && /^path =/{gsub(/"/, "", $3); print $3; exit}' "$ROOT/extension.toml")" + +WORK="$(mktemp -d)" +trap 'rm -rf "$WORK"' EXIT + +if ! command -v tree-sitter >/dev/null 2>&1; then + npm install --silent --no-fund --no-audit --prefix "$WORK" tree-sitter-cli@0.25.10 + PATH="$WORK/node_modules/.bin:$PATH" +fi + +echo "tree-sitter $(tree-sitter --version)" + +if [[ -f "$ROOT/vendor/tree-sitter-helm/grammar.js" ]]; then + echo "Using local vendor/tree-sitter-helm" + DIALECT="$ROOT/vendor/tree-sitter-helm" +else + echo "Using $GRAMMAR_REPO @$GRAMMAR_COMMIT ($GRAMMAR_PATH)" + git clone --quiet "$GRAMMAR_REPO" "$WORK/grammar" + git -C "$WORK/grammar" checkout --quiet "$GRAMMAR_COMMIT" + DIALECT="$WORK/grammar/$GRAMMAR_PATH" +fi +if [[ ! -f "$DIALECT/grammar.js" ]]; then + echo "missing grammar.js in $GRAMMAR_PATH" >&2 + exit 1 +fi + +cd "$DIALECT" +fail=0 + +check_fixture() { + local file="$1" + local out + if ! out="$(tree-sitter parse --rebuild "$file" -q 2>&1)"; then + echo "PARSE FAILED $file" + tree-sitter parse --rebuild "$file" 2>/dev/null | grep ERROR || true + echo "$out" + fail=1 + return + fi + echo "ok parse $(basename "$file")" +} + +for fixture in "$ROOT"/tests/fixtures/*; do + check_fixture "$fixture" +done + +# The wasm Zed compiles is dialects/helm/src/parser.c. Fail if the pin +# lost the empty-brace tokens from tree-sitter-go-template#53. +if ! grep -F '[^{]+\\{\\}[^\\n{]*\\n?' "$DIALECT/src/grammar.json" >/dev/null; then + echo "helm grammar.json is missing the empty-brace rest-of-line+newline text token" + fail=1 +else + echo "ok grammar.json keeps rest of line and newline after {}" +fi + +# Issue #22 / grammar half: `{` must not be its own text node. +xml="$(printf 'emptyDir: {}\nfoo: bar\n' | tree-sitter parse --rebuild --xml 2>/dev/null)" +if grep -q ']*>{' <<<"$xml"; then + echo "empty mapping still split: '{' is its own text node" + echo "$xml" + fail=1 +else + echo "ok empty mapping keeps {} in one text node" +fi + +if grep -q ERROR <<<"$xml"; then + echo "empty mapping produced ERROR" + fail=1 +fi + +# Same check after an incremental edit immediately after `{}`. +# The grammar pin must survive tree-sitter's edit API; Zed combined +# injection dropping after that point is zed-industries/zed#57341. +fixture="$ROOT/tests/fixtures/empty-mapping.yaml" +after_brace="$(python3 -c " +from pathlib import Path +t = Path('$fixture').read_text() +i = t.index('{}', t.index('emptyDir: {}')) +print(i + 2) +")" +inc_xml="$(tree-sitter parse --xml -q "$fixture" --edits "$after_brace 0 x" 2>/dev/null || true)" +if [[ -z "$inc_xml" ]]; then + echo "incremental parse after {} produced no tree" + fail=1 +elif grep -q ']*>{' <<<"$inc_xml"; then + echo "incremental edit after {} split a lone '{' text node" + echo "$inc_xml" + fail=1 +else + echo "ok incremental edit after {} keeps braces in one text node" +fi + +# The {} line's text node must include the trailing newline so an EOL +# insert is inside that node, not on the following keys' node start. +full_xml="$(tree-sitter parse --xml -q "$ROOT/tests/fixtures/empty-mapping.yaml" 2>/dev/null || true)" +if grep -q 'emptyDir: {}' <<<"$full_xml"; then + echo "emptyDir {} text node stops at } (EOL insert would hit the next node)" + fail=1 +else + echo "ok emptyDir {} text node includes the trailing newline" +fi + +# Typing at EOL after {} must not prefix the following keys' text node. +# That fragment is injected as YAML; a leading "x" makes the YAML invalid +# and keys such as configMap go plain (the #22 tail-wipe). +if ! grep -q 'configMap' <<<"$inc_xml"; then + echo "incremental parse lost configMap text" + fail=1 +elif python3 -c " +import re, sys +xml = sys.stdin.read() +nodes = re.findall(r']*>(.*?)', xml, re.S) +bad = [n for n in nodes if 'configMap' in n and n.lstrip().startswith('x')] +sys.exit(1 if bad else 0) +" <<<"$inc_xml"; then + echo "ok keys below {} are not in a text node prefixed by the edit" +else + echo "incremental edit after {} prefixed the following keys with x" + fail=1 +fi + +# Compile every query against the pinned helm grammar. Zed refuses to +# register the language if any query names a node type the grammar lacks +# (that is how a backtick pair in brackets.scm made Helm vanish). +sample="$ROOT/tests/fixtures/empty-mapping.yaml" +for query in "$ROOT"/languages/helm/*.scm; do + name="$(basename "$query")" + if ! tree-sitter query "$query" "$sample" >/dev/null 2>"$WORK/query.err"; then + echo "QUERY FAILED $name" + cat "$WORK/query.err" + fail=1 + else + echo "ok query $name" + fi +done + +# Zed's language_registry rejects mixed old/new injection capture names +# (`both content and injection.content captures are present`). tree-sitter +# query compiles that file; this check is what actually matches Zed.log. +injection_has_capture() { + local file="$1" name="$2" + grep -vE '^\s*;' "$file" | grep -oE '@[A-Za-z0-9_.]+' | sed 's/^@//' | grep -qx "$name" +} + +zed_injection_query_ok() { + local file="$1" + if injection_has_capture "$file" content \ + && injection_has_capture "$file" injection.content; then + echo "both content and injection.content captures are present" >&2 + return 1 + fi + if injection_has_capture "$file" language \ + && injection_has_capture "$file" injection.language; then + echo "both language and injection.language captures are present" >&2 + return 1 + fi + if ! injection_has_capture "$file" content \ + && ! injection_has_capture "$file" injection.content; then + echo "missing required capture: content or injection.content" >&2 + return 1 + fi + # Combined YAML injection is zed#57341 / helm.zed#22: typing next to + # emptyDir: {} drops every YAML key. Inject each (text) node separately. + if grep -vE '^\s*;' "$file" | grep -Eq '(^|[^A-Za-z0-9_.])(injection\.)?combined($|[^A-Za-z0-9_.])'; then + echo "combined injection drops YAML on incremental parse in Zed (zed#57341)" >&2 + return 1 + fi + return 0 +} + +injections="$ROOT/languages/helm/injections.scm" +if zed_injection_query_ok "$injections" 2>"$WORK/inj.err"; then + echo "ok injections use one content capture style" +else + echo "QUERY FAILED injections.scm: $(tr '\n' ' ' <"$WORK/inj.err")" + fail=1 +fi + +# The exact dual-capture query Zed rejected must not pass this check. +cat >"$WORK/dual-injections.scm" <<'EOF' +((text) @content @injection.content + (#set! "language" "yaml") + (#set! "injection.language" "yaml") + (#set! "combined") + (#set! "injection.combined")) +EOF +if tree-sitter query "$WORK/dual-injections.scm" "$sample" >/dev/null 2>&1; then + echo "ok tree-sitter query accepts dual captures (Zed does not)" +else + echo "unexpected: tree-sitter query rejected dual captures" + fail=1 +fi +if zed_injection_query_ok "$WORK/dual-injections.scm" 2>"$WORK/dual.err"; then + echo "QUERY CHECK MISSED dual content captures" + fail=1 +else + echo "ok detector rejects dual captures: $(tr '\n' ' ' <"$WORK/dual.err")" +fi + +# Combined injection is the #22 incremental drop in Zed. Must not ship. +cat >"$WORK/combined-injections.scm" <<'EOF' +((text) @content + (#set! "language" "yaml") + (#set! "combined")) +EOF +if zed_injection_query_ok "$WORK/combined-injections.scm" 2>"$WORK/comb.err"; then + echo "QUERY CHECK MISSED combined injection" + fail=1 +else + echo "ok detector rejects combined injection: $(tr '\n' ' ' <"$WORK/comb.err")" +fi + +# Builtin captures for include/tpl/sha512sum, which the old regex list missed. +query_out="$(tree-sitter query "$ROOT/languages/helm/highlights.scm" \ + "$ROOT/tests/fixtures/range-with-define.yaml" 2>/dev/null || true)" +for fn in include tpl sha512sum nindent required; do + if grep -q "function.builtin.*text: \`$fn\`" <<<"$query_out"; then + echo "ok highlight $fn as function.builtin" + else + echo "missing function.builtin capture for $fn" + fail=1 + fi +done + +if [[ "$fail" -ne 0 ]]; then + exit 1 +fi + +echo "All fixtures parsed without ERROR nodes." diff --git a/src/helm.rs b/src/helm.rs index 6357a67..32767f3 100644 --- a/src/helm.rs +++ b/src/helm.rs @@ -9,20 +9,36 @@ struct HelmExtension { impl HelmExtension { const HELM_LS: &'static str = "helm_ls"; const HELM_LS_HYPHENATED: &'static str = "helm-ls"; + /// Keys users actually put under `lsp` in settings.json. The language + /// server id in extension.toml is `helm`, the display name is `helm_ls`, + /// and helm-ls's own config section is `helm-ls`. + const LSP_SETTING_KEYS: &'static [&'static str] = &["helm_ls", "helm-ls", "helm"]; + + fn lsp_settings(worktree: &zed::Worktree) -> LspSettings { + for key in Self::LSP_SETTING_KEYS { + if let Ok(settings) = LspSettings::for_worktree(key, worktree) { + if settings.binary.is_some() + || settings.settings.is_some() + || settings.initialization_options.is_some() + { + return settings; + } + } + } + LspSettings::for_worktree(Self::HELM_LS, worktree).unwrap_or_default() + } fn language_server_binary_path( &mut self, language_server_id: &LanguageServerId, worktree: &zed::Worktree, ) -> Result { - // 1. In-memory cache: fastest path, valid within a single Zed session. if let Some(path) = &self.cached_binary_path { if fs::metadata(path).map_or(false, |stat| stat.is_file()) { return Ok(path.clone()); } } - // 2. System-wide installation: respect an existing helm_ls or helm-ls on PATH. if let Some(path) = worktree .which(Self::HELM_LS) .or_else(|| worktree.which(Self::HELM_LS_HYPHENATED)) @@ -31,8 +47,6 @@ impl HelmExtension { return Ok(path); } - // Resolve platform strings once — used for both the disk scan and the - // asset/binary name construction below. let (platform, arch) = zed::current_platform(); let binary_prefix = format!("{}_", Self::HELM_LS); @@ -51,12 +65,8 @@ impl HelmExtension { zed::Os::Windows => ".exe", }; - // The asset filename used by helm-ls releases, e.g. "helm_ls_linux_amd64". let binary_name = format!("{binary_prefix}{os}_{arch}{extension}"); - // 3. Disk scan: look for a binary from a previous download. - // This is the offline fallback — if the network call below fails we - // can still return a working binary that was installed earlier. let installed_binary_path = fs::read_dir(".").ok().and_then(|entries| { entries .filter_map(|e| e.ok()) @@ -77,8 +87,6 @@ impl HelmExtension { .next() }); - // 4. Try to reach GitHub for the latest release. - // If offline, fall back to whatever is already on disk (step 3). zed::set_language_server_installation_status( language_server_id, &zed::LanguageServerInstallationStatus::CheckingForUpdate, @@ -104,12 +112,10 @@ impl HelmExtension { } }; - // 5. Already on the latest version — nothing to download. let version_dir = format!("{binary_prefix}{}", release.version); let binary_path = format!("{version_dir}/{binary_name}"); if !fs::metadata(&binary_path).map_or(false, |stat| stat.is_file()) { - // 6. Download the new release. let asset = release .assets .iter() @@ -133,12 +139,15 @@ impl HelmExtension { zed::make_file_executable(&binary_path)?; - // 7. Remove older version directories to keep the extension directory clean. let entries = fs::read_dir(".").map_err(|e| format!("failed to list working directory: {e}"))?; for entry in entries { let entry = entry.map_err(|e| format!("failed to read directory entry: {e}"))?; - if entry.file_name().to_str() != Some(&version_dir) { + let name = entry.file_name(); + let Some(name) = name.to_str() else { + continue; + }; + if name.starts_with(&binary_prefix) && name != version_dir { fs::remove_dir_all(entry.path()).ok(); } } @@ -149,6 +158,52 @@ impl HelmExtension { } } +/// Pull the inner helm-ls config out of whatever shape the user wrote. +/// +/// Zed answers helm-ls's `workspace/configuration` request for section +/// `"helm-ls"` with `returned_json["helm-ls"]`. If we pass the README shape +/// through unchanged that works. If the user put `yamlls` at the top of +/// `lsp.helm_ls.settings`, Zed would return null and helm-ls would keep +/// defaults, including yamlls.enabled=true. +fn unwrap_helm_ls_section(settings: serde_json::Value) -> serde_json::Value { + match settings { + serde_json::Value::Object(mut map) => { + if let Some(inner) = map.remove("helm-ls").or_else(|| map.remove("helm_ls")) { + inner + } else { + serde_json::Value::Object(map) + } + } + other => other, + } +} + +fn wrap_helm_ls_settings(user_settings: serde_json::Value) -> serde_json::Value { + serde_json::json!({ "helm-ls": unwrap_helm_ls_section(user_settings) }) +} + +fn inject_yamlls_path( + mut settings: serde_json::Value, + yamlls_path: Option, +) -> serde_json::Value { + let Some(path) = yamlls_path else { + return settings; + }; + let Some(root) = settings.as_object_mut() else { + return settings; + }; + let Some(helm_ls) = root.get_mut("helm-ls").and_then(|v| v.as_object_mut()) else { + return settings; + }; + let yamlls = helm_ls + .entry("yamlls") + .or_insert_with(|| serde_json::json!({})); + if let Some(yamlls) = yamlls.as_object_mut() { + yamlls.entry("path").or_insert(serde_json::json!(path)); + } + settings +} + impl zed::Extension for HelmExtension { fn new() -> Self { Self { @@ -161,24 +216,156 @@ impl zed::Extension for HelmExtension { language_server_id: &LanguageServerId, worktree: &zed::Worktree, ) -> Result { + let lsp_settings = Self::lsp_settings(worktree); + let binary = lsp_settings.binary; + + let command = if let Some(path) = binary.as_ref().and_then(|b| b.path.clone()) { + if !path.is_empty() { + path + } else { + self.language_server_binary_path(language_server_id, worktree)? + } + } else { + self.language_server_binary_path(language_server_id, worktree)? + }; + + let args = binary + .as_ref() + .and_then(|b| b.arguments.clone()) + .unwrap_or_else(|| vec!["serve".to_string()]); + + let mut env: std::collections::HashMap = + binary.and_then(|b| b.env).unwrap_or_default(); + + if let Some(yamlls) = worktree + .which("yaml-language-server") + .or_else(|| worktree.which("yaml-language-server.js")) + { + env.entry("YAMLLS_PATH".to_string()).or_insert(yamlls); + } + Ok(zed::Command { - command: self.language_server_binary_path(language_server_id, worktree)?, - args: vec!["serve".to_string()], - env: Default::default(), + command, + args, + env: env.into_iter().collect(), }) } + fn language_server_initialization_options( + &mut self, + _language_server_id: &LanguageServerId, + worktree: &zed::Worktree, + ) -> Result> { + Ok(Some(self.helm_ls_configuration(worktree))) + } + fn language_server_workspace_configuration( &mut self, _language_server_id: &zed::LanguageServerId, worktree: &zed::Worktree, ) -> Result> { - let settings = LspSettings::for_worktree(Self::HELM_LS, worktree) - .ok() - .and_then(|lsp_settings| lsp_settings.settings.clone()) - .unwrap_or_default(); - Ok(Some(settings)) + Ok(Some(self.helm_ls_configuration(worktree))) + } +} + +impl HelmExtension { + fn helm_ls_configuration(&self, worktree: &zed::Worktree) -> serde_json::Value { + let user_settings = Self::lsp_settings(worktree) + .settings + .unwrap_or_else(|| serde_json::json!({})); + let yamlls_path = worktree + .which("yaml-language-server") + .or_else(|| worktree.which("yaml-language-server.js")); + inject_yamlls_path(wrap_helm_ls_settings(user_settings), yamlls_path) } } zed_extension_api::register_extension!(HelmExtension); + +#[cfg(test)] +mod tests { + use super::{inject_yamlls_path, unwrap_helm_ls_section, wrap_helm_ls_settings}; + use zed_extension_api::serde_json::{json, Value}; + + #[test] + fn unwraps_readme_nested_helm_ls_key() { + let input = json!({ + "helm-ls": { + "yamlls": { "enabled": false } + } + }); + assert_eq!( + unwrap_helm_ls_section(input), + json!({ "yamlls": { "enabled": false } }) + ); + } + + #[test] + fn unwraps_underscore_key() { + let input = json!({ + "helm_ls": { + "logLevel": "debug" + } + }); + assert_eq!( + unwrap_helm_ls_section(input), + json!({ "logLevel": "debug" }) + ); + } + + #[test] + fn passes_through_flat_yamlls_settings() { + let input = json!({ "yamlls": { "enabled": false } }); + assert_eq!( + unwrap_helm_ls_section(input.clone()), + json!({ "yamlls": { "enabled": false } }) + ); + assert_eq!( + wrap_helm_ls_settings(input), + json!({ + "helm-ls": { "yamlls": { "enabled": false } } + }) + ); + } + + #[test] + fn wrap_is_idempotent_for_readme_shape() { + let input = json!({ + "helm-ls": { + "yamlls": { "enabled": false } + } + }); + assert_eq!( + wrap_helm_ls_settings(input), + json!({ + "helm-ls": { "yamlls": { "enabled": false } } + }) + ); + } + + #[test] + fn injects_yamlls_path_when_missing() { + let settings = wrap_helm_ls_settings(json!({ "yamlls": { "enabled": true } })); + let with_path = inject_yamlls_path(settings, Some("/usr/bin/yaml-language-server".into())); + assert_eq!( + with_path.pointer("/helm-ls/yamlls/path"), + Some(&Value::String("/usr/bin/yaml-language-server".into())) + ); + assert_eq!( + with_path.pointer("/helm-ls/yamlls/enabled"), + Some(&Value::Bool(true)) + ); + } + + #[test] + fn does_not_override_explicit_yamlls_path() { + let settings = wrap_helm_ls_settings(json!({ + "yamlls": { "path": "/custom/yamlls" } + })); + let with_path = inject_yamlls_path(settings, Some("/usr/bin/yaml-language-server".into())); + assert_eq!( + with_path.pointer("/helm-ls/yamlls/path"), + Some(&Value::String("/custom/yamlls".into())) + ); + } +} diff --git a/tests/fixtures/deployment.yaml b/tests/fixtures/deployment.yaml new file mode 100644 index 0000000..20fb553 --- /dev/null +++ b/tests/fixtures/deployment.yaml @@ -0,0 +1,58 @@ +{{- define "mychart.labels" -}} +app.kubernetes.io/name: {{ include "mychart.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{- define "mychart.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "mychart.fullname" . }} + labels: + {{- include "mychart.labels" . | nindent 4 }} +spec: + replicas: {{ .Values.replicaCount | default 1 }} + selector: + matchLabels: + app: {{ include "mychart.name" . }} + template: + metadata: + labels: + app: {{ include "mychart.name" . }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + {{- if .Values.env }} + env: + {{- range $key, $value := .Values.env }} + - name: {{ $key }} + value: {{ $value | quote }} + {{- end }} + {{- end }} + {{- range .Values.extraVolumeMounts }} + volumeMounts: + - name: {{ .name }} + mountPath: {{ .mountPath }} + {{- end }} + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- if .Values.volumes }} + volumes: + {{- range .Values.volumes }} + - name: {{ .name }} + {{- if .emptyDir }} + emptyDir: {} + {{- else if .configMap }} + configMap: + name: {{ .configMap.name }} + {{- end }} + {{- end }} + {{- end }} diff --git a/tests/fixtures/empty-mapping.tpl b/tests/fixtures/empty-mapping.tpl new file mode 100644 index 0000000..d0e05be --- /dev/null +++ b/tests/fixtures/empty-mapping.tpl @@ -0,0 +1,18 @@ +# Empty YAML mapping must parse as a single text node (issue #22). +apiVersion: v1 +kind: Pod +metadata: + name: {{ include "mychart.fullname" . }} +spec: + containers: + - name: app + image: nginx + volumeMounts: + - name: cache + mountPath: /cache + volumes: + - name: cache + emptyDir: {} + - name: config + configMap: + name: {{ .Values.configMapName | default "app-config" | quote }} diff --git a/tests/fixtures/empty-mapping.yaml b/tests/fixtures/empty-mapping.yaml new file mode 100644 index 0000000..d0e05be --- /dev/null +++ b/tests/fixtures/empty-mapping.yaml @@ -0,0 +1,18 @@ +# Empty YAML mapping must parse as a single text node (issue #22). +apiVersion: v1 +kind: Pod +metadata: + name: {{ include "mychart.fullname" . }} +spec: + containers: + - name: app + image: nginx + volumeMounts: + - name: cache + mountPath: /cache + volumes: + - name: cache + emptyDir: {} + - name: config + configMap: + name: {{ .Values.configMapName | default "app-config" | quote }} diff --git a/tests/fixtures/helmfile.yaml b/tests/fixtures/helmfile.yaml new file mode 100644 index 0000000..687dd45 --- /dev/null +++ b/tests/fixtures/helmfile.yaml @@ -0,0 +1,18 @@ +repositories: + - name: bitnami + url: https://charts.bitnami.com/bitnami + +releases: + - name: {{ .Environment.Name }}-app + namespace: {{ .Namespace | default "default" }} + chart: bitnami/nginx + installed: {{ .Values.nginx.enabled | default true }} + values: + - replicaCount: {{ .Values.replicaCount | default 1 }} + - image: + tag: {{ .Values.image.tag | quote }} + {{- if .Values.ingress.enabled }} + - ingress: + enabled: true + hostname: {{ .Values.ingress.host | quote }} + {{- end }} diff --git a/tests/fixtures/range-with-define.yaml b/tests/fixtures/range-with-define.yaml new file mode 100644 index 0000000..971066b --- /dev/null +++ b/tests/fixtures/range-with-define.yaml @@ -0,0 +1,49 @@ +{{- range $index, $host := .Values.ingress.hosts }} +{{- if $host.paths }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "mychart.fullname" $ }}-{{ $index }} +spec: + rules: + - host: {{ $host.host | quote }} + http: + paths: + {{- range $host.paths }} + - path: {{ .path }} + pathType: {{ .pathType | default "Prefix" }} + backend: + service: + name: {{ include "mychart.fullname" $ }} + port: + number: {{ $.Values.service.port }} + {{- end }} +{{- end }} +{{- end }} + +{{- with .Values.tolerations }} +tolerations: + {{- toYaml . | nindent 2 }} +{{- else }} +tolerations: [] +{{- end }} + +{{- $root := . }} +{{- range .Values.items }} +{{- if eq .skip true }} +{{- continue }} +{{- end }} +{{- if ge $root.Values.max 10 }} +{{- break }} +{{- end }} +name: {{ .name | required "items[].name is required" }} +{{- end }} + +{{/* sprig and helm helpers */}} +checksum: {{ include "mychart.labels" . | sha256sum }} +json: {{ .Values.config | toJson }} +pretty: {{ .Values.config | toYamlPretty }} +sha512: {{ "hello" | sha512sum }} +allTrue: {{ all .Values.a .Values.b }} +anyTrue: {{ any .Values.a .Values.b }} +nested: {{ tpl (include "mychart.name" .) . }} diff --git a/vendor/tree-sitter-helm/LICENSE b/vendor/tree-sitter-helm/LICENSE new file mode 100644 index 0000000..b2224a9 --- /dev/null +++ b/vendor/tree-sitter-helm/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Nikita Galaiko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/tree-sitter-helm/README.md b/vendor/tree-sitter-helm/README.md new file mode 100644 index 0000000..5f8b0cd --- /dev/null +++ b/vendor/tree-sitter-helm/README.md @@ -0,0 +1,3 @@ +Helm dialect of [tree-sitter-go-template](https://github.com/ngalaiko/tree-sitter-go-template), based on [tree-sitter-go-template#53](https://github.com/ngalaiko/tree-sitter-go-template/pull/53). + +The text lexer keeps `{}`, the rest of that line, and the trailing newline in one token (`/[^{]+\{\}[^\n{]*\n?/`). Stopping at `}` put an EOL insert on the next `(text)` node's start, so Zed dropped YAML injection for keys below `emptyDir: {}`. diff --git a/vendor/tree-sitter-helm/grammar.js b/vendor/tree-sitter-helm/grammar.js new file mode 100644 index 0000000..9490c11 --- /dev/null +++ b/vendor/tree-sitter-helm/grammar.js @@ -0,0 +1,2 @@ +const make_grammar = require('./make_grammar'); +module.exports = make_grammar('helm'); diff --git a/vendor/tree-sitter-helm/make_grammar.js b/vendor/tree-sitter-helm/make_grammar.js new file mode 100644 index 0000000..badc6c4 --- /dev/null +++ b/vendor/tree-sitter-helm/make_grammar.js @@ -0,0 +1,519 @@ +/// + +const PREC = { + primary: 1, + else_if: 1, + else_with: 1, + else: 2, + }, + unicodeLetter = /\p{L}/, + unicodeDigit = /[0-9]/, + letter = choice(unicodeLetter, '_'), + hexDigit = /[0-9a-fA-F]/, + octalDigit = /[0-7]/, + decimalDigit = /[0-9]/, + binaryDigit = /[01]/, + hexDigits = seq(hexDigit, repeat(seq(optional('_'), hexDigit))), + octalDigits = seq(octalDigit, repeat(seq(optional('_'), octalDigit))), + decimalDigits = seq(decimalDigit, repeat(seq(optional('_'), decimalDigit))), + binaryDigits = seq(binaryDigit, repeat(seq(optional('_'), binaryDigit))), + hexLiteral = seq('0', choice('x', 'X'), optional('_'), hexDigits), + octalLiteral = seq( + '0', + optional(choice('o', 'O')), + optional('_'), + octalDigits + ), + decimalLiteral = choice( + '0', + seq(/[1-9]/, optional(seq(optional('_'), decimalDigits))) + ), + binaryLiteral = seq('0', choice('b', 'B'), optional('_'), binaryDigits), + intLiteral = seq( + optional(choice('-', '+')), + choice(binaryLiteral, decimalLiteral, octalLiteral, hexLiteral) + ), + decimalExponent = seq( + choice('e', 'E'), + optional(choice('+', '-')), + decimalDigits + ), + decimalFloatLiteral = choice( + seq( + decimalDigits, + '.', + optional(decimalDigits), + optional(decimalExponent) + ), + seq(decimalDigits, decimalExponent), + seq('.', decimalDigits, optional(decimalExponent)) + ), + hexExponent = seq( + choice('p', 'P'), + optional(choice('+', '-')), + decimalDigits + ), + hexMantissa = choice( + seq(optional('_'), hexDigits, '.', optional(hexDigits)), + seq(optional('_'), hexDigits), + seq('.', hexDigits) + ), + hexFloatLiteral = seq( + optional(choice('-', '+')), + '0', + choice('x', 'X'), + hexMantissa, + hexExponent + ), + floatLiteral = seq( + optional(choice('-', '+')), + choice(decimalFloatLiteral, hexFloatLiteral) + ), + imaginaryLiteral = seq( + choice( + seq(optional(choice('-', '+')), decimalDigits), + intLiteral, + floatLiteral + ), + 'i' + ) + +module.exports = function make_grammar(dialect) { + return grammar({ + name: dialect, + conflicts: ($) => [ + // conflict between a template in an else if clause and the beginning of the + // else clause in not solveable with LR(1) + [$._else_clause], + [$._else_if_clause], + [$._else_with_clause], + ], + rules: { + template: ($) => repeat($._block), + + _block: ($) => choice($.yaml_no_injection_text, $.text, $._action), + + // This rule is a workaround to fix https://github.com/ngalaiko/tree-sitter-go-template/issues/23 + // by creating a new node type that is not used for injections of the yaml language. + // The better solution would be to fix the issue in the yaml grammar. + // If https://github.com/tree-sitter-grammars/tree-sitter-yaml/issues/12 is resolved, this rule can be removed. + yaml_no_injection_text: (_) => '-', + + text: (_) => + choice( + // forbid '{{', the rest is valid. + // Keep `{}`, the rest of that line, and the trailing + // newline in one token. Stopping at `}` (or at EOL + // without the newline) puts an EOL insert on the next + // (text) node's start. Zed then drops that node's YAML + // layer, so keys below emptyDir: {} go plain. + /[^{]+\{\}[^\n{]*\n?/, + /[^{]+/, + /\{\}[^\n{]*\n?/, + /\{/ + ), + + _action: ($) => + prec( + 2, + choice( + $._comment_action, + $._pipeline_action, + $.if_action, + $.range_action, + $.break_action, + $.continue_action, + $.template_action, + $.define_action, + $.block_action, + $.with_action + ) + ), + + _action_end: ($) => + seq($._left_delimiter, 'end', $._right_delimiter), + + _comment_action: ($) => + seq( + $._left_delimiter, + $.comment, + choice( + token.immediate('}}'), + seq(token.immediate(/\s/), token.immediate('-}}')) + ) + ), + + _pipeline_action: ($) => + seq($._left_delimiter, $._pipeline, $._right_delimiter), + + if_action: ($) => + seq( + $._left_delimiter, + 'if', + field('condition', $._pipeline), + $._right_delimiter, + + field('consequence', repeat($._block)), + + repeat($._else_if_clause), + + optional($._else_clause), + prec.right(0, $._action_end) + ), + + _else_if_clause: ($) => + prec.dynamic( + PREC.else_if, + seq( + $._left_delimiter, + 'else', + 'if', + field('condition', $._pipeline), + $._right_delimiter, + field('option', repeat($._block)) + ) + ), + + _else_clause: ($) => + prec.dynamic( + PREC.else, + seq( + $._left_delimiter, + 'else', + $._right_delimiter, + field('alternative', repeat($._block)) + ) + ), + + _else_with_clause: ($) => + prec.dynamic( + PREC.else_with, + seq( + $._left_delimiter, + 'else', + 'with', + field('condition', $._pipeline), + $._right_delimiter, + field('option', repeat($._block)) + ) + ), + + range_variable_definition: ($) => + seq( + field('index', $.variable), + ',', + field('element', $.variable), + token(':='), + field('range', $._pipeline) + ), + + range_action: ($) => + seq( + $._left_delimiter, + 'range', + choice( + $.range_variable_definition, + field('range', $._pipeline) + ), + $._right_delimiter, + + field('body', repeat($._block)), + + optional( + seq( + $._left_delimiter, + 'else', + $._right_delimiter, + field('alternative', repeat($._block)) + ) + ), + + $._left_delimiter, + 'end', + $._right_delimiter + ), + + break_action: ($) => + seq($._left_delimiter, 'break', $._right_delimiter), + + continue_action: ($) => + seq($._left_delimiter, 'continue', $._right_delimiter), + + template_action: ($) => + seq( + $._left_delimiter, + 'template', + field('name', $._string_literal), + optional(field('argument', $._pipeline)), + $._right_delimiter + ), + + define_action: ($) => + seq( + $._left_delimiter, + 'define', + field('name', $._string_literal), + $._right_delimiter, + + field('body', repeat($._block)), + + $._left_delimiter, + 'end', + $._right_delimiter + ), + + block_action: ($) => + seq( + $._left_delimiter, + 'block', + field('name', $._string_literal), + field('argument', $._pipeline), + $._right_delimiter, + + field('body', repeat($._block)), + + $._left_delimiter, + 'end', + $._right_delimiter + ), + + with_action: ($) => + seq( + $._left_delimiter, + 'with', + field('condition', $._pipeline), + $._right_delimiter, + + field('consequence', repeat($._block)), + + repeat($._else_with_clause), + + optional($._else_clause), + prec.right(0, $._action_end) + ), + + _pipeline: ($) => + choice( + $._expression, + $.function_call, + $.method_call, + $.chained_pipeline, + $.parenthesized_pipeline, + $.variable_definition, + $.assignment + ), + + variable_definition: ($) => + seq( + field('variable', $.variable), + ':=', + field('value', $._pipeline) + ), + + assignment: ($) => + seq( + field('variable', $.variable), + '=', + field('value', $._pipeline) + ), + + chained_pipeline: ($) => + prec.left(PREC.primary, seq($._pipeline, '|', $._pipeline)), + + parenthesized_pipeline: ($) => seq('(', $._pipeline, ')'), + + method_call: ($) => + seq( + field('method', choice($.field, $.selector_expression)), + field('arguments', $.argument_list) + ), + + function_call: ($) => + prec.right( + PREC.primary, + seq( + field('function', $.identifier), + optional(field('arguments', $.argument_list)) + ) + ), + + argument_list: ($) => + prec.right( + seq( + $._pipeline, + repeat(seq(/\s+/, $._pipeline)), + optional(/\s+/) + ) + ), + + pipeline_stub: (_) => token('pipeline'), + + _expression: ($) => + prec( + PREC.primary, + choice( + $._literal, + $.nil, + $.dot, + $.field, + $.variable, + $.selector_expression + ) + ), + + selector_expression: ($) => + prec( + PREC.primary, + seq( + field( + 'operand', + choice( + $.parenthesized_pipeline, + $.field, + $.variable, + $.selector_expression, + $.identifier + ) + ), + token.immediate('.'), + field('field', $._field_identifier) + ) + ), + + _field_identifier: ($) => alias($.identifier, $.field_identifier), + + field: ($) => seq('.', field('name', $.identifier)), + + variable: ($) => + seq( + '$', + optional( + field( + 'name', + alias( + token(repeat1(choice(letter, unicodeDigit))), + $.identifier + ) + ) + ) + ), + + identifier: (_) => + token(seq(letter, repeat(choice(letter, unicodeDigit)))), + + _literal: ($) => + choice( + $._boolean_literal, + $._string_literal, + $.rune_literal, + $.int_literal, + $.float_literal, + $.imaginary_literal + ), + + int_literal: (_) => token(intLiteral), + + float_literal: (_) => token(floatLiteral), + + imaginary_literal: (_) => token(imaginaryLiteral), + + rune_literal: (_) => + token( + seq( + "'", + choice( + /[^'\\]/, + seq( + '\\', + choice( + seq('x', hexDigit, hexDigit), + seq(octalDigit, octalDigit, octalDigit), + seq( + 'u', + hexDigit, + hexDigit, + hexDigit, + hexDigit + ), + seq( + 'U', + hexDigit, + hexDigit, + hexDigit, + hexDigit, + hexDigit, + hexDigit, + hexDigit, + hexDigit + ), + seq( + choice( + 'a', + 'b', + 'f', + 'n', + 'r', + 't', + 'v', + '\\', + "'", + '"' + ) + ) + ) + ) + ), + "'" + ) + ), + + _boolean_literal: ($) => choice($.true, $.false), + + true: (_) => 'true', + false: (_) => 'false', + + nil: (_) => 'nil', + + dot: (_) => prec(1, '.'), + + _string_literal: ($) => + choice($.raw_string_literal, $.interpreted_string_literal), + + raw_string_literal: (_) => token(seq('`', repeat(/[^`]/), '`')), + + interpreted_string_literal: ($) => + seq( + '"', + repeat( + choice( + token.immediate(prec(1, /[^"\n\\]+/)), + $.escape_sequence + ) + ), + token.immediate('"') + ), + + escape_sequence: (_) => + token.immediate( + seq( + '\\', + choice( + /[^xuU]/, + /\d{2,3}/, + /x[0-9a-fA-F]{2,}/, + /u[0-9a-fA-F]{4}/, + /U[0-9a-fA-F]{8}/ + ) + ) + ), + + // http://stackoverflow.com/questions/13014947/regex-to-match-a-c-style-multiline-comment/36328890#36328890 + comment: (_) => + token.immediate(seq('/*', /[^*]*\*+([^/*][^*]*\*+)*/, '/')), + + _left_delimiter: (_) => + choice(token('{{'), alias(token(seq('{{-', /\s/)), '{{-')), + _right_delimiter: (_) => choice(token('}}'), token('-}}')), + }, + }) +} diff --git a/vendor/tree-sitter-helm/src/grammar.json b/vendor/tree-sitter-helm/src/grammar.json new file mode 100644 index 0000000..4e70aa9 --- /dev/null +++ b/vendor/tree-sitter-helm/src/grammar.json @@ -0,0 +1,3831 @@ +{ + "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json", + "name": "helm", + "rules": { + "template": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + }, + "_block": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "yaml_no_injection_text" + }, + { + "type": "SYMBOL", + "name": "text" + }, + { + "type": "SYMBOL", + "name": "_action" + } + ] + }, + "yaml_no_injection_text": { + "type": "STRING", + "value": "-" + }, + "text": { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[^{]+\\{\\}[^\\n{]*\\n?" + }, + { + "type": "PATTERN", + "value": "[^{]+" + }, + { + "type": "PATTERN", + "value": "\\{\\}[^\\n{]*\\n?" + }, + { + "type": "PATTERN", + "value": "\\{" + } + ] + }, + "_action": { + "type": "PREC", + "value": 2, + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_comment_action" + }, + { + "type": "SYMBOL", + "name": "_pipeline_action" + }, + { + "type": "SYMBOL", + "name": "if_action" + }, + { + "type": "SYMBOL", + "name": "range_action" + }, + { + "type": "SYMBOL", + "name": "break_action" + }, + { + "type": "SYMBOL", + "name": "continue_action" + }, + { + "type": "SYMBOL", + "name": "template_action" + }, + { + "type": "SYMBOL", + "name": "define_action" + }, + { + "type": "SYMBOL", + "name": "block_action" + }, + { + "type": "SYMBOL", + "name": "with_action" + } + ] + } + }, + "_action_end": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "end" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "_comment_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "SYMBOL", + "name": "comment" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "STRING", + "value": "}}" + } + }, + { + "type": "SEQ", + "members": [ + { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "PATTERN", + "value": "\\s" + } + }, + { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "STRING", + "value": "-}}" + } + } + ] + } + ] + } + ] + }, + "_pipeline_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "SYMBOL", + "name": "_pipeline" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "if_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "if" + }, + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "consequence", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_else_if_clause" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_else_clause" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "SYMBOL", + "name": "_action_end" + } + } + ] + }, + "_else_if_clause": { + "type": "PREC_DYNAMIC", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "else" + }, + { + "type": "STRING", + "value": "if" + }, + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "option", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + } + ] + } + }, + "_else_clause": { + "type": "PREC_DYNAMIC", + "value": 2, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "else" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "alternative", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + } + ] + } + }, + "_else_with_clause": { + "type": "PREC_DYNAMIC", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "else" + }, + { + "type": "STRING", + "value": "with" + }, + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "option", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + } + ] + } + }, + "range_variable_definition": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "index", + "content": { + "type": "SYMBOL", + "name": "variable" + } + }, + { + "type": "STRING", + "value": "," + }, + { + "type": "FIELD", + "name": "element", + "content": { + "type": "SYMBOL", + "name": "variable" + } + }, + { + "type": "TOKEN", + "content": { + "type": "STRING", + "value": ":=" + } + }, + { + "type": "FIELD", + "name": "range", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + } + ] + }, + "range_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "range" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "range_variable_definition" + }, + { + "type": "FIELD", + "name": "range", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + } + ] + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "else" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "alternative", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "end" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "break_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "break" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "continue_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "continue" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "template_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "template" + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "_string_literal" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "argument", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "define_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "define" + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "_string_literal" + } + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + }, + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "end" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "block_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "block" + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "_string_literal" + } + }, + { + "type": "FIELD", + "name": "argument", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + }, + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "end" + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + } + ] + }, + "with_action": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_left_delimiter" + }, + { + "type": "STRING", + "value": "with" + }, + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + }, + { + "type": "SYMBOL", + "name": "_right_delimiter" + }, + { + "type": "FIELD", + "name": "consequence", + "content": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_block" + } + } + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_else_with_clause" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_else_clause" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "SYMBOL", + "name": "_action_end" + } + } + ] + }, + "_pipeline": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_expression" + }, + { + "type": "SYMBOL", + "name": "function_call" + }, + { + "type": "SYMBOL", + "name": "method_call" + }, + { + "type": "SYMBOL", + "name": "chained_pipeline" + }, + { + "type": "SYMBOL", + "name": "parenthesized_pipeline" + }, + { + "type": "SYMBOL", + "name": "variable_definition" + }, + { + "type": "SYMBOL", + "name": "assignment" + } + ] + }, + "variable_definition": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "variable", + "content": { + "type": "SYMBOL", + "name": "variable" + } + }, + { + "type": "STRING", + "value": ":=" + }, + { + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + } + ] + }, + "assignment": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "variable", + "content": { + "type": "SYMBOL", + "name": "variable" + } + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "_pipeline" + } + } + ] + }, + "chained_pipeline": { + "type": "PREC_LEFT", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_pipeline" + }, + { + "type": "STRING", + "value": "|" + }, + { + "type": "SYMBOL", + "name": "_pipeline" + } + ] + } + }, + "parenthesized_pipeline": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "SYMBOL", + "name": "_pipeline" + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + "method_call": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "method", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "field" + }, + { + "type": "SYMBOL", + "name": "selector_expression" + } + ] + } + }, + { + "type": "FIELD", + "name": "arguments", + "content": { + "type": "SYMBOL", + "name": "argument_list" + } + } + ] + }, + "function_call": { + "type": "PREC_RIGHT", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "function", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "arguments", + "content": { + "type": "SYMBOL", + "name": "argument_list" + } + }, + { + "type": "BLANK" + } + ] + } + ] + } + }, + "argument_list": { + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_pipeline" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "\\s+" + }, + { + "type": "SYMBOL", + "name": "_pipeline" + } + ] + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "\\s+" + }, + { + "type": "BLANK" + } + ] + } + ] + } + }, + "pipeline_stub": { + "type": "TOKEN", + "content": { + "type": "STRING", + "value": "pipeline" + } + }, + "_expression": { + "type": "PREC", + "value": 1, + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_literal" + }, + { + "type": "SYMBOL", + "name": "nil" + }, + { + "type": "SYMBOL", + "name": "dot" + }, + { + "type": "SYMBOL", + "name": "field" + }, + { + "type": "SYMBOL", + "name": "variable" + }, + { + "type": "SYMBOL", + "name": "selector_expression" + } + ] + } + }, + "selector_expression": { + "type": "PREC", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "operand", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "parenthesized_pipeline" + }, + { + "type": "SYMBOL", + "name": "field" + }, + { + "type": "SYMBOL", + "name": "variable" + }, + { + "type": "SYMBOL", + "name": "selector_expression" + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + }, + { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "STRING", + "value": "." + } + }, + { + "type": "FIELD", + "name": "field", + "content": { + "type": "SYMBOL", + "name": "_field_identifier" + } + } + ] + } + }, + "_field_identifier": { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "identifier" + }, + "named": true, + "value": "field_identifier" + }, + "field": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + } + ] + }, + "variable": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "$" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "name", + "content": { + "type": "ALIAS", + "content": { + "type": "TOKEN", + "content": { + "type": "REPEAT1", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "\\p{L}" + }, + { + "type": "STRING", + "value": "_" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + }, + "named": true, + "value": "identifier" + } + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "identifier": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "\\p{L}" + }, + { + "type": "STRING", + "value": "_" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "\\p{L}" + }, + { + "type": "STRING", + "value": "_" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + }, + "_literal": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "_boolean_literal" + }, + { + "type": "SYMBOL", + "name": "_string_literal" + }, + { + "type": "SYMBOL", + "name": "rune_literal" + }, + { + "type": "SYMBOL", + "name": "int_literal" + }, + { + "type": "SYMBOL", + "name": "float_literal" + }, + { + "type": "SYMBOL", + "name": "imaginary_literal" + } + ] + }, + "int_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "b" + }, + { + "type": "STRING", + "value": "B" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[01]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[01]" + } + ] + } + } + ] + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[1-9]" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "o" + }, + { + "type": "STRING", + "value": "O" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-7]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-7]" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "x" + }, + { + "type": "STRING", + "value": "X" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + } + ] + } + ] + } + ] + } + }, + "float_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": "." + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "e" + }, + { + "type": "STRING", + "value": "E" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "e" + }, + { + "type": "STRING", + "value": "E" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "e" + }, + { + "type": "STRING", + "value": "E" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "x" + }, + { + "type": "STRING", + "value": "X" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": "." + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "p" + }, + { + "type": "STRING", + "value": "P" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + }, + "imaginary_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "b" + }, + { + "type": "STRING", + "value": "B" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[01]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[01]" + } + ] + } + } + ] + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[1-9]" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "o" + }, + { + "type": "STRING", + "value": "O" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-7]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-7]" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "x" + }, + { + "type": "STRING", + "value": "X" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": "." + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "e" + }, + { + "type": "STRING", + "value": "E" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "e" + }, + { + "type": "STRING", + "value": "E" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "e" + }, + { + "type": "STRING", + "value": "E" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "STRING", + "value": "+" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "0" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "x" + }, + { + "type": "STRING", + "value": "X" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + }, + { + "type": "STRING", + "value": "." + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + } + } + ] + } + ] + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "p" + }, + { + "type": "STRING", + "value": "P" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "_" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "PATTERN", + "value": "[0-9]" + } + ] + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "STRING", + "value": "i" + } + ] + } + }, + "rune_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "'" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[^'\\\\]" + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\\" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "x" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-7]" + }, + { + "type": "PATTERN", + "value": "[0-7]" + }, + { + "type": "PATTERN", + "value": "[0-7]" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "u" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "U" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + }, + { + "type": "PATTERN", + "value": "[0-9a-fA-F]" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "a" + }, + { + "type": "STRING", + "value": "b" + }, + { + "type": "STRING", + "value": "f" + }, + { + "type": "STRING", + "value": "n" + }, + { + "type": "STRING", + "value": "r" + }, + { + "type": "STRING", + "value": "t" + }, + { + "type": "STRING", + "value": "v" + }, + { + "type": "STRING", + "value": "\\" + }, + { + "type": "STRING", + "value": "'" + }, + { + "type": "STRING", + "value": "\"" + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "STRING", + "value": "'" + } + ] + } + }, + "_boolean_literal": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "true" + }, + { + "type": "SYMBOL", + "name": "false" + } + ] + }, + "true": { + "type": "STRING", + "value": "true" + }, + "false": { + "type": "STRING", + "value": "false" + }, + "nil": { + "type": "STRING", + "value": "nil" + }, + "dot": { + "type": "PREC", + "value": 1, + "content": { + "type": "STRING", + "value": "." + } + }, + "_string_literal": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "raw_string_literal" + }, + { + "type": "SYMBOL", + "name": "interpreted_string_literal" + } + ] + }, + "raw_string_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "`" + }, + { + "type": "REPEAT", + "content": { + "type": "PATTERN", + "value": "[^`]" + } + }, + { + "type": "STRING", + "value": "`" + } + ] + } + }, + "interpreted_string_literal": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\"" + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "PREC", + "value": 1, + "content": { + "type": "PATTERN", + "value": "[^\"\\n\\\\]+" + } + } + }, + { + "type": "SYMBOL", + "name": "escape_sequence" + } + ] + } + }, + { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "STRING", + "value": "\"" + } + } + ] + }, + "escape_sequence": { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\\" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[^xuU]" + }, + { + "type": "PATTERN", + "value": "\\d{2,3}" + }, + { + "type": "PATTERN", + "value": "x[0-9a-fA-F]{2,}" + }, + { + "type": "PATTERN", + "value": "u[0-9a-fA-F]{4}" + }, + { + "type": "PATTERN", + "value": "U[0-9a-fA-F]{8}" + } + ] + } + ] + } + }, + "comment": { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "/*" + }, + { + "type": "PATTERN", + "value": "[^*]*\\*+([^/*][^*]*\\*+)*" + }, + { + "type": "STRING", + "value": "/" + } + ] + } + }, + "_left_delimiter": { + "type": "CHOICE", + "members": [ + { + "type": "TOKEN", + "content": { + "type": "STRING", + "value": "{{" + } + }, + { + "type": "ALIAS", + "content": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "{{-" + }, + { + "type": "PATTERN", + "value": "\\s" + } + ] + } + }, + "named": false, + "value": "{{-" + } + ] + }, + "_right_delimiter": { + "type": "CHOICE", + "members": [ + { + "type": "TOKEN", + "content": { + "type": "STRING", + "value": "}}" + } + }, + { + "type": "TOKEN", + "content": { + "type": "STRING", + "value": "-}}" + } + } + ] + } + }, + "extras": [ + { + "type": "PATTERN", + "value": "\\s" + } + ], + "conflicts": [ + [ + "_else_clause" + ], + [ + "_else_if_clause" + ], + [ + "_else_with_clause" + ] + ], + "precedences": [], + "externals": [], + "inline": [], + "supertypes": [], + "reserved": {} +} \ No newline at end of file diff --git a/vendor/tree-sitter-helm/src/node-types.json b/vendor/tree-sitter-helm/src/node-types.json new file mode 100644 index 0000000..e775350 --- /dev/null +++ b/vendor/tree-sitter-helm/src/node-types.json @@ -0,0 +1,2926 @@ +[ + { + "type": "argument_list", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + } + }, + { + "type": "assignment", + "named": true, + "fields": { + "value": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + }, + "variable": { + "multiple": false, + "required": true, + "types": [ + { + "type": "variable", + "named": true + } + ] + } + } + }, + { + "type": "block_action", + "named": true, + "fields": { + "argument": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + }, + "body": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + } + ] + } + } + }, + { + "type": "break_action", + "named": true, + "fields": {} + }, + { + "type": "chained_pipeline", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + } + }, + { + "type": "continue_action", + "named": true, + "fields": {} + }, + { + "type": "define_action", + "named": true, + "fields": { + "body": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + } + ] + } + } + }, + { + "type": "dot", + "named": true, + "fields": {} + }, + { + "type": "field", + "named": true, + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + } + }, + { + "type": "function_call", + "named": true, + "fields": { + "arguments": { + "multiple": false, + "required": false, + "types": [ + { + "type": "argument_list", + "named": true + } + ] + }, + "function": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + } + }, + { + "type": "if_action", + "named": true, + "fields": { + "alternative": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "condition": { + "multiple": true, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + }, + "consequence": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "option": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + } + } + }, + { + "type": "interpreted_string_literal", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "escape_sequence", + "named": true + } + ] + } + }, + { + "type": "method_call", + "named": true, + "fields": { + "arguments": { + "multiple": false, + "required": true, + "types": [ + { + "type": "argument_list", + "named": true + } + ] + }, + "method": { + "multiple": false, + "required": true, + "types": [ + { + "type": "field", + "named": true + }, + { + "type": "selector_expression", + "named": true + } + ] + } + } + }, + { + "type": "parenthesized_pipeline", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + } + }, + { + "type": "range_action", + "named": true, + "fields": { + "alternative": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "body": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "range": { + "multiple": false, + "required": false, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "range_variable_definition", + "named": true + } + ] + } + }, + { + "type": "range_variable_definition", + "named": true, + "fields": { + "element": { + "multiple": false, + "required": true, + "types": [ + { + "type": "variable", + "named": true + } + ] + }, + "index": { + "multiple": false, + "required": true, + "types": [ + { + "type": "variable", + "named": true + } + ] + }, + "range": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + } + } + }, + { + "type": "selector_expression", + "named": true, + "fields": { + "field": { + "multiple": false, + "required": true, + "types": [ + { + "type": "field_identifier", + "named": true + } + ] + }, + "operand": { + "multiple": false, + "required": true, + "types": [ + { + "type": "field", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "variable", + "named": true + } + ] + } + } + }, + { + "type": "template", + "named": true, + "root": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + } + ] + } + }, + { + "type": "template_action", + "named": true, + "fields": { + "argument": { + "multiple": false, + "required": false, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + }, + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + } + ] + } + } + }, + { + "type": "text", + "named": true, + "fields": {} + }, + { + "type": "variable", + "named": true, + "fields": { + "name": { + "multiple": false, + "required": false, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + } + }, + { + "type": "variable_definition", + "named": true, + "fields": { + "value": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + }, + "variable": { + "multiple": false, + "required": true, + "types": [ + { + "type": "variable", + "named": true + } + ] + } + } + }, + { + "type": "with_action", + "named": true, + "fields": { + "alternative": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "condition": { + "multiple": true, + "required": true, + "types": [ + { + "type": "assignment", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + } + ] + }, + "consequence": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + }, + "option": { + "multiple": true, + "required": false, + "types": [ + { + "type": "-}}", + "named": false + }, + { + "type": "assignment", + "named": true + }, + { + "type": "block_action", + "named": true + }, + { + "type": "break_action", + "named": true + }, + { + "type": "chained_pipeline", + "named": true + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue_action", + "named": true + }, + { + "type": "define_action", + "named": true + }, + { + "type": "dot", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "function_call", + "named": true + }, + { + "type": "if_action", + "named": true + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "interpreted_string_literal", + "named": true + }, + { + "type": "method_call", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "parenthesized_pipeline", + "named": true + }, + { + "type": "range_action", + "named": true + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "selector_expression", + "named": true + }, + { + "type": "template_action", + "named": true + }, + { + "type": "text", + "named": true + }, + { + "type": "true", + "named": true + }, + { + "type": "variable", + "named": true + }, + { + "type": "variable_definition", + "named": true + }, + { + "type": "with_action", + "named": true + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "}}", + "named": false + } + ] + } + } + }, + { + "type": "\"", + "named": false + }, + { + "type": "$", + "named": false + }, + { + "type": "(", + "named": false + }, + { + "type": ")", + "named": false + }, + { + "type": ",", + "named": false + }, + { + "type": "-}}", + "named": false + }, + { + "type": ".", + "named": false + }, + { + "type": ":=", + "named": false + }, + { + "type": "=", + "named": false + }, + { + "type": "block", + "named": false + }, + { + "type": "break", + "named": false + }, + { + "type": "comment", + "named": true + }, + { + "type": "continue", + "named": false + }, + { + "type": "define", + "named": false + }, + { + "type": "else", + "named": false + }, + { + "type": "end", + "named": false + }, + { + "type": "escape_sequence", + "named": true + }, + { + "type": "false", + "named": true + }, + { + "type": "field_identifier", + "named": true + }, + { + "type": "float_literal", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if", + "named": false + }, + { + "type": "imaginary_literal", + "named": true + }, + { + "type": "int_literal", + "named": true + }, + { + "type": "nil", + "named": true + }, + { + "type": "range", + "named": false + }, + { + "type": "raw_string_literal", + "named": true + }, + { + "type": "rune_literal", + "named": true + }, + { + "type": "template", + "named": false + }, + { + "type": "true", + "named": true + }, + { + "type": "with", + "named": false + }, + { + "type": "yaml_no_injection_text", + "named": true + }, + { + "type": "{{", + "named": false + }, + { + "type": "{{-", + "named": false + }, + { + "type": "|", + "named": false + }, + { + "type": "}}", + "named": false + } +] \ No newline at end of file diff --git a/vendor/tree-sitter-helm/src/parser.c b/vendor/tree-sitter-helm/src/parser.c new file mode 100644 index 0000000..ea78aed --- /dev/null +++ b/vendor/tree-sitter-helm/src/parser.c @@ -0,0 +1,11320 @@ +/* Automatically @generated by tree-sitter v0.25.10 */ + +#include "tree_sitter/parser.h" + +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#endif + +#define LANGUAGE_VERSION 15 +#define STATE_COUNT 367 +#define LARGE_STATE_COUNT 2 +#define SYMBOL_COUNT 92 +#define ALIAS_COUNT 1 +#define TOKEN_COUNT 48 +#define EXTERNAL_TOKEN_COUNT 0 +#define FIELD_COUNT 17 +#define MAX_ALIAS_SEQUENCE_LENGTH 12 +#define MAX_RESERVED_WORD_SET_SIZE 0 +#define PRODUCTION_ID_COUNT 33 +#define SUPERTYPE_COUNT 0 + +enum ts_symbol_identifiers { + sym_yaml_no_injection_text = 1, + aux_sym_text_token1 = 2, + aux_sym_text_token2 = 3, + aux_sym_text_token3 = 4, + aux_sym_text_token4 = 5, + anon_sym_end = 6, + anon_sym_RBRACE_RBRACE = 7, + aux_sym__comment_action_token1 = 8, + anon_sym_DASH_RBRACE_RBRACE = 9, + anon_sym_if = 10, + anon_sym_else = 11, + anon_sym_with = 12, + anon_sym_COMMA = 13, + anon_sym_COLON_EQ = 14, + anon_sym_range = 15, + anon_sym_break = 16, + anon_sym_continue = 17, + anon_sym_template = 18, + anon_sym_define = 19, + anon_sym_block = 20, + anon_sym_EQ = 21, + anon_sym_PIPE = 22, + anon_sym_LPAREN = 23, + anon_sym_RPAREN = 24, + aux_sym_argument_list_token1 = 25, + anon_sym_DOT = 26, + anon_sym_DOT2 = 27, + anon_sym_DOLLAR = 28, + aux_sym_variable_token1 = 29, + sym_identifier = 30, + sym_int_literal = 31, + sym_float_literal = 32, + sym_imaginary_literal = 33, + sym_rune_literal = 34, + sym_true = 35, + sym_false = 36, + sym_nil = 37, + sym_raw_string_literal = 38, + anon_sym_DQUOTE = 39, + aux_sym_interpreted_string_literal_token1 = 40, + anon_sym_DQUOTE2 = 41, + sym_escape_sequence = 42, + sym_comment = 43, + anon_sym_LBRACE_LBRACE = 44, + aux_sym__left_delimiter_token1 = 45, + anon_sym_RBRACE_RBRACE2 = 46, + anon_sym_DASH_RBRACE_RBRACE2 = 47, + sym_template = 48, + sym__block = 49, + sym_text = 50, + sym__action = 51, + sym__action_end = 52, + sym__comment_action = 53, + sym__pipeline_action = 54, + sym_if_action = 55, + sym__else_if_clause = 56, + sym__else_clause = 57, + sym__else_with_clause = 58, + sym_range_variable_definition = 59, + sym_range_action = 60, + sym_break_action = 61, + sym_continue_action = 62, + sym_template_action = 63, + sym_define_action = 64, + sym_block_action = 65, + sym_with_action = 66, + sym__pipeline = 67, + sym_variable_definition = 68, + sym_assignment = 69, + sym_chained_pipeline = 70, + sym_parenthesized_pipeline = 71, + sym_method_call = 72, + sym_function_call = 73, + sym_argument_list = 74, + sym__expression = 75, + sym_selector_expression = 76, + sym__field_identifier = 77, + sym_field = 78, + sym_variable = 79, + sym__literal = 80, + sym__boolean_literal = 81, + sym_dot = 82, + sym__string_literal = 83, + sym_interpreted_string_literal = 84, + sym__left_delimiter = 85, + sym__right_delimiter = 86, + aux_sym_template_repeat1 = 87, + aux_sym_if_action_repeat1 = 88, + aux_sym_with_action_repeat1 = 89, + aux_sym_argument_list_repeat1 = 90, + aux_sym_interpreted_string_literal_repeat1 = 91, + alias_sym_field_identifier = 92, +}; + +static const char * const ts_symbol_names[] = { + [ts_builtin_sym_end] = "end", + [sym_yaml_no_injection_text] = "yaml_no_injection_text", + [aux_sym_text_token1] = "text_token1", + [aux_sym_text_token2] = "text_token2", + [aux_sym_text_token3] = "text_token3", + [aux_sym_text_token4] = "text_token4", + [anon_sym_end] = "end", + [anon_sym_RBRACE_RBRACE] = "}}", + [aux_sym__comment_action_token1] = "_comment_action_token1", + [anon_sym_DASH_RBRACE_RBRACE] = "-}}", + [anon_sym_if] = "if", + [anon_sym_else] = "else", + [anon_sym_with] = "with", + [anon_sym_COMMA] = ",", + [anon_sym_COLON_EQ] = ":=", + [anon_sym_range] = "range", + [anon_sym_break] = "break", + [anon_sym_continue] = "continue", + [anon_sym_template] = "template", + [anon_sym_define] = "define", + [anon_sym_block] = "block", + [anon_sym_EQ] = "=", + [anon_sym_PIPE] = "|", + [anon_sym_LPAREN] = "(", + [anon_sym_RPAREN] = ")", + [aux_sym_argument_list_token1] = "argument_list_token1", + [anon_sym_DOT] = ".", + [anon_sym_DOT2] = ".", + [anon_sym_DOLLAR] = "$", + [aux_sym_variable_token1] = "identifier", + [sym_identifier] = "identifier", + [sym_int_literal] = "int_literal", + [sym_float_literal] = "float_literal", + [sym_imaginary_literal] = "imaginary_literal", + [sym_rune_literal] = "rune_literal", + [sym_true] = "true", + [sym_false] = "false", + [sym_nil] = "nil", + [sym_raw_string_literal] = "raw_string_literal", + [anon_sym_DQUOTE] = "\"", + [aux_sym_interpreted_string_literal_token1] = "interpreted_string_literal_token1", + [anon_sym_DQUOTE2] = "\"", + [sym_escape_sequence] = "escape_sequence", + [sym_comment] = "comment", + [anon_sym_LBRACE_LBRACE] = "{{", + [aux_sym__left_delimiter_token1] = "{{-", + [anon_sym_RBRACE_RBRACE2] = "}}", + [anon_sym_DASH_RBRACE_RBRACE2] = "-}}", + [sym_template] = "template", + [sym__block] = "_block", + [sym_text] = "text", + [sym__action] = "_action", + [sym__action_end] = "_action_end", + [sym__comment_action] = "_comment_action", + [sym__pipeline_action] = "_pipeline_action", + [sym_if_action] = "if_action", + [sym__else_if_clause] = "_else_if_clause", + [sym__else_clause] = "_else_clause", + [sym__else_with_clause] = "_else_with_clause", + [sym_range_variable_definition] = "range_variable_definition", + [sym_range_action] = "range_action", + [sym_break_action] = "break_action", + [sym_continue_action] = "continue_action", + [sym_template_action] = "template_action", + [sym_define_action] = "define_action", + [sym_block_action] = "block_action", + [sym_with_action] = "with_action", + [sym__pipeline] = "_pipeline", + [sym_variable_definition] = "variable_definition", + [sym_assignment] = "assignment", + [sym_chained_pipeline] = "chained_pipeline", + [sym_parenthesized_pipeline] = "parenthesized_pipeline", + [sym_method_call] = "method_call", + [sym_function_call] = "function_call", + [sym_argument_list] = "argument_list", + [sym__expression] = "_expression", + [sym_selector_expression] = "selector_expression", + [sym__field_identifier] = "_field_identifier", + [sym_field] = "field", + [sym_variable] = "variable", + [sym__literal] = "_literal", + [sym__boolean_literal] = "_boolean_literal", + [sym_dot] = "dot", + [sym__string_literal] = "_string_literal", + [sym_interpreted_string_literal] = "interpreted_string_literal", + [sym__left_delimiter] = "_left_delimiter", + [sym__right_delimiter] = "_right_delimiter", + [aux_sym_template_repeat1] = "template_repeat1", + [aux_sym_if_action_repeat1] = "if_action_repeat1", + [aux_sym_with_action_repeat1] = "with_action_repeat1", + [aux_sym_argument_list_repeat1] = "argument_list_repeat1", + [aux_sym_interpreted_string_literal_repeat1] = "interpreted_string_literal_repeat1", + [alias_sym_field_identifier] = "field_identifier", +}; + +static const TSSymbol ts_symbol_map[] = { + [ts_builtin_sym_end] = ts_builtin_sym_end, + [sym_yaml_no_injection_text] = sym_yaml_no_injection_text, + [aux_sym_text_token1] = aux_sym_text_token1, + [aux_sym_text_token2] = aux_sym_text_token2, + [aux_sym_text_token3] = aux_sym_text_token3, + [aux_sym_text_token4] = aux_sym_text_token4, + [anon_sym_end] = anon_sym_end, + [anon_sym_RBRACE_RBRACE] = anon_sym_RBRACE_RBRACE, + [aux_sym__comment_action_token1] = aux_sym__comment_action_token1, + [anon_sym_DASH_RBRACE_RBRACE] = anon_sym_DASH_RBRACE_RBRACE, + [anon_sym_if] = anon_sym_if, + [anon_sym_else] = anon_sym_else, + [anon_sym_with] = anon_sym_with, + [anon_sym_COMMA] = anon_sym_COMMA, + [anon_sym_COLON_EQ] = anon_sym_COLON_EQ, + [anon_sym_range] = anon_sym_range, + [anon_sym_break] = anon_sym_break, + [anon_sym_continue] = anon_sym_continue, + [anon_sym_template] = anon_sym_template, + [anon_sym_define] = anon_sym_define, + [anon_sym_block] = anon_sym_block, + [anon_sym_EQ] = anon_sym_EQ, + [anon_sym_PIPE] = anon_sym_PIPE, + [anon_sym_LPAREN] = anon_sym_LPAREN, + [anon_sym_RPAREN] = anon_sym_RPAREN, + [aux_sym_argument_list_token1] = aux_sym_argument_list_token1, + [anon_sym_DOT] = anon_sym_DOT, + [anon_sym_DOT2] = anon_sym_DOT, + [anon_sym_DOLLAR] = anon_sym_DOLLAR, + [aux_sym_variable_token1] = sym_identifier, + [sym_identifier] = sym_identifier, + [sym_int_literal] = sym_int_literal, + [sym_float_literal] = sym_float_literal, + [sym_imaginary_literal] = sym_imaginary_literal, + [sym_rune_literal] = sym_rune_literal, + [sym_true] = sym_true, + [sym_false] = sym_false, + [sym_nil] = sym_nil, + [sym_raw_string_literal] = sym_raw_string_literal, + [anon_sym_DQUOTE] = anon_sym_DQUOTE, + [aux_sym_interpreted_string_literal_token1] = aux_sym_interpreted_string_literal_token1, + [anon_sym_DQUOTE2] = anon_sym_DQUOTE, + [sym_escape_sequence] = sym_escape_sequence, + [sym_comment] = sym_comment, + [anon_sym_LBRACE_LBRACE] = anon_sym_LBRACE_LBRACE, + [aux_sym__left_delimiter_token1] = aux_sym__left_delimiter_token1, + [anon_sym_RBRACE_RBRACE2] = anon_sym_RBRACE_RBRACE, + [anon_sym_DASH_RBRACE_RBRACE2] = anon_sym_DASH_RBRACE_RBRACE, + [sym_template] = sym_template, + [sym__block] = sym__block, + [sym_text] = sym_text, + [sym__action] = sym__action, + [sym__action_end] = sym__action_end, + [sym__comment_action] = sym__comment_action, + [sym__pipeline_action] = sym__pipeline_action, + [sym_if_action] = sym_if_action, + [sym__else_if_clause] = sym__else_if_clause, + [sym__else_clause] = sym__else_clause, + [sym__else_with_clause] = sym__else_with_clause, + [sym_range_variable_definition] = sym_range_variable_definition, + [sym_range_action] = sym_range_action, + [sym_break_action] = sym_break_action, + [sym_continue_action] = sym_continue_action, + [sym_template_action] = sym_template_action, + [sym_define_action] = sym_define_action, + [sym_block_action] = sym_block_action, + [sym_with_action] = sym_with_action, + [sym__pipeline] = sym__pipeline, + [sym_variable_definition] = sym_variable_definition, + [sym_assignment] = sym_assignment, + [sym_chained_pipeline] = sym_chained_pipeline, + [sym_parenthesized_pipeline] = sym_parenthesized_pipeline, + [sym_method_call] = sym_method_call, + [sym_function_call] = sym_function_call, + [sym_argument_list] = sym_argument_list, + [sym__expression] = sym__expression, + [sym_selector_expression] = sym_selector_expression, + [sym__field_identifier] = sym__field_identifier, + [sym_field] = sym_field, + [sym_variable] = sym_variable, + [sym__literal] = sym__literal, + [sym__boolean_literal] = sym__boolean_literal, + [sym_dot] = sym_dot, + [sym__string_literal] = sym__string_literal, + [sym_interpreted_string_literal] = sym_interpreted_string_literal, + [sym__left_delimiter] = sym__left_delimiter, + [sym__right_delimiter] = sym__right_delimiter, + [aux_sym_template_repeat1] = aux_sym_template_repeat1, + [aux_sym_if_action_repeat1] = aux_sym_if_action_repeat1, + [aux_sym_with_action_repeat1] = aux_sym_with_action_repeat1, + [aux_sym_argument_list_repeat1] = aux_sym_argument_list_repeat1, + [aux_sym_interpreted_string_literal_repeat1] = aux_sym_interpreted_string_literal_repeat1, + [alias_sym_field_identifier] = alias_sym_field_identifier, +}; + +static const TSSymbolMetadata ts_symbol_metadata[] = { + [ts_builtin_sym_end] = { + .visible = false, + .named = true, + }, + [sym_yaml_no_injection_text] = { + .visible = true, + .named = true, + }, + [aux_sym_text_token1] = { + .visible = false, + .named = false, + }, + [aux_sym_text_token2] = { + .visible = false, + .named = false, + }, + [aux_sym_text_token3] = { + .visible = false, + .named = false, + }, + [aux_sym_text_token4] = { + .visible = false, + .named = false, + }, + [anon_sym_end] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACE_RBRACE] = { + .visible = true, + .named = false, + }, + [aux_sym__comment_action_token1] = { + .visible = false, + .named = false, + }, + [anon_sym_DASH_RBRACE_RBRACE] = { + .visible = true, + .named = false, + }, + [anon_sym_if] = { + .visible = true, + .named = false, + }, + [anon_sym_else] = { + .visible = true, + .named = false, + }, + [anon_sym_with] = { + .visible = true, + .named = false, + }, + [anon_sym_COMMA] = { + .visible = true, + .named = false, + }, + [anon_sym_COLON_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_range] = { + .visible = true, + .named = false, + }, + [anon_sym_break] = { + .visible = true, + .named = false, + }, + [anon_sym_continue] = { + .visible = true, + .named = false, + }, + [anon_sym_template] = { + .visible = true, + .named = false, + }, + [anon_sym_define] = { + .visible = true, + .named = false, + }, + [anon_sym_block] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_PIPE] = { + .visible = true, + .named = false, + }, + [anon_sym_LPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_RPAREN] = { + .visible = true, + .named = false, + }, + [aux_sym_argument_list_token1] = { + .visible = false, + .named = false, + }, + [anon_sym_DOT] = { + .visible = true, + .named = false, + }, + [anon_sym_DOT2] = { + .visible = true, + .named = false, + }, + [anon_sym_DOLLAR] = { + .visible = true, + .named = false, + }, + [aux_sym_variable_token1] = { + .visible = true, + .named = true, + }, + [sym_identifier] = { + .visible = true, + .named = true, + }, + [sym_int_literal] = { + .visible = true, + .named = true, + }, + [sym_float_literal] = { + .visible = true, + .named = true, + }, + [sym_imaginary_literal] = { + .visible = true, + .named = true, + }, + [sym_rune_literal] = { + .visible = true, + .named = true, + }, + [sym_true] = { + .visible = true, + .named = true, + }, + [sym_false] = { + .visible = true, + .named = true, + }, + [sym_nil] = { + .visible = true, + .named = true, + }, + [sym_raw_string_literal] = { + .visible = true, + .named = true, + }, + [anon_sym_DQUOTE] = { + .visible = true, + .named = false, + }, + [aux_sym_interpreted_string_literal_token1] = { + .visible = false, + .named = false, + }, + [anon_sym_DQUOTE2] = { + .visible = true, + .named = false, + }, + [sym_escape_sequence] = { + .visible = true, + .named = true, + }, + [sym_comment] = { + .visible = true, + .named = true, + }, + [anon_sym_LBRACE_LBRACE] = { + .visible = true, + .named = false, + }, + [aux_sym__left_delimiter_token1] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACE_RBRACE2] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH_RBRACE_RBRACE2] = { + .visible = true, + .named = false, + }, + [sym_template] = { + .visible = true, + .named = true, + }, + [sym__block] = { + .visible = false, + .named = true, + }, + [sym_text] = { + .visible = true, + .named = true, + }, + [sym__action] = { + .visible = false, + .named = true, + }, + [sym__action_end] = { + .visible = false, + .named = true, + }, + [sym__comment_action] = { + .visible = false, + .named = true, + }, + [sym__pipeline_action] = { + .visible = false, + .named = true, + }, + [sym_if_action] = { + .visible = true, + .named = true, + }, + [sym__else_if_clause] = { + .visible = false, + .named = true, + }, + [sym__else_clause] = { + .visible = false, + .named = true, + }, + [sym__else_with_clause] = { + .visible = false, + .named = true, + }, + [sym_range_variable_definition] = { + .visible = true, + .named = true, + }, + [sym_range_action] = { + .visible = true, + .named = true, + }, + [sym_break_action] = { + .visible = true, + .named = true, + }, + [sym_continue_action] = { + .visible = true, + .named = true, + }, + [sym_template_action] = { + .visible = true, + .named = true, + }, + [sym_define_action] = { + .visible = true, + .named = true, + }, + [sym_block_action] = { + .visible = true, + .named = true, + }, + [sym_with_action] = { + .visible = true, + .named = true, + }, + [sym__pipeline] = { + .visible = false, + .named = true, + }, + [sym_variable_definition] = { + .visible = true, + .named = true, + }, + [sym_assignment] = { + .visible = true, + .named = true, + }, + [sym_chained_pipeline] = { + .visible = true, + .named = true, + }, + [sym_parenthesized_pipeline] = { + .visible = true, + .named = true, + }, + [sym_method_call] = { + .visible = true, + .named = true, + }, + [sym_function_call] = { + .visible = true, + .named = true, + }, + [sym_argument_list] = { + .visible = true, + .named = true, + }, + [sym__expression] = { + .visible = false, + .named = true, + }, + [sym_selector_expression] = { + .visible = true, + .named = true, + }, + [sym__field_identifier] = { + .visible = false, + .named = true, + }, + [sym_field] = { + .visible = true, + .named = true, + }, + [sym_variable] = { + .visible = true, + .named = true, + }, + [sym__literal] = { + .visible = false, + .named = true, + }, + [sym__boolean_literal] = { + .visible = false, + .named = true, + }, + [sym_dot] = { + .visible = true, + .named = true, + }, + [sym__string_literal] = { + .visible = false, + .named = true, + }, + [sym_interpreted_string_literal] = { + .visible = true, + .named = true, + }, + [sym__left_delimiter] = { + .visible = false, + .named = true, + }, + [sym__right_delimiter] = { + .visible = false, + .named = true, + }, + [aux_sym_template_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_if_action_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_with_action_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_argument_list_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_interpreted_string_literal_repeat1] = { + .visible = false, + .named = false, + }, + [alias_sym_field_identifier] = { + .visible = true, + .named = true, + }, +}; + +enum ts_field_identifiers { + field_alternative = 1, + field_argument = 2, + field_arguments = 3, + field_body = 4, + field_condition = 5, + field_consequence = 6, + field_element = 7, + field_field = 8, + field_function = 9, + field_index = 10, + field_method = 11, + field_name = 12, + field_operand = 13, + field_option = 14, + field_range = 15, + field_value = 16, + field_variable = 17, +}; + +static const char * const ts_field_names[] = { + [0] = NULL, + [field_alternative] = "alternative", + [field_argument] = "argument", + [field_arguments] = "arguments", + [field_body] = "body", + [field_condition] = "condition", + [field_consequence] = "consequence", + [field_element] = "element", + [field_field] = "field", + [field_function] = "function", + [field_index] = "index", + [field_method] = "method", + [field_name] = "name", + [field_operand] = "operand", + [field_option] = "option", + [field_range] = "range", + [field_value] = "value", + [field_variable] = "variable", +}; + +static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { + [1] = {.index = 0, .length = 1}, + [2] = {.index = 1, .length = 1}, + [3] = {.index = 2, .length = 2}, + [4] = {.index = 4, .length = 2}, + [5] = {.index = 6, .length = 1}, + [7] = {.index = 7, .length = 2}, + [8] = {.index = 9, .length = 2}, + [9] = {.index = 11, .length = 1}, + [10] = {.index = 12, .length = 2}, + [11] = {.index = 14, .length = 2}, + [12] = {.index = 16, .length = 2}, + [13] = {.index = 18, .length = 2}, + [14] = {.index = 20, .length = 3}, + [15] = {.index = 23, .length = 4}, + [16] = {.index = 27, .length = 3}, + [17] = {.index = 30, .length = 4}, + [18] = {.index = 34, .length = 4}, + [19] = {.index = 38, .length = 1}, + [20] = {.index = 39, .length = 3}, + [21] = {.index = 42, .length = 1}, + [22] = {.index = 43, .length = 5}, + [23] = {.index = 48, .length = 1}, + [24] = {.index = 49, .length = 2}, + [25] = {.index = 51, .length = 2}, + [26] = {.index = 53, .length = 1}, + [27] = {.index = 54, .length = 3}, + [28] = {.index = 57, .length = 2}, + [29] = {.index = 59, .length = 1}, + [30] = {.index = 60, .length = 2}, + [31] = {.index = 62, .length = 2}, + [32] = {.index = 64, .length = 3}, +}; + +static const TSFieldMapEntry ts_field_map_entries[] = { + [0] = + {field_function, 0}, + [1] = + {field_name, 1}, + [2] = + {field_arguments, 1}, + {field_function, 0}, + [4] = + {field_arguments, 1}, + {field_method, 0}, + [6] = + {field_name, 2}, + [7] = + {field_field, 2}, + {field_operand, 0}, + [9] = + {field_value, 2}, + {field_variable, 0}, + [11] = + {field_condition, 2}, + [12] = + {field_condition, 0, .inherited = true}, + {field_option, 0, .inherited = true}, + [14] = + {field_argument, 3}, + {field_name, 2}, + [16] = + {field_alternative, 4, .inherited = true}, + {field_condition, 2}, + [18] = + {field_condition, 2}, + {field_consequence, 4}, + [20] = + {field_condition, 2}, + {field_condition, 4, .inherited = true}, + {field_option, 4, .inherited = true}, + [23] = + {field_condition, 0, .inherited = true}, + {field_condition, 1, .inherited = true}, + {field_option, 0, .inherited = true}, + {field_option, 1, .inherited = true}, + [27] = + {field_alternative, 5, .inherited = true}, + {field_condition, 2}, + {field_consequence, 4}, + [30] = + {field_condition, 2}, + {field_condition, 5, .inherited = true}, + {field_consequence, 4}, + {field_option, 5, .inherited = true}, + [34] = + {field_alternative, 5, .inherited = true}, + {field_condition, 2}, + {field_condition, 4, .inherited = true}, + {field_option, 4, .inherited = true}, + [38] = + {field_range, 2}, + [39] = + {field_element, 2}, + {field_index, 0}, + {field_range, 4}, + [42] = + {field_alternative, 3}, + [43] = + {field_alternative, 6, .inherited = true}, + {field_condition, 2}, + {field_condition, 5, .inherited = true}, + {field_consequence, 4}, + {field_option, 5, .inherited = true}, + [48] = + {field_body, 4}, + [49] = + {field_body, 4}, + {field_range, 2}, + [51] = + {field_body, 4}, + {field_name, 2}, + [53] = + {field_condition, 3}, + [54] = + {field_argument, 3}, + {field_body, 5}, + {field_name, 2}, + [57] = + {field_condition, 3}, + {field_option, 5}, + [59] = + {field_alternative, 7}, + [60] = + {field_alternative, 7}, + {field_range, 2}, + [62] = + {field_alternative, 8}, + {field_body, 4}, + [64] = + {field_alternative, 8}, + {field_body, 4}, + {field_range, 2}, +}; + +static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { + [0] = {0}, + [6] = { + [0] = alias_sym_field_identifier, + }, +}; + +static const uint16_t ts_non_terminal_alias_map[] = { + 0, +}; + +static const TSStateId ts_primary_state_ids[STATE_COUNT] = { + [0] = 0, + [1] = 1, + [2] = 2, + [3] = 3, + [4] = 4, + [5] = 5, + [6] = 6, + [7] = 7, + [8] = 2, + [9] = 3, + [10] = 4, + [11] = 5, + [12] = 6, + [13] = 7, + [14] = 14, + [15] = 15, + [16] = 16, + [17] = 17, + [18] = 18, + [19] = 19, + [20] = 20, + [21] = 15, + [22] = 22, + [23] = 23, + [24] = 24, + [25] = 25, + [26] = 26, + [27] = 22, + [28] = 23, + [29] = 24, + [30] = 25, + [31] = 26, + [32] = 14, + [33] = 16, + [34] = 17, + [35] = 18, + [36] = 19, + [37] = 20, + [38] = 38, + [39] = 38, + [40] = 40, + [41] = 41, + [42] = 40, + [43] = 41, + [44] = 44, + [45] = 45, + [46] = 45, + [47] = 44, + [48] = 48, + [49] = 48, + [50] = 50, + [51] = 50, + [52] = 52, + [53] = 53, + [54] = 54, + [55] = 55, + [56] = 56, + [57] = 57, + [58] = 58, + [59] = 59, + [60] = 60, + [61] = 57, + [62] = 62, + [63] = 58, + [64] = 59, + [65] = 52, + [66] = 56, + [67] = 67, + [68] = 62, + [69] = 53, + [70] = 70, + [71] = 71, + [72] = 72, + [73] = 73, + [74] = 71, + [75] = 72, + [76] = 73, + [77] = 70, + [78] = 78, + [79] = 79, + [80] = 80, + [81] = 81, + [82] = 82, + [83] = 83, + [84] = 84, + [85] = 85, + [86] = 86, + [87] = 87, + [88] = 88, + [89] = 89, + [90] = 90, + [91] = 91, + [92] = 92, + [93] = 93, + [94] = 94, + [95] = 95, + [96] = 96, + [97] = 97, + [98] = 98, + [99] = 99, + [100] = 100, + [101] = 96, + [102] = 97, + [103] = 98, + [104] = 81, + [105] = 87, + [106] = 80, + [107] = 83, + [108] = 95, + [109] = 84, + [110] = 85, + [111] = 88, + [112] = 89, + [113] = 90, + [114] = 91, + [115] = 94, + [116] = 99, + [117] = 117, + [118] = 78, + [119] = 119, + [120] = 120, + [121] = 121, + [122] = 121, + [123] = 119, + [124] = 120, + [125] = 125, + [126] = 126, + [127] = 127, + [128] = 127, + [129] = 129, + [130] = 130, + [131] = 131, + [132] = 132, + [133] = 133, + [134] = 134, + [135] = 135, + [136] = 136, + [137] = 137, + [138] = 138, + [139] = 139, + [140] = 140, + [141] = 141, + [142] = 142, + [143] = 143, + [144] = 144, + [145] = 145, + [146] = 146, + [147] = 147, + [148] = 148, + [149] = 149, + [150] = 150, + [151] = 151, + [152] = 152, + [153] = 153, + [154] = 154, + [155] = 155, + [156] = 156, + [157] = 157, + [158] = 158, + [159] = 159, + [160] = 160, + [161] = 161, + [162] = 162, + [163] = 163, + [164] = 164, + [165] = 165, + [166] = 136, + [167] = 167, + [168] = 168, + [169] = 169, + [170] = 170, + [171] = 171, + [172] = 172, + [173] = 141, + [174] = 139, + [175] = 140, + [176] = 138, + [177] = 145, + [178] = 146, + [179] = 150, + [180] = 153, + [181] = 154, + [182] = 155, + [183] = 162, + [184] = 164, + [185] = 165, + [186] = 167, + [187] = 168, + [188] = 169, + [189] = 170, + [190] = 171, + [191] = 130, + [192] = 132, + [193] = 147, + [194] = 194, + [195] = 159, + [196] = 196, + [197] = 160, + [198] = 152, + [199] = 199, + [200] = 200, + [201] = 200, + [202] = 202, + [203] = 199, + [204] = 157, + [205] = 158, + [206] = 161, + [207] = 156, + [208] = 144, + [209] = 196, + [210] = 172, + [211] = 194, + [212] = 135, + [213] = 142, + [214] = 148, + [215] = 149, + [216] = 151, + [217] = 163, + [218] = 131, + [219] = 133, + [220] = 134, + [221] = 137, + [222] = 129, + [223] = 143, + [224] = 224, + [225] = 225, + [226] = 225, + [227] = 227, + [228] = 228, + [229] = 229, + [230] = 227, + [231] = 231, + [232] = 224, + [233] = 233, + [234] = 234, + [235] = 235, + [236] = 126, + [237] = 125, + [238] = 238, + [239] = 229, + [240] = 240, + [241] = 241, + [242] = 242, + [243] = 243, + [244] = 231, + [245] = 245, + [246] = 246, + [247] = 247, + [248] = 245, + [249] = 249, + [250] = 250, + [251] = 251, + [252] = 235, + [253] = 253, + [254] = 254, + [255] = 255, + [256] = 256, + [257] = 257, + [258] = 258, + [259] = 250, + [260] = 254, + [261] = 255, + [262] = 253, + [263] = 263, + [264] = 264, + [265] = 265, + [266] = 266, + [267] = 267, + [268] = 247, + [269] = 256, + [270] = 249, + [271] = 271, + [272] = 263, + [273] = 266, + [274] = 274, + [275] = 246, + [276] = 264, + [277] = 277, + [278] = 251, + [279] = 279, + [280] = 280, + [281] = 233, + [282] = 265, + [283] = 283, + [284] = 267, + [285] = 257, + [286] = 243, + [287] = 287, + [288] = 241, + [289] = 258, + [290] = 271, + [291] = 274, + [292] = 242, + [293] = 293, + [294] = 294, + [295] = 295, + [296] = 296, + [297] = 297, + [298] = 298, + [299] = 299, + [300] = 300, + [301] = 301, + [302] = 302, + [303] = 303, + [304] = 304, + [305] = 305, + [306] = 300, + [307] = 307, + [308] = 308, + [309] = 305, + [310] = 310, + [311] = 304, + [312] = 308, + [313] = 313, + [314] = 295, + [315] = 315, + [316] = 294, + [317] = 317, + [318] = 318, + [319] = 319, + [320] = 297, + [321] = 298, + [322] = 315, + [323] = 319, + [324] = 324, + [325] = 325, + [326] = 326, + [327] = 301, + [328] = 328, + [329] = 329, + [330] = 325, + [331] = 324, + [332] = 329, + [333] = 296, + [334] = 307, + [335] = 310, + [336] = 326, + [337] = 302, + [338] = 299, + [339] = 303, + [340] = 313, + [341] = 317, + [342] = 293, + [343] = 328, + [344] = 344, + [345] = 345, + [346] = 346, + [347] = 347, + [348] = 347, + [349] = 349, + [350] = 350, + [351] = 351, + [352] = 350, + [353] = 353, + [354] = 346, + [355] = 344, + [356] = 345, + [357] = 357, + [358] = 357, + [359] = 359, + [360] = 360, + [361] = 359, + [362] = 362, + [363] = 363, + [364] = 364, + [365] = 365, + [366] = 366, +}; + +static const TSCharacterRange aux_sym_variable_token1_character_set_1[] = { + {'0', '9'}, {'A', 'Z'}, {'_', '_'}, {'a', 'z'}, {0xaa, 0xaa}, {0xb5, 0xb5}, {0xba, 0xba}, {0xc0, 0xd6}, + {0xd8, 0xf6}, {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x370, 0x374}, {0x376, 0x377}, + {0x37a, 0x37d}, {0x37f, 0x37f}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, {0x3a3, 0x3f5}, {0x3f7, 0x481}, + {0x48a, 0x52f}, {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x620, 0x64a}, {0x66e, 0x66f}, + {0x671, 0x6d3}, {0x6d5, 0x6d5}, {0x6e5, 0x6e6}, {0x6ee, 0x6ef}, {0x6fa, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x710}, {0x712, 0x72f}, + {0x74d, 0x7a5}, {0x7b1, 0x7b1}, {0x7ca, 0x7ea}, {0x7f4, 0x7f5}, {0x7fa, 0x7fa}, {0x800, 0x815}, {0x81a, 0x81a}, {0x824, 0x824}, + {0x828, 0x828}, {0x840, 0x858}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x8a0, 0x8c9}, {0x904, 0x939}, {0x93d, 0x93d}, + {0x950, 0x950}, {0x958, 0x961}, {0x971, 0x980}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, + {0x9b6, 0x9b9}, {0x9bd, 0x9bd}, {0x9ce, 0x9ce}, {0x9dc, 0x9dd}, {0x9df, 0x9e1}, {0x9f0, 0x9f1}, {0x9fc, 0x9fc}, {0xa05, 0xa0a}, + {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, {0xa59, 0xa5c}, {0xa5e, 0xa5e}, + {0xa72, 0xa74}, {0xa85, 0xa8d}, {0xa8f, 0xa91}, {0xa93, 0xaa8}, {0xaaa, 0xab0}, {0xab2, 0xab3}, {0xab5, 0xab9}, {0xabd, 0xabd}, + {0xad0, 0xad0}, {0xae0, 0xae1}, {0xaf9, 0xaf9}, {0xb05, 0xb0c}, {0xb0f, 0xb10}, {0xb13, 0xb28}, {0xb2a, 0xb30}, {0xb32, 0xb33}, + {0xb35, 0xb39}, {0xb3d, 0xb3d}, {0xb5c, 0xb5d}, {0xb5f, 0xb61}, {0xb71, 0xb71}, {0xb83, 0xb83}, {0xb85, 0xb8a}, {0xb8e, 0xb90}, + {0xb92, 0xb95}, {0xb99, 0xb9a}, {0xb9c, 0xb9c}, {0xb9e, 0xb9f}, {0xba3, 0xba4}, {0xba8, 0xbaa}, {0xbae, 0xbb9}, {0xbd0, 0xbd0}, + {0xc05, 0xc0c}, {0xc0e, 0xc10}, {0xc12, 0xc28}, {0xc2a, 0xc39}, {0xc3d, 0xc3d}, {0xc58, 0xc5a}, {0xc5d, 0xc5d}, {0xc60, 0xc61}, + {0xc80, 0xc80}, {0xc85, 0xc8c}, {0xc8e, 0xc90}, {0xc92, 0xca8}, {0xcaa, 0xcb3}, {0xcb5, 0xcb9}, {0xcbd, 0xcbd}, {0xcdd, 0xcde}, + {0xce0, 0xce1}, {0xcf1, 0xcf2}, {0xd04, 0xd0c}, {0xd0e, 0xd10}, {0xd12, 0xd3a}, {0xd3d, 0xd3d}, {0xd4e, 0xd4e}, {0xd54, 0xd56}, + {0xd5f, 0xd61}, {0xd7a, 0xd7f}, {0xd85, 0xd96}, {0xd9a, 0xdb1}, {0xdb3, 0xdbb}, {0xdbd, 0xdbd}, {0xdc0, 0xdc6}, {0xe01, 0xe30}, + {0xe32, 0xe33}, {0xe40, 0xe46}, {0xe81, 0xe82}, {0xe84, 0xe84}, {0xe86, 0xe8a}, {0xe8c, 0xea3}, {0xea5, 0xea5}, {0xea7, 0xeb0}, + {0xeb2, 0xeb3}, {0xebd, 0xebd}, {0xec0, 0xec4}, {0xec6, 0xec6}, {0xedc, 0xedf}, {0xf00, 0xf00}, {0xf40, 0xf47}, {0xf49, 0xf6c}, + {0xf88, 0xf8c}, {0x1000, 0x102a}, {0x103f, 0x103f}, {0x1050, 0x1055}, {0x105a, 0x105d}, {0x1061, 0x1061}, {0x1065, 0x1066}, {0x106e, 0x1070}, + {0x1075, 0x1081}, {0x108e, 0x108e}, {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}, {0x1380, 0x138f}, {0x13a0, 0x13f5}, + {0x13f8, 0x13fd}, {0x1401, 0x166c}, {0x166f, 0x167f}, {0x1681, 0x169a}, {0x16a0, 0x16ea}, {0x16f1, 0x16f8}, {0x1700, 0x1711}, {0x171f, 0x1731}, + {0x1740, 0x1751}, {0x1760, 0x176c}, {0x176e, 0x1770}, {0x1780, 0x17b3}, {0x17d7, 0x17d7}, {0x17dc, 0x17dc}, {0x1820, 0x1878}, {0x1880, 0x1884}, + {0x1887, 0x18a8}, {0x18aa, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1950, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, + {0x1a00, 0x1a16}, {0x1a20, 0x1a54}, {0x1aa7, 0x1aa7}, {0x1b05, 0x1b33}, {0x1b45, 0x1b4c}, {0x1b83, 0x1ba0}, {0x1bae, 0x1baf}, {0x1bba, 0x1be5}, + {0x1c00, 0x1c23}, {0x1c4d, 0x1c4f}, {0x1c5a, 0x1c7d}, {0x1c80, 0x1c8a}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1ce9, 0x1cec}, {0x1cee, 0x1cf3}, + {0x1cf5, 0x1cf6}, {0x1cfa, 0x1cfa}, {0x1d00, 0x1dbf}, {0x1e00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, + {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, + {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2071, 0x2071}, {0x207f, 0x207f}, + {0x2090, 0x209c}, {0x2102, 0x2102}, {0x2107, 0x2107}, {0x210a, 0x2113}, {0x2115, 0x2115}, {0x2119, 0x211d}, {0x2124, 0x2124}, {0x2126, 0x2126}, + {0x2128, 0x2128}, {0x212a, 0x212d}, {0x212f, 0x2139}, {0x213c, 0x213f}, {0x2145, 0x2149}, {0x214e, 0x214e}, {0x2183, 0x2184}, {0x2c00, 0x2ce4}, + {0x2ceb, 0x2cee}, {0x2cf2, 0x2cf3}, {0x2d00, 0x2d25}, {0x2d27, 0x2d27}, {0x2d2d, 0x2d2d}, {0x2d30, 0x2d67}, {0x2d6f, 0x2d6f}, {0x2d80, 0x2d96}, + {0x2da0, 0x2da6}, {0x2da8, 0x2dae}, {0x2db0, 0x2db6}, {0x2db8, 0x2dbe}, {0x2dc0, 0x2dc6}, {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, + {0x2e2f, 0x2e2f}, {0x3005, 0x3006}, {0x3031, 0x3035}, {0x303b, 0x303c}, {0x3041, 0x3096}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, + {0x3105, 0x312f}, {0x3131, 0x318e}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3400, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, + {0xa610, 0xa61f}, {0xa62a, 0xa62b}, {0xa640, 0xa66e}, {0xa67f, 0xa69d}, {0xa6a0, 0xa6e5}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7cd}, + {0xa7d0, 0xa7d1}, {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7dc}, {0xa7f2, 0xa801}, {0xa803, 0xa805}, {0xa807, 0xa80a}, {0xa80c, 0xa822}, {0xa840, 0xa873}, + {0xa882, 0xa8b3}, {0xa8f2, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa8fe}, {0xa90a, 0xa925}, {0xa930, 0xa946}, {0xa960, 0xa97c}, {0xa984, 0xa9b2}, + {0xa9cf, 0xa9cf}, {0xa9e0, 0xa9e4}, {0xa9e6, 0xa9ef}, {0xa9fa, 0xa9fe}, {0xaa00, 0xaa28}, {0xaa40, 0xaa42}, {0xaa44, 0xaa4b}, {0xaa60, 0xaa76}, + {0xaa7a, 0xaa7a}, {0xaa7e, 0xaaaf}, {0xaab1, 0xaab1}, {0xaab5, 0xaab6}, {0xaab9, 0xaabd}, {0xaac0, 0xaac0}, {0xaac2, 0xaac2}, {0xaadb, 0xaadd}, + {0xaae0, 0xaaea}, {0xaaf2, 0xaaf4}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, + {0xab5c, 0xab69}, {0xab70, 0xabe2}, {0xac00, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, + {0xfb13, 0xfb17}, {0xfb1d, 0xfb1d}, {0xfb1f, 0xfb28}, {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, + {0xfb46, 0xfbb1}, {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {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}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x10300, 0x1031f}, + {0x1032d, 0x10340}, {0x10342, 0x10349}, {0x10350, 0x10375}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x10400, 0x1049d}, {0x104b0, 0x104d3}, + {0x104d8, 0x104fb}, {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, + {0x105a3, 0x105b1}, {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x105c0, 0x105f3}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, + {0x10787, 0x107b0}, {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, + {0x10860, 0x10876}, {0x10880, 0x1089e}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x10900, 0x10915}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109be, 0x109bf}, + {0x10a00, 0x10a00}, {0x10a10, 0x10a13}, {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, {0x10a60, 0x10a7c}, {0x10a80, 0x10a9c}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae4}, + {0x10b00, 0x10b35}, {0x10b40, 0x10b55}, {0x10b60, 0x10b72}, {0x10b80, 0x10b91}, {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, {0x10cc0, 0x10cf2}, {0x10d00, 0x10d23}, + {0x10d4a, 0x10d65}, {0x10d6f, 0x10d85}, {0x10e80, 0x10ea9}, {0x10eb0, 0x10eb1}, {0x10ec2, 0x10ec4}, {0x10f00, 0x10f1c}, {0x10f27, 0x10f27}, {0x10f30, 0x10f45}, + {0x10f70, 0x10f81}, {0x10fb0, 0x10fc4}, {0x10fe0, 0x10ff6}, {0x11003, 0x11037}, {0x11071, 0x11072}, {0x11075, 0x11075}, {0x11083, 0x110af}, {0x110d0, 0x110e8}, + {0x11103, 0x11126}, {0x11144, 0x11144}, {0x11147, 0x11147}, {0x11150, 0x11172}, {0x11176, 0x11176}, {0x11183, 0x111b2}, {0x111c1, 0x111c4}, {0x111da, 0x111da}, + {0x111dc, 0x111dc}, {0x11200, 0x11211}, {0x11213, 0x1122b}, {0x1123f, 0x11240}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, {0x1128f, 0x1129d}, + {0x1129f, 0x112a8}, {0x112b0, 0x112de}, {0x11305, 0x1130c}, {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, {0x11332, 0x11333}, {0x11335, 0x11339}, + {0x1133d, 0x1133d}, {0x11350, 0x11350}, {0x1135d, 0x11361}, {0x11380, 0x11389}, {0x1138b, 0x1138b}, {0x1138e, 0x1138e}, {0x11390, 0x113b5}, {0x113b7, 0x113b7}, + {0x113d1, 0x113d1}, {0x113d3, 0x113d3}, {0x11400, 0x11434}, {0x11447, 0x1144a}, {0x1145f, 0x11461}, {0x11480, 0x114af}, {0x114c4, 0x114c5}, {0x114c7, 0x114c7}, + {0x11580, 0x115ae}, {0x115d8, 0x115db}, {0x11600, 0x1162f}, {0x11644, 0x11644}, {0x11680, 0x116aa}, {0x116b8, 0x116b8}, {0x11700, 0x1171a}, {0x11740, 0x11746}, + {0x11800, 0x1182b}, {0x118a0, 0x118df}, {0x118ff, 0x11906}, {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, {0x11918, 0x1192f}, {0x1193f, 0x1193f}, + {0x11941, 0x11941}, {0x119a0, 0x119a7}, {0x119aa, 0x119d0}, {0x119e1, 0x119e1}, {0x119e3, 0x119e3}, {0x11a00, 0x11a00}, {0x11a0b, 0x11a32}, {0x11a3a, 0x11a3a}, + {0x11a50, 0x11a50}, {0x11a5c, 0x11a89}, {0x11a9d, 0x11a9d}, {0x11ab0, 0x11af8}, {0x11bc0, 0x11be0}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c2e}, {0x11c40, 0x11c40}, + {0x11c72, 0x11c8f}, {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d30}, {0x11d46, 0x11d46}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d89}, + {0x11d98, 0x11d98}, {0x11ee0, 0x11ef2}, {0x11f02, 0x11f02}, {0x11f04, 0x11f10}, {0x11f12, 0x11f33}, {0x11fb0, 0x11fb0}, {0x12000, 0x12399}, {0x12480, 0x12543}, + {0x12f90, 0x12ff0}, {0x13000, 0x1342f}, {0x13441, 0x13446}, {0x13460, 0x143fa}, {0x14400, 0x14646}, {0x16100, 0x1611d}, {0x16800, 0x16a38}, {0x16a40, 0x16a5e}, + {0x16a70, 0x16abe}, {0x16ad0, 0x16aed}, {0x16b00, 0x16b2f}, {0x16b40, 0x16b43}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16d40, 0x16d6c}, {0x16e40, 0x16e7f}, + {0x16f00, 0x16f4a}, {0x16f50, 0x16f50}, {0x16f93, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe3}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, {0x18cff, 0x18d08}, + {0x1aff0, 0x1aff3}, {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, + {0x1b170, 0x1b2fb}, {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, + {0x1d4a2, 0x1d4a2}, {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, + {0x1d50d, 0x1d514}, {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, + {0x1d6a8, 0x1d6c0}, {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, + {0x1d78a, 0x1d7a8}, {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, {0x1df00, 0x1df1e}, {0x1df25, 0x1df2a}, {0x1e030, 0x1e06d}, {0x1e100, 0x1e12c}, {0x1e137, 0x1e13d}, + {0x1e14e, 0x1e14e}, {0x1e290, 0x1e2ad}, {0x1e2c0, 0x1e2eb}, {0x1e4d0, 0x1e4eb}, {0x1e5d0, 0x1e5ed}, {0x1e5f0, 0x1e5f0}, {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, + {0x1e7ed, 0x1e7ee}, {0x1e7f0, 0x1e7fe}, {0x1e800, 0x1e8c4}, {0x1e900, 0x1e943}, {0x1e94b, 0x1e94b}, {0x1ee00, 0x1ee03}, {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, + {0x1ee24, 0x1ee24}, {0x1ee27, 0x1ee27}, {0x1ee29, 0x1ee32}, {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, + {0x1ee49, 0x1ee49}, {0x1ee4b, 0x1ee4b}, {0x1ee4d, 0x1ee4f}, {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, + {0x1ee5d, 0x1ee5d}, {0x1ee5f, 0x1ee5f}, {0x1ee61, 0x1ee62}, {0x1ee64, 0x1ee64}, {0x1ee67, 0x1ee6a}, {0x1ee6c, 0x1ee72}, {0x1ee74, 0x1ee77}, {0x1ee79, 0x1ee7c}, + {0x1ee7e, 0x1ee7e}, {0x1ee80, 0x1ee89}, {0x1ee8b, 0x1ee9b}, {0x1eea1, 0x1eea3}, {0x1eea5, 0x1eea9}, {0x1eeab, 0x1eebb}, {0x20000, 0x2a6df}, {0x2a700, 0x2b739}, + {0x2b740, 0x2b81d}, {0x2b820, 0x2cea1}, {0x2ceb0, 0x2ebe0}, {0x2ebf0, 0x2ee5d}, {0x2f800, 0x2fa1d}, {0x30000, 0x3134a}, {0x31350, 0x323af}, +}; + +static const TSCharacterRange sym_identifier_character_set_1[] = { + {'A', 'Z'}, {'_', '_'}, {'a', 'z'}, {0xaa, 0xaa}, {0xb5, 0xb5}, {0xba, 0xba}, {0xc0, 0xd6}, {0xd8, 0xf6}, + {0xf8, 0x2c1}, {0x2c6, 0x2d1}, {0x2e0, 0x2e4}, {0x2ec, 0x2ec}, {0x2ee, 0x2ee}, {0x370, 0x374}, {0x376, 0x377}, {0x37a, 0x37d}, + {0x37f, 0x37f}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, {0x3a3, 0x3f5}, {0x3f7, 0x481}, {0x48a, 0x52f}, + {0x531, 0x556}, {0x559, 0x559}, {0x560, 0x588}, {0x5d0, 0x5ea}, {0x5ef, 0x5f2}, {0x620, 0x64a}, {0x66e, 0x66f}, {0x671, 0x6d3}, + {0x6d5, 0x6d5}, {0x6e5, 0x6e6}, {0x6ee, 0x6ef}, {0x6fa, 0x6fc}, {0x6ff, 0x6ff}, {0x710, 0x710}, {0x712, 0x72f}, {0x74d, 0x7a5}, + {0x7b1, 0x7b1}, {0x7ca, 0x7ea}, {0x7f4, 0x7f5}, {0x7fa, 0x7fa}, {0x800, 0x815}, {0x81a, 0x81a}, {0x824, 0x824}, {0x828, 0x828}, + {0x840, 0x858}, {0x860, 0x86a}, {0x870, 0x887}, {0x889, 0x88e}, {0x8a0, 0x8c9}, {0x904, 0x939}, {0x93d, 0x93d}, {0x950, 0x950}, + {0x958, 0x961}, {0x971, 0x980}, {0x985, 0x98c}, {0x98f, 0x990}, {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9}, + {0x9bd, 0x9bd}, {0x9ce, 0x9ce}, {0x9dc, 0x9dd}, {0x9df, 0x9e1}, {0x9f0, 0x9f1}, {0x9fc, 0x9fc}, {0xa05, 0xa0a}, {0xa0f, 0xa10}, + {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33}, {0xa35, 0xa36}, {0xa38, 0xa39}, {0xa59, 0xa5c}, {0xa5e, 0xa5e}, {0xa72, 0xa74}, + {0xa85, 0xa8d}, {0xa8f, 0xa91}, {0xa93, 0xaa8}, {0xaaa, 0xab0}, {0xab2, 0xab3}, {0xab5, 0xab9}, {0xabd, 0xabd}, {0xad0, 0xad0}, + {0xae0, 0xae1}, {0xaf9, 0xaf9}, {0xb05, 0xb0c}, {0xb0f, 0xb10}, {0xb13, 0xb28}, {0xb2a, 0xb30}, {0xb32, 0xb33}, {0xb35, 0xb39}, + {0xb3d, 0xb3d}, {0xb5c, 0xb5d}, {0xb5f, 0xb61}, {0xb71, 0xb71}, {0xb83, 0xb83}, {0xb85, 0xb8a}, {0xb8e, 0xb90}, {0xb92, 0xb95}, + {0xb99, 0xb9a}, {0xb9c, 0xb9c}, {0xb9e, 0xb9f}, {0xba3, 0xba4}, {0xba8, 0xbaa}, {0xbae, 0xbb9}, {0xbd0, 0xbd0}, {0xc05, 0xc0c}, + {0xc0e, 0xc10}, {0xc12, 0xc28}, {0xc2a, 0xc39}, {0xc3d, 0xc3d}, {0xc58, 0xc5a}, {0xc5d, 0xc5d}, {0xc60, 0xc61}, {0xc80, 0xc80}, + {0xc85, 0xc8c}, {0xc8e, 0xc90}, {0xc92, 0xca8}, {0xcaa, 0xcb3}, {0xcb5, 0xcb9}, {0xcbd, 0xcbd}, {0xcdd, 0xcde}, {0xce0, 0xce1}, + {0xcf1, 0xcf2}, {0xd04, 0xd0c}, {0xd0e, 0xd10}, {0xd12, 0xd3a}, {0xd3d, 0xd3d}, {0xd4e, 0xd4e}, {0xd54, 0xd56}, {0xd5f, 0xd61}, + {0xd7a, 0xd7f}, {0xd85, 0xd96}, {0xd9a, 0xdb1}, {0xdb3, 0xdbb}, {0xdbd, 0xdbd}, {0xdc0, 0xdc6}, {0xe01, 0xe30}, {0xe32, 0xe33}, + {0xe40, 0xe46}, {0xe81, 0xe82}, {0xe84, 0xe84}, {0xe86, 0xe8a}, {0xe8c, 0xea3}, {0xea5, 0xea5}, {0xea7, 0xeb0}, {0xeb2, 0xeb3}, + {0xebd, 0xebd}, {0xec0, 0xec4}, {0xec6, 0xec6}, {0xedc, 0xedf}, {0xf00, 0xf00}, {0xf40, 0xf47}, {0xf49, 0xf6c}, {0xf88, 0xf8c}, + {0x1000, 0x102a}, {0x103f, 0x103f}, {0x1050, 0x1055}, {0x105a, 0x105d}, {0x1061, 0x1061}, {0x1065, 0x1066}, {0x106e, 0x1070}, {0x1075, 0x1081}, + {0x108e, 0x108e}, {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}, {0x1380, 0x138f}, {0x13a0, 0x13f5}, {0x13f8, 0x13fd}, + {0x1401, 0x166c}, {0x166f, 0x167f}, {0x1681, 0x169a}, {0x16a0, 0x16ea}, {0x16f1, 0x16f8}, {0x1700, 0x1711}, {0x171f, 0x1731}, {0x1740, 0x1751}, + {0x1760, 0x176c}, {0x176e, 0x1770}, {0x1780, 0x17b3}, {0x17d7, 0x17d7}, {0x17dc, 0x17dc}, {0x1820, 0x1878}, {0x1880, 0x1884}, {0x1887, 0x18a8}, + {0x18aa, 0x18aa}, {0x18b0, 0x18f5}, {0x1900, 0x191e}, {0x1950, 0x196d}, {0x1970, 0x1974}, {0x1980, 0x19ab}, {0x19b0, 0x19c9}, {0x1a00, 0x1a16}, + {0x1a20, 0x1a54}, {0x1aa7, 0x1aa7}, {0x1b05, 0x1b33}, {0x1b45, 0x1b4c}, {0x1b83, 0x1ba0}, {0x1bae, 0x1baf}, {0x1bba, 0x1be5}, {0x1c00, 0x1c23}, + {0x1c4d, 0x1c4f}, {0x1c5a, 0x1c7d}, {0x1c80, 0x1c8a}, {0x1c90, 0x1cba}, {0x1cbd, 0x1cbf}, {0x1ce9, 0x1cec}, {0x1cee, 0x1cf3}, {0x1cf5, 0x1cf6}, + {0x1cfa, 0x1cfa}, {0x1d00, 0x1dbf}, {0x1e00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45}, {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, + {0x1f5b, 0x1f5b}, {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc}, {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, + {0x1fd0, 0x1fd3}, {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc}, {0x2071, 0x2071}, {0x207f, 0x207f}, {0x2090, 0x209c}, + {0x2102, 0x2102}, {0x2107, 0x2107}, {0x210a, 0x2113}, {0x2115, 0x2115}, {0x2119, 0x211d}, {0x2124, 0x2124}, {0x2126, 0x2126}, {0x2128, 0x2128}, + {0x212a, 0x212d}, {0x212f, 0x2139}, {0x213c, 0x213f}, {0x2145, 0x2149}, {0x214e, 0x214e}, {0x2183, 0x2184}, {0x2c00, 0x2ce4}, {0x2ceb, 0x2cee}, + {0x2cf2, 0x2cf3}, {0x2d00, 0x2d25}, {0x2d27, 0x2d27}, {0x2d2d, 0x2d2d}, {0x2d30, 0x2d67}, {0x2d6f, 0x2d6f}, {0x2d80, 0x2d96}, {0x2da0, 0x2da6}, + {0x2da8, 0x2dae}, {0x2db0, 0x2db6}, {0x2db8, 0x2dbe}, {0x2dc0, 0x2dc6}, {0x2dc8, 0x2dce}, {0x2dd0, 0x2dd6}, {0x2dd8, 0x2dde}, {0x2e2f, 0x2e2f}, + {0x3005, 0x3006}, {0x3031, 0x3035}, {0x303b, 0x303c}, {0x3041, 0x3096}, {0x309d, 0x309f}, {0x30a1, 0x30fa}, {0x30fc, 0x30ff}, {0x3105, 0x312f}, + {0x3131, 0x318e}, {0x31a0, 0x31bf}, {0x31f0, 0x31ff}, {0x3400, 0x4dbf}, {0x4e00, 0xa48c}, {0xa4d0, 0xa4fd}, {0xa500, 0xa60c}, {0xa610, 0xa61f}, + {0xa62a, 0xa62b}, {0xa640, 0xa66e}, {0xa67f, 0xa69d}, {0xa6a0, 0xa6e5}, {0xa717, 0xa71f}, {0xa722, 0xa788}, {0xa78b, 0xa7cd}, {0xa7d0, 0xa7d1}, + {0xa7d3, 0xa7d3}, {0xa7d5, 0xa7dc}, {0xa7f2, 0xa801}, {0xa803, 0xa805}, {0xa807, 0xa80a}, {0xa80c, 0xa822}, {0xa840, 0xa873}, {0xa882, 0xa8b3}, + {0xa8f2, 0xa8f7}, {0xa8fb, 0xa8fb}, {0xa8fd, 0xa8fe}, {0xa90a, 0xa925}, {0xa930, 0xa946}, {0xa960, 0xa97c}, {0xa984, 0xa9b2}, {0xa9cf, 0xa9cf}, + {0xa9e0, 0xa9e4}, {0xa9e6, 0xa9ef}, {0xa9fa, 0xa9fe}, {0xaa00, 0xaa28}, {0xaa40, 0xaa42}, {0xaa44, 0xaa4b}, {0xaa60, 0xaa76}, {0xaa7a, 0xaa7a}, + {0xaa7e, 0xaaaf}, {0xaab1, 0xaab1}, {0xaab5, 0xaab6}, {0xaab9, 0xaabd}, {0xaac0, 0xaac0}, {0xaac2, 0xaac2}, {0xaadb, 0xaadd}, {0xaae0, 0xaaea}, + {0xaaf2, 0xaaf4}, {0xab01, 0xab06}, {0xab09, 0xab0e}, {0xab11, 0xab16}, {0xab20, 0xab26}, {0xab28, 0xab2e}, {0xab30, 0xab5a}, {0xab5c, 0xab69}, + {0xab70, 0xabe2}, {0xac00, 0xd7a3}, {0xd7b0, 0xd7c6}, {0xd7cb, 0xd7fb}, {0xf900, 0xfa6d}, {0xfa70, 0xfad9}, {0xfb00, 0xfb06}, {0xfb13, 0xfb17}, + {0xfb1d, 0xfb1d}, {0xfb1f, 0xfb28}, {0xfb2a, 0xfb36}, {0xfb38, 0xfb3c}, {0xfb3e, 0xfb3e}, {0xfb40, 0xfb41}, {0xfb43, 0xfb44}, {0xfb46, 0xfbb1}, + {0xfbd3, 0xfd3d}, {0xfd50, 0xfd8f}, {0xfd92, 0xfdc7}, {0xfdf0, 0xfdfb}, {0xfe70, 0xfe74}, {0xfe76, 0xfefc}, {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}, {0x10280, 0x1029c}, {0x102a0, 0x102d0}, {0x10300, 0x1031f}, {0x1032d, 0x10340}, + {0x10342, 0x10349}, {0x10350, 0x10375}, {0x10380, 0x1039d}, {0x103a0, 0x103c3}, {0x103c8, 0x103cf}, {0x10400, 0x1049d}, {0x104b0, 0x104d3}, {0x104d8, 0x104fb}, + {0x10500, 0x10527}, {0x10530, 0x10563}, {0x10570, 0x1057a}, {0x1057c, 0x1058a}, {0x1058c, 0x10592}, {0x10594, 0x10595}, {0x10597, 0x105a1}, {0x105a3, 0x105b1}, + {0x105b3, 0x105b9}, {0x105bb, 0x105bc}, {0x105c0, 0x105f3}, {0x10600, 0x10736}, {0x10740, 0x10755}, {0x10760, 0x10767}, {0x10780, 0x10785}, {0x10787, 0x107b0}, + {0x107b2, 0x107ba}, {0x10800, 0x10805}, {0x10808, 0x10808}, {0x1080a, 0x10835}, {0x10837, 0x10838}, {0x1083c, 0x1083c}, {0x1083f, 0x10855}, {0x10860, 0x10876}, + {0x10880, 0x1089e}, {0x108e0, 0x108f2}, {0x108f4, 0x108f5}, {0x10900, 0x10915}, {0x10920, 0x10939}, {0x10980, 0x109b7}, {0x109be, 0x109bf}, {0x10a00, 0x10a00}, + {0x10a10, 0x10a13}, {0x10a15, 0x10a17}, {0x10a19, 0x10a35}, {0x10a60, 0x10a7c}, {0x10a80, 0x10a9c}, {0x10ac0, 0x10ac7}, {0x10ac9, 0x10ae4}, {0x10b00, 0x10b35}, + {0x10b40, 0x10b55}, {0x10b60, 0x10b72}, {0x10b80, 0x10b91}, {0x10c00, 0x10c48}, {0x10c80, 0x10cb2}, {0x10cc0, 0x10cf2}, {0x10d00, 0x10d23}, {0x10d4a, 0x10d65}, + {0x10d6f, 0x10d85}, {0x10e80, 0x10ea9}, {0x10eb0, 0x10eb1}, {0x10ec2, 0x10ec4}, {0x10f00, 0x10f1c}, {0x10f27, 0x10f27}, {0x10f30, 0x10f45}, {0x10f70, 0x10f81}, + {0x10fb0, 0x10fc4}, {0x10fe0, 0x10ff6}, {0x11003, 0x11037}, {0x11071, 0x11072}, {0x11075, 0x11075}, {0x11083, 0x110af}, {0x110d0, 0x110e8}, {0x11103, 0x11126}, + {0x11144, 0x11144}, {0x11147, 0x11147}, {0x11150, 0x11172}, {0x11176, 0x11176}, {0x11183, 0x111b2}, {0x111c1, 0x111c4}, {0x111da, 0x111da}, {0x111dc, 0x111dc}, + {0x11200, 0x11211}, {0x11213, 0x1122b}, {0x1123f, 0x11240}, {0x11280, 0x11286}, {0x11288, 0x11288}, {0x1128a, 0x1128d}, {0x1128f, 0x1129d}, {0x1129f, 0x112a8}, + {0x112b0, 0x112de}, {0x11305, 0x1130c}, {0x1130f, 0x11310}, {0x11313, 0x11328}, {0x1132a, 0x11330}, {0x11332, 0x11333}, {0x11335, 0x11339}, {0x1133d, 0x1133d}, + {0x11350, 0x11350}, {0x1135d, 0x11361}, {0x11380, 0x11389}, {0x1138b, 0x1138b}, {0x1138e, 0x1138e}, {0x11390, 0x113b5}, {0x113b7, 0x113b7}, {0x113d1, 0x113d1}, + {0x113d3, 0x113d3}, {0x11400, 0x11434}, {0x11447, 0x1144a}, {0x1145f, 0x11461}, {0x11480, 0x114af}, {0x114c4, 0x114c5}, {0x114c7, 0x114c7}, {0x11580, 0x115ae}, + {0x115d8, 0x115db}, {0x11600, 0x1162f}, {0x11644, 0x11644}, {0x11680, 0x116aa}, {0x116b8, 0x116b8}, {0x11700, 0x1171a}, {0x11740, 0x11746}, {0x11800, 0x1182b}, + {0x118a0, 0x118df}, {0x118ff, 0x11906}, {0x11909, 0x11909}, {0x1190c, 0x11913}, {0x11915, 0x11916}, {0x11918, 0x1192f}, {0x1193f, 0x1193f}, {0x11941, 0x11941}, + {0x119a0, 0x119a7}, {0x119aa, 0x119d0}, {0x119e1, 0x119e1}, {0x119e3, 0x119e3}, {0x11a00, 0x11a00}, {0x11a0b, 0x11a32}, {0x11a3a, 0x11a3a}, {0x11a50, 0x11a50}, + {0x11a5c, 0x11a89}, {0x11a9d, 0x11a9d}, {0x11ab0, 0x11af8}, {0x11bc0, 0x11be0}, {0x11c00, 0x11c08}, {0x11c0a, 0x11c2e}, {0x11c40, 0x11c40}, {0x11c72, 0x11c8f}, + {0x11d00, 0x11d06}, {0x11d08, 0x11d09}, {0x11d0b, 0x11d30}, {0x11d46, 0x11d46}, {0x11d60, 0x11d65}, {0x11d67, 0x11d68}, {0x11d6a, 0x11d89}, {0x11d98, 0x11d98}, + {0x11ee0, 0x11ef2}, {0x11f02, 0x11f02}, {0x11f04, 0x11f10}, {0x11f12, 0x11f33}, {0x11fb0, 0x11fb0}, {0x12000, 0x12399}, {0x12480, 0x12543}, {0x12f90, 0x12ff0}, + {0x13000, 0x1342f}, {0x13441, 0x13446}, {0x13460, 0x143fa}, {0x14400, 0x14646}, {0x16100, 0x1611d}, {0x16800, 0x16a38}, {0x16a40, 0x16a5e}, {0x16a70, 0x16abe}, + {0x16ad0, 0x16aed}, {0x16b00, 0x16b2f}, {0x16b40, 0x16b43}, {0x16b63, 0x16b77}, {0x16b7d, 0x16b8f}, {0x16d40, 0x16d6c}, {0x16e40, 0x16e7f}, {0x16f00, 0x16f4a}, + {0x16f50, 0x16f50}, {0x16f93, 0x16f9f}, {0x16fe0, 0x16fe1}, {0x16fe3, 0x16fe3}, {0x17000, 0x187f7}, {0x18800, 0x18cd5}, {0x18cff, 0x18d08}, {0x1aff0, 0x1aff3}, + {0x1aff5, 0x1affb}, {0x1affd, 0x1affe}, {0x1b000, 0x1b122}, {0x1b132, 0x1b132}, {0x1b150, 0x1b152}, {0x1b155, 0x1b155}, {0x1b164, 0x1b167}, {0x1b170, 0x1b2fb}, + {0x1bc00, 0x1bc6a}, {0x1bc70, 0x1bc7c}, {0x1bc80, 0x1bc88}, {0x1bc90, 0x1bc99}, {0x1d400, 0x1d454}, {0x1d456, 0x1d49c}, {0x1d49e, 0x1d49f}, {0x1d4a2, 0x1d4a2}, + {0x1d4a5, 0x1d4a6}, {0x1d4a9, 0x1d4ac}, {0x1d4ae, 0x1d4b9}, {0x1d4bb, 0x1d4bb}, {0x1d4bd, 0x1d4c3}, {0x1d4c5, 0x1d505}, {0x1d507, 0x1d50a}, {0x1d50d, 0x1d514}, + {0x1d516, 0x1d51c}, {0x1d51e, 0x1d539}, {0x1d53b, 0x1d53e}, {0x1d540, 0x1d544}, {0x1d546, 0x1d546}, {0x1d54a, 0x1d550}, {0x1d552, 0x1d6a5}, {0x1d6a8, 0x1d6c0}, + {0x1d6c2, 0x1d6da}, {0x1d6dc, 0x1d6fa}, {0x1d6fc, 0x1d714}, {0x1d716, 0x1d734}, {0x1d736, 0x1d74e}, {0x1d750, 0x1d76e}, {0x1d770, 0x1d788}, {0x1d78a, 0x1d7a8}, + {0x1d7aa, 0x1d7c2}, {0x1d7c4, 0x1d7cb}, {0x1df00, 0x1df1e}, {0x1df25, 0x1df2a}, {0x1e030, 0x1e06d}, {0x1e100, 0x1e12c}, {0x1e137, 0x1e13d}, {0x1e14e, 0x1e14e}, + {0x1e290, 0x1e2ad}, {0x1e2c0, 0x1e2eb}, {0x1e4d0, 0x1e4eb}, {0x1e5d0, 0x1e5ed}, {0x1e5f0, 0x1e5f0}, {0x1e7e0, 0x1e7e6}, {0x1e7e8, 0x1e7eb}, {0x1e7ed, 0x1e7ee}, + {0x1e7f0, 0x1e7fe}, {0x1e800, 0x1e8c4}, {0x1e900, 0x1e943}, {0x1e94b, 0x1e94b}, {0x1ee00, 0x1ee03}, {0x1ee05, 0x1ee1f}, {0x1ee21, 0x1ee22}, {0x1ee24, 0x1ee24}, + {0x1ee27, 0x1ee27}, {0x1ee29, 0x1ee32}, {0x1ee34, 0x1ee37}, {0x1ee39, 0x1ee39}, {0x1ee3b, 0x1ee3b}, {0x1ee42, 0x1ee42}, {0x1ee47, 0x1ee47}, {0x1ee49, 0x1ee49}, + {0x1ee4b, 0x1ee4b}, {0x1ee4d, 0x1ee4f}, {0x1ee51, 0x1ee52}, {0x1ee54, 0x1ee54}, {0x1ee57, 0x1ee57}, {0x1ee59, 0x1ee59}, {0x1ee5b, 0x1ee5b}, {0x1ee5d, 0x1ee5d}, + {0x1ee5f, 0x1ee5f}, {0x1ee61, 0x1ee62}, {0x1ee64, 0x1ee64}, {0x1ee67, 0x1ee6a}, {0x1ee6c, 0x1ee72}, {0x1ee74, 0x1ee77}, {0x1ee79, 0x1ee7c}, {0x1ee7e, 0x1ee7e}, + {0x1ee80, 0x1ee89}, {0x1ee8b, 0x1ee9b}, {0x1eea1, 0x1eea3}, {0x1eea5, 0x1eea9}, {0x1eeab, 0x1eebb}, {0x20000, 0x2a6df}, {0x2a700, 0x2b739}, {0x2b740, 0x2b81d}, + {0x2b820, 0x2cea1}, {0x2ceb0, 0x2ebe0}, {0x2ebf0, 0x2ee5d}, {0x2f800, 0x2fa1d}, {0x30000, 0x3134a}, {0x31350, 0x323af}, +}; + +static const TSCharacterRange sym_rune_literal_character_set_1[] = { + {'"', '"'}, {'\'', '\''}, {'0', '7'}, {'U', 'U'}, {'\\', '\\'}, {'a', 'b'}, {'f', 'f'}, {'n', 'n'}, + {'r', 'r'}, {'t', 'v'}, {'x', 'x'}, +}; + +static bool ts_lex(TSLexer *lexer, TSStateId state) { + START_LEXER(); + eof = lexer->eof(lexer); + switch (state) { + case 0: + if (eof) ADVANCE(88); + ADVANCE_MAP( + '"', 194, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + ',', 109, + '-', 89, + '.', 122, + '/', 19, + ':', 31, + '=', 117, + '\\', 32, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'e', 154, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + '{', 97, + '|', 118, + '}', 48, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(86); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 1: + if (lookahead == '"') ADVANCE(194); + if (lookahead == '\\') ADVANCE(32); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(193); + END_STATE(); + case 2: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + '+', 25, + ',', 109, + '-', 23, + '.', 125, + '0', 177, + ':', 31, + '=', 117, + '`', 38, + 'f', 128, + 'n', 149, + 't', 168, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(2); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 3: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + '+', 25, + ',', 109, + '-', 23, + '.', 123, + '0', 177, + ':', 31, + '=', 117, + '`', 38, + 'f', 128, + 'n', 149, + 't', 168, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(2); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 4: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + '+', 25, + '-', 23, + '.', 125, + '/', 19, + '0', 177, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'e', 154, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(5); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 5: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + '+', 25, + '-', 23, + '.', 125, + '0', 177, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'e', 154, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(5); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 6: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + '+', 25, + '-', 23, + '.', 125, + '0', 177, + '`', 38, + 'f', 128, + 'n', 149, + 't', 168, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(121); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 7: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + '+', 25, + '-', 23, + '.', 125, + '0', 177, + '`', 38, + 'f', 128, + 'n', 149, + 't', 168, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(7); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 8: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + '+', 25, + '-', 23, + '.', 123, + '0', 177, + ':', 31, + '=', 117, + '`', 38, + 'f', 128, + 'n', 149, + 't', 168, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(121); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 9: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + '+', 25, + '-', 24, + '.', 125, + '/', 19, + '0', 177, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'e', 160, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(11); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 10: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + '.', 125, + '/', 19, + '0', 177, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + '+', 25, + '-', 25, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(12); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 11: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + '.', 125, + '0', 177, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'e', 160, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + '+', 25, + '-', 25, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(11); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 12: + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + '.', 125, + '0', 177, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + '+', 25, + '-', 25, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(12); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 13: + if (lookahead == '\'') ADVANCE(187); + END_STATE(); + case 14: + ADVANCE_MAP( + ')', 120, + ',', 109, + '-', 53, + '.', 122, + ':', 31, + '=', 117, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(15); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(127); + END_STATE(); + case 15: + if (lookahead == ')') ADVANCE(120); + if (lookahead == ',') ADVANCE(109); + if (lookahead == '-') ADVANCE(53); + if (lookahead == ':') ADVANCE(31); + if (lookahead == '=') ADVANCE(117); + if (lookahead == '|') ADVANCE(118); + if (lookahead == '}') ADVANCE(49); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(15); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(127); + END_STATE(); + case 16: + if (lookahead == ')') ADVANCE(120); + if (lookahead == '-') ADVANCE(53); + if (lookahead == '.') ADVANCE(122); + if (lookahead == ':') ADVANCE(31); + if (lookahead == '=') ADVANCE(117); + if (lookahead == '|') ADVANCE(118); + if (lookahead == '}') ADVANCE(49); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(121); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(127); + END_STATE(); + case 17: + if (lookahead == ')') ADVANCE(120); + if (lookahead == '-') ADVANCE(53); + if (lookahead == '|') ADVANCE(118); + if (lookahead == '}') ADVANCE(49); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(121); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 18: + if (lookahead == ')') ADVANCE(120); + if (lookahead == '-') ADVANCE(53); + if (lookahead == '|') ADVANCE(118); + if (lookahead == '}') ADVANCE(49); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(18); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 19: + if (lookahead == '*') ADVANCE(21); + END_STATE(); + case 20: + if (lookahead == '*') ADVANCE(20); + if (lookahead == '/') ADVANCE(198); + if (lookahead != 0) ADVANCE(21); + END_STATE(); + case 21: + if (lookahead == '*') ADVANCE(20); + if (lookahead != 0) ADVANCE(21); + END_STATE(); + case 22: + if (lookahead == '-') ADVANCE(53); + if (lookahead == 'e') ADVANCE(44); + if (lookahead == 'i') ADVANCE(41); + if (lookahead == 'w') ADVANCE(43); + if (lookahead == '}') ADVANCE(49); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(22); + END_STATE(); + case 23: + if (lookahead == '.') ADVANCE(64); + if (lookahead == '0') ADVANCE(177); + if (lookahead == '}') ADVANCE(51); + if (lookahead == '+' || + lookahead == '-') ADVANCE(30); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + END_STATE(); + case 24: + if (lookahead == '.') ADVANCE(64); + if (lookahead == '0') ADVANCE(177); + if (lookahead == '}') ADVANCE(52); + if (lookahead == '+' || + lookahead == '-') ADVANCE(30); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + END_STATE(); + case 25: + if (lookahead == '.') ADVANCE(64); + if (lookahead == '0') ADVANCE(177); + if (lookahead == '+' || + lookahead == '-') ADVANCE(30); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(179); + END_STATE(); + case 26: + if (lookahead == '.') ADVANCE(185); + if (lookahead == '_') ADVANCE(65); + if (lookahead == 'i') ADVANCE(186); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + END_STATE(); + case 27: + if (lookahead == '.') ADVANCE(55); + if (lookahead == '_') ADVANCE(71); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(27); + END_STATE(); + case 28: + if (lookahead == '.') ADVANCE(70); + if (lookahead == '_') ADVANCE(69); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(180); + END_STATE(); + case 29: + if (lookahead == '.') ADVANCE(70); + if (lookahead == '_') ADVANCE(71); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(27); + END_STATE(); + case 30: + if (lookahead == '0') ADVANCE(56); + END_STATE(); + case 31: + if (lookahead == '=') ADVANCE(110); + END_STATE(); + case 32: + if (lookahead == 'U') ADVANCE(84); + if (lookahead == 'u') ADVANCE(76); + if (lookahead == 'x') ADVANCE(72); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(197); + if (lookahead != 0) ADVANCE(195); + END_STATE(); + case 33: + if (lookahead == 'U') ADVANCE(85); + if (lookahead == 'u') ADVANCE(77); + if (lookahead == 'x') ADVANCE(73); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(62); + if (set_contains(sym_rune_literal_character_set_1, 11, lookahead)) ADVANCE(13); + END_STATE(); + case 34: + if (lookahead == '\\') ADVANCE(33); + if (lookahead != 0 && + lookahead != '\'') ADVANCE(13); + END_STATE(); + case 35: + if (lookahead == '_') ADVANCE(57); + if (lookahead == '0' || + lookahead == '1') ADVANCE(181); + END_STATE(); + case 36: + if (lookahead == '_') ADVANCE(61); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(182); + END_STATE(); + case 37: + if (lookahead == '_') ADVANCE(70); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(37); + END_STATE(); + case 38: + if (lookahead == '`') ADVANCE(191); + if (lookahead != 0) ADVANCE(38); + END_STATE(); + case 39: + if (lookahead == 'd') ADVANCE(98); + END_STATE(); + case 40: + if (lookahead == 'e') ADVANCE(105); + END_STATE(); + case 41: + if (lookahead == 'f') ADVANCE(103); + END_STATE(); + case 42: + if (lookahead == 'h') ADVANCE(107); + END_STATE(); + case 43: + if (lookahead == 'i') ADVANCE(46); + END_STATE(); + case 44: + if (lookahead == 'l') ADVANCE(45); + if (lookahead == 'n') ADVANCE(39); + END_STATE(); + case 45: + if (lookahead == 's') ADVANCE(40); + END_STATE(); + case 46: + if (lookahead == 't') ADVANCE(42); + END_STATE(); + case 47: + if (lookahead == '}') ADVANCE(48); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(101); + END_STATE(); + case 48: + if (lookahead == '}') ADVANCE(100); + END_STATE(); + case 49: + if (lookahead == '}') ADVANCE(201); + END_STATE(); + case 50: + if (lookahead == '}') ADVANCE(92); + END_STATE(); + case 51: + if (lookahead == '}') ADVANCE(202); + END_STATE(); + case 52: + if (lookahead == '}') ADVANCE(102); + END_STATE(); + case 53: + if (lookahead == '}') ADVANCE(51); + END_STATE(); + case 54: + if (lookahead == '+' || + lookahead == '-') ADVANCE(66); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(184); + END_STATE(); + case 55: + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(37); + END_STATE(); + case 56: + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(29); + END_STATE(); + case 57: + if (lookahead == '0' || + lookahead == '1') ADVANCE(181); + END_STATE(); + case 58: + if (lookahead == '8' || + lookahead == '9') ADVANCE(26); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(178); + END_STATE(); + case 59: + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(200); + END_STATE(); + case 60: + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(13); + END_STATE(); + case 61: + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(182); + END_STATE(); + case 62: + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(60); + END_STATE(); + case 63: + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(179); + END_STATE(); + case 64: + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(183); + END_STATE(); + case 65: + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(26); + END_STATE(); + case 66: + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(184); + END_STATE(); + case 67: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(13); + END_STATE(); + case 68: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(195); + END_STATE(); + case 69: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(180); + END_STATE(); + case 70: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(37); + END_STATE(); + case 71: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(27); + END_STATE(); + case 72: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(68); + END_STATE(); + case 73: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(67); + END_STATE(); + case 74: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(72); + END_STATE(); + case 75: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(73); + END_STATE(); + case 76: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(74); + END_STATE(); + case 77: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(75); + END_STATE(); + case 78: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(76); + END_STATE(); + case 79: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(77); + END_STATE(); + case 80: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(78); + END_STATE(); + case 81: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79); + END_STATE(); + case 82: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(80); + END_STATE(); + case 83: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(81); + END_STATE(); + case 84: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(82); + END_STATE(); + case 85: + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83); + END_STATE(); + case 86: + if (eof) ADVANCE(88); + ADVANCE_MAP( + '"', 192, + '$', 126, + '\'', 34, + '(', 119, + ')', 120, + ',', 109, + '-', 89, + '.', 124, + ':', 31, + '=', 117, + '`', 38, + 'b', 156, + 'c', 165, + 'd', 142, + 'e', 154, + 'f', 128, + 'i', 144, + 'n', 149, + 'r', 129, + 't', 134, + 'w', 148, + '{', 97, + '|', 118, + '}', 49, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(86); + if (set_contains(sym_identifier_character_set_1, 678, lookahead)) ADVANCE(176); + END_STATE(); + case 87: + if (eof) ADVANCE(88); + if (lookahead == '-') ADVANCE(90); + if (lookahead == '{') ADVANCE(97); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(93); + if (lookahead != 0) ADVANCE(94); + END_STATE(); + case 88: + ACCEPT_TOKEN(ts_builtin_sym_end); + END_STATE(); + case 89: + ACCEPT_TOKEN(sym_yaml_no_injection_text); + END_STATE(); + case 90: + ACCEPT_TOKEN(sym_yaml_no_injection_text); + if (lookahead == '{') ADVANCE(50); + if (lookahead != 0) ADVANCE(94); + END_STATE(); + case 91: + ACCEPT_TOKEN(aux_sym_text_token1); + END_STATE(); + case 92: + ACCEPT_TOKEN(aux_sym_text_token1); + if (lookahead == '\n') ADVANCE(91); + if (lookahead != 0 && + lookahead != '{') ADVANCE(92); + END_STATE(); + case 93: + ACCEPT_TOKEN(aux_sym_text_token2); + if (lookahead == '-') ADVANCE(90); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(93); + if (lookahead != 0 && + lookahead != '{') ADVANCE(94); + END_STATE(); + case 94: + ACCEPT_TOKEN(aux_sym_text_token2); + if (lookahead == '{') ADVANCE(50); + if (lookahead != 0) ADVANCE(94); + END_STATE(); + case 95: + ACCEPT_TOKEN(aux_sym_text_token3); + END_STATE(); + case 96: + ACCEPT_TOKEN(aux_sym_text_token3); + if (lookahead == '\n') ADVANCE(95); + if (lookahead != 0 && + lookahead != '{') ADVANCE(96); + END_STATE(); + case 97: + ACCEPT_TOKEN(aux_sym_text_token4); + if (lookahead == '{') ADVANCE(199); + if (lookahead == '}') ADVANCE(96); + END_STATE(); + case 98: + ACCEPT_TOKEN(anon_sym_end); + END_STATE(); + case 99: + ACCEPT_TOKEN(anon_sym_end); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 100: + ACCEPT_TOKEN(anon_sym_RBRACE_RBRACE); + END_STATE(); + case 101: + ACCEPT_TOKEN(aux_sym__comment_action_token1); + END_STATE(); + case 102: + ACCEPT_TOKEN(anon_sym_DASH_RBRACE_RBRACE); + END_STATE(); + case 103: + ACCEPT_TOKEN(anon_sym_if); + END_STATE(); + case 104: + ACCEPT_TOKEN(anon_sym_if); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 105: + ACCEPT_TOKEN(anon_sym_else); + END_STATE(); + case 106: + ACCEPT_TOKEN(anon_sym_else); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 107: + ACCEPT_TOKEN(anon_sym_with); + END_STATE(); + case 108: + ACCEPT_TOKEN(anon_sym_with); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 109: + ACCEPT_TOKEN(anon_sym_COMMA); + END_STATE(); + case 110: + ACCEPT_TOKEN(anon_sym_COLON_EQ); + END_STATE(); + case 111: + ACCEPT_TOKEN(anon_sym_range); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 112: + ACCEPT_TOKEN(anon_sym_break); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 113: + ACCEPT_TOKEN(anon_sym_continue); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 114: + ACCEPT_TOKEN(anon_sym_template); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 115: + ACCEPT_TOKEN(anon_sym_define); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 116: + ACCEPT_TOKEN(anon_sym_block); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 117: + ACCEPT_TOKEN(anon_sym_EQ); + END_STATE(); + case 118: + ACCEPT_TOKEN(anon_sym_PIPE); + END_STATE(); + case 119: + ACCEPT_TOKEN(anon_sym_LPAREN); + END_STATE(); + case 120: + ACCEPT_TOKEN(anon_sym_RPAREN); + END_STATE(); + case 121: + ACCEPT_TOKEN(aux_sym_argument_list_token1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(121); + END_STATE(); + case 122: + ACCEPT_TOKEN(anon_sym_DOT); + END_STATE(); + case 123: + ACCEPT_TOKEN(anon_sym_DOT); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(183); + END_STATE(); + case 124: + ACCEPT_TOKEN(anon_sym_DOT2); + END_STATE(); + case 125: + ACCEPT_TOKEN(anon_sym_DOT2); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(183); + END_STATE(); + case 126: + ACCEPT_TOKEN(anon_sym_DOLLAR); + END_STATE(); + case 127: + ACCEPT_TOKEN(aux_sym_variable_token1); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(127); + END_STATE(); + case 128: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(158); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 129: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(161); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 130: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(153); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 131: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(172); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 132: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'c') ADVANCE(152); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 133: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'd') ADVANCE(99); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 134: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(159); + if (lookahead == 'r') ADVANCE(174); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 135: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(106); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 136: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(188); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 137: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(189); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 138: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(111); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 139: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(115); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 140: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(113); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 141: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(114); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 142: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(145); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 143: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(130); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 144: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'f') ADVANCE(104); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 145: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'f') ADVANCE(150); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 146: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'g') ADVANCE(138); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 147: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(108); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 148: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(171); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 149: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(155); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 150: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(163); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 151: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(164); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 152: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'k') ADVANCE(116); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 153: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'k') ADVANCE(112); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 154: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(169); + if (lookahead == 'n') ADVANCE(133); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 155: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(190); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 156: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(166); + if (lookahead == 'r') ADVANCE(143); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 157: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(131); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 158: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(170); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 159: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'm') ADVANCE(167); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 160: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(133); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 161: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(146); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 162: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(173); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 163: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(139); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 164: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(175); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 165: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(162); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 166: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(132); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 167: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'p') ADVANCE(157); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 168: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(174); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 169: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(135); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 170: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(137); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 171: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(147); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 172: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(141); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 173: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(151); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 174: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'u') ADVANCE(136); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 175: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'u') ADVANCE(140); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 176: + ACCEPT_TOKEN(sym_identifier); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 177: + ACCEPT_TOKEN(sym_int_literal); + ADVANCE_MAP( + '.', 185, + '_', 58, + 'i', 186, + 'B', 35, + 'b', 35, + 'E', 54, + 'e', 54, + 'O', 36, + 'o', 36, + 'X', 28, + 'x', 28, + '8', 26, + '9', 26, + ); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(178); + END_STATE(); + case 178: + ACCEPT_TOKEN(sym_int_literal); + if (lookahead == '.') ADVANCE(185); + if (lookahead == '_') ADVANCE(58); + if (lookahead == 'i') ADVANCE(186); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(54); + if (lookahead == '8' || + lookahead == '9') ADVANCE(26); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(178); + END_STATE(); + case 179: + ACCEPT_TOKEN(sym_int_literal); + if (lookahead == '.') ADVANCE(185); + if (lookahead == '_') ADVANCE(63); + if (lookahead == 'i') ADVANCE(186); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(179); + END_STATE(); + case 180: + ACCEPT_TOKEN(sym_int_literal); + if (lookahead == '.') ADVANCE(55); + if (lookahead == '_') ADVANCE(69); + if (lookahead == 'i') ADVANCE(186); + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(180); + END_STATE(); + case 181: + ACCEPT_TOKEN(sym_int_literal); + if (lookahead == '_') ADVANCE(57); + if (lookahead == 'i') ADVANCE(186); + if (lookahead == '0' || + lookahead == '1') ADVANCE(181); + END_STATE(); + case 182: + ACCEPT_TOKEN(sym_int_literal); + if (lookahead == '_') ADVANCE(61); + if (lookahead == 'i') ADVANCE(186); + if (('0' <= lookahead && lookahead <= '7')) ADVANCE(182); + END_STATE(); + case 183: + ACCEPT_TOKEN(sym_float_literal); + if (lookahead == '_') ADVANCE(64); + if (lookahead == 'i') ADVANCE(186); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(183); + END_STATE(); + case 184: + ACCEPT_TOKEN(sym_float_literal); + if (lookahead == '_') ADVANCE(66); + if (lookahead == 'i') ADVANCE(186); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(184); + END_STATE(); + case 185: + ACCEPT_TOKEN(sym_float_literal); + if (lookahead == 'i') ADVANCE(186); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(54); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(183); + END_STATE(); + case 186: + ACCEPT_TOKEN(sym_imaginary_literal); + END_STATE(); + case 187: + ACCEPT_TOKEN(sym_rune_literal); + END_STATE(); + case 188: + ACCEPT_TOKEN(sym_true); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 189: + ACCEPT_TOKEN(sym_false); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 190: + ACCEPT_TOKEN(sym_nil); + if (set_contains(aux_sym_variable_token1_character_set_1, 679, lookahead)) ADVANCE(176); + END_STATE(); + case 191: + ACCEPT_TOKEN(sym_raw_string_literal); + END_STATE(); + case 192: + ACCEPT_TOKEN(anon_sym_DQUOTE); + END_STATE(); + case 193: + ACCEPT_TOKEN(aux_sym_interpreted_string_literal_token1); + if (lookahead != 0 && + lookahead != '\n' && + lookahead != '"' && + lookahead != '\\') ADVANCE(193); + END_STATE(); + case 194: + ACCEPT_TOKEN(anon_sym_DQUOTE2); + END_STATE(); + case 195: + ACCEPT_TOKEN(sym_escape_sequence); + END_STATE(); + case 196: + ACCEPT_TOKEN(sym_escape_sequence); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(195); + END_STATE(); + case 197: + ACCEPT_TOKEN(sym_escape_sequence); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(196); + END_STATE(); + case 198: + ACCEPT_TOKEN(sym_comment); + END_STATE(); + case 199: + ACCEPT_TOKEN(anon_sym_LBRACE_LBRACE); + if (lookahead == '-') ADVANCE(59); + END_STATE(); + case 200: + ACCEPT_TOKEN(aux_sym__left_delimiter_token1); + END_STATE(); + case 201: + ACCEPT_TOKEN(anon_sym_RBRACE_RBRACE2); + END_STATE(); + case 202: + ACCEPT_TOKEN(anon_sym_DASH_RBRACE_RBRACE2); + END_STATE(); + default: + return false; + } +} + +static const TSLexerMode ts_lex_modes[STATE_COUNT] = { + [0] = {.lex_state = 0}, + [1] = {.lex_state = 87}, + [2] = {.lex_state = 4}, + [3] = {.lex_state = 4}, + [4] = {.lex_state = 4}, + [5] = {.lex_state = 4}, + [6] = {.lex_state = 4}, + [7] = {.lex_state = 4}, + [8] = {.lex_state = 4}, + [9] = {.lex_state = 4}, + [10] = {.lex_state = 4}, + [11] = {.lex_state = 4}, + [12] = {.lex_state = 4}, + [13] = {.lex_state = 4}, + [14] = {.lex_state = 9}, + [15] = {.lex_state = 9}, + [16] = {.lex_state = 9}, + [17] = {.lex_state = 9}, + [18] = {.lex_state = 9}, + [19] = {.lex_state = 9}, + [20] = {.lex_state = 9}, + [21] = {.lex_state = 9}, + [22] = {.lex_state = 9}, + [23] = {.lex_state = 9}, + [24] = {.lex_state = 9}, + [25] = {.lex_state = 9}, + [26] = {.lex_state = 9}, + [27] = {.lex_state = 9}, + [28] = {.lex_state = 9}, + [29] = {.lex_state = 9}, + [30] = {.lex_state = 9}, + [31] = {.lex_state = 9}, + [32] = {.lex_state = 9}, + [33] = {.lex_state = 9}, + [34] = {.lex_state = 9}, + [35] = {.lex_state = 9}, + [36] = {.lex_state = 9}, + [37] = {.lex_state = 9}, + [38] = {.lex_state = 10}, + [39] = {.lex_state = 10}, + [40] = {.lex_state = 8}, + [41] = {.lex_state = 8}, + [42] = {.lex_state = 3}, + [43] = {.lex_state = 3}, + [44] = {.lex_state = 6}, + [45] = {.lex_state = 6}, + [46] = {.lex_state = 7}, + [47] = {.lex_state = 7}, + [48] = {.lex_state = 7}, + [49] = {.lex_state = 7}, + [50] = {.lex_state = 7}, + [51] = {.lex_state = 7}, + [52] = {.lex_state = 7}, + [53] = {.lex_state = 7}, + [54] = {.lex_state = 7}, + [55] = {.lex_state = 7}, + [56] = {.lex_state = 7}, + [57] = {.lex_state = 7}, + [58] = {.lex_state = 7}, + [59] = {.lex_state = 7}, + [60] = {.lex_state = 7}, + [61] = {.lex_state = 7}, + [62] = {.lex_state = 7}, + [63] = {.lex_state = 7}, + [64] = {.lex_state = 7}, + [65] = {.lex_state = 7}, + [66] = {.lex_state = 7}, + [67] = {.lex_state = 7}, + [68] = {.lex_state = 7}, + [69] = {.lex_state = 7}, + [70] = {.lex_state = 87}, + [71] = {.lex_state = 87}, + [72] = {.lex_state = 87}, + [73] = {.lex_state = 87}, + [74] = {.lex_state = 87}, + [75] = {.lex_state = 87}, + [76] = {.lex_state = 87}, + [77] = {.lex_state = 87}, + [78] = {.lex_state = 87}, + [79] = {.lex_state = 87}, + [80] = {.lex_state = 87}, + [81] = {.lex_state = 87}, + [82] = {.lex_state = 87}, + [83] = {.lex_state = 87}, + [84] = {.lex_state = 87}, + [85] = {.lex_state = 87}, + [86] = {.lex_state = 87}, + [87] = {.lex_state = 87}, + [88] = {.lex_state = 87}, + [89] = {.lex_state = 87}, + [90] = {.lex_state = 87}, + [91] = {.lex_state = 87}, + [92] = {.lex_state = 87}, + [93] = {.lex_state = 87}, + [94] = {.lex_state = 87}, + [95] = {.lex_state = 87}, + [96] = {.lex_state = 87}, + [97] = {.lex_state = 87}, + [98] = {.lex_state = 87}, + [99] = {.lex_state = 87}, + [100] = {.lex_state = 87}, + [101] = {.lex_state = 87}, + [102] = {.lex_state = 87}, + [103] = {.lex_state = 87}, + [104] = {.lex_state = 87}, + [105] = {.lex_state = 87}, + [106] = {.lex_state = 87}, + [107] = {.lex_state = 87}, + [108] = {.lex_state = 87}, + [109] = {.lex_state = 87}, + [110] = {.lex_state = 87}, + [111] = {.lex_state = 87}, + [112] = {.lex_state = 87}, + [113] = {.lex_state = 87}, + [114] = {.lex_state = 87}, + [115] = {.lex_state = 87}, + [116] = {.lex_state = 87}, + [117] = {.lex_state = 87}, + [118] = {.lex_state = 87}, + [119] = {.lex_state = 8}, + [120] = {.lex_state = 8}, + [121] = {.lex_state = 8}, + [122] = {.lex_state = 3}, + [123] = {.lex_state = 3}, + [124] = {.lex_state = 3}, + [125] = {.lex_state = 7}, + [126] = {.lex_state = 7}, + [127] = {.lex_state = 14}, + [128] = {.lex_state = 16}, + [129] = {.lex_state = 87}, + [130] = {.lex_state = 87}, + [131] = {.lex_state = 87}, + [132] = {.lex_state = 8}, + [133] = {.lex_state = 87}, + [134] = {.lex_state = 87}, + [135] = {.lex_state = 87}, + [136] = {.lex_state = 8}, + [137] = {.lex_state = 87}, + [138] = {.lex_state = 87}, + [139] = {.lex_state = 87}, + [140] = {.lex_state = 87}, + [141] = {.lex_state = 87}, + [142] = {.lex_state = 87}, + [143] = {.lex_state = 87}, + [144] = {.lex_state = 87}, + [145] = {.lex_state = 87}, + [146] = {.lex_state = 87}, + [147] = {.lex_state = 87}, + [148] = {.lex_state = 87}, + [149] = {.lex_state = 87}, + [150] = {.lex_state = 87}, + [151] = {.lex_state = 87}, + [152] = {.lex_state = 87}, + [153] = {.lex_state = 87}, + [154] = {.lex_state = 87}, + [155] = {.lex_state = 87}, + [156] = {.lex_state = 87}, + [157] = {.lex_state = 87}, + [158] = {.lex_state = 87}, + [159] = {.lex_state = 87}, + [160] = {.lex_state = 87}, + [161] = {.lex_state = 87}, + [162] = {.lex_state = 87}, + [163] = {.lex_state = 87}, + [164] = {.lex_state = 87}, + [165] = {.lex_state = 87}, + [166] = {.lex_state = 3}, + [167] = {.lex_state = 87}, + [168] = {.lex_state = 87}, + [169] = {.lex_state = 87}, + [170] = {.lex_state = 87}, + [171] = {.lex_state = 87}, + [172] = {.lex_state = 87}, + [173] = {.lex_state = 87}, + [174] = {.lex_state = 87}, + [175] = {.lex_state = 87}, + [176] = {.lex_state = 87}, + [177] = {.lex_state = 87}, + [178] = {.lex_state = 87}, + [179] = {.lex_state = 87}, + [180] = {.lex_state = 87}, + [181] = {.lex_state = 87}, + [182] = {.lex_state = 87}, + [183] = {.lex_state = 87}, + [184] = {.lex_state = 87}, + [185] = {.lex_state = 87}, + [186] = {.lex_state = 87}, + [187] = {.lex_state = 87}, + [188] = {.lex_state = 87}, + [189] = {.lex_state = 87}, + [190] = {.lex_state = 87}, + [191] = {.lex_state = 87}, + [192] = {.lex_state = 3}, + [193] = {.lex_state = 87}, + [194] = {.lex_state = 0}, + [195] = {.lex_state = 87}, + [196] = {.lex_state = 0}, + [197] = {.lex_state = 87}, + [198] = {.lex_state = 87}, + [199] = {.lex_state = 0}, + [200] = {.lex_state = 0}, + [201] = {.lex_state = 0}, + [202] = {.lex_state = 3}, + [203] = {.lex_state = 0}, + [204] = {.lex_state = 87}, + [205] = {.lex_state = 87}, + [206] = {.lex_state = 87}, + [207] = {.lex_state = 87}, + [208] = {.lex_state = 87}, + [209] = {.lex_state = 0}, + [210] = {.lex_state = 87}, + [211] = {.lex_state = 0}, + [212] = {.lex_state = 87}, + [213] = {.lex_state = 87}, + [214] = {.lex_state = 87}, + [215] = {.lex_state = 87}, + [216] = {.lex_state = 87}, + [217] = {.lex_state = 87}, + [218] = {.lex_state = 87}, + [219] = {.lex_state = 87}, + [220] = {.lex_state = 87}, + [221] = {.lex_state = 87}, + [222] = {.lex_state = 87}, + [223] = {.lex_state = 87}, + [224] = {.lex_state = 8}, + [225] = {.lex_state = 8}, + [226] = {.lex_state = 8}, + [227] = {.lex_state = 8}, + [228] = {.lex_state = 8}, + [229] = {.lex_state = 8}, + [230] = {.lex_state = 8}, + [231] = {.lex_state = 17}, + [232] = {.lex_state = 3}, + [233] = {.lex_state = 8}, + [234] = {.lex_state = 8}, + [235] = {.lex_state = 8}, + [236] = {.lex_state = 8}, + [237] = {.lex_state = 8}, + [238] = {.lex_state = 0}, + [239] = {.lex_state = 3}, + [240] = {.lex_state = 0}, + [241] = {.lex_state = 8}, + [242] = {.lex_state = 8}, + [243] = {.lex_state = 8}, + [244] = {.lex_state = 18}, + [245] = {.lex_state = 4}, + [246] = {.lex_state = 4}, + [247] = {.lex_state = 0}, + [248] = {.lex_state = 4}, + [249] = {.lex_state = 0}, + [250] = {.lex_state = 0}, + [251] = {.lex_state = 4}, + [252] = {.lex_state = 4}, + [253] = {.lex_state = 0}, + [254] = {.lex_state = 4}, + [255] = {.lex_state = 1}, + [256] = {.lex_state = 4}, + [257] = {.lex_state = 1}, + [258] = {.lex_state = 4}, + [259] = {.lex_state = 0}, + [260] = {.lex_state = 4}, + [261] = {.lex_state = 1}, + [262] = {.lex_state = 0}, + [263] = {.lex_state = 0}, + [264] = {.lex_state = 4}, + [265] = {.lex_state = 0}, + [266] = {.lex_state = 0}, + [267] = {.lex_state = 0}, + [268] = {.lex_state = 0}, + [269] = {.lex_state = 4}, + [270] = {.lex_state = 0}, + [271] = {.lex_state = 4}, + [272] = {.lex_state = 0}, + [273] = {.lex_state = 0}, + [274] = {.lex_state = 4}, + [275] = {.lex_state = 4}, + [276] = {.lex_state = 4}, + [277] = {.lex_state = 4}, + [278] = {.lex_state = 4}, + [279] = {.lex_state = 4}, + [280] = {.lex_state = 22}, + [281] = {.lex_state = 4}, + [282] = {.lex_state = 0}, + [283] = {.lex_state = 1}, + [284] = {.lex_state = 0}, + [285] = {.lex_state = 1}, + [286] = {.lex_state = 4}, + [287] = {.lex_state = 22}, + [288] = {.lex_state = 4}, + [289] = {.lex_state = 4}, + [290] = {.lex_state = 4}, + [291] = {.lex_state = 4}, + [292] = {.lex_state = 4}, + [293] = {.lex_state = 4}, + [294] = {.lex_state = 4}, + [295] = {.lex_state = 4}, + [296] = {.lex_state = 4}, + [297] = {.lex_state = 4}, + [298] = {.lex_state = 4}, + [299] = {.lex_state = 4}, + [300] = {.lex_state = 4}, + [301] = {.lex_state = 4}, + [302] = {.lex_state = 4}, + [303] = {.lex_state = 4}, + [304] = {.lex_state = 4}, + [305] = {.lex_state = 4}, + [306] = {.lex_state = 4}, + [307] = {.lex_state = 4}, + [308] = {.lex_state = 4}, + [309] = {.lex_state = 4}, + [310] = {.lex_state = 4}, + [311] = {.lex_state = 4}, + [312] = {.lex_state = 4}, + [313] = {.lex_state = 4}, + [314] = {.lex_state = 4}, + [315] = {.lex_state = 4}, + [316] = {.lex_state = 4}, + [317] = {.lex_state = 4}, + [318] = {.lex_state = 4}, + [319] = {.lex_state = 4}, + [320] = {.lex_state = 4}, + [321] = {.lex_state = 4}, + [322] = {.lex_state = 4}, + [323] = {.lex_state = 4}, + [324] = {.lex_state = 4}, + [325] = {.lex_state = 4}, + [326] = {.lex_state = 4}, + [327] = {.lex_state = 4}, + [328] = {.lex_state = 4}, + [329] = {.lex_state = 4}, + [330] = {.lex_state = 4}, + [331] = {.lex_state = 4}, + [332] = {.lex_state = 4}, + [333] = {.lex_state = 4}, + [334] = {.lex_state = 4}, + [335] = {.lex_state = 4}, + [336] = {.lex_state = 4}, + [337] = {.lex_state = 4}, + [338] = {.lex_state = 4}, + [339] = {.lex_state = 4}, + [340] = {.lex_state = 4}, + [341] = {.lex_state = 4}, + [342] = {.lex_state = 4}, + [343] = {.lex_state = 4}, + [344] = {.lex_state = 0}, + [345] = {.lex_state = 18}, + [346] = {.lex_state = 22}, + [347] = {.lex_state = 22}, + [348] = {.lex_state = 22}, + [349] = {.lex_state = 0}, + [350] = {.lex_state = 47}, + [351] = {.lex_state = 0}, + [352] = {.lex_state = 47}, + [353] = {.lex_state = 0}, + [354] = {.lex_state = 22}, + [355] = {.lex_state = 0}, + [356] = {.lex_state = 18}, + [357] = {.lex_state = 9}, + [358] = {.lex_state = 9}, + [359] = {.lex_state = 0}, + [360] = {.lex_state = 0}, + [361] = {.lex_state = 0}, + [362] = {.lex_state = 22}, + [363] = {.lex_state = 0}, + [364] = {.lex_state = 22}, + [365] = {.lex_state = 22}, + [366] = {.lex_state = 22}, +}; + +static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { + [STATE(0)] = { + [ts_builtin_sym_end] = ACTIONS(1), + [sym_yaml_no_injection_text] = ACTIONS(1), + [aux_sym_text_token3] = ACTIONS(1), + [aux_sym_text_token4] = ACTIONS(1), + [anon_sym_end] = ACTIONS(1), + [anon_sym_RBRACE_RBRACE] = ACTIONS(1), + [anon_sym_if] = ACTIONS(1), + [anon_sym_else] = ACTIONS(1), + [anon_sym_with] = ACTIONS(1), + [anon_sym_COMMA] = ACTIONS(1), + [anon_sym_COLON_EQ] = ACTIONS(1), + [anon_sym_range] = ACTIONS(1), + [anon_sym_break] = ACTIONS(1), + [anon_sym_continue] = ACTIONS(1), + [anon_sym_template] = ACTIONS(1), + [anon_sym_define] = ACTIONS(1), + [anon_sym_block] = ACTIONS(1), + [anon_sym_EQ] = ACTIONS(1), + [anon_sym_PIPE] = ACTIONS(1), + [anon_sym_LPAREN] = ACTIONS(1), + [anon_sym_RPAREN] = ACTIONS(1), + [anon_sym_DOT] = ACTIONS(1), + [anon_sym_DOT2] = ACTIONS(1), + [anon_sym_DOLLAR] = ACTIONS(1), + [sym_identifier] = ACTIONS(1), + [sym_rune_literal] = ACTIONS(1), + [sym_true] = ACTIONS(1), + [sym_false] = ACTIONS(1), + [sym_nil] = ACTIONS(1), + [sym_raw_string_literal] = ACTIONS(1), + [anon_sym_DQUOTE] = ACTIONS(1), + [anon_sym_DQUOTE2] = ACTIONS(1), + [sym_escape_sequence] = ACTIONS(1), + [sym_comment] = ACTIONS(1), + [anon_sym_LBRACE_LBRACE] = ACTIONS(1), + [aux_sym__left_delimiter_token1] = ACTIONS(1), + [anon_sym_RBRACE_RBRACE2] = ACTIONS(1), + }, + [STATE(1)] = { + [sym_template] = STATE(360), + [sym__block] = STATE(79), + [sym_text] = STATE(79), + [sym__action] = STATE(79), + [sym__comment_action] = STATE(79), + [sym__pipeline_action] = STATE(79), + [sym_if_action] = STATE(79), + [sym_range_action] = STATE(79), + [sym_break_action] = STATE(79), + [sym_continue_action] = STATE(79), + [sym_template_action] = STATE(79), + [sym_define_action] = STATE(79), + [sym_block_action] = STATE(79), + [sym_with_action] = STATE(79), + [sym__left_delimiter] = STATE(38), + [aux_sym_template_repeat1] = STATE(79), + [ts_builtin_sym_end] = ACTIONS(3), + [sym_yaml_no_injection_text] = ACTIONS(5), + [aux_sym_text_token1] = ACTIONS(7), + [aux_sym_text_token2] = ACTIONS(7), + [aux_sym_text_token3] = ACTIONS(7), + [aux_sym_text_token4] = ACTIONS(7), + [anon_sym_LBRACE_LBRACE] = ACTIONS(9), + [aux_sym__left_delimiter_token1] = ACTIONS(9), + }, +}; + +static const uint16_t ts_small_parse_table[] = { + [0] = 22, + ACTIONS(11), 1, + anon_sym_end, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(15), 1, + anon_sym_else, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [85] = 22, + ACTIONS(11), 1, + anon_sym_end, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(47), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [170] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(49), 1, + anon_sym_end, + ACTIONS(51), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [255] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(53), 1, + anon_sym_end, + ACTIONS(55), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [340] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(57), 1, + anon_sym_end, + ACTIONS(59), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [425] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(61), 1, + anon_sym_end, + ACTIONS(63), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [510] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(15), 1, + anon_sym_else, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(65), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [595] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(47), 1, + anon_sym_else, + ACTIONS(65), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [680] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(67), 1, + anon_sym_end, + ACTIONS(69), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [765] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(71), 1, + anon_sym_end, + ACTIONS(73), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [850] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(75), 1, + anon_sym_end, + ACTIONS(77), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [935] = 22, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(79), 1, + anon_sym_end, + ACTIONS(81), 1, + anon_sym_else, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1020] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(83), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1102] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(85), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1184] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(87), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1266] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(89), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1348] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(91), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1430] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(93), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1512] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(95), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1594] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(97), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1676] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(99), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1758] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(101), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1840] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(103), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [1922] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(105), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2004] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(107), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2086] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(109), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2168] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(111), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2250] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(113), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2332] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(115), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2414] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(117), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2496] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(119), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2578] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(121), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2660] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(123), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2742] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(125), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2824] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(127), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2906] = 21, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + ACTIONS(129), 1, + anon_sym_end, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [2988] = 20, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(131), 1, + anon_sym_if, + ACTIONS(133), 1, + anon_sym_with, + ACTIONS(135), 1, + anon_sym_range, + ACTIONS(137), 1, + anon_sym_break, + ACTIONS(139), 1, + anon_sym_continue, + ACTIONS(141), 1, + anon_sym_template, + ACTIONS(143), 1, + anon_sym_define, + ACTIONS(145), 1, + anon_sym_block, + ACTIONS(151), 1, + sym_comment, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(149), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(147), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(269), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3067] = 20, + ACTIONS(13), 1, + anon_sym_if, + ACTIONS(17), 1, + anon_sym_with, + ACTIONS(19), 1, + anon_sym_range, + ACTIONS(21), 1, + anon_sym_break, + ACTIONS(23), 1, + anon_sym_continue, + ACTIONS(25), 1, + anon_sym_template, + ACTIONS(27), 1, + anon_sym_define, + ACTIONS(29), 1, + anon_sym_block, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(45), 1, + sym_comment, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(41), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(39), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(256), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3146] = 14, + ACTIONS(155), 1, + anon_sym_LPAREN, + ACTIONS(157), 1, + aux_sym_argument_list_token1, + ACTIONS(159), 1, + anon_sym_DOT, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(163), 1, + anon_sym_DOLLAR, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(169), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(235), 1, + sym_argument_list, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(153), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(167), 8, + sym_int_literal, + sym_float_literal, + sym_imaginary_literal, + sym_rune_literal, + sym_true, + sym_false, + sym_nil, + sym_raw_string_literal, + STATE(225), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3211] = 14, + ACTIONS(155), 1, + anon_sym_LPAREN, + ACTIONS(159), 1, + anon_sym_DOT, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(163), 1, + anon_sym_DOLLAR, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(169), 1, + anon_sym_DQUOTE, + ACTIONS(173), 1, + aux_sym_argument_list_token1, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(233), 1, + sym_argument_list, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(171), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(167), 8, + sym_int_literal, + sym_float_literal, + sym_imaginary_literal, + sym_rune_literal, + sym_true, + sym_false, + sym_nil, + sym_raw_string_literal, + STATE(225), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3276] = 14, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(177), 1, + anon_sym_DOT, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(252), 1, + sym_argument_list, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(183), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(157), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(181), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(226), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3340] = 14, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(177), 1, + anon_sym_DOT, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(281), 1, + sym_argument_list, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(183), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(173), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(181), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(226), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3404] = 12, + ACTIONS(155), 1, + anon_sym_LPAREN, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(163), 1, + anon_sym_DOLLAR, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(169), 1, + anon_sym_DQUOTE, + ACTIONS(189), 1, + aux_sym_argument_list_token1, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(187), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(191), 8, + sym_int_literal, + sym_float_literal, + sym_imaginary_literal, + sym_rune_literal, + sym_true, + sym_false, + sym_nil, + sym_raw_string_literal, + STATE(234), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3463] = 12, + ACTIONS(155), 1, + anon_sym_LPAREN, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(163), 1, + anon_sym_DOLLAR, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(169), 1, + anon_sym_DQUOTE, + ACTIONS(195), 1, + aux_sym_argument_list_token1, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(193), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(191), 8, + sym_int_literal, + sym_float_literal, + sym_imaginary_literal, + sym_rune_literal, + sym_true, + sym_false, + sym_nil, + sym_raw_string_literal, + STATE(234), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3522] = 12, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(197), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(195), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(191), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(234), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3580] = 12, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(197), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(189), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + ACTIONS(191), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(234), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3638] = 13, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(152), 1, + sym__right_delimiter, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + ACTIONS(203), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(201), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(199), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(264), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3697] = 13, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(198), 1, + sym__right_delimiter, + STATE(232), 1, + sym_parenthesized_pipeline, + ACTIONS(209), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(207), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(205), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(276), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3756] = 12, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(202), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(326), 1, + sym_range_variable_definition, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(213), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(211), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(258), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3811] = 12, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(202), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(336), 1, + sym_range_variable_definition, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(217), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(215), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(289), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3866] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(221), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(219), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(251), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3918] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(225), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(223), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(271), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [3970] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(229), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(227), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(279), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4022] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(233), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(231), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(318), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4074] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(237), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(235), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(344), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4126] = 11, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(241), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(239), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(243), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4178] = 11, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(245), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(243), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(241), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4230] = 11, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(249), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(247), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(242), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4282] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(253), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(251), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(277), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4334] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(257), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(255), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(286), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4386] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(261), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(259), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(248), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4438] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(265), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(263), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(288), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4490] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(269), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(267), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(292), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4542] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(273), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(271), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(278), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4594] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(277), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(275), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(355), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4646] = 11, + ACTIONS(161), 1, + anon_sym_DOT2, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(175), 1, + anon_sym_LPAREN, + ACTIONS(179), 1, + anon_sym_DOLLAR, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(132), 1, + sym_variable, + STATE(224), 1, + sym_parenthesized_pipeline, + STATE(40), 2, + sym_selector_expression, + sym_field, + ACTIONS(197), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(191), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(234), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4698] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(281), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(279), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(245), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4750] = 11, + ACTIONS(31), 1, + anon_sym_LPAREN, + ACTIONS(33), 1, + anon_sym_DOT2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + ACTIONS(37), 1, + sym_identifier, + ACTIONS(43), 1, + anon_sym_DQUOTE, + STATE(192), 1, + sym_variable, + STATE(232), 1, + sym_parenthesized_pipeline, + STATE(42), 2, + sym_selector_expression, + sym_field, + ACTIONS(285), 3, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + ACTIONS(283), 5, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + STATE(290), 12, + sym__pipeline, + sym_variable_definition, + sym_assignment, + sym_chained_pipeline, + sym_method_call, + sym_function_call, + sym__expression, + sym__literal, + sym__boolean_literal, + sym_dot, + sym__string_literal, + sym_interpreted_string_literal, + [4802] = 9, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(2), 1, + sym__left_delimiter, + STATE(135), 1, + sym__action_end, + STATE(203), 1, + aux_sym_if_action_repeat1, + STATE(282), 1, + sym__else_clause, + STATE(351), 1, + sym__else_if_clause, + ACTIONS(291), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [4847] = 9, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(3), 1, + sym__left_delimiter, + STATE(149), 1, + sym__action_end, + STATE(201), 1, + aux_sym_with_action_repeat1, + STATE(247), 1, + sym__else_clause, + STATE(349), 1, + sym__else_with_clause, + ACTIONS(293), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [4892] = 9, + ACTIONS(295), 1, + sym_yaml_no_injection_text, + STATE(9), 1, + sym__left_delimiter, + STATE(196), 1, + aux_sym_with_action_repeat1, + STATE(206), 1, + sym__action_end, + STATE(262), 1, + sym__else_clause, + STATE(349), 1, + sym__else_with_clause, + ACTIONS(297), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(74), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [4937] = 9, + ACTIONS(299), 1, + sym_yaml_no_injection_text, + STATE(8), 1, + sym__left_delimiter, + STATE(194), 1, + aux_sym_if_action_repeat1, + STATE(205), 1, + sym__action_end, + STATE(259), 1, + sym__else_clause, + STATE(351), 1, + sym__else_if_clause, + ACTIONS(301), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(77), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [4982] = 9, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(9), 1, + sym__left_delimiter, + STATE(200), 1, + aux_sym_with_action_repeat1, + STATE(215), 1, + sym__action_end, + STATE(268), 1, + sym__else_clause, + STATE(349), 1, + sym__else_with_clause, + ACTIONS(297), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5027] = 9, + ACTIONS(303), 1, + sym_yaml_no_injection_text, + STATE(3), 1, + sym__left_delimiter, + STATE(161), 1, + sym__action_end, + STATE(209), 1, + aux_sym_with_action_repeat1, + STATE(253), 1, + sym__else_clause, + STATE(349), 1, + sym__else_with_clause, + ACTIONS(293), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(71), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5072] = 9, + ACTIONS(305), 1, + sym_yaml_no_injection_text, + STATE(2), 1, + sym__left_delimiter, + STATE(158), 1, + sym__action_end, + STATE(211), 1, + aux_sym_if_action_repeat1, + STATE(250), 1, + sym__else_clause, + STATE(351), 1, + sym__else_if_clause, + ACTIONS(291), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(70), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5117] = 9, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(8), 1, + sym__left_delimiter, + STATE(199), 1, + aux_sym_if_action_repeat1, + STATE(212), 1, + sym__action_end, + STATE(265), 1, + sym__else_clause, + STATE(351), 1, + sym__else_if_clause, + ACTIONS(301), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5162] = 6, + ACTIONS(307), 1, + ts_builtin_sym_end, + ACTIONS(309), 1, + sym_yaml_no_injection_text, + STATE(38), 1, + sym__left_delimiter, + ACTIONS(315), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(312), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(78), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5198] = 6, + ACTIONS(318), 1, + ts_builtin_sym_end, + ACTIONS(320), 1, + sym_yaml_no_injection_text, + STATE(38), 1, + sym__left_delimiter, + ACTIONS(9), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(7), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(78), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5234] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(22), 1, + sym__left_delimiter, + ACTIONS(322), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5267] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(6), 1, + sym__left_delimiter, + ACTIONS(324), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5300] = 5, + ACTIONS(326), 1, + sym_yaml_no_injection_text, + STATE(39), 1, + sym__left_delimiter, + ACTIONS(328), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(86), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5333] = 5, + ACTIONS(331), 1, + sym_yaml_no_injection_text, + STATE(23), 1, + sym__left_delimiter, + ACTIONS(333), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(95), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5366] = 5, + ACTIONS(335), 1, + sym_yaml_no_injection_text, + STATE(25), 1, + sym__left_delimiter, + ACTIONS(337), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(88), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5399] = 5, + ACTIONS(339), 1, + sym_yaml_no_injection_text, + STATE(26), 1, + sym__left_delimiter, + ACTIONS(341), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(90), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5432] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(39), 1, + sym__left_delimiter, + ACTIONS(343), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5465] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(7), 1, + sym__left_delimiter, + ACTIONS(346), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5498] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(32), 1, + sym__left_delimiter, + ACTIONS(348), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5531] = 5, + ACTIONS(350), 1, + sym_yaml_no_injection_text, + STATE(16), 1, + sym__left_delimiter, + ACTIONS(352), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(94), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5564] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(17), 1, + sym__left_delimiter, + ACTIONS(354), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5597] = 5, + ACTIONS(356), 1, + sym_yaml_no_injection_text, + STATE(18), 1, + sym__left_delimiter, + ACTIONS(358), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(99), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5630] = 5, + ACTIONS(360), 1, + sym_yaml_no_injection_text, + STATE(39), 1, + sym__left_delimiter, + ACTIONS(362), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(100), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5663] = 5, + ACTIONS(365), 1, + sym_yaml_no_injection_text, + STATE(39), 1, + sym__left_delimiter, + ACTIONS(367), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(117), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5696] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(19), 1, + sym__left_delimiter, + ACTIONS(370), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5729] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(24), 1, + sym__left_delimiter, + ACTIONS(372), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5762] = 5, + ACTIONS(374), 1, + sym_yaml_no_injection_text, + STATE(4), 1, + sym__left_delimiter, + ACTIONS(376), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(81), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5795] = 5, + ACTIONS(378), 1, + sym_yaml_no_injection_text, + STATE(5), 1, + sym__left_delimiter, + ACTIONS(380), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(87), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5828] = 5, + ACTIONS(382), 1, + sym_yaml_no_injection_text, + STATE(21), 1, + sym__left_delimiter, + ACTIONS(384), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(80), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5861] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(20), 1, + sym__left_delimiter, + ACTIONS(386), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5894] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(39), 1, + sym__left_delimiter, + ACTIONS(388), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5927] = 5, + ACTIONS(391), 1, + sym_yaml_no_injection_text, + STATE(10), 1, + sym__left_delimiter, + ACTIONS(393), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(104), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5960] = 5, + ACTIONS(395), 1, + sym_yaml_no_injection_text, + STATE(11), 1, + sym__left_delimiter, + ACTIONS(397), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(105), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [5993] = 5, + ACTIONS(399), 1, + sym_yaml_no_injection_text, + STATE(15), 1, + sym__left_delimiter, + ACTIONS(401), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(106), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6026] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(12), 1, + sym__left_delimiter, + ACTIONS(403), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6059] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(13), 1, + sym__left_delimiter, + ACTIONS(405), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6092] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(27), 1, + sym__left_delimiter, + ACTIONS(407), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6125] = 5, + ACTIONS(409), 1, + sym_yaml_no_injection_text, + STATE(28), 1, + sym__left_delimiter, + ACTIONS(411), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(108), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6158] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(29), 1, + sym__left_delimiter, + ACTIONS(413), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6191] = 5, + ACTIONS(415), 1, + sym_yaml_no_injection_text, + STATE(30), 1, + sym__left_delimiter, + ACTIONS(417), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(111), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6224] = 5, + ACTIONS(419), 1, + sym_yaml_no_injection_text, + STATE(31), 1, + sym__left_delimiter, + ACTIONS(421), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(113), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6257] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(14), 1, + sym__left_delimiter, + ACTIONS(423), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6290] = 5, + ACTIONS(425), 1, + sym_yaml_no_injection_text, + STATE(33), 1, + sym__left_delimiter, + ACTIONS(427), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(115), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6323] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(34), 1, + sym__left_delimiter, + ACTIONS(429), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6356] = 5, + ACTIONS(431), 1, + sym_yaml_no_injection_text, + STATE(35), 1, + sym__left_delimiter, + ACTIONS(433), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(116), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6389] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(36), 1, + sym__left_delimiter, + ACTIONS(435), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6422] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(37), 1, + sym__left_delimiter, + ACTIONS(437), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6455] = 5, + ACTIONS(287), 1, + sym_yaml_no_injection_text, + STATE(39), 1, + sym__left_delimiter, + ACTIONS(439), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(289), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6488] = 5, + ACTIONS(442), 1, + sym_yaml_no_injection_text, + STATE(39), 1, + sym__left_delimiter, + ACTIONS(448), 2, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + ACTIONS(445), 4, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + STATE(118), 14, + sym__block, + sym_text, + sym__action, + sym__comment_action, + sym__pipeline_action, + sym_if_action, + sym_range_action, + sym_break_action, + sym_continue_action, + sym_template_action, + sym_define_action, + sym_block_action, + sym_with_action, + aux_sym_template_repeat1, + [6521] = 2, + ACTIONS(453), 1, + aux_sym_argument_list_token1, + ACTIONS(451), 18, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOT, + anon_sym_DOT2, + anon_sym_DOLLAR, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_imaginary_literal, + sym_rune_literal, + sym_true, + sym_false, + sym_nil, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6545] = 2, + ACTIONS(457), 1, + aux_sym_argument_list_token1, + ACTIONS(455), 18, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOT, + anon_sym_DOT2, + anon_sym_DOLLAR, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_imaginary_literal, + sym_rune_literal, + sym_true, + sym_false, + sym_nil, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6569] = 2, + ACTIONS(461), 1, + aux_sym_argument_list_token1, + ACTIONS(459), 18, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOT, + anon_sym_DOT2, + anon_sym_DOLLAR, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_imaginary_literal, + sym_rune_literal, + sym_true, + sym_false, + sym_nil, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6593] = 2, + ACTIONS(459), 8, + anon_sym_DOT, + anon_sym_DOT2, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + ACTIONS(461), 10, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOLLAR, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6616] = 2, + ACTIONS(451), 8, + anon_sym_DOT, + anon_sym_DOT2, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + ACTIONS(453), 10, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOLLAR, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6639] = 2, + ACTIONS(455), 8, + anon_sym_DOT, + anon_sym_DOT2, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + ACTIONS(457), 10, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOLLAR, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6662] = 2, + ACTIONS(465), 7, + anon_sym_DOT2, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + ACTIONS(463), 10, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOLLAR, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6684] = 2, + ACTIONS(469), 7, + anon_sym_DOT2, + sym_identifier, + sym_int_literal, + sym_float_literal, + sym_true, + sym_false, + sym_nil, + ACTIONS(467), 10, + anon_sym_PIPE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_DOLLAR, + sym_imaginary_literal, + sym_rune_literal, + sym_raw_string_literal, + anon_sym_DQUOTE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6706] = 2, + ACTIONS(473), 1, + aux_sym_variable_token1, + ACTIONS(471), 8, + anon_sym_COMMA, + anon_sym_COLON_EQ, + anon_sym_EQ, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_DOT, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6720] = 3, + ACTIONS(477), 1, + aux_sym_variable_token1, + ACTIONS(471), 2, + aux_sym_argument_list_token1, + anon_sym_DOT, + ACTIONS(475), 6, + anon_sym_COLON_EQ, + anon_sym_EQ, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6736] = 2, + ACTIONS(479), 1, + ts_builtin_sym_end, + ACTIONS(481), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6749] = 2, + ACTIONS(483), 1, + ts_builtin_sym_end, + ACTIONS(485), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6762] = 2, + ACTIONS(487), 1, + ts_builtin_sym_end, + ACTIONS(489), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6775] = 5, + ACTIONS(157), 1, + aux_sym_argument_list_token1, + ACTIONS(491), 1, + anon_sym_COLON_EQ, + ACTIONS(493), 1, + anon_sym_EQ, + ACTIONS(495), 1, + anon_sym_DOT, + ACTIONS(153), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6794] = 2, + ACTIONS(497), 1, + ts_builtin_sym_end, + ACTIONS(499), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6807] = 2, + ACTIONS(501), 1, + ts_builtin_sym_end, + ACTIONS(503), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6820] = 2, + ACTIONS(505), 1, + ts_builtin_sym_end, + ACTIONS(507), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6833] = 2, + ACTIONS(511), 2, + aux_sym_argument_list_token1, + anon_sym_DOT, + ACTIONS(509), 6, + anon_sym_COLON_EQ, + anon_sym_EQ, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [6846] = 2, + ACTIONS(513), 1, + ts_builtin_sym_end, + ACTIONS(515), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6859] = 2, + ACTIONS(517), 1, + ts_builtin_sym_end, + ACTIONS(519), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6872] = 2, + ACTIONS(521), 1, + ts_builtin_sym_end, + ACTIONS(523), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6885] = 2, + ACTIONS(525), 1, + ts_builtin_sym_end, + ACTIONS(527), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6898] = 2, + ACTIONS(529), 1, + ts_builtin_sym_end, + ACTIONS(531), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6911] = 2, + ACTIONS(533), 1, + ts_builtin_sym_end, + ACTIONS(535), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6924] = 2, + ACTIONS(537), 1, + ts_builtin_sym_end, + ACTIONS(539), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6937] = 2, + ACTIONS(541), 1, + ts_builtin_sym_end, + ACTIONS(543), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6950] = 2, + ACTIONS(545), 1, + ts_builtin_sym_end, + ACTIONS(547), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6963] = 2, + ACTIONS(549), 1, + ts_builtin_sym_end, + ACTIONS(551), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6976] = 2, + ACTIONS(553), 1, + ts_builtin_sym_end, + ACTIONS(555), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [6989] = 2, + ACTIONS(557), 1, + ts_builtin_sym_end, + ACTIONS(559), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7002] = 2, + ACTIONS(561), 1, + ts_builtin_sym_end, + ACTIONS(563), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7015] = 2, + ACTIONS(565), 1, + ts_builtin_sym_end, + ACTIONS(567), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7028] = 2, + ACTIONS(569), 1, + ts_builtin_sym_end, + ACTIONS(571), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7041] = 2, + ACTIONS(573), 1, + ts_builtin_sym_end, + ACTIONS(575), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7054] = 2, + ACTIONS(577), 1, + ts_builtin_sym_end, + ACTIONS(579), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7067] = 2, + ACTIONS(581), 1, + ts_builtin_sym_end, + ACTIONS(583), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7080] = 2, + ACTIONS(585), 1, + ts_builtin_sym_end, + ACTIONS(587), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7093] = 2, + ACTIONS(589), 1, + ts_builtin_sym_end, + ACTIONS(591), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7106] = 2, + ACTIONS(593), 1, + ts_builtin_sym_end, + ACTIONS(595), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7119] = 2, + ACTIONS(597), 1, + ts_builtin_sym_end, + ACTIONS(599), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7132] = 2, + ACTIONS(601), 1, + ts_builtin_sym_end, + ACTIONS(603), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7145] = 2, + ACTIONS(605), 1, + ts_builtin_sym_end, + ACTIONS(607), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7158] = 2, + ACTIONS(609), 1, + ts_builtin_sym_end, + ACTIONS(611), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7171] = 2, + ACTIONS(613), 1, + ts_builtin_sym_end, + ACTIONS(615), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7184] = 2, + ACTIONS(617), 1, + ts_builtin_sym_end, + ACTIONS(619), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7197] = 2, + ACTIONS(621), 1, + ts_builtin_sym_end, + ACTIONS(623), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7210] = 2, + ACTIONS(625), 1, + ts_builtin_sym_end, + ACTIONS(627), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7223] = 1, + ACTIONS(511), 8, + anon_sym_COMMA, + anon_sym_COLON_EQ, + anon_sym_EQ, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_DOT, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [7234] = 2, + ACTIONS(629), 1, + ts_builtin_sym_end, + ACTIONS(631), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7247] = 2, + ACTIONS(633), 1, + ts_builtin_sym_end, + ACTIONS(635), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7260] = 2, + ACTIONS(637), 1, + ts_builtin_sym_end, + ACTIONS(639), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7273] = 2, + ACTIONS(641), 1, + ts_builtin_sym_end, + ACTIONS(643), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7286] = 2, + ACTIONS(645), 1, + ts_builtin_sym_end, + ACTIONS(647), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7299] = 2, + ACTIONS(649), 1, + ts_builtin_sym_end, + ACTIONS(651), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7312] = 1, + ACTIONS(531), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7322] = 1, + ACTIONS(523), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7332] = 1, + ACTIONS(527), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7342] = 1, + ACTIONS(519), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7352] = 1, + ACTIONS(547), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7362] = 1, + ACTIONS(551), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7372] = 1, + ACTIONS(567), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7382] = 1, + ACTIONS(579), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7392] = 1, + ACTIONS(583), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7402] = 1, + ACTIONS(587), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7412] = 1, + ACTIONS(615), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7422] = 1, + ACTIONS(623), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7432] = 1, + ACTIONS(627), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7442] = 1, + ACTIONS(631), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7452] = 1, + ACTIONS(635), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7462] = 1, + ACTIONS(639), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7472] = 1, + ACTIONS(643), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7482] = 1, + ACTIONS(647), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7492] = 1, + ACTIONS(485), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7502] = 4, + ACTIONS(653), 1, + anon_sym_COLON_EQ, + ACTIONS(655), 1, + anon_sym_EQ, + ACTIONS(657), 1, + anon_sym_DOT, + ACTIONS(157), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [7518] = 1, + ACTIONS(555), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7528] = 7, + ACTIONS(659), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(661), 1, + aux_sym__left_delimiter_token1, + STATE(213), 1, + sym__action_end, + STATE(238), 1, + aux_sym_if_action_repeat1, + STATE(267), 1, + sym__else_clause, + STATE(347), 1, + sym__left_delimiter, + STATE(351), 1, + sym__else_if_clause, + [7550] = 1, + ACTIONS(603), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7560] = 7, + ACTIONS(663), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(665), 1, + aux_sym__left_delimiter_token1, + STATE(216), 1, + sym__action_end, + STATE(240), 1, + aux_sym_with_action_repeat1, + STATE(270), 1, + sym__else_clause, + STATE(349), 1, + sym__else_with_clause, + STATE(354), 1, + sym__left_delimiter, + [7582] = 1, + ACTIONS(607), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7592] = 1, + ACTIONS(575), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7602] = 7, + ACTIONS(659), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(661), 1, + aux_sym__left_delimiter_token1, + STATE(219), 1, + sym__action_end, + STATE(238), 1, + aux_sym_if_action_repeat1, + STATE(272), 1, + sym__else_clause, + STATE(347), 1, + sym__left_delimiter, + STATE(351), 1, + sym__else_if_clause, + [7624] = 7, + ACTIONS(663), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(665), 1, + aux_sym__left_delimiter_token1, + STATE(176), 1, + sym__action_end, + STATE(240), 1, + aux_sym_with_action_repeat1, + STATE(273), 1, + sym__else_clause, + STATE(349), 1, + sym__else_with_clause, + STATE(354), 1, + sym__left_delimiter, + [7646] = 7, + ACTIONS(667), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(669), 1, + aux_sym__left_delimiter_token1, + STATE(138), 1, + sym__action_end, + STATE(240), 1, + aux_sym_with_action_repeat1, + STATE(266), 1, + sym__else_clause, + STATE(346), 1, + sym__left_delimiter, + STATE(349), 1, + sym__else_with_clause, + [7668] = 5, + ACTIONS(653), 1, + anon_sym_COLON_EQ, + ACTIONS(655), 1, + anon_sym_EQ, + ACTIONS(657), 1, + anon_sym_DOT, + ACTIONS(671), 1, + anon_sym_COMMA, + ACTIONS(157), 3, + anon_sym_PIPE, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [7686] = 7, + ACTIONS(673), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(675), 1, + aux_sym__left_delimiter_token1, + STATE(133), 1, + sym__action_end, + STATE(238), 1, + aux_sym_if_action_repeat1, + STATE(263), 1, + sym__else_clause, + STATE(348), 1, + sym__left_delimiter, + STATE(351), 1, + sym__else_if_clause, + [7708] = 1, + ACTIONS(595), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7718] = 1, + ACTIONS(599), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7728] = 1, + ACTIONS(611), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7738] = 1, + ACTIONS(591), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7748] = 1, + ACTIONS(543), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7758] = 7, + ACTIONS(667), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(669), 1, + aux_sym__left_delimiter_token1, + STATE(151), 1, + sym__action_end, + STATE(240), 1, + aux_sym_with_action_repeat1, + STATE(249), 1, + sym__else_clause, + STATE(346), 1, + sym__left_delimiter, + STATE(349), 1, + sym__else_with_clause, + [7780] = 1, + ACTIONS(651), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7790] = 7, + ACTIONS(673), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(675), 1, + aux_sym__left_delimiter_token1, + STATE(142), 1, + sym__action_end, + STATE(238), 1, + aux_sym_if_action_repeat1, + STATE(284), 1, + sym__else_clause, + STATE(348), 1, + sym__left_delimiter, + STATE(351), 1, + sym__else_if_clause, + [7812] = 1, + ACTIONS(507), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7822] = 1, + ACTIONS(535), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7832] = 1, + ACTIONS(559), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7842] = 1, + ACTIONS(563), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7852] = 1, + ACTIONS(571), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7862] = 1, + ACTIONS(619), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7872] = 1, + ACTIONS(489), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7882] = 1, + ACTIONS(499), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7892] = 1, + ACTIONS(503), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7902] = 1, + ACTIONS(515), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7912] = 1, + ACTIONS(481), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7922] = 1, + ACTIONS(539), 7, + sym_yaml_no_injection_text, + aux_sym_text_token1, + aux_sym_text_token2, + aux_sym_text_token3, + aux_sym_text_token4, + anon_sym_LBRACE_LBRACE, + aux_sym__left_delimiter_token1, + [7932] = 3, + ACTIONS(495), 1, + anon_sym_DOT, + ACTIONS(679), 1, + aux_sym_argument_list_token1, + ACTIONS(677), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [7945] = 4, + ACTIONS(681), 1, + anon_sym_PIPE, + ACTIONS(685), 1, + aux_sym_argument_list_token1, + STATE(227), 1, + aux_sym_argument_list_repeat1, + ACTIONS(683), 3, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [7960] = 4, + ACTIONS(681), 1, + anon_sym_PIPE, + ACTIONS(687), 1, + aux_sym_argument_list_token1, + STATE(230), 1, + aux_sym_argument_list_repeat1, + ACTIONS(683), 3, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [7975] = 3, + ACTIONS(689), 1, + aux_sym_argument_list_token1, + STATE(228), 1, + aux_sym_argument_list_repeat1, + ACTIONS(193), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [7988] = 3, + ACTIONS(693), 1, + aux_sym_argument_list_token1, + STATE(228), 1, + aux_sym_argument_list_repeat1, + ACTIONS(691), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8001] = 2, + ACTIONS(698), 2, + aux_sym_argument_list_token1, + anon_sym_DOT, + ACTIONS(696), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8012] = 3, + ACTIONS(700), 1, + aux_sym_argument_list_token1, + STATE(228), 1, + aux_sym_argument_list_repeat1, + ACTIONS(193), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8025] = 3, + ACTIONS(704), 1, + aux_sym_argument_list_token1, + ACTIONS(706), 1, + sym_identifier, + ACTIONS(702), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8038] = 2, + ACTIONS(657), 1, + anon_sym_DOT, + ACTIONS(679), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8048] = 2, + ACTIONS(710), 1, + aux_sym_argument_list_token1, + ACTIONS(708), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8058] = 3, + ACTIONS(681), 1, + anon_sym_PIPE, + ACTIONS(712), 1, + aux_sym_argument_list_token1, + ACTIONS(691), 3, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8070] = 2, + ACTIONS(716), 1, + aux_sym_argument_list_token1, + ACTIONS(714), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8080] = 2, + ACTIONS(467), 1, + aux_sym_argument_list_token1, + ACTIONS(469), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8090] = 2, + ACTIONS(463), 1, + aux_sym_argument_list_token1, + ACTIONS(465), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8100] = 5, + ACTIONS(718), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(721), 1, + aux_sym__left_delimiter_token1, + STATE(238), 1, + aux_sym_if_action_repeat1, + STATE(351), 1, + sym__else_if_clause, + STATE(362), 1, + sym__left_delimiter, + [8116] = 1, + ACTIONS(698), 5, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_DOT, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8124] = 5, + ACTIONS(724), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(727), 1, + aux_sym__left_delimiter_token1, + STATE(240), 1, + aux_sym_with_action_repeat1, + STATE(349), 1, + sym__else_with_clause, + STATE(366), 1, + sym__left_delimiter, + [8140] = 3, + ACTIONS(681), 1, + anon_sym_PIPE, + ACTIONS(732), 1, + aux_sym_argument_list_token1, + ACTIONS(730), 3, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8152] = 3, + ACTIONS(681), 1, + anon_sym_PIPE, + ACTIONS(736), 1, + aux_sym_argument_list_token1, + ACTIONS(734), 3, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8164] = 2, + ACTIONS(740), 1, + aux_sym_argument_list_token1, + ACTIONS(738), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8174] = 2, + ACTIONS(742), 1, + sym_identifier, + ACTIONS(704), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8184] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(73), 1, + sym__right_delimiter, + ACTIONS(746), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8195] = 3, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(748), 1, + sym_raw_string_literal, + STATE(69), 2, + sym__string_literal, + sym_interpreted_string_literal, + [8206] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(137), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8219] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(76), 1, + sym__right_delimiter, + ACTIONS(754), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8230] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(139), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8243] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(172), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8256] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(75), 1, + sym__right_delimiter, + ACTIONS(756), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8267] = 1, + ACTIONS(716), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8274] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(148), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8287] = 3, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(758), 1, + sym_raw_string_literal, + STATE(49), 2, + sym__string_literal, + sym_interpreted_string_literal, + [8298] = 3, + ACTIONS(762), 1, + anon_sym_DQUOTE2, + STATE(257), 1, + aux_sym_interpreted_string_literal_repeat1, + ACTIONS(760), 2, + aux_sym_interpreted_string_literal_token1, + sym_escape_sequence, + [8309] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(193), 1, + sym__right_delimiter, + ACTIONS(764), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8320] = 3, + ACTIONS(768), 1, + anon_sym_DQUOTE2, + STATE(283), 1, + aux_sym_interpreted_string_literal_repeat1, + ACTIONS(766), 2, + aux_sym_interpreted_string_literal_token1, + sym_escape_sequence, + [8331] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(97), 1, + sym__right_delimiter, + ACTIONS(770), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8342] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(210), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8355] = 3, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(776), 1, + sym_raw_string_literal, + STATE(48), 2, + sym__string_literal, + sym_interpreted_string_literal, + [8366] = 3, + ACTIONS(780), 1, + anon_sym_DQUOTE2, + STATE(285), 1, + aux_sym_interpreted_string_literal_repeat1, + ACTIONS(778), 2, + aux_sym_interpreted_string_literal_token1, + sym_escape_sequence, + [8377] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(214), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8390] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(145), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8403] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(156), 1, + sym__right_delimiter, + ACTIONS(782), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8414] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(218), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8427] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(146), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8440] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(220), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8453] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(221), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8466] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(147), 1, + sym__right_delimiter, + ACTIONS(784), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8477] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(174), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8490] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(83), 1, + sym__right_delimiter, + ACTIONS(786), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8501] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(177), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8514] = 4, + ACTIONS(772), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(774), 1, + aux_sym__left_delimiter_token1, + STATE(178), 1, + sym__action_end, + STATE(359), 1, + sym__left_delimiter, + [8527] = 3, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(788), 1, + sym_raw_string_literal, + STATE(302), 2, + sym__string_literal, + sym_interpreted_string_literal, + [8538] = 3, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(790), 1, + sym_raw_string_literal, + STATE(53), 2, + sym__string_literal, + sym_interpreted_string_literal, + [8549] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(207), 1, + sym__right_delimiter, + ACTIONS(792), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8560] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(92), 1, + sym__right_delimiter, + ACTIONS(794), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8571] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(72), 1, + sym__right_delimiter, + ACTIONS(796), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8582] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(93), 1, + sym__right_delimiter, + ACTIONS(798), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8593] = 3, + ACTIONS(800), 1, + anon_sym_if, + STATE(82), 1, + sym__right_delimiter, + ACTIONS(802), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8604] = 1, + ACTIONS(710), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8611] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(131), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8624] = 3, + ACTIONS(807), 1, + anon_sym_DQUOTE2, + STATE(283), 1, + aux_sym_interpreted_string_literal_repeat1, + ACTIONS(804), 2, + aux_sym_interpreted_string_literal_token1, + sym_escape_sequence, + [8635] = 4, + ACTIONS(750), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(752), 1, + aux_sym__left_delimiter_token1, + STATE(134), 1, + sym__action_end, + STATE(361), 1, + sym__left_delimiter, + [8648] = 3, + ACTIONS(809), 1, + anon_sym_DQUOTE2, + STATE(283), 1, + aux_sym_interpreted_string_literal_repeat1, + ACTIONS(766), 2, + aux_sym_interpreted_string_literal_token1, + sym_escape_sequence, + [8659] = 1, + ACTIONS(740), 4, + anon_sym_PIPE, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8666] = 3, + ACTIONS(811), 1, + anon_sym_with, + STATE(82), 1, + sym__right_delimiter, + ACTIONS(802), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8677] = 2, + ACTIONS(744), 1, + anon_sym_PIPE, + ACTIONS(732), 3, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8686] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(102), 1, + sym__right_delimiter, + ACTIONS(813), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8697] = 3, + ACTIONS(744), 1, + anon_sym_PIPE, + STATE(107), 1, + sym__right_delimiter, + ACTIONS(815), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8708] = 3, + ACTIONS(43), 1, + anon_sym_DQUOTE, + ACTIONS(817), 1, + sym_raw_string_literal, + STATE(337), 2, + sym__string_literal, + sym_interpreted_string_literal, + [8719] = 2, + ACTIONS(744), 1, + anon_sym_PIPE, + ACTIONS(736), 3, + anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8728] = 2, + STATE(140), 1, + sym__right_delimiter, + ACTIONS(819), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8736] = 2, + STATE(180), 1, + sym__right_delimiter, + ACTIONS(821), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8744] = 2, + STATE(223), 1, + sym__right_delimiter, + ACTIONS(823), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8752] = 2, + STATE(160), 1, + sym__right_delimiter, + ACTIONS(825), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8760] = 2, + STATE(181), 1, + sym__right_delimiter, + ACTIONS(827), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8768] = 2, + STATE(182), 1, + sym__right_delimiter, + ACTIONS(829), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8776] = 2, + STATE(84), 1, + sym__right_delimiter, + ACTIONS(831), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8784] = 2, + STATE(164), 1, + sym__right_delimiter, + ACTIONS(833), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8792] = 2, + STATE(141), 1, + sym__right_delimiter, + ACTIONS(835), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8800] = 2, + STATE(98), 1, + sym__right_delimiter, + ACTIONS(837), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8808] = 2, + STATE(85), 1, + sym__right_delimiter, + ACTIONS(839), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8816] = 2, + STATE(167), 1, + sym__right_delimiter, + ACTIONS(841), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8824] = 2, + STATE(183), 1, + sym__right_delimiter, + ACTIONS(843), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8832] = 2, + STATE(184), 1, + sym__right_delimiter, + ACTIONS(845), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8840] = 2, + STATE(185), 1, + sym__right_delimiter, + ACTIONS(847), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8848] = 2, + STATE(168), 1, + sym__right_delimiter, + ACTIONS(849), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8856] = 2, + STATE(162), 1, + sym__right_delimiter, + ACTIONS(851), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8864] = 2, + STATE(150), 1, + sym__right_delimiter, + ACTIONS(853), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8872] = 2, + STATE(186), 1, + sym__right_delimiter, + ACTIONS(855), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8880] = 2, + STATE(187), 1, + sym__right_delimiter, + ACTIONS(857), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8888] = 2, + STATE(89), 1, + sym__right_delimiter, + ACTIONS(859), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8896] = 2, + STATE(143), 1, + sym__right_delimiter, + ACTIONS(861), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8904] = 2, + STATE(188), 1, + sym__right_delimiter, + ACTIONS(863), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8912] = 2, + STATE(153), 1, + sym__right_delimiter, + ACTIONS(865), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8920] = 2, + STATE(91), 1, + sym__right_delimiter, + ACTIONS(867), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8928] = 2, + ACTIONS(744), 1, + anon_sym_PIPE, + ACTIONS(869), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8936] = 2, + STATE(189), 1, + sym__right_delimiter, + ACTIONS(871), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8944] = 2, + STATE(154), 1, + sym__right_delimiter, + ACTIONS(873), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8952] = 2, + STATE(155), 1, + sym__right_delimiter, + ACTIONS(875), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8960] = 2, + STATE(169), 1, + sym__right_delimiter, + ACTIONS(877), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8968] = 2, + STATE(170), 1, + sym__right_delimiter, + ACTIONS(879), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8976] = 2, + STATE(163), 1, + sym__right_delimiter, + ACTIONS(881), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8984] = 2, + STATE(190), 1, + sym__right_delimiter, + ACTIONS(883), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [8992] = 2, + STATE(96), 1, + sym__right_delimiter, + ACTIONS(885), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9000] = 2, + STATE(173), 1, + sym__right_delimiter, + ACTIONS(887), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9008] = 2, + STATE(191), 1, + sym__right_delimiter, + ACTIONS(889), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9016] = 2, + STATE(159), 1, + sym__right_delimiter, + ACTIONS(891), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9024] = 2, + STATE(171), 1, + sym__right_delimiter, + ACTIONS(893), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9032] = 2, + STATE(217), 1, + sym__right_delimiter, + ACTIONS(895), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9040] = 2, + STATE(195), 1, + sym__right_delimiter, + ACTIONS(897), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9048] = 2, + STATE(197), 1, + sym__right_delimiter, + ACTIONS(899), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9056] = 2, + STATE(165), 1, + sym__right_delimiter, + ACTIONS(901), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9064] = 2, + STATE(179), 1, + sym__right_delimiter, + ACTIONS(903), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9072] = 2, + STATE(101), 1, + sym__right_delimiter, + ACTIONS(905), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9080] = 2, + STATE(103), 1, + sym__right_delimiter, + ACTIONS(907), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9088] = 2, + STATE(109), 1, + sym__right_delimiter, + ACTIONS(909), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9096] = 2, + STATE(110), 1, + sym__right_delimiter, + ACTIONS(911), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9104] = 2, + STATE(112), 1, + sym__right_delimiter, + ACTIONS(913), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9112] = 2, + STATE(114), 1, + sym__right_delimiter, + ACTIONS(915), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9120] = 2, + STATE(175), 1, + sym__right_delimiter, + ACTIONS(917), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9128] = 2, + STATE(130), 1, + sym__right_delimiter, + ACTIONS(919), 2, + anon_sym_RBRACE_RBRACE2, + anon_sym_DASH_RBRACE_RBRACE2, + [9136] = 2, + ACTIONS(744), 1, + anon_sym_PIPE, + ACTIONS(921), 1, + anon_sym_RPAREN, + [9143] = 2, + ACTIONS(923), 1, + sym_identifier, + STATE(122), 1, + sym__field_identifier, + [9150] = 2, + ACTIONS(925), 1, + anon_sym_end, + ACTIONS(927), 1, + anon_sym_else, + [9157] = 2, + ACTIONS(929), 1, + anon_sym_end, + ACTIONS(931), 1, + anon_sym_else, + [9164] = 2, + ACTIONS(925), 1, + anon_sym_end, + ACTIONS(931), 1, + anon_sym_else, + [9171] = 2, + ACTIONS(933), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(935), 1, + aux_sym__left_delimiter_token1, + [9178] = 2, + ACTIONS(937), 1, + anon_sym_RBRACE_RBRACE, + ACTIONS(939), 1, + aux_sym__comment_action_token1, + [9185] = 2, + ACTIONS(941), 1, + anon_sym_LBRACE_LBRACE, + ACTIONS(943), 1, + aux_sym__left_delimiter_token1, + [9192] = 2, + ACTIONS(945), 1, + anon_sym_RBRACE_RBRACE, + ACTIONS(947), 1, + aux_sym__comment_action_token1, + [9199] = 2, + ACTIONS(35), 1, + anon_sym_DOLLAR, + STATE(363), 1, + sym_variable, + [9206] = 2, + ACTIONS(927), 1, + anon_sym_else, + ACTIONS(929), 1, + anon_sym_end, + [9213] = 2, + ACTIONS(744), 1, + anon_sym_PIPE, + ACTIONS(949), 1, + anon_sym_RPAREN, + [9220] = 2, + ACTIONS(951), 1, + sym_identifier, + STATE(121), 1, + sym__field_identifier, + [9227] = 1, + ACTIONS(953), 1, + anon_sym_DASH_RBRACE_RBRACE, + [9231] = 1, + ACTIONS(955), 1, + anon_sym_DASH_RBRACE_RBRACE, + [9235] = 1, + ACTIONS(929), 1, + anon_sym_end, + [9239] = 1, + ACTIONS(957), 1, + ts_builtin_sym_end, + [9243] = 1, + ACTIONS(925), 1, + anon_sym_end, + [9247] = 1, + ACTIONS(959), 1, + anon_sym_else, + [9251] = 1, + ACTIONS(961), 1, + anon_sym_COLON_EQ, + [9255] = 1, + ACTIONS(811), 1, + anon_sym_with, + [9259] = 1, + ACTIONS(800), 1, + anon_sym_if, + [9263] = 1, + ACTIONS(963), 1, + anon_sym_else, +}; + +static const uint32_t ts_small_parse_table_map[] = { + [SMALL_STATE(2)] = 0, + [SMALL_STATE(3)] = 85, + [SMALL_STATE(4)] = 170, + [SMALL_STATE(5)] = 255, + [SMALL_STATE(6)] = 340, + [SMALL_STATE(7)] = 425, + [SMALL_STATE(8)] = 510, + [SMALL_STATE(9)] = 595, + [SMALL_STATE(10)] = 680, + [SMALL_STATE(11)] = 765, + [SMALL_STATE(12)] = 850, + [SMALL_STATE(13)] = 935, + [SMALL_STATE(14)] = 1020, + [SMALL_STATE(15)] = 1102, + [SMALL_STATE(16)] = 1184, + [SMALL_STATE(17)] = 1266, + [SMALL_STATE(18)] = 1348, + [SMALL_STATE(19)] = 1430, + [SMALL_STATE(20)] = 1512, + [SMALL_STATE(21)] = 1594, + [SMALL_STATE(22)] = 1676, + [SMALL_STATE(23)] = 1758, + [SMALL_STATE(24)] = 1840, + [SMALL_STATE(25)] = 1922, + [SMALL_STATE(26)] = 2004, + [SMALL_STATE(27)] = 2086, + [SMALL_STATE(28)] = 2168, + [SMALL_STATE(29)] = 2250, + [SMALL_STATE(30)] = 2332, + [SMALL_STATE(31)] = 2414, + [SMALL_STATE(32)] = 2496, + [SMALL_STATE(33)] = 2578, + [SMALL_STATE(34)] = 2660, + [SMALL_STATE(35)] = 2742, + [SMALL_STATE(36)] = 2824, + [SMALL_STATE(37)] = 2906, + [SMALL_STATE(38)] = 2988, + [SMALL_STATE(39)] = 3067, + [SMALL_STATE(40)] = 3146, + [SMALL_STATE(41)] = 3211, + [SMALL_STATE(42)] = 3276, + [SMALL_STATE(43)] = 3340, + [SMALL_STATE(44)] = 3404, + [SMALL_STATE(45)] = 3463, + [SMALL_STATE(46)] = 3522, + [SMALL_STATE(47)] = 3580, + [SMALL_STATE(48)] = 3638, + [SMALL_STATE(49)] = 3697, + [SMALL_STATE(50)] = 3756, + [SMALL_STATE(51)] = 3811, + [SMALL_STATE(52)] = 3866, + [SMALL_STATE(53)] = 3918, + [SMALL_STATE(54)] = 3970, + [SMALL_STATE(55)] = 4022, + [SMALL_STATE(56)] = 4074, + [SMALL_STATE(57)] = 4126, + [SMALL_STATE(58)] = 4178, + [SMALL_STATE(59)] = 4230, + [SMALL_STATE(60)] = 4282, + [SMALL_STATE(61)] = 4334, + [SMALL_STATE(62)] = 4386, + [SMALL_STATE(63)] = 4438, + [SMALL_STATE(64)] = 4490, + [SMALL_STATE(65)] = 4542, + [SMALL_STATE(66)] = 4594, + [SMALL_STATE(67)] = 4646, + [SMALL_STATE(68)] = 4698, + [SMALL_STATE(69)] = 4750, + [SMALL_STATE(70)] = 4802, + [SMALL_STATE(71)] = 4847, + [SMALL_STATE(72)] = 4892, + [SMALL_STATE(73)] = 4937, + [SMALL_STATE(74)] = 4982, + [SMALL_STATE(75)] = 5027, + [SMALL_STATE(76)] = 5072, + [SMALL_STATE(77)] = 5117, + [SMALL_STATE(78)] = 5162, + [SMALL_STATE(79)] = 5198, + [SMALL_STATE(80)] = 5234, + [SMALL_STATE(81)] = 5267, + [SMALL_STATE(82)] = 5300, + [SMALL_STATE(83)] = 5333, + [SMALL_STATE(84)] = 5366, + [SMALL_STATE(85)] = 5399, + [SMALL_STATE(86)] = 5432, + [SMALL_STATE(87)] = 5465, + [SMALL_STATE(88)] = 5498, + [SMALL_STATE(89)] = 5531, + [SMALL_STATE(90)] = 5564, + [SMALL_STATE(91)] = 5597, + [SMALL_STATE(92)] = 5630, + [SMALL_STATE(93)] = 5663, + [SMALL_STATE(94)] = 5696, + [SMALL_STATE(95)] = 5729, + [SMALL_STATE(96)] = 5762, + [SMALL_STATE(97)] = 5795, + [SMALL_STATE(98)] = 5828, + [SMALL_STATE(99)] = 5861, + [SMALL_STATE(100)] = 5894, + [SMALL_STATE(101)] = 5927, + [SMALL_STATE(102)] = 5960, + [SMALL_STATE(103)] = 5993, + [SMALL_STATE(104)] = 6026, + [SMALL_STATE(105)] = 6059, + [SMALL_STATE(106)] = 6092, + [SMALL_STATE(107)] = 6125, + [SMALL_STATE(108)] = 6158, + [SMALL_STATE(109)] = 6191, + [SMALL_STATE(110)] = 6224, + [SMALL_STATE(111)] = 6257, + [SMALL_STATE(112)] = 6290, + [SMALL_STATE(113)] = 6323, + [SMALL_STATE(114)] = 6356, + [SMALL_STATE(115)] = 6389, + [SMALL_STATE(116)] = 6422, + [SMALL_STATE(117)] = 6455, + [SMALL_STATE(118)] = 6488, + [SMALL_STATE(119)] = 6521, + [SMALL_STATE(120)] = 6545, + [SMALL_STATE(121)] = 6569, + [SMALL_STATE(122)] = 6593, + [SMALL_STATE(123)] = 6616, + [SMALL_STATE(124)] = 6639, + [SMALL_STATE(125)] = 6662, + [SMALL_STATE(126)] = 6684, + [SMALL_STATE(127)] = 6706, + [SMALL_STATE(128)] = 6720, + [SMALL_STATE(129)] = 6736, + [SMALL_STATE(130)] = 6749, + [SMALL_STATE(131)] = 6762, + [SMALL_STATE(132)] = 6775, + [SMALL_STATE(133)] = 6794, + [SMALL_STATE(134)] = 6807, + [SMALL_STATE(135)] = 6820, + [SMALL_STATE(136)] = 6833, + [SMALL_STATE(137)] = 6846, + [SMALL_STATE(138)] = 6859, + [SMALL_STATE(139)] = 6872, + [SMALL_STATE(140)] = 6885, + [SMALL_STATE(141)] = 6898, + [SMALL_STATE(142)] = 6911, + [SMALL_STATE(143)] = 6924, + [SMALL_STATE(144)] = 6937, + [SMALL_STATE(145)] = 6950, + [SMALL_STATE(146)] = 6963, + [SMALL_STATE(147)] = 6976, + [SMALL_STATE(148)] = 6989, + [SMALL_STATE(149)] = 7002, + [SMALL_STATE(150)] = 7015, + [SMALL_STATE(151)] = 7028, + [SMALL_STATE(152)] = 7041, + [SMALL_STATE(153)] = 7054, + [SMALL_STATE(154)] = 7067, + [SMALL_STATE(155)] = 7080, + [SMALL_STATE(156)] = 7093, + [SMALL_STATE(157)] = 7106, + [SMALL_STATE(158)] = 7119, + [SMALL_STATE(159)] = 7132, + [SMALL_STATE(160)] = 7145, + [SMALL_STATE(161)] = 7158, + [SMALL_STATE(162)] = 7171, + [SMALL_STATE(163)] = 7184, + [SMALL_STATE(164)] = 7197, + [SMALL_STATE(165)] = 7210, + [SMALL_STATE(166)] = 7223, + [SMALL_STATE(167)] = 7234, + [SMALL_STATE(168)] = 7247, + [SMALL_STATE(169)] = 7260, + [SMALL_STATE(170)] = 7273, + [SMALL_STATE(171)] = 7286, + [SMALL_STATE(172)] = 7299, + [SMALL_STATE(173)] = 7312, + [SMALL_STATE(174)] = 7322, + [SMALL_STATE(175)] = 7332, + [SMALL_STATE(176)] = 7342, + [SMALL_STATE(177)] = 7352, + [SMALL_STATE(178)] = 7362, + [SMALL_STATE(179)] = 7372, + [SMALL_STATE(180)] = 7382, + [SMALL_STATE(181)] = 7392, + [SMALL_STATE(182)] = 7402, + [SMALL_STATE(183)] = 7412, + [SMALL_STATE(184)] = 7422, + [SMALL_STATE(185)] = 7432, + [SMALL_STATE(186)] = 7442, + [SMALL_STATE(187)] = 7452, + [SMALL_STATE(188)] = 7462, + [SMALL_STATE(189)] = 7472, + [SMALL_STATE(190)] = 7482, + [SMALL_STATE(191)] = 7492, + [SMALL_STATE(192)] = 7502, + [SMALL_STATE(193)] = 7518, + [SMALL_STATE(194)] = 7528, + [SMALL_STATE(195)] = 7550, + [SMALL_STATE(196)] = 7560, + [SMALL_STATE(197)] = 7582, + [SMALL_STATE(198)] = 7592, + [SMALL_STATE(199)] = 7602, + [SMALL_STATE(200)] = 7624, + [SMALL_STATE(201)] = 7646, + [SMALL_STATE(202)] = 7668, + [SMALL_STATE(203)] = 7686, + [SMALL_STATE(204)] = 7708, + [SMALL_STATE(205)] = 7718, + [SMALL_STATE(206)] = 7728, + [SMALL_STATE(207)] = 7738, + [SMALL_STATE(208)] = 7748, + [SMALL_STATE(209)] = 7758, + [SMALL_STATE(210)] = 7780, + [SMALL_STATE(211)] = 7790, + [SMALL_STATE(212)] = 7812, + [SMALL_STATE(213)] = 7822, + [SMALL_STATE(214)] = 7832, + [SMALL_STATE(215)] = 7842, + [SMALL_STATE(216)] = 7852, + [SMALL_STATE(217)] = 7862, + [SMALL_STATE(218)] = 7872, + [SMALL_STATE(219)] = 7882, + [SMALL_STATE(220)] = 7892, + [SMALL_STATE(221)] = 7902, + [SMALL_STATE(222)] = 7912, + [SMALL_STATE(223)] = 7922, + [SMALL_STATE(224)] = 7932, + [SMALL_STATE(225)] = 7945, + [SMALL_STATE(226)] = 7960, + [SMALL_STATE(227)] = 7975, + [SMALL_STATE(228)] = 7988, + [SMALL_STATE(229)] = 8001, + [SMALL_STATE(230)] = 8012, + [SMALL_STATE(231)] = 8025, + [SMALL_STATE(232)] = 8038, + [SMALL_STATE(233)] = 8048, + [SMALL_STATE(234)] = 8058, + [SMALL_STATE(235)] = 8070, + [SMALL_STATE(236)] = 8080, + [SMALL_STATE(237)] = 8090, + [SMALL_STATE(238)] = 8100, + [SMALL_STATE(239)] = 8116, + [SMALL_STATE(240)] = 8124, + [SMALL_STATE(241)] = 8140, + [SMALL_STATE(242)] = 8152, + [SMALL_STATE(243)] = 8164, + [SMALL_STATE(244)] = 8174, + [SMALL_STATE(245)] = 8184, + [SMALL_STATE(246)] = 8195, + [SMALL_STATE(247)] = 8206, + [SMALL_STATE(248)] = 8219, + [SMALL_STATE(249)] = 8230, + [SMALL_STATE(250)] = 8243, + [SMALL_STATE(251)] = 8256, + [SMALL_STATE(252)] = 8267, + [SMALL_STATE(253)] = 8274, + [SMALL_STATE(254)] = 8287, + [SMALL_STATE(255)] = 8298, + [SMALL_STATE(256)] = 8309, + [SMALL_STATE(257)] = 8320, + [SMALL_STATE(258)] = 8331, + [SMALL_STATE(259)] = 8342, + [SMALL_STATE(260)] = 8355, + [SMALL_STATE(261)] = 8366, + [SMALL_STATE(262)] = 8377, + [SMALL_STATE(263)] = 8390, + [SMALL_STATE(264)] = 8403, + [SMALL_STATE(265)] = 8414, + [SMALL_STATE(266)] = 8427, + [SMALL_STATE(267)] = 8440, + [SMALL_STATE(268)] = 8453, + [SMALL_STATE(269)] = 8466, + [SMALL_STATE(270)] = 8477, + [SMALL_STATE(271)] = 8490, + [SMALL_STATE(272)] = 8501, + [SMALL_STATE(273)] = 8514, + [SMALL_STATE(274)] = 8527, + [SMALL_STATE(275)] = 8538, + [SMALL_STATE(276)] = 8549, + [SMALL_STATE(277)] = 8560, + [SMALL_STATE(278)] = 8571, + [SMALL_STATE(279)] = 8582, + [SMALL_STATE(280)] = 8593, + [SMALL_STATE(281)] = 8604, + [SMALL_STATE(282)] = 8611, + [SMALL_STATE(283)] = 8624, + [SMALL_STATE(284)] = 8635, + [SMALL_STATE(285)] = 8648, + [SMALL_STATE(286)] = 8659, + [SMALL_STATE(287)] = 8666, + [SMALL_STATE(288)] = 8677, + [SMALL_STATE(289)] = 8686, + [SMALL_STATE(290)] = 8697, + [SMALL_STATE(291)] = 8708, + [SMALL_STATE(292)] = 8719, + [SMALL_STATE(293)] = 8728, + [SMALL_STATE(294)] = 8736, + [SMALL_STATE(295)] = 8744, + [SMALL_STATE(296)] = 8752, + [SMALL_STATE(297)] = 8760, + [SMALL_STATE(298)] = 8768, + [SMALL_STATE(299)] = 8776, + [SMALL_STATE(300)] = 8784, + [SMALL_STATE(301)] = 8792, + [SMALL_STATE(302)] = 8800, + [SMALL_STATE(303)] = 8808, + [SMALL_STATE(304)] = 8816, + [SMALL_STATE(305)] = 8824, + [SMALL_STATE(306)] = 8832, + [SMALL_STATE(307)] = 8840, + [SMALL_STATE(308)] = 8848, + [SMALL_STATE(309)] = 8856, + [SMALL_STATE(310)] = 8864, + [SMALL_STATE(311)] = 8872, + [SMALL_STATE(312)] = 8880, + [SMALL_STATE(313)] = 8888, + [SMALL_STATE(314)] = 8896, + [SMALL_STATE(315)] = 8904, + [SMALL_STATE(316)] = 8912, + [SMALL_STATE(317)] = 8920, + [SMALL_STATE(318)] = 8928, + [SMALL_STATE(319)] = 8936, + [SMALL_STATE(320)] = 8944, + [SMALL_STATE(321)] = 8952, + [SMALL_STATE(322)] = 8960, + [SMALL_STATE(323)] = 8968, + [SMALL_STATE(324)] = 8976, + [SMALL_STATE(325)] = 8984, + [SMALL_STATE(326)] = 8992, + [SMALL_STATE(327)] = 9000, + [SMALL_STATE(328)] = 9008, + [SMALL_STATE(329)] = 9016, + [SMALL_STATE(330)] = 9024, + [SMALL_STATE(331)] = 9032, + [SMALL_STATE(332)] = 9040, + [SMALL_STATE(333)] = 9048, + [SMALL_STATE(334)] = 9056, + [SMALL_STATE(335)] = 9064, + [SMALL_STATE(336)] = 9072, + [SMALL_STATE(337)] = 9080, + [SMALL_STATE(338)] = 9088, + [SMALL_STATE(339)] = 9096, + [SMALL_STATE(340)] = 9104, + [SMALL_STATE(341)] = 9112, + [SMALL_STATE(342)] = 9120, + [SMALL_STATE(343)] = 9128, + [SMALL_STATE(344)] = 9136, + [SMALL_STATE(345)] = 9143, + [SMALL_STATE(346)] = 9150, + [SMALL_STATE(347)] = 9157, + [SMALL_STATE(348)] = 9164, + [SMALL_STATE(349)] = 9171, + [SMALL_STATE(350)] = 9178, + [SMALL_STATE(351)] = 9185, + [SMALL_STATE(352)] = 9192, + [SMALL_STATE(353)] = 9199, + [SMALL_STATE(354)] = 9206, + [SMALL_STATE(355)] = 9213, + [SMALL_STATE(356)] = 9220, + [SMALL_STATE(357)] = 9227, + [SMALL_STATE(358)] = 9231, + [SMALL_STATE(359)] = 9235, + [SMALL_STATE(360)] = 9239, + [SMALL_STATE(361)] = 9243, + [SMALL_STATE(362)] = 9247, + [SMALL_STATE(363)] = 9251, + [SMALL_STATE(364)] = 9255, + [SMALL_STATE(365)] = 9259, + [SMALL_STATE(366)] = 9263, +}; + +static const TSParseActionEntry ts_parse_actions[] = { + [0] = {.entry = {.count = 0, .reusable = false}}, + [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), + [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template, 0, 0, 0), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(324), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(280), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(332), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(254), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(291), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(246), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(244), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(256), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), + [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(287), + [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(293), + [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(299), + [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(301), + [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(303), + [57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(310), + [59] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313), + [61] = {.entry = {.count = 1, .reusable = false}}, SHIFT(316), + [63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(317), + [65] = {.entry = {.count = 1, .reusable = false}}, SHIFT(331), + [67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(342), + [69] = {.entry = {.count = 1, .reusable = false}}, SHIFT(338), + [71] = {.entry = {.count = 1, .reusable = false}}, SHIFT(327), + [73] = {.entry = {.count = 1, .reusable = false}}, SHIFT(339), + [75] = {.entry = {.count = 1, .reusable = false}}, SHIFT(335), + [77] = {.entry = {.count = 1, .reusable = false}}, SHIFT(340), + [79] = {.entry = {.count = 1, .reusable = false}}, SHIFT(294), + [81] = {.entry = {.count = 1, .reusable = false}}, SHIFT(341), + [83] = {.entry = {.count = 1, .reusable = false}}, SHIFT(311), + [85] = {.entry = {.count = 1, .reusable = false}}, SHIFT(295), + [87] = {.entry = {.count = 1, .reusable = false}}, SHIFT(308), + [89] = {.entry = {.count = 1, .reusable = false}}, SHIFT(322), + [91] = {.entry = {.count = 1, .reusable = false}}, SHIFT(323), + [93] = {.entry = {.count = 1, .reusable = false}}, SHIFT(330), + [95] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), + [97] = {.entry = {.count = 1, .reusable = false}}, SHIFT(314), + [99] = {.entry = {.count = 1, .reusable = false}}, SHIFT(320), + [101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(321), + [103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(309), + [105] = {.entry = {.count = 1, .reusable = false}}, SHIFT(300), + [107] = {.entry = {.count = 1, .reusable = false}}, SHIFT(334), + [109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(297), + [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(298), + [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(305), + [115] = {.entry = {.count = 1, .reusable = false}}, SHIFT(306), + [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(307), + [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(304), + [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(312), + [123] = {.entry = {.count = 1, .reusable = false}}, SHIFT(315), + [125] = {.entry = {.count = 1, .reusable = false}}, SHIFT(319), + [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(325), + [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(328), + [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), + [135] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [137] = {.entry = {.count = 1, .reusable = false}}, SHIFT(329), + [139] = {.entry = {.count = 1, .reusable = false}}, SHIFT(296), + [141] = {.entry = {.count = 1, .reusable = false}}, SHIFT(260), + [143] = {.entry = {.count = 1, .reusable = false}}, SHIFT(274), + [145] = {.entry = {.count = 1, .reusable = false}}, SHIFT(275), + [147] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269), + [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(350), + [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression, 1, 0, 0), + [155] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression, 1, 0, 0), + [159] = {.entry = {.count = 1, .reusable = false}}, SHIFT(356), + [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(231), + [163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128), + [165] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), + [167] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225), + [169] = {.entry = {.count = 1, .reusable = false}}, SHIFT(255), + [171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 1, 0, 1), + [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 1, 0, 1), + [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(226), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [187] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 3, 0, 0), + [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 3, 0, 0), + [191] = {.entry = {.count = 1, .reusable = false}}, SHIFT(234), + [193] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 2, 0, 0), + [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 2, 0, 0), + [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234), + [199] = {.entry = {.count = 1, .reusable = false}}, SHIFT(264), + [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), + [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [205] = {.entry = {.count = 1, .reusable = false}}, SHIFT(276), + [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [211] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), + [215] = {.entry = {.count = 1, .reusable = false}}, SHIFT(289), + [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(251), + [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [223] = {.entry = {.count = 1, .reusable = false}}, SHIFT(271), + [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), + [227] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), + [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), + [231] = {.entry = {.count = 1, .reusable = false}}, SHIFT(318), + [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [235] = {.entry = {.count = 1, .reusable = false}}, SHIFT(344), + [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), + [239] = {.entry = {.count = 1, .reusable = false}}, SHIFT(243), + [241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243), + [243] = {.entry = {.count = 1, .reusable = false}}, SHIFT(241), + [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), + [247] = {.entry = {.count = 1, .reusable = false}}, SHIFT(242), + [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [251] = {.entry = {.count = 1, .reusable = false}}, SHIFT(277), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [255] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), + [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [263] = {.entry = {.count = 1, .reusable = false}}, SHIFT(288), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), + [267] = {.entry = {.count = 1, .reusable = false}}, SHIFT(292), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [271] = {.entry = {.count = 1, .reusable = false}}, SHIFT(278), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), + [275] = {.entry = {.count = 1, .reusable = false}}, SHIFT(355), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355), + [279] = {.entry = {.count = 1, .reusable = false}}, SHIFT(245), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), + [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(290), + [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [289] = {.entry = {.count = 1, .reusable = false}}, SHIFT(222), + [291] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), + [293] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3), + [295] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [297] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9), + [299] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [301] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), + [303] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [305] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_template_repeat1, 2, 0, 0), + [309] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2, 0, 0), SHIFT_REPEAT(78), + [312] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2, 0, 0), SHIFT_REPEAT(129), + [315] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2, 0, 0), SHIFT_REPEAT(38), + [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template, 1, 0, 0), + [320] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), + [322] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22), + [324] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), + [326] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [328] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__else_clause, 3, 2, 0), SHIFT(39), + [331] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95), + [333] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), + [335] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), + [337] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), + [339] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), + [341] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [343] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__else_clause, 4, 2, 21), SHIFT(39), + [346] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7), + [348] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94), + [352] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16), + [354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), + [356] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [358] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), + [360] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [362] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__else_if_clause, 5, 1, 26), SHIFT(39), + [365] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), + [367] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__else_with_clause, 5, 1, 26), SHIFT(39), + [370] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19), + [372] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), + [374] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [376] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), + [378] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [380] = {.entry = {.count = 1, .reusable = false}}, SHIFT(5), + [382] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [384] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), + [386] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), + [388] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__else_if_clause, 6, 1, 28), SHIFT(39), + [391] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), + [393] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), + [395] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), + [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), + [399] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), + [401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), + [403] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), + [405] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), + [407] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [409] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), + [411] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), + [413] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), + [415] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), + [417] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [419] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113), + [421] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), + [423] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), + [425] = {.entry = {.count = 1, .reusable = false}}, SHIFT(115), + [427] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [429] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), + [431] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), + [433] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), + [435] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), + [437] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), + [439] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym__else_with_clause, 6, 1, 28), SHIFT(39), + [442] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2, 0, 0), SHIFT_REPEAT(118), + [445] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2, 0, 0), SHIFT_REPEAT(222), + [448] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_template_repeat1, 2, 0, 0), SHIFT_REPEAT(39), + [451] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_field, 2, 0, 2), + [453] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 2, 0, 2), + [455] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__field_identifier, 1, 0, 6), + [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_identifier, 1, 0, 6), + [459] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_selector_expression, 3, 0, 7), + [461] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_selector_expression, 3, 0, 7), + [463] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 3, 0, 0), + [465] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_interpreted_string_literal, 3, 0, 0), + [467] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 2, 0, 0), + [469] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_interpreted_string_literal, 2, 0, 0), + [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1, 0, 0), + [473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [475] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 1, 0, 0), + [477] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136), + [479] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_text, 1, 0, 0), + [481] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_text, 1, 0, 0), + [483] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 12, 0, 32), + [485] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 12, 0, 32), + [487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 7, 0, 16), + [489] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 7, 0, 16), + [491] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [493] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), + [497] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 7, 0, 17), + [499] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 7, 0, 17), + [501] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 7, 0, 18), + [503] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 7, 0, 18), + [505] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 6, 0, 13), + [507] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 6, 0, 13), + [509] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 2, 0, 2), + [511] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 2, 0, 2), + [513] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 7, 0, 16), + [515] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 7, 0, 16), + [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 7, 0, 17), + [519] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 7, 0, 17), + [521] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 7, 0, 18), + [523] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 7, 0, 18), + [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 7, 0, 0), + [527] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 7, 0, 0), + [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 7, 0, 19), + [531] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 7, 0, 19), + [533] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 6, 0, 14), + [535] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 6, 0, 14), + [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_define_action, 7, 0, 5), + [539] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_define_action, 7, 0, 5), + [541] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__comment_action, 3, 0, 0), + [543] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__comment_action, 3, 0, 0), + [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 8, 0, 22), + [547] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 8, 0, 22), + [549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 8, 0, 22), + [551] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 8, 0, 22), + [553] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__pipeline_action, 3, 0, 0), + [555] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__pipeline_action, 3, 0, 0), + [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 6, 0, 12), + [559] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 6, 0, 12), + [561] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 6, 0, 13), + [563] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 6, 0, 13), + [565] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 8, 0, 23), + [567] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 8, 0, 23), + [569] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 6, 0, 14), + [571] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 6, 0, 14), + [573] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_action, 4, 0, 5), + [575] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_template_action, 4, 0, 5), + [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 8, 0, 24), + [579] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 8, 0, 24), + [581] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_define_action, 8, 0, 25), + [583] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_define_action, 8, 0, 25), + [585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_action, 8, 0, 11), + [587] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block_action, 8, 0, 11), + [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_template_action, 5, 0, 11), + [591] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_template_action, 5, 0, 11), + [593] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__comment_action, 4, 0, 0), + [595] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__comment_action, 4, 0, 0), + [597] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 5, 0, 9), + [599] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 5, 0, 9), + [601] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_break_action, 3, 0, 0), + [603] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_break_action, 3, 0, 0), + [605] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_continue_action, 3, 0, 0), + [607] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_continue_action, 3, 0, 0), + [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_action, 5, 0, 9), + [611] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_with_action, 5, 0, 9), + [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_action, 9, 0, 27), + [615] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block_action, 9, 0, 27), + [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__action_end, 3, 0, 0), + [619] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__action_end, 3, 0, 0), + [621] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 10, 0, 0), + [623] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 10, 0, 0), + [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 10, 0, 19), + [627] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 10, 0, 19), + [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 11, 0, 29), + [631] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 11, 0, 29), + [633] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 11, 0, 23), + [635] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 11, 0, 23), + [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 11, 0, 30), + [639] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 11, 0, 30), + [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 11, 0, 24), + [643] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 11, 0, 24), + [645] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_action, 12, 0, 31), + [647] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_action, 12, 0, 31), + [649] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_action, 6, 0, 12), + [651] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_action, 6, 0, 12), + [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345), + [659] = {.entry = {.count = 1, .reusable = false}}, SHIFT(347), + [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347), + [663] = {.entry = {.count = 1, .reusable = false}}, SHIFT(354), + [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), + [667] = {.entry = {.count = 1, .reusable = false}}, SHIFT(346), + [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346), + [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353), + [673] = {.entry = {.count = 1, .reusable = false}}, SHIFT(348), + [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(348), + [677] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__pipeline, 1, 0, 0), + [679] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__pipeline, 1, 0, 0), + [681] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), + [683] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 1, 0, 0), + [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [691] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), + [693] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), SHIFT_REPEAT(67), + [696] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_pipeline, 3, 0, 0), + [698] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_pipeline, 3, 0, 0), + [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [702] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_dot, 1, 0, 0), + [704] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dot, 1, 0, 0), + [706] = {.entry = {.count = 1, .reusable = false}}, SHIFT(119), + [708] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 2, 0, 3), + [710] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 2, 0, 3), + [712] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), + [714] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_method_call, 2, 0, 4), + [716] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_method_call, 2, 0, 4), + [718] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_if_action_repeat1, 2, 0, 15), SHIFT_REPEAT(362), + [721] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_action_repeat1, 2, 0, 15), SHIFT_REPEAT(362), + [724] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_with_action_repeat1, 2, 0, 15), SHIFT_REPEAT(366), + [727] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_with_action_repeat1, 2, 0, 15), SHIFT_REPEAT(366), + [730] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_definition, 3, 0, 8), + [732] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_definition, 3, 0, 8), + [734] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3, 0, 8), + [736] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, 0, 8), + [738] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_chained_pipeline, 3, 0, 0), + [740] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chained_pipeline, 3, 0, 0), + [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [750] = {.entry = {.count = 1, .reusable = false}}, SHIFT(361), + [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361), + [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [758] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [764] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [766] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), + [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), + [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [772] = {.entry = {.count = 1, .reusable = false}}, SHIFT(359), + [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359), + [776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [782] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [786] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [788] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [790] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [792] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), + [794] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [796] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [798] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [800] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [802] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [804] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2, 0, 0), SHIFT_REPEAT(283), + [807] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2, 0, 0), + [809] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [811] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [815] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [817] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), + [819] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [821] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [823] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), + [825] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [827] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [829] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [831] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [833] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [835] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [837] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [839] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [841] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [843] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), + [845] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [847] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [849] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [851] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [853] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [855] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [857] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [859] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [861] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [863] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), + [865] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [867] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [869] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_variable_definition, 5, 0, 20), + [871] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [873] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [875] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [877] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [879] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [881] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [883] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), + [885] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [887] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [889] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [891] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [893] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [895] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), + [897] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [899] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [901] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [903] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [905] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [907] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [909] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [911] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [913] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [915] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [917] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [919] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [921] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [923] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [925] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [927] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), + [929] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), + [931] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [933] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_with_action_repeat1, 1, 0, 10), + [935] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_with_action_repeat1, 1, 0, 10), + [937] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [939] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), + [941] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_action_repeat1, 1, 0, 10), + [943] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_action_repeat1, 1, 0, 10), + [945] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [947] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357), + [949] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), + [951] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [953] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [955] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [957] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [959] = {.entry = {.count = 1, .reusable = true}}, SHIFT(365), + [961] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [963] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364), +}; + +#ifdef __cplusplus +extern "C" { +#endif +#ifdef TREE_SITTER_HIDE_SYMBOLS +#define TS_PUBLIC +#elif defined(_WIN32) +#define TS_PUBLIC __declspec(dllexport) +#else +#define TS_PUBLIC __attribute__((visibility("default"))) +#endif + +TS_PUBLIC const TSLanguage *tree_sitter_helm(void) { + static const TSLanguage language = { + .abi_version = LANGUAGE_VERSION, + .symbol_count = SYMBOL_COUNT, + .alias_count = ALIAS_COUNT, + .token_count = TOKEN_COUNT, + .external_token_count = EXTERNAL_TOKEN_COUNT, + .state_count = STATE_COUNT, + .large_state_count = LARGE_STATE_COUNT, + .production_id_count = PRODUCTION_ID_COUNT, + .supertype_count = SUPERTYPE_COUNT, + .field_count = FIELD_COUNT, + .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH, + .parse_table = &ts_parse_table[0][0], + .small_parse_table = ts_small_parse_table, + .small_parse_table_map = ts_small_parse_table_map, + .parse_actions = ts_parse_actions, + .symbol_names = ts_symbol_names, + .field_names = ts_field_names, + .field_map_slices = ts_field_map_slices, + .field_map_entries = ts_field_map_entries, + .symbol_metadata = ts_symbol_metadata, + .public_symbol_map = ts_symbol_map, + .alias_map = ts_non_terminal_alias_map, + .alias_sequences = &ts_alias_sequences[0][0], + .lex_modes = (const void*)ts_lex_modes, + .lex_fn = ts_lex, + .primary_state_ids = ts_primary_state_ids, + .name = "helm", + .max_reserved_word_set_size = 0, + .metadata = { + .major_version = 0, + .minor_version = 0, + .patch_version = 0, + }, + }; + return &language; +} +#ifdef __cplusplus +} +#endif diff --git a/vendor/tree-sitter-helm/src/tree_sitter/alloc.h b/vendor/tree-sitter-helm/src/tree_sitter/alloc.h new file mode 100644 index 0000000..1abdd12 --- /dev/null +++ b/vendor/tree-sitter-helm/src/tree_sitter/alloc.h @@ -0,0 +1,54 @@ +#ifndef TREE_SITTER_ALLOC_H_ +#define TREE_SITTER_ALLOC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +// Allow clients to override allocation functions +#ifdef TREE_SITTER_REUSE_ALLOCATOR + +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 +#endif +#ifndef ts_calloc +#define ts_calloc ts_current_calloc +#endif +#ifndef ts_realloc +#define ts_realloc ts_current_realloc +#endif +#ifndef ts_free +#define ts_free ts_current_free +#endif + +#else + +#ifndef ts_malloc +#define ts_malloc malloc +#endif +#ifndef ts_calloc +#define ts_calloc calloc +#endif +#ifndef ts_realloc +#define ts_realloc realloc +#endif +#ifndef ts_free +#define ts_free free +#endif + +#endif + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_ALLOC_H_ diff --git a/vendor/tree-sitter-helm/src/tree_sitter/array.h b/vendor/tree-sitter-helm/src/tree_sitter/array.h new file mode 100644 index 0000000..a17a574 --- /dev/null +++ b/vendor/tree-sitter-helm/src/tree_sitter/array.h @@ -0,0 +1,291 @@ +#ifndef TREE_SITTER_ARRAY_H_ +#define TREE_SITTER_ARRAY_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "./alloc.h" + +#include +#include +#include +#include +#include + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4101) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-variable" +#endif + +#define Array(T) \ + struct { \ + T *contents; \ + uint32_t size; \ + uint32_t capacity; \ + } + +/// Initialize an array. +#define array_init(self) \ + ((self)->size = 0, (self)->capacity = 0, (self)->contents = NULL) + +/// Create an empty array. +#define array_new() \ + { NULL, 0, 0 } + +/// Get a pointer to the element at a given `index` in the array. +#define array_get(self, _index) \ + (assert((uint32_t)(_index) < (self)->size), &(self)->contents[_index]) + +/// Get a pointer to the first element in the array. +#define array_front(self) array_get(self, 0) + +/// Get a pointer to the last element in the array. +#define array_back(self) array_get(self, (self)->size - 1) + +/// Clear the array, setting its size to zero. Note that this does not free any +/// memory allocated for the array's contents. +#define array_clear(self) ((self)->size = 0) + +/// Reserve `new_capacity` elements of space in the array. If `new_capacity` is +/// less than the array's current capacity, this function has no effect. +#define array_reserve(self, new_capacity) \ + _array__reserve((Array *)(self), array_elem_size(self), new_capacity) + +/// Free any memory allocated for this array. Note that this does not free any +/// memory allocated for the array's contents. +#define array_delete(self) _array__delete((Array *)(self)) + +/// Push a new `element` onto the end of the array. +#define array_push(self, element) \ + (_array__grow((Array *)(self), 1, array_elem_size(self)), \ + (self)->contents[(self)->size++] = (element)) + +/// Increase the array's size by `count` elements. +/// New elements are zero-initialized. +#define array_grow_by(self, count) \ + do { \ + if ((count) == 0) break; \ + _array__grow((Array *)(self), count, array_elem_size(self)); \ + memset((self)->contents + (self)->size, 0, (count) * array_elem_size(self)); \ + (self)->size += (count); \ + } while (0) + +/// Append all elements from one array to the end of another. +#define array_push_all(self, other) \ + array_extend((self), (other)->size, (other)->contents) + +/// Append `count` elements to the end of the array, reading their values from the +/// `contents` pointer. +#define array_extend(self, count, contents) \ + _array__splice( \ + (Array *)(self), array_elem_size(self), (self)->size, \ + 0, count, contents \ + ) + +/// Remove `old_count` elements from the array starting at the given `index`. At +/// the same index, insert `new_count` new elements, reading their values from the +/// `new_contents` pointer. +#define array_splice(self, _index, old_count, new_count, new_contents) \ + _array__splice( \ + (Array *)(self), array_elem_size(self), _index, \ + old_count, new_count, new_contents \ + ) + +/// Insert one `element` into the array at the given `index`. +#define array_insert(self, _index, element) \ + _array__splice((Array *)(self), array_elem_size(self), _index, 0, 1, &(element)) + +/// Remove one element from the array at the given `index`. +#define array_erase(self, _index) \ + _array__erase((Array *)(self), array_elem_size(self), _index) + +/// Pop the last element off the array, returning the element by value. +#define array_pop(self) ((self)->contents[--(self)->size]) + +/// Assign the contents of one array to another, reallocating if necessary. +#define array_assign(self, other) \ + _array__assign((Array *)(self), (const Array *)(other), array_elem_size(self)) + +/// Swap one array with another +#define array_swap(self, other) \ + _array__swap((Array *)(self), (Array *)(other)) + +/// Get the size of the array contents +#define array_elem_size(self) (sizeof *(self)->contents) + +/// Search a sorted array for a given `needle` value, using the given `compare` +/// callback to determine the order. +/// +/// If an existing element is found to be equal to `needle`, then the `index` +/// out-parameter is set to the existing value's index, and the `exists` +/// out-parameter is set to true. Otherwise, `index` is set to an index where +/// `needle` should be inserted in order to preserve the sorting, and `exists` +/// is set to false. +#define array_search_sorted_with(self, compare, needle, _index, _exists) \ + _array__search_sorted(self, 0, compare, , needle, _index, _exists) + +/// Search a sorted array for a given `needle` value, using integer comparisons +/// of a given struct field (specified with a leading dot) to determine the order. +/// +/// See also `array_search_sorted_with`. +#define array_search_sorted_by(self, field, needle, _index, _exists) \ + _array__search_sorted(self, 0, _compare_int, field, needle, _index, _exists) + +/// Insert a given `value` into a sorted array, using the given `compare` +/// callback to determine the order. +#define array_insert_sorted_with(self, compare, value) \ + do { \ + unsigned _index, _exists; \ + array_search_sorted_with(self, compare, &(value), &_index, &_exists); \ + if (!_exists) array_insert(self, _index, value); \ + } while (0) + +/// Insert a given `value` into a sorted array, using integer comparisons of +/// a given struct field (specified with a leading dot) to determine the order. +/// +/// See also `array_search_sorted_by`. +#define array_insert_sorted_by(self, field, value) \ + do { \ + unsigned _index, _exists; \ + array_search_sorted_by(self, field, (value) field, &_index, &_exists); \ + if (!_exists) array_insert(self, _index, value); \ + } while (0) + +// Private + +typedef Array(void) Array; + +/// This is not what you're looking for, see `array_delete`. +static inline void _array__delete(Array *self) { + if (self->contents) { + ts_free(self->contents); + self->contents = NULL; + self->size = 0; + self->capacity = 0; + } +} + +/// This is not what you're looking for, see `array_erase`. +static inline void _array__erase(Array *self, size_t element_size, + uint32_t index) { + assert(index < self->size); + char *contents = (char *)self->contents; + memmove(contents + index * element_size, contents + (index + 1) * element_size, + (self->size - index - 1) * element_size); + self->size--; +} + +/// This is not what you're looking for, see `array_reserve`. +static inline void _array__reserve(Array *self, size_t element_size, uint32_t new_capacity) { + if (new_capacity > self->capacity) { + if (self->contents) { + self->contents = ts_realloc(self->contents, new_capacity * element_size); + } else { + self->contents = ts_malloc(new_capacity * element_size); + } + self->capacity = new_capacity; + } +} + +/// This is not what you're looking for, see `array_assign`. +static inline void _array__assign(Array *self, const Array *other, size_t element_size) { + _array__reserve(self, element_size, other->size); + self->size = other->size; + memcpy(self->contents, other->contents, self->size * element_size); +} + +/// This is not what you're looking for, see `array_swap`. +static inline void _array__swap(Array *self, Array *other) { + Array swap = *other; + *other = *self; + *self = swap; +} + +/// This is not what you're looking for, see `array_push` or `array_grow_by`. +static inline void _array__grow(Array *self, uint32_t count, size_t element_size) { + uint32_t new_size = self->size + count; + if (new_size > self->capacity) { + uint32_t new_capacity = self->capacity * 2; + if (new_capacity < 8) new_capacity = 8; + if (new_capacity < new_size) new_capacity = new_size; + _array__reserve(self, element_size, new_capacity); + } +} + +/// This is not what you're looking for, see `array_splice`. +static inline void _array__splice(Array *self, size_t element_size, + uint32_t index, uint32_t old_count, + uint32_t new_count, const void *elements) { + uint32_t new_size = self->size + new_count - old_count; + uint32_t old_end = index + old_count; + uint32_t new_end = index + new_count; + assert(old_end <= self->size); + + _array__reserve(self, element_size, new_size); + + char *contents = (char *)self->contents; + if (self->size > old_end) { + memmove( + contents + new_end * element_size, + contents + old_end * element_size, + (self->size - old_end) * element_size + ); + } + if (new_count > 0) { + if (elements) { + memcpy( + (contents + index * element_size), + elements, + new_count * element_size + ); + } else { + memset( + (contents + index * element_size), + 0, + new_count * element_size + ); + } + } + self->size += new_count - old_count; +} + +/// A binary search routine, based on Rust's `std::slice::binary_search_by`. +/// This is not what you're looking for, see `array_search_sorted_with` or `array_search_sorted_by`. +#define _array__search_sorted(self, start, compare, suffix, needle, _index, _exists) \ + do { \ + *(_index) = start; \ + *(_exists) = false; \ + uint32_t size = (self)->size - *(_index); \ + if (size == 0) break; \ + int comparison; \ + while (size > 1) { \ + uint32_t half_size = size / 2; \ + uint32_t mid_index = *(_index) + half_size; \ + comparison = compare(&((self)->contents[mid_index] suffix), (needle)); \ + if (comparison <= 0) *(_index) = mid_index; \ + size -= half_size; \ + } \ + comparison = compare(&((self)->contents[*(_index)] suffix), (needle)); \ + if (comparison == 0) *(_exists) = true; \ + else if (comparison < 0) *(_index) += 1; \ + } while (0) + +/// Helper macro for the `_sorted_by` routines below. This takes the left (existing) +/// parameter by reference in order to work with the generic sorting function above. +#define _compare_int(a, b) ((int)*(a) - (int)(b)) + +#ifdef _MSC_VER +#pragma warning(pop) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_ARRAY_H_ diff --git a/vendor/tree-sitter-helm/src/tree_sitter/parser.h b/vendor/tree-sitter-helm/src/tree_sitter/parser.h new file mode 100644 index 0000000..858107d --- /dev/null +++ b/vendor/tree-sitter-helm/src/tree_sitter/parser.h @@ -0,0 +1,286 @@ +#ifndef TREE_SITTER_PARSER_H_ +#define TREE_SITTER_PARSER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +#define ts_builtin_sym_error ((TSSymbol)-1) +#define ts_builtin_sym_end 0 +#define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024 + +#ifndef TREE_SITTER_API_H_ +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 { + TSFieldId field_id; + uint8_t child_index; + bool inherited; +} TSFieldMapEntry; + +// Used to index the field and supertype maps. +typedef struct { + uint16_t index; + uint16_t length; +} TSMapSlice; + +typedef struct { + bool visible; + bool named; + bool supertype; +} TSSymbolMetadata; + +typedef struct TSLexer TSLexer; + +struct TSLexer { + int32_t lookahead; + TSSymbol result_symbol; + void (*advance)(TSLexer *, bool); + void (*mark_end)(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 { + TSParseActionTypeShift, + TSParseActionTypeReduce, + TSParseActionTypeAccept, + TSParseActionTypeRecover, +} TSParseActionType; + +typedef union { + struct { + uint8_t type; + TSStateId state; + bool extra; + bool repetition; + } shift; + struct { + uint8_t type; + uint8_t child_count; + TSSymbol symbol; + int16_t dynamic_precedence; + uint16_t production_id; + } reduce; + uint8_t type; +} TSParseAction; + +typedef struct { + uint16_t lex_state; + 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 { + uint8_t count; + bool reusable; + } entry; +} TSParseActionEntry; + +typedef struct { + int32_t start; + int32_t end; +} TSCharacterRange; + +struct TSLanguage { + uint32_t abi_version; + uint32_t symbol_count; + uint32_t alias_count; + uint32_t token_count; + uint32_t external_token_count; + uint32_t state_count; + uint32_t large_state_count; + uint32_t production_id_count; + uint32_t field_count; + uint16_t max_alias_sequence_length; + const uint16_t *parse_table; + const uint16_t *small_parse_table; + const uint32_t *small_parse_table_map; + const TSParseActionEntry *parse_actions; + const char * const *symbol_names; + const char * const *field_names; + 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 TSLexerMode *lex_modes; + bool (*lex_fn)(TSLexer *, TSStateId); + bool (*keyword_lex_fn)(TSLexer *, TSStateId); + TSSymbol keyword_capture_token; + struct { + const bool *states; + const TSSymbol *symbol_map; + void *(*create)(void); + void (*destroy)(void *); + bool (*scan)(void *, TSLexer *, const bool *symbol_whitelist); + unsigned (*serialize)(void *, char *); + 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(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; + const TSCharacterRange *range = &ranges[mid_index]; + if (lookahead >= range->start && lookahead <= range->end) { + return true; + } else if (lookahead > range->end) { + index = mid_index; + } + size -= half_size; + } + const TSCharacterRange *range = &ranges[index]; + return (lookahead >= range->start && lookahead <= range->end); +} + +/* + * Lexer Macros + */ + +#ifdef _MSC_VER +#define UNUSED __pragma(warning(suppress : 4101)) +#else +#define UNUSED __attribute__((unused)) +#endif + +#define START_LEXER() \ + bool result = false; \ + bool skip = false; \ + UNUSED \ + bool eof = false; \ + int32_t lookahead; \ + goto start; \ + next_state: \ + lexer->advance(lexer, skip); \ + start: \ + skip = false; \ + lookahead = lexer->lookahead; + +#define ADVANCE(state_value) \ + { \ + state = state_value; \ + goto next_state; \ + } + +#define ADVANCE_MAP(...) \ + { \ + static const uint16_t map[] = { __VA_ARGS__ }; \ + for (uint32_t i = 0; i < sizeof(map) / sizeof(map[0]); i += 2) { \ + if (map[i] == lookahead) { \ + state = map[i + 1]; \ + goto next_state; \ + } \ + } \ + } + +#define SKIP(state_value) \ + { \ + skip = true; \ + state = state_value; \ + goto next_state; \ + } + +#define ACCEPT_TOKEN(symbol_value) \ + result = true; \ + lexer->result_symbol = symbol_value; \ + lexer->mark_end(lexer); + +#define END_STATE() return result; + +/* + * Parse Table Macros + */ + +#define SMALL_STATE(id) ((id) - LARGE_STATE_COUNT) + +#define STATE(id) id + +#define ACTIONS(id) id + +#define SHIFT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value) \ + } \ + }} + +#define SHIFT_REPEAT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value), \ + .repetition = true \ + } \ + }} + +#define SHIFT_EXTRA() \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .extra = true \ + } \ + }} + +#define REDUCE(symbol_name, children, precedence, prod_id) \ + {{ \ + .reduce = { \ + .type = TSParseActionTypeReduce, \ + .symbol = symbol_name, \ + .child_count = children, \ + .dynamic_precedence = precedence, \ + .production_id = prod_id \ + }, \ + }} + +#define RECOVER() \ + {{ \ + .type = TSParseActionTypeRecover \ + }} + +#define ACCEPT_INPUT() \ + {{ \ + .type = TSParseActionTypeAccept \ + }} + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_PARSER_H_ diff --git a/vendor/tree-sitter-helm/tree-sitter.json b/vendor/tree-sitter-helm/tree-sitter.json new file mode 100644 index 0000000..b1e250a --- /dev/null +++ b/vendor/tree-sitter-helm/tree-sitter.json @@ -0,0 +1,16 @@ +{ + "grammars": [ + { + "name": "helm", + "camelcase": "Helm", + "scope": "source.helm", + "path": ".", + "file-types": ["helm", "tpl", "gotmpl", "yaml", "yml"] + } + ], + "metadata": { + "version": "0.0.0", + "license": "MIT", + "description": "Helm dialect of tree-sitter-go-template with rest-of-line empty-brace tokens" + } +}