From 1bf9daef4692981dade4f8500243c66d79ed4a93 Mon Sep 17 00:00:00 2001 From: tvrinssen <125135743+tvrinssen@users.noreply.github.com> Date: Fri, 19 Apr 2024 22:08:28 +0200 Subject: [PATCH] Support heredocs (#45) This adds support for heredocs in Dockerfiles. This required adding an external scanner to store the required state. Co-authored-by: Camden Cheek --- .clang-format | 1 + .editorconfig | 38 + .gitattributes | 11 + Package.swift | 1 + binding.gyp | 23 +- bindings/c/tree-sitter-dockerfile.pc.in | 11 + bindings/go/binding.go | 13 + bindings/go/binding_test.go | 15 + bindings/go/go.mod | 5 + bindings/node/binding.cc | 36 +- bindings/node/index.d.ts | 28 + bindings/node/index.js | 18 +- .../python/tree_sitter_dockerfile/__init__.py | 5 + .../tree_sitter_dockerfile/__init__.pyi | 1 + .../python/tree_sitter_dockerfile/binding.c | 27 + .../python/tree_sitter_dockerfile/py.typed | 0 bindings/rust/build.rs | 5 +- grammar.js | 58 +- package.json | 27 +- pnpm-lock.yaml | 27 + pyproject.toml | 29 + queries/highlights.scm | 9 +- setup.py | 60 + src/grammar.json | 197 +- src/node-types.json | 63 +- src/parser.c | 12669 +++++++++------- src/scanner.c | 318 + src/tree_sitter/alloc.h | 54 + src/tree_sitter/array.h | 290 + src/tree_sitter/parser.h | 67 +- {corpus => test/corpus}/add.txt | 0 {corpus => test/corpus}/arg.txt | 0 {corpus => test/corpus}/cmd.txt | 0 {corpus => test/corpus}/combo.txt | 0 {corpus => test/corpus}/comment.txt | 0 {corpus => test/corpus}/copy.txt | 0 {corpus => test/corpus}/cross_build.txt | 0 {corpus => test/corpus}/entrypoint.txt | 0 {corpus => test/corpus}/env.txt | 0 {corpus => test/corpus}/expose.txt | 0 {corpus => test/corpus}/from.txt | 0 {corpus => test/corpus}/healthcheck.txt | 0 test/corpus/heredoc.txt | 435 + {corpus => test/corpus}/label.txt | 0 {corpus => test/corpus}/maintainer.txt | 0 {corpus => test/corpus}/onbuild.txt | 0 {corpus => test/corpus}/run.txt | 43 +- {corpus => test/corpus}/shell_instruction.txt | 0 {corpus => test/corpus}/stopsignal.txt | 0 {corpus => test/corpus}/strings.txt | 0 {corpus => test/corpus}/user.txt | 0 {corpus => test/corpus}/vars.txt | 0 {corpus => test/corpus}/volume.txt | 0 {corpus => test/corpus}/workdir.txt | 0 54 files changed, 8686 insertions(+), 5898 deletions(-) create mode 100644 .clang-format create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 bindings/c/tree-sitter-dockerfile.pc.in create mode 100644 bindings/go/binding.go create mode 100644 bindings/go/binding_test.go create mode 100644 bindings/go/go.mod create mode 100644 bindings/node/index.d.ts create mode 100644 bindings/python/tree_sitter_dockerfile/__init__.py create mode 100644 bindings/python/tree_sitter_dockerfile/__init__.pyi create mode 100644 bindings/python/tree_sitter_dockerfile/binding.c create mode 100644 bindings/python/tree_sitter_dockerfile/py.typed create mode 100644 pnpm-lock.yaml create mode 100644 pyproject.toml create mode 100644 setup.py create mode 100644 src/scanner.c create mode 100644 src/tree_sitter/alloc.h create mode 100644 src/tree_sitter/array.h rename {corpus => test/corpus}/add.txt (100%) rename {corpus => test/corpus}/arg.txt (100%) rename {corpus => test/corpus}/cmd.txt (100%) rename {corpus => test/corpus}/combo.txt (100%) rename {corpus => test/corpus}/comment.txt (100%) rename {corpus => test/corpus}/copy.txt (100%) rename {corpus => test/corpus}/cross_build.txt (100%) rename {corpus => test/corpus}/entrypoint.txt (100%) rename {corpus => test/corpus}/env.txt (100%) rename {corpus => test/corpus}/expose.txt (100%) rename {corpus => test/corpus}/from.txt (100%) rename {corpus => test/corpus}/healthcheck.txt (100%) create mode 100644 test/corpus/heredoc.txt rename {corpus => test/corpus}/label.txt (100%) rename {corpus => test/corpus}/maintainer.txt (100%) rename {corpus => test/corpus}/onbuild.txt (100%) rename {corpus => test/corpus}/run.txt (63%) rename {corpus => test/corpus}/shell_instruction.txt (100%) rename {corpus => test/corpus}/stopsignal.txt (100%) rename {corpus => test/corpus}/strings.txt (100%) rename {corpus => test/corpus}/user.txt (100%) rename {corpus => test/corpus}/vars.txt (100%) rename {corpus => test/corpus}/volume.txt (100%) rename {corpus => test/corpus}/workdir.txt (100%) diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..39f9642 --- /dev/null +++ b/.clang-format @@ -0,0 +1 @@ +IndentWidth: 4 diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7a82b46 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,38 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true + +[*.{json,toml,yml,gyp}] +indent_style = space +indent_size = 2 + +[*.js] +indent_style = space +indent_size = 2 + +[*.rs] +indent_style = space +indent_size = 4 + +[*.{c,cc,h}] +indent_style = space +indent_size = 4 + +[*.{py,pyi}] +indent_style = space +indent_size = 4 + +[*.swift] +indent_style = space +indent_size = 4 + +[*.go] +indent_style = tab +indent_size = 8 + +[Makefile] +indent_style = tab +indent_size = 8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ffb52ab --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +* text eol=lf + +src/*.json linguist-generated +src/parser.c linguist-generated +src/tree_sitter/* linguist-generated + +bindings/** linguist-generated +binding.gyp linguist-generated +setup.py linguist-generated +Makefile linguist-generated +Package.swift linguist-generated diff --git a/Package.swift b/Package.swift index 167205b..39ee5c3 100644 --- a/Package.swift +++ b/Package.swift @@ -28,6 +28,7 @@ let package = Package( ], sources: [ "src/parser.c", + "src/scanner.c", ], resources: [ .copy("queries") diff --git a/binding.gyp b/binding.gyp index 6effa95..d128d13 100644 --- a/binding.gyp +++ b/binding.gyp @@ -2,18 +2,29 @@ "targets": [ { "target_name": "tree_sitter_dockerfile_binding", + "dependencies": [ + " -#include "nan.h" +#include -using namespace v8; +typedef struct TSLanguage TSLanguage; -extern "C" TSLanguage * tree_sitter_dockerfile(); +extern "C" TSLanguage *tree_sitter_dockerfile(); -namespace { +// "tree-sitter", "language" hashed with BLAKE2 +const napi_type_tag LANGUAGE_TYPE_TAG = { + 0x8AF2E5212AD58ABF, 0xD5006CAD83ABBA16 +}; -NAN_METHOD(New) {} - -void Init(Local exports, Local module) { - Local tpl = Nan::New(New); - tpl->SetClassName(Nan::New("Language").ToLocalChecked()); - tpl->InstanceTemplate()->SetInternalFieldCount(1); - - Local constructor = Nan::GetFunction(tpl).ToLocalChecked(); - Local instance = constructor->NewInstance(Nan::GetCurrentContext()).ToLocalChecked(); - Nan::SetInternalFieldPointer(instance, 0, tree_sitter_dockerfile()); - - Nan::Set(instance, Nan::New("name").ToLocalChecked(), Nan::New("dockerfile").ToLocalChecked()); - Nan::Set(module, Nan::New("exports").ToLocalChecked(), instance); +Napi::Object Init(Napi::Env env, Napi::Object exports) { + exports["name"] = Napi::String::New(env, "dockerfile"); + auto language = Napi::External::New(env, tree_sitter_dockerfile()); + language.TypeTag(&LANGUAGE_TYPE_TAG); + exports["language"] = language; + return exports; } -NODE_MODULE(tree_sitter_dockerfile_binding, Init) - -} // namespace +NODE_API_MODULE(tree_sitter_dockerfile_binding, Init) diff --git a/bindings/node/index.d.ts b/bindings/node/index.d.ts new file mode 100644 index 0000000..efe259e --- /dev/null +++ b/bindings/node/index.d.ts @@ -0,0 +1,28 @@ +type BaseNode = { + type: string; + named: boolean; +}; + +type ChildNode = { + multiple: boolean; + required: boolean; + types: BaseNode[]; +}; + +type NodeInfo = + | (BaseNode & { + subtypes: BaseNode[]; + }) + | (BaseNode & { + fields: { [name: string]: ChildNode }; + children: ChildNode[]; + }); + +type Language = { + name: string; + language: unknown; + nodeTypeInfo: NodeInfo[]; +}; + +declare const language: Language; +export = language; diff --git a/bindings/node/index.js b/bindings/node/index.js index 568d7e8..6657bcf 100644 --- a/bindings/node/index.js +++ b/bindings/node/index.js @@ -1,18 +1,6 @@ -try { - module.exports = require("../../build/Release/tree_sitter_dockerfile_binding"); -} catch (error1) { - if (error1.code !== 'MODULE_NOT_FOUND') { - throw error1; - } - try { - module.exports = require("../../build/Debug/tree_sitter_dockerfile_binding"); - } catch (error2) { - if (error2.code !== 'MODULE_NOT_FOUND') { - throw error2; - } - throw error1 - } -} +const root = require("path").join(__dirname, "..", ".."); + +module.exports = require("node-gyp-build")(root); try { module.exports.nodeTypeInfo = require("../../src/node-types.json"); diff --git a/bindings/python/tree_sitter_dockerfile/__init__.py b/bindings/python/tree_sitter_dockerfile/__init__.py new file mode 100644 index 0000000..602718e --- /dev/null +++ b/bindings/python/tree_sitter_dockerfile/__init__.py @@ -0,0 +1,5 @@ +"Dockerfile grammar for tree-sitter" + +from ._binding import language + +__all__ = ["language"] diff --git a/bindings/python/tree_sitter_dockerfile/__init__.pyi b/bindings/python/tree_sitter_dockerfile/__init__.pyi new file mode 100644 index 0000000..5416666 --- /dev/null +++ b/bindings/python/tree_sitter_dockerfile/__init__.pyi @@ -0,0 +1 @@ +def language() -> int: ... diff --git a/bindings/python/tree_sitter_dockerfile/binding.c b/bindings/python/tree_sitter_dockerfile/binding.c new file mode 100644 index 0000000..53ac4e1 --- /dev/null +++ b/bindings/python/tree_sitter_dockerfile/binding.c @@ -0,0 +1,27 @@ +#include + +typedef struct TSLanguage TSLanguage; + +TSLanguage *tree_sitter_dockerfile(void); + +static PyObject* _binding_language(PyObject *self, PyObject *args) { + return PyLong_FromVoidPtr(tree_sitter_dockerfile()); +} + +static PyMethodDef methods[] = { + {"language", _binding_language, METH_NOARGS, + "Get the tree-sitter language for this grammar."}, + {NULL, NULL, 0, NULL} +}; + +static struct PyModuleDef module = { + .m_base = PyModuleDef_HEAD_INIT, + .m_name = "_binding", + .m_doc = NULL, + .m_size = -1, + .m_methods = methods +}; + +PyMODINIT_FUNC PyInit__binding(void) { + return PyModule_Create(&module); +} diff --git a/bindings/python/tree_sitter_dockerfile/py.typed b/bindings/python/tree_sitter_dockerfile/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs index c6061f0..5449d52 100644 --- a/bindings/rust/build.rs +++ b/bindings/rust/build.rs @@ -7,17 +7,18 @@ fn main() { .flag_if_supported("-Wno-unused-parameter") .flag_if_supported("-Wno-unused-but-set-variable") .flag_if_supported("-Wno-trigraphs"); + #[cfg(target_env = "msvc")] + c_config.flag("-utf-8"); + let parser_path = src_dir.join("parser.c"); c_config.file(&parser_path); // If your language uses an external scanner written in C, // then include this block of code: - /* let scanner_path = src_dir.join("scanner.c"); c_config.file(&scanner_path); println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap()); - */ c_config.compile("parser"); println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap()); diff --git a/grammar.js b/grammar.js index a3449e8..3363495 100644 --- a/grammar.js +++ b/grammar.js @@ -2,6 +2,13 @@ module.exports = grammar({ name: "dockerfile", extras: ($) => [/\s+/, $.line_continuation], + externals: ($) => [ + $.heredoc_marker, + $.heredoc_line, + $.heredoc_end, + $.heredoc_nl, + $.error_sentinel, + ], rules: { source_file: ($) => repeat(seq(choice($._instruction, $.comment), "\n")), @@ -26,7 +33,7 @@ module.exports = grammar({ $.healthcheck_instruction, $.shell_instruction, $.maintainer_instruction, - $.cross_build_instruction + $.cross_build_instruction, ), from_instruction: ($) => @@ -46,7 +53,8 @@ module.exports = grammar({ $.mount_param ) ), - choice($.json_string_array, $.shell_command) + choice($.json_string_array, $.shell_command), + repeat($.heredoc_block) ), cmd_instruction: ($) => @@ -75,9 +83,10 @@ module.exports = grammar({ alias(/[aA][dD][dD]/, "ADD"), repeat($.param), repeat1( - seq($.path, $._non_newline_whitespace) + seq(alias($.path_with_heredoc, $.path), $._non_newline_whitespace) ), - $.path + alias($.path_with_heredoc, $.path), + repeat($.heredoc_block) ), copy_instruction: ($) => @@ -85,9 +94,10 @@ module.exports = grammar({ alias(/[cC][oO][pP][yY]/, "COPY"), repeat($.param), repeat1( - seq($.path, $._non_newline_whitespace) + seq(alias($.path_with_heredoc, $.path), $._non_newline_whitespace) ), - $.path + alias($.path_with_heredoc, $.path), + repeat($.heredoc_block) ), entrypoint_instruction: ($) => @@ -193,15 +203,41 @@ module.exports = grammar({ /.*/ ), + heredoc_block: ($) => + seq( + // A heredoc block starts with a line break after the instruction it + // belongs to. The herdoc_nl token is a special token that only matches + // \n if there's at least one open heredoc to avoid conflicts. + // We also alias this token to hide it from the output like all other + // whitespace. + alias($.heredoc_nl, "_heredoc_nl"), + repeat(seq($.heredoc_line, "\n")), + $.heredoc_end + ), + path: ($) => seq( choice( - /[^-\s\$]/, // cannot start with a '-' to avoid conflicts with params + /[^-\s\$<]/, // cannot start with a '-' to avoid conflicts with params + /<[^<]/, // cannot start with a '<<' to avoid conflicts with heredocs (a single < is fine, though) $.expansion ), repeat(choice(token.immediate(/[^\s\$]+/), $._immediate_expansion)) ), + path_with_heredoc: ($) => + choice( + $.heredoc_marker, + seq( + choice( + /[^-\s\$<]/, // cannot start with a '-' to avoid conflicts with params + /<[^-\s\$<]/, + $.expansion + ), + repeat(choice(token.immediate(/[^\s\$]+/), $._immediate_expansion)) + ) + ), + expansion: $ => seq("$", $._expansion_body), @@ -361,9 +397,11 @@ module.exports = grammar({ // |--------param-------| // |--shell_command--| // + seq($.heredoc_marker, /[ \t]*/), /[,=-]/, - /[^\\\[\n#\s,=-][^\\\n]*/, - /\\[^\n,=-]/ + /[^\\\[\n#\s,=-][^\\\n<]*/, + /\\[^\n,=-]/, + /<[^<]/, ) ), @@ -452,7 +490,7 @@ module.exports = grammar({ ) ), - _non_newline_whitespace: ($) => /[\t ]+/, + _non_newline_whitespace: ($) => token.immediate(/[\t ]+/), comment: ($) => /#.*/, }, diff --git a/package.json b/package.json index 3288466..fd60a76 100644 --- a/package.json +++ b/package.json @@ -3,16 +3,29 @@ "version": "0.1.0", "description": "A tree-sitter module for the Dockerfile grammar", "main": "bindings/node", + "types": "bindings/node", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "install": "node-gyp-build", + "prebuildify": "prebuildify --napi --strip" }, "author": "Camden Cheek ", "license": "ISC", "dependencies": { - "nan": "^2.14.2" + "node-addon-api": "^7.1.0", + "node-gyp-build": "^4.8.0" + }, + "peerDependencies": { + "tree-sitter": "^0.21.0" + }, + "peerDependenciesMeta": { + "tree_sitter": { + "optional": true + } }, "devDependencies": { - "tree-sitter-cli": "^0.20.8" + "tree-sitter-cli": "^0.20.8", + "prebuildify": "^6.0.0" }, "tree-sitter": [ { @@ -27,5 +40,13 @@ "queries/highlights.scm" ] } + ], + "files": [ + "grammar.js", + "binding.gyp", + "prebuilds/**", + "bindings/node/*", + "queries/*", + "src/**" ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..bd100d2 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,27 @@ +lockfileVersion: '6.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +dependencies: + nan: + specifier: ^2.14.2 + version: 2.18.0 + +devDependencies: + tree-sitter-cli: + specifier: ^0.20.1 + version: 0.20.8 + +packages: + + /nan@2.18.0: + resolution: {integrity: sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==} + dev: false + + /tree-sitter-cli@0.20.8: + resolution: {integrity: sha512-XjTcS3wdTy/2cc/ptMLc/WRyOLECRYcMTrSWyhZnj1oGSOWbHLTklgsgRICU3cPfb0vy+oZCC33M43u6R1HSCA==} + hasBin: true + requiresBuild: true + dev: true diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b0eaaf2 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "tree-sitter-dockerfile" +description = "Dockerfile grammar for tree-sitter" +version = "0.1.0" +keywords = ["incremental", "parsing", "tree-sitter", "dockerfile"] +classifiers = [ + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Topic :: Software Development :: Compilers", + "Topic :: Text Processing :: Linguistic", + "Typing :: Typed" +] +requires-python = ">=3.8" +license.text = "MIT" +readme = "README.md" + +[project.urls] +Homepage = "https://github.com/camdencheek/tree-sitter-dockerfile" + +[project.optional-dependencies] +core = ["tree-sitter~=0.21"] + +[tool.cibuildwheel] +build = "cp38-*" +build-frontend = "build" diff --git a/queries/highlights.scm b/queries/highlights.scm index 7c1bfde..a5d6514 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -19,6 +19,8 @@ "SHELL" "MAINTAINER" "CROSS_BUILD" + (heredoc_marker) + (heredoc_end) ] @keyword [ @@ -36,9 +38,10 @@ "@" @punctuation.special)) [ - (double_quoted_string) - (single_quoted_string) - (json_string) + (double_quoted_string) + (single_quoted_string) + (json_string) + (heredoc_line) ] @string (expansion diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d2e283d --- /dev/null +++ b/setup.py @@ -0,0 +1,60 @@ +from os.path import isdir, join +from platform import system + +from setuptools import Extension, find_packages, setup +from setuptools.command.build import build +from wheel.bdist_wheel import bdist_wheel + + +class Build(build): + def run(self): + if isdir("queries"): + dest = join(self.build_lib, "tree_sitter_dockerfile", "queries") + self.copy_tree("queries", dest) + super().run() + + +class BdistWheel(bdist_wheel): + def get_tag(self): + python, abi, platform = super().get_tag() + if python.startswith("cp"): + python, abi = "cp38", "abi3" + return python, abi, platform + + +setup( + packages=find_packages("bindings/python"), + package_dir={"": "bindings/python"}, + package_data={ + "tree_sitter_dockerfile": ["*.pyi", "py.typed"], + "tree_sitter_dockerfile.queries": ["*.scm"], + }, + ext_package="tree_sitter_dockerfile", + ext_modules=[ + Extension( + name="_binding", + sources=[ + "bindings/python/tree_sitter_dockerfile/binding.c", + "src/parser.c", + "src/scanner.c", + ], + extra_compile_args=[ + "-std=c11", + ] if system() != "Windows" else [ + "/std:c11", + "/utf-8", + ], + define_macros=[ + ("Py_LIMITED_API", "0x03080000"), + ("PY_SSIZE_T_CLEAN", None) + ], + include_dirs=["src"], + py_limited_api=True, + ) + ], + cmdclass={ + "build": Build, + "bdist_wheel": BdistWheel + }, + zip_safe=False +) diff --git a/src/grammar.json b/src/grammar.json index 04ff8e8..e9b78c2 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -207,6 +207,13 @@ "name": "shell_command" } ] + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "heredoc_block" + } } ] }, @@ -348,8 +355,13 @@ "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "path" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "path_with_heredoc" + }, + "named": true, + "value": "path" }, { "type": "SYMBOL", @@ -359,8 +371,20 @@ } }, { - "type": "SYMBOL", - "name": "path" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "path_with_heredoc" + }, + "named": true, + "value": "path" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "heredoc_block" + } } ] }, @@ -389,8 +413,13 @@ "type": "SEQ", "members": [ { - "type": "SYMBOL", - "name": "path" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "path_with_heredoc" + }, + "named": true, + "value": "path" }, { "type": "SYMBOL", @@ -400,8 +429,20 @@ } }, { - "type": "SYMBOL", - "name": "path" + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "path_with_heredoc" + }, + "named": true, + "value": "path" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "heredoc_block" + } } ] }, @@ -840,6 +881,40 @@ } ] }, + "heredoc_block": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "heredoc_nl" + }, + "named": false, + "value": "_heredoc_nl" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "heredoc_line" + }, + { + "type": "STRING", + "value": "\n" + } + ] + } + }, + { + "type": "SYMBOL", + "name": "heredoc_end" + } + ] + }, "path": { "type": "SEQ", "members": [ @@ -848,7 +923,11 @@ "members": [ { "type": "PATTERN", - "value": "[^-\\s\\$]" + "value": "[^-\\s\\$<]" + }, + { + "type": "PATTERN", + "value": "<[^<]" }, { "type": "SYMBOL", @@ -877,6 +956,56 @@ } ] }, + "path_with_heredoc": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "heredoc_marker" + }, + { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[^-\\s\\$<]" + }, + { + "type": "PATTERN", + "value": "<[^-\\s\\$<]" + }, + { + "type": "SYMBOL", + "name": "expansion" + } + ] + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "PATTERN", + "value": "[^\\s\\$]+" + } + }, + { + "type": "SYMBOL", + "name": "_immediate_expansion" + } + ] + } + } + ] + } + ] + }, "expansion": { "type": "SEQ", "members": [ @@ -1508,17 +1637,34 @@ "content": { "type": "CHOICE", "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "heredoc_marker" + }, + { + "type": "PATTERN", + "value": "[ \\t]*" + } + ] + }, { "type": "PATTERN", "value": "[,=-]" }, { "type": "PATTERN", - "value": "[^\\\\\\[\\n#\\s,=-][^\\\\\\n]*" + "value": "[^\\\\\\[\\n#\\s,=-][^\\\\\\n<]*" }, { "type": "PATTERN", "value": "\\\\[^\\n,=-]" + }, + { + "type": "PATTERN", + "value": "<[^<]" } ] } @@ -1797,8 +1943,11 @@ } }, "_non_newline_whitespace": { - "type": "PATTERN", - "value": "[\\t ]+" + "type": "IMMEDIATE_TOKEN", + "content": { + "type": "PATTERN", + "value": "[\\t ]+" + } }, "comment": { "type": "PATTERN", @@ -1817,8 +1966,28 @@ ], "conflicts": [], "precedences": [], - "externals": [], + "externals": [ + { + "type": "SYMBOL", + "name": "heredoc_marker" + }, + { + "type": "SYMBOL", + "name": "heredoc_line" + }, + { + "type": "SYMBOL", + "name": "heredoc_end" + }, + { + "type": "SYMBOL", + "name": "heredoc_nl" + }, + { + "type": "SYMBOL", + "name": "error_sentinel" + } + ], "inline": [], "supertypes": [] } - diff --git a/src/node-types.json b/src/node-types.json index b07eb89..f52250c 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -7,6 +7,10 @@ "multiple": true, "required": true, "types": [ + { + "type": "heredoc_block", + "named": true + }, { "type": "param", "named": true @@ -84,6 +88,10 @@ "multiple": true, "required": true, "types": [ + { + "type": "heredoc_block", + "named": true + }, { "type": "param", "named": true @@ -275,6 +283,25 @@ ] } }, + { + "type": "heredoc_block", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "heredoc_end", + "named": true + }, + { + "type": "heredoc_line", + "named": true + } + ] + } + }, { "type": "image_alias", "named": true, @@ -606,6 +633,10 @@ { "type": "expansion", "named": true + }, + { + "type": "heredoc_marker", + "named": true } ] } @@ -618,6 +649,10 @@ "multiple": true, "required": true, "types": [ + { + "type": "heredoc_block", + "named": true + }, { "type": "json_string_array", "named": true @@ -663,7 +698,17 @@ { "type": "shell_fragment", "named": true, - "fields": {} + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "heredoc_marker", + "named": true + } + ] + } }, { "type": "shell_instruction", @@ -1028,10 +1073,26 @@ "type": "]", "named": false }, + { + "type": "_heredoc_nl", + "named": false + }, { "type": "escape_sequence", "named": true }, + { + "type": "heredoc_end", + "named": true + }, + { + "type": "heredoc_line", + "named": true + }, + { + "type": "heredoc_marker", + "named": true + }, { "type": "mount", "named": false diff --git a/src/parser.c b/src/parser.c index 4a7536a..aae537b 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1,22 +1,21 @@ -#include +#include "tree_sitter/parser.h" #if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 344 +#define STATE_COUNT 396 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 157 +#define SYMBOL_COUNT 169 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 79 -#define EXTERNAL_TOKEN_COUNT 0 +#define TOKEN_COUNT 87 +#define EXTERNAL_TOKEN_COUNT 5 #define FIELD_COUNT 9 #define MAX_ALIAS_SEQUENCE_LENGTH 5 #define PRODUCTION_ID_COUNT 16 -enum { +enum ts_symbol_identifiers { anon_sym_LF = 1, aux_sym_from_instruction_token1 = 2, aux_sym_from_instruction_token2 = 3, @@ -49,130 +48,142 @@ enum { aux_sym_cross_build_instruction_token1 = 30, aux_sym_path_token1 = 31, aux_sym_path_token2 = 32, - anon_sym_DOLLAR = 33, - anon_sym_DOLLAR2 = 34, - anon_sym_LBRACE = 35, - aux_sym__expansion_body_token1 = 36, - anon_sym_RBRACE = 37, - sym_variable = 38, - aux_sym__spaced_env_pair_token1 = 39, - aux_sym__env_key_token1 = 40, - aux_sym_expose_port_token1 = 41, - anon_sym_SLASHtcp = 42, - anon_sym_SLASHudp = 43, - aux_sym_label_pair_token1 = 44, - aux_sym_image_name_token1 = 45, - aux_sym_image_name_token2 = 46, - aux_sym_image_tag_token1 = 47, - anon_sym_AT = 48, - aux_sym_image_digest_token1 = 49, - anon_sym_DASH_DASH = 50, - aux_sym_param_token1 = 51, - aux_sym_param_token2 = 52, - anon_sym_mount = 53, - anon_sym_COMMA = 54, - aux_sym_mount_param_param_token1 = 55, - aux_sym_image_alias_token1 = 56, - aux_sym_image_alias_token2 = 57, - aux_sym_shell_fragment_token1 = 58, - aux_sym_shell_fragment_token2 = 59, - aux_sym_shell_fragment_token3 = 60, - anon_sym_BSLASH_LF = 61, - anon_sym_POUND = 62, - anon_sym_LBRACK = 63, - anon_sym_COMMA2 = 64, - anon_sym_RBRACK = 65, - anon_sym_DQUOTE = 66, - aux_sym_json_string_token1 = 67, - sym_json_escape_sequence = 68, - aux_sym_double_quoted_string_token1 = 69, - anon_sym_BSLASH = 70, - anon_sym_SQUOTE = 71, - aux_sym_single_quoted_string_token1 = 72, - aux_sym_unquoted_string_token1 = 73, - anon_sym_BSLASH2 = 74, - sym_double_quoted_escape_sequence = 75, - sym_single_quoted_escape_sequence = 76, - sym__non_newline_whitespace = 77, - sym_comment = 78, - sym_source_file = 79, - sym__instruction = 80, - sym_from_instruction = 81, - sym_run_instruction = 82, - sym_cmd_instruction = 83, - sym_label_instruction = 84, - sym_expose_instruction = 85, - sym_env_instruction = 86, - sym_add_instruction = 87, - sym_copy_instruction = 88, - sym_entrypoint_instruction = 89, - sym_volume_instruction = 90, - sym_user_instruction = 91, - sym__user_name_or_group = 92, - aux_sym__immediate_user_name_or_group = 93, - sym__immediate_user_name_or_group_fragment = 94, - sym_workdir_instruction = 95, - sym_arg_instruction = 96, - sym_onbuild_instruction = 97, - sym_stopsignal_instruction = 98, - sym__stopsignal_value = 99, - sym_healthcheck_instruction = 100, - sym_shell_instruction = 101, - sym_maintainer_instruction = 102, - sym_cross_build_instruction = 103, - sym_path = 104, - sym_expansion = 105, - sym__immediate_expansion = 106, - sym__imm_expansion = 107, - sym__expansion_body = 108, - sym_env_pair = 109, - sym__spaced_env_pair = 110, - sym__env_key = 111, - sym_expose_port = 112, - sym_label_pair = 113, - sym_image_spec = 114, - sym_image_name = 115, - sym_image_tag = 116, - sym_image_digest = 117, - sym_param = 118, - sym_mount_param = 119, - sym_mount_param_param = 120, - sym_image_alias = 121, - sym_shell_command = 122, - sym_shell_fragment = 123, - sym_line_continuation = 124, - sym_required_line_continuation = 125, - sym__comment_line = 126, - sym__anon_comment = 127, - sym_json_string_array = 128, - sym_json_string = 129, - sym_double_quoted_string = 130, - sym_single_quoted_string = 131, - sym_unquoted_string = 132, - aux_sym_source_file_repeat1 = 133, - aux_sym_run_instruction_repeat1 = 134, - aux_sym_label_instruction_repeat1 = 135, - aux_sym_expose_instruction_repeat1 = 136, - aux_sym_env_instruction_repeat1 = 137, - aux_sym_add_instruction_repeat1 = 138, - aux_sym_add_instruction_repeat2 = 139, - aux_sym_volume_instruction_repeat1 = 140, - aux_sym__user_name_or_group_repeat1 = 141, - aux_sym__stopsignal_value_repeat1 = 142, - aux_sym_path_repeat1 = 143, - aux_sym_image_name_repeat1 = 144, - aux_sym_image_tag_repeat1 = 145, - aux_sym_image_digest_repeat1 = 146, - aux_sym_mount_param_repeat1 = 147, - aux_sym_image_alias_repeat1 = 148, - aux_sym_shell_command_repeat1 = 149, - aux_sym_shell_command_repeat2 = 150, - aux_sym_shell_fragment_repeat1 = 151, - aux_sym_json_string_array_repeat1 = 152, - aux_sym_json_string_repeat1 = 153, - aux_sym_double_quoted_string_repeat1 = 154, - aux_sym_single_quoted_string_repeat1 = 155, - aux_sym_unquoted_string_repeat1 = 156, + aux_sym_path_token3 = 33, + aux_sym_path_with_heredoc_token1 = 34, + anon_sym_DOLLAR = 35, + anon_sym_DOLLAR2 = 36, + anon_sym_LBRACE = 37, + aux_sym__expansion_body_token1 = 38, + anon_sym_RBRACE = 39, + sym_variable = 40, + aux_sym__spaced_env_pair_token1 = 41, + aux_sym__env_key_token1 = 42, + aux_sym_expose_port_token1 = 43, + anon_sym_SLASHtcp = 44, + anon_sym_SLASHudp = 45, + aux_sym_label_pair_token1 = 46, + aux_sym_image_name_token1 = 47, + aux_sym_image_name_token2 = 48, + aux_sym_image_tag_token1 = 49, + anon_sym_AT = 50, + aux_sym_image_digest_token1 = 51, + anon_sym_DASH_DASH = 52, + aux_sym_param_token1 = 53, + aux_sym_param_token2 = 54, + anon_sym_mount = 55, + anon_sym_COMMA = 56, + aux_sym_mount_param_param_token1 = 57, + aux_sym_image_alias_token1 = 58, + aux_sym_image_alias_token2 = 59, + aux_sym_shell_fragment_token1 = 60, + aux_sym_shell_fragment_token2 = 61, + aux_sym_shell_fragment_token3 = 62, + aux_sym_shell_fragment_token4 = 63, + anon_sym_BSLASH_LF = 64, + anon_sym_POUND = 65, + anon_sym_LBRACK = 66, + anon_sym_COMMA2 = 67, + anon_sym_RBRACK = 68, + anon_sym_DQUOTE = 69, + aux_sym_json_string_token1 = 70, + sym_json_escape_sequence = 71, + aux_sym_double_quoted_string_token1 = 72, + anon_sym_BSLASH = 73, + anon_sym_SQUOTE = 74, + aux_sym_single_quoted_string_token1 = 75, + aux_sym_unquoted_string_token1 = 76, + anon_sym_BSLASH2 = 77, + sym_double_quoted_escape_sequence = 78, + sym_single_quoted_escape_sequence = 79, + sym__non_newline_whitespace = 80, + sym_comment = 81, + sym_heredoc_marker = 82, + sym_heredoc_line = 83, + sym_heredoc_end = 84, + sym_heredoc_nl = 85, + sym_error_sentinel = 86, + sym_source_file = 87, + sym__instruction = 88, + sym_from_instruction = 89, + sym_run_instruction = 90, + sym_cmd_instruction = 91, + sym_label_instruction = 92, + sym_expose_instruction = 93, + sym_env_instruction = 94, + sym_add_instruction = 95, + sym_copy_instruction = 96, + sym_entrypoint_instruction = 97, + sym_volume_instruction = 98, + sym_user_instruction = 99, + sym__user_name_or_group = 100, + aux_sym__immediate_user_name_or_group = 101, + sym__immediate_user_name_or_group_fragment = 102, + sym_workdir_instruction = 103, + sym_arg_instruction = 104, + sym_onbuild_instruction = 105, + sym_stopsignal_instruction = 106, + sym__stopsignal_value = 107, + sym_healthcheck_instruction = 108, + sym_shell_instruction = 109, + sym_maintainer_instruction = 110, + sym_cross_build_instruction = 111, + sym_heredoc_block = 112, + sym_path = 113, + sym_path_with_heredoc = 114, + sym_expansion = 115, + sym__immediate_expansion = 116, + sym__imm_expansion = 117, + sym__expansion_body = 118, + sym_env_pair = 119, + sym__spaced_env_pair = 120, + sym__env_key = 121, + sym_expose_port = 122, + sym_label_pair = 123, + sym_image_spec = 124, + sym_image_name = 125, + sym_image_tag = 126, + sym_image_digest = 127, + sym_param = 128, + sym_mount_param = 129, + sym_mount_param_param = 130, + sym_image_alias = 131, + sym_shell_command = 132, + sym_shell_fragment = 133, + sym_line_continuation = 134, + sym_required_line_continuation = 135, + sym__comment_line = 136, + sym__anon_comment = 137, + sym_json_string_array = 138, + sym_json_string = 139, + sym_double_quoted_string = 140, + sym_single_quoted_string = 141, + sym_unquoted_string = 142, + aux_sym_source_file_repeat1 = 143, + aux_sym_run_instruction_repeat1 = 144, + aux_sym_run_instruction_repeat2 = 145, + aux_sym_label_instruction_repeat1 = 146, + aux_sym_expose_instruction_repeat1 = 147, + aux_sym_env_instruction_repeat1 = 148, + aux_sym_add_instruction_repeat1 = 149, + aux_sym_add_instruction_repeat2 = 150, + aux_sym_volume_instruction_repeat1 = 151, + aux_sym__user_name_or_group_repeat1 = 152, + aux_sym__stopsignal_value_repeat1 = 153, + aux_sym_heredoc_block_repeat1 = 154, + aux_sym_path_repeat1 = 155, + aux_sym_image_name_repeat1 = 156, + aux_sym_image_tag_repeat1 = 157, + aux_sym_image_digest_repeat1 = 158, + aux_sym_mount_param_repeat1 = 159, + aux_sym_image_alias_repeat1 = 160, + aux_sym_shell_command_repeat1 = 161, + aux_sym_shell_command_repeat2 = 162, + aux_sym_shell_fragment_repeat1 = 163, + aux_sym_json_string_array_repeat1 = 164, + aux_sym_json_string_repeat1 = 165, + aux_sym_double_quoted_string_repeat1 = 166, + aux_sym_single_quoted_string_repeat1 = 167, + aux_sym_unquoted_string_repeat1 = 168, }; static const char * const ts_symbol_names[] = { @@ -209,6 +220,8 @@ static const char * const ts_symbol_names[] = { [aux_sym_cross_build_instruction_token1] = "CROSS_BUILD", [aux_sym_path_token1] = "path_token1", [aux_sym_path_token2] = "path_token2", + [aux_sym_path_token3] = "path_token3", + [aux_sym_path_with_heredoc_token1] = "path_with_heredoc_token1", [anon_sym_DOLLAR] = "$", [anon_sym_DOLLAR2] = "$", [anon_sym_LBRACE] = "{", @@ -237,6 +250,7 @@ static const char * const ts_symbol_names[] = { [aux_sym_shell_fragment_token1] = "shell_fragment_token1", [aux_sym_shell_fragment_token2] = "shell_fragment_token2", [aux_sym_shell_fragment_token3] = "shell_fragment_token3", + [aux_sym_shell_fragment_token4] = "shell_fragment_token4", [anon_sym_BSLASH_LF] = "\\\n", [anon_sym_POUND] = "#", [anon_sym_LBRACK] = "[", @@ -255,6 +269,11 @@ static const char * const ts_symbol_names[] = { [sym_single_quoted_escape_sequence] = "escape_sequence", [sym__non_newline_whitespace] = "_non_newline_whitespace", [sym_comment] = "comment", + [sym_heredoc_marker] = "heredoc_marker", + [sym_heredoc_line] = "heredoc_line", + [sym_heredoc_end] = "heredoc_end", + [sym_heredoc_nl] = "_heredoc_nl", + [sym_error_sentinel] = "error_sentinel", [sym_source_file] = "source_file", [sym__instruction] = "_instruction", [sym_from_instruction] = "from_instruction", @@ -280,7 +299,9 @@ static const char * const ts_symbol_names[] = { [sym_shell_instruction] = "shell_instruction", [sym_maintainer_instruction] = "maintainer_instruction", [sym_cross_build_instruction] = "cross_build_instruction", + [sym_heredoc_block] = "heredoc_block", [sym_path] = "path", + [sym_path_with_heredoc] = "path", [sym_expansion] = "expansion", [sym__immediate_expansion] = "_immediate_expansion", [sym__imm_expansion] = "expansion", @@ -311,6 +332,7 @@ static const char * const ts_symbol_names[] = { [sym_unquoted_string] = "unquoted_string", [aux_sym_source_file_repeat1] = "source_file_repeat1", [aux_sym_run_instruction_repeat1] = "run_instruction_repeat1", + [aux_sym_run_instruction_repeat2] = "run_instruction_repeat2", [aux_sym_label_instruction_repeat1] = "label_instruction_repeat1", [aux_sym_expose_instruction_repeat1] = "expose_instruction_repeat1", [aux_sym_env_instruction_repeat1] = "env_instruction_repeat1", @@ -319,6 +341,7 @@ static const char * const ts_symbol_names[] = { [aux_sym_volume_instruction_repeat1] = "volume_instruction_repeat1", [aux_sym__user_name_or_group_repeat1] = "_user_name_or_group_repeat1", [aux_sym__stopsignal_value_repeat1] = "_stopsignal_value_repeat1", + [aux_sym_heredoc_block_repeat1] = "heredoc_block_repeat1", [aux_sym_path_repeat1] = "path_repeat1", [aux_sym_image_name_repeat1] = "image_name_repeat1", [aux_sym_image_tag_repeat1] = "image_tag_repeat1", @@ -369,6 +392,8 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_cross_build_instruction_token1] = aux_sym_cross_build_instruction_token1, [aux_sym_path_token1] = aux_sym_path_token1, [aux_sym_path_token2] = aux_sym_path_token2, + [aux_sym_path_token3] = aux_sym_path_token3, + [aux_sym_path_with_heredoc_token1] = aux_sym_path_with_heredoc_token1, [anon_sym_DOLLAR] = anon_sym_DOLLAR, [anon_sym_DOLLAR2] = anon_sym_DOLLAR, [anon_sym_LBRACE] = anon_sym_LBRACE, @@ -397,6 +422,7 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_shell_fragment_token1] = aux_sym_shell_fragment_token1, [aux_sym_shell_fragment_token2] = aux_sym_shell_fragment_token2, [aux_sym_shell_fragment_token3] = aux_sym_shell_fragment_token3, + [aux_sym_shell_fragment_token4] = aux_sym_shell_fragment_token4, [anon_sym_BSLASH_LF] = anon_sym_BSLASH_LF, [anon_sym_POUND] = anon_sym_POUND, [anon_sym_LBRACK] = anon_sym_LBRACK, @@ -415,6 +441,11 @@ static const TSSymbol ts_symbol_map[] = { [sym_single_quoted_escape_sequence] = sym_json_escape_sequence, [sym__non_newline_whitespace] = sym__non_newline_whitespace, [sym_comment] = sym_comment, + [sym_heredoc_marker] = sym_heredoc_marker, + [sym_heredoc_line] = sym_heredoc_line, + [sym_heredoc_end] = sym_heredoc_end, + [sym_heredoc_nl] = sym_heredoc_nl, + [sym_error_sentinel] = sym_error_sentinel, [sym_source_file] = sym_source_file, [sym__instruction] = sym__instruction, [sym_from_instruction] = sym_from_instruction, @@ -440,7 +471,9 @@ static const TSSymbol ts_symbol_map[] = { [sym_shell_instruction] = sym_shell_instruction, [sym_maintainer_instruction] = sym_maintainer_instruction, [sym_cross_build_instruction] = sym_cross_build_instruction, + [sym_heredoc_block] = sym_heredoc_block, [sym_path] = sym_path, + [sym_path_with_heredoc] = sym_path, [sym_expansion] = sym_expansion, [sym__immediate_expansion] = sym__immediate_expansion, [sym__imm_expansion] = sym_expansion, @@ -471,6 +504,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_unquoted_string] = sym_unquoted_string, [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, [aux_sym_run_instruction_repeat1] = aux_sym_run_instruction_repeat1, + [aux_sym_run_instruction_repeat2] = aux_sym_run_instruction_repeat2, [aux_sym_label_instruction_repeat1] = aux_sym_label_instruction_repeat1, [aux_sym_expose_instruction_repeat1] = aux_sym_expose_instruction_repeat1, [aux_sym_env_instruction_repeat1] = aux_sym_env_instruction_repeat1, @@ -479,6 +513,7 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym_volume_instruction_repeat1] = aux_sym_volume_instruction_repeat1, [aux_sym__user_name_or_group_repeat1] = aux_sym__user_name_or_group_repeat1, [aux_sym__stopsignal_value_repeat1] = aux_sym__stopsignal_value_repeat1, + [aux_sym_heredoc_block_repeat1] = aux_sym_heredoc_block_repeat1, [aux_sym_path_repeat1] = aux_sym_path_repeat1, [aux_sym_image_name_repeat1] = aux_sym_image_name_repeat1, [aux_sym_image_tag_repeat1] = aux_sym_image_tag_repeat1, @@ -628,6 +663,14 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [aux_sym_path_token3] = { + .visible = false, + .named = false, + }, + [aux_sym_path_with_heredoc_token1] = { + .visible = false, + .named = false, + }, [anon_sym_DOLLAR] = { .visible = true, .named = false, @@ -740,6 +783,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [aux_sym_shell_fragment_token4] = { + .visible = false, + .named = false, + }, [anon_sym_BSLASH_LF] = { .visible = true, .named = false, @@ -812,6 +859,26 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_heredoc_marker] = { + .visible = true, + .named = true, + }, + [sym_heredoc_line] = { + .visible = true, + .named = true, + }, + [sym_heredoc_end] = { + .visible = true, + .named = true, + }, + [sym_heredoc_nl] = { + .visible = true, + .named = false, + }, + [sym_error_sentinel] = { + .visible = true, + .named = true, + }, [sym_source_file] = { .visible = true, .named = true, @@ -912,10 +979,18 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_heredoc_block] = { + .visible = true, + .named = true, + }, [sym_path] = { .visible = true, .named = true, }, + [sym_path_with_heredoc] = { + .visible = true, + .named = true, + }, [sym_expansion] = { .visible = true, .named = true, @@ -1036,6 +1111,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [aux_sym_run_instruction_repeat2] = { + .visible = false, + .named = false, + }, [aux_sym_label_instruction_repeat1] = { .visible = false, .named = false, @@ -1068,6 +1147,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, + [aux_sym_heredoc_block_repeat1] = { + .visible = false, + .named = false, + }, [aux_sym_path_repeat1] = { .visible = false, .named = false, @@ -1126,7 +1209,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { }, }; -enum { +enum ts_field_identifiers { field_as = 1, field_default = 2, field_digest = 3, @@ -1241,14 +1324,14 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [9] = 9, [10] = 10, [11] = 11, - [12] = 12, + [12] = 11, [13] = 13, [14] = 14, [15] = 15, [16] = 16, - [17] = 17, + [17] = 15, [18] = 18, - [19] = 19, + [19] = 14, [20] = 20, [21] = 21, [22] = 22, @@ -1257,322 +1340,374 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [25] = 25, [26] = 26, [27] = 27, - [28] = 25, + [28] = 28, [29] = 29, [30] = 30, [31] = 31, [32] = 32, [33] = 33, [34] = 34, - [35] = 15, + [35] = 35, [36] = 36, - [37] = 14, + [37] = 37, [38] = 38, - [39] = 39, - [40] = 27, + [39] = 28, + [40] = 37, [41] = 41, - [42] = 42, + [42] = 37, [43] = 43, - [44] = 27, - [45] = 25, - [46] = 46, + [44] = 44, + [45] = 45, + [46] = 36, [47] = 47, [48] = 48, [49] = 49, [50] = 50, [51] = 51, - [52] = 52, + [52] = 22, [53] = 53, [54] = 54, [55] = 55, [56] = 56, [57] = 57, - [58] = 58, + [58] = 36, [59] = 59, [60] = 60, [61] = 61, [62] = 62, - [63] = 57, + [63] = 63, [64] = 64, [65] = 65, - [66] = 54, + [66] = 66, [67] = 67, - [68] = 61, - [69] = 69, + [68] = 68, + [69] = 44, [70] = 70, [71] = 71, - [72] = 48, + [72] = 45, [73] = 73, [74] = 74, [75] = 75, [76] = 76, [77] = 77, [78] = 78, - [79] = 50, - [80] = 80, - [81] = 54, - [82] = 50, + [79] = 79, + [80] = 43, + [81] = 81, + [82] = 82, [83] = 83, - [84] = 53, - [85] = 85, - [86] = 46, - [87] = 53, + [84] = 84, + [85] = 77, + [86] = 86, + [87] = 87, [88] = 88, - [89] = 89, - [90] = 46, - [91] = 91, - [92] = 92, + [89] = 68, + [90] = 90, + [91] = 67, + [92] = 55, [93] = 93, [94] = 94, - [95] = 48, + [95] = 44, [96] = 96, - [97] = 57, - [98] = 61, - [99] = 99, - [100] = 60, + [97] = 97, + [98] = 98, + [99] = 73, + [100] = 79, [101] = 101, [102] = 102, - [103] = 48, - [104] = 104, - [105] = 105, - [106] = 102, - [107] = 57, + [103] = 44, + [104] = 70, + [105] = 75, + [106] = 106, + [107] = 107, [108] = 108, - [109] = 109, - [110] = 61, + [109] = 48, + [110] = 110, [111] = 111, - [112] = 57, + [112] = 112, [113] = 113, [114] = 114, - [115] = 104, - [116] = 102, - [117] = 48, - [118] = 46, - [119] = 119, - [120] = 61, - [121] = 46, - [122] = 122, + [115] = 115, + [116] = 116, + [117] = 56, + [118] = 118, + [119] = 115, + [120] = 116, + [121] = 75, + [122] = 115, [123] = 123, [124] = 124, - [125] = 104, + [125] = 77, [126] = 126, [127] = 127, - [128] = 83, + [128] = 128, [129] = 129, - [130] = 130, - [131] = 83, + [130] = 60, + [131] = 131, [132] = 132, - [133] = 133, - [134] = 134, + [133] = 70, + [134] = 68, [135] = 135, - [136] = 61, - [137] = 137, + [136] = 75, + [137] = 70, [138] = 138, - [139] = 46, - [140] = 48, - [141] = 61, - [142] = 142, - [143] = 57, + [139] = 116, + [140] = 140, + [141] = 68, + [142] = 77, + [143] = 68, [144] = 144, - [145] = 48, + [145] = 75, [146] = 146, - [147] = 57, - [148] = 148, - [149] = 149, + [147] = 70, + [148] = 77, + [149] = 86, [150] = 150, - [151] = 46, - [152] = 46, - [153] = 153, - [154] = 154, - [155] = 48, - [156] = 61, - [157] = 157, - [158] = 126, - [159] = 159, + [151] = 68, + [152] = 70, + [153] = 75, + [154] = 77, + [155] = 155, + [156] = 156, + [157] = 126, + [158] = 158, + [159] = 68, [160] = 160, - [161] = 57, + [161] = 161, [162] = 162, - [163] = 163, + [163] = 70, [164] = 164, [165] = 165, - [166] = 166, - [167] = 61, - [168] = 46, + [166] = 75, + [167] = 70, + [168] = 168, [169] = 169, [170] = 170, - [171] = 170, - [172] = 170, - [173] = 170, - [174] = 174, - [175] = 170, - [176] = 174, - [177] = 170, - [178] = 178, - [179] = 174, - [180] = 180, + [171] = 68, + [172] = 172, + [173] = 86, + [174] = 77, + [175] = 175, + [176] = 176, + [177] = 177, + [178] = 77, + [179] = 179, + [180] = 76, [181] = 181, - [182] = 170, - [183] = 174, - [184] = 170, - [185] = 174, + [182] = 75, + [183] = 70, + [184] = 184, + [185] = 75, [186] = 186, [187] = 187, - [188] = 170, - [189] = 174, - [190] = 170, - [191] = 174, - [192] = 174, - [193] = 48, - [194] = 46, + [188] = 68, + [189] = 189, + [190] = 190, + [191] = 191, + [192] = 86, + [193] = 193, + [194] = 194, [195] = 195, - [196] = 196, + [196] = 77, [197] = 197, [198] = 198, - [199] = 61, - [200] = 57, + [199] = 199, + [200] = 200, [201] = 201, - [202] = 83, - [203] = 61, - [204] = 204, - [205] = 205, - [206] = 48, - [207] = 46, - [208] = 83, - [209] = 57, - [210] = 210, - [211] = 57, - [212] = 83, - [213] = 170, - [214] = 144, - [215] = 48, - [216] = 216, + [202] = 202, + [203] = 203, + [204] = 75, + [205] = 177, + [206] = 206, + [207] = 207, + [208] = 208, + [209] = 209, + [210] = 207, + [211] = 207, + [212] = 212, + [213] = 75, + [214] = 77, + [215] = 215, + [216] = 86, [217] = 217, - [218] = 83, - [219] = 219, - [220] = 57, - [221] = 221, - [222] = 222, - [223] = 88, - [224] = 61, - [225] = 48, - [226] = 61, - [227] = 170, - [228] = 144, - [229] = 46, - [230] = 57, - [231] = 83, + [218] = 218, + [219] = 75, + [220] = 126, + [221] = 70, + [222] = 207, + [223] = 68, + [224] = 224, + [225] = 86, + [226] = 207, + [227] = 224, + [228] = 156, + [229] = 77, + [230] = 230, + [231] = 207, [232] = 232, - [233] = 233, - [234] = 137, - [235] = 235, - [236] = 236, - [237] = 237, - [238] = 162, - [239] = 163, - [240] = 133, - [241] = 241, - [242] = 242, - [243] = 243, - [244] = 244, - [245] = 88, - [246] = 246, - [247] = 247, - [248] = 88, - [249] = 249, - [250] = 250, - [251] = 251, + [233] = 70, + [234] = 68, + [235] = 224, + [236] = 77, + [237] = 86, + [238] = 207, + [239] = 239, + [240] = 86, + [241] = 207, + [242] = 77, + [243] = 164, + [244] = 203, + [245] = 245, + [246] = 68, + [247] = 70, + [248] = 207, + [249] = 224, + [250] = 207, + [251] = 224, [252] = 252, - [253] = 253, - [254] = 254, + [253] = 207, + [254] = 224, [255] = 255, - [256] = 256, - [257] = 257, - [258] = 201, - [259] = 259, - [260] = 260, + [256] = 175, + [257] = 224, + [258] = 258, + [259] = 207, + [260] = 208, [261] = 261, - [262] = 262, - [263] = 263, - [264] = 264, - [265] = 265, + [262] = 224, + [263] = 75, + [264] = 207, + [265] = 239, [266] = 266, - [267] = 267, - [268] = 256, - [269] = 269, - [270] = 270, - [271] = 271, - [272] = 272, - [273] = 137, - [274] = 274, + [267] = 224, + [268] = 77, + [269] = 86, + [270] = 68, + [271] = 266, + [272] = 75, + [273] = 126, + [274] = 70, [275] = 275, [276] = 276, - [277] = 277, - [278] = 278, - [279] = 269, - [280] = 133, + [277] = 111, + [278] = 160, + [279] = 162, + [280] = 280, [281] = 281, [282] = 282, [283] = 283, [284] = 284, [285] = 285, [286] = 286, - [287] = 287, + [287] = 56, [288] = 288, [289] = 289, [290] = 290, [291] = 291, - [292] = 269, - [293] = 293, + [292] = 190, + [293] = 194, [294] = 294, [295] = 295, [296] = 296, [297] = 297, [298] = 298, [299] = 299, - [300] = 269, - [301] = 272, - [302] = 272, + [300] = 300, + [301] = 301, + [302] = 302, [303] = 303, [304] = 304, [305] = 305, [306] = 306, [307] = 307, - [308] = 269, + [308] = 308, [309] = 309, - [310] = 310, - [311] = 269, - [312] = 312, + [310] = 56, + [311] = 311, + [312] = 276, [313] = 313, - [314] = 269, - [315] = 286, - [316] = 305, - [317] = 269, + [314] = 314, + [315] = 315, + [316] = 316, + [317] = 317, [318] = 318, - [319] = 269, + [319] = 319, [320] = 320, - [321] = 269, - [322] = 163, - [323] = 269, - [324] = 162, - [325] = 269, - [326] = 269, - [327] = 286, - [328] = 272, - [329] = 286, - [330] = 305, - [331] = 286, - [332] = 305, - [333] = 286, - [334] = 295, - [335] = 286, - [336] = 286, - [337] = 286, - [338] = 286, - [339] = 286, - [340] = 286, - [341] = 286, - [342] = 295, - [343] = 343, + [321] = 321, + [322] = 322, + [323] = 323, + [324] = 324, + [325] = 325, + [326] = 326, + [327] = 327, + [328] = 328, + [329] = 329, + [330] = 330, + [331] = 331, + [332] = 328, + [333] = 333, + [334] = 334, + [335] = 335, + [336] = 336, + [337] = 337, + [338] = 338, + [339] = 339, + [340] = 340, + [341] = 299, + [342] = 304, + [343] = 162, + [344] = 344, + [345] = 345, + [346] = 160, + [347] = 347, + [348] = 339, + [349] = 340, + [350] = 350, + [351] = 339, + [352] = 340, + [353] = 295, + [354] = 232, + [355] = 339, + [356] = 330, + [357] = 339, + [358] = 340, + [359] = 339, + [360] = 360, + [361] = 280, + [362] = 339, + [363] = 363, + [364] = 308, + [365] = 339, + [366] = 190, + [367] = 194, + [368] = 339, + [369] = 369, + [370] = 339, + [371] = 371, + [372] = 339, + [373] = 373, + [374] = 339, + [375] = 375, + [376] = 339, + [377] = 339, + [378] = 331, + [379] = 333, + [380] = 331, + [381] = 333, + [382] = 331, + [383] = 333, + [384] = 331, + [385] = 331, + [386] = 331, + [387] = 331, + [388] = 331, + [389] = 331, + [390] = 331, + [391] = 331, + [392] = 331, + [393] = 331, + [394] = 330, + [395] = 395, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1580,617 +1715,562 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(162); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '#') ADVANCE(248); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\'') ADVANCE(261); - if (lookahead == ',') ADVANCE(237); - if (lookahead == '-') ADVANCE(243); - if (lookahead == ':') ADVANCE(177); - if (lookahead == '=') ADVANCE(186); - if (lookahead == '@') ADVANCE(225); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(258); - if (lookahead == ']') ADVANCE(251); - if (lookahead == '_') ADVANCE(210); - if (lookahead == '{') ADVANCE(205); - if (lookahead == '}') ADVANCE(209); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(159) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(181); + if (eof) ADVANCE(164); + ADVANCE_MAP( + '"', 258, + '#', 254, + '$', 208, + '\'', 267, + ',', 241, + '-', 248, + ':', 178, + '<', 221, + '=', 187, + '@', 229, + '[', 255, + '\\', 264, + ']', 257, + '_', 214, + '{', 209, + '}', 213, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(161); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(182); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(180); - if (lookahead != 0) ADVANCE(199); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(181); + if (lookahead != 0) ADVANCE(200); END_STATE(); case 1: - if (lookahead == '\n') ADVANCE(246); + if (lookahead == '\n') ADVANCE(252); END_STATE(); case 2: - if (lookahead == '\n') ADVANCE(246); - if (lookahead == ' ') ADVANCE(267); + if (lookahead == '\n') ADVANCE(252); + if (lookahead == ' ') ADVANCE(273); END_STATE(); case 3: - if (lookahead == '\n') ADVANCE(246); - if (lookahead == 'u') ADVANCE(158); - if (lookahead == '"' || - lookahead == '/' || - lookahead == '\\' || - lookahead == 'b' || - lookahead == 'f' || - lookahead == 'n' || - lookahead == 'r' || - lookahead == 't') ADVANCE(255); + ADVANCE_MAP( + '\n', 252, + 'u', 158, + '"', 261, + '/', 261, + '\\', 261, + 'b', 261, + 'f', 261, + 'n', 261, + 'r', 261, + 't', 261, + ); END_STATE(); case 4: - if (lookahead == '\n') ADVANCE(246); + if (lookahead == '\n') ADVANCE(252); if (lookahead != 0 && lookahead != ',' && lookahead != '-' && - lookahead != '=') ADVANCE(245); + lookahead != '=') ADVANCE(251); END_STATE(); case 5: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\'') ADVANCE(261); + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '"') ADVANCE(258); + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\'') ADVANCE(267); if (lookahead == '\\') ADVANCE(2); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(7) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(8); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(264); - if (lookahead != 0) ADVANCE(266); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(270); + if (lookahead != 0) ADVANCE(272); END_STATE(); case 6: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\'') ADVANCE(261); + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '"') ADVANCE(258); + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\'') ADVANCE(267); if (lookahead == '\\') ADVANCE(2); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(8) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(9); if (lookahead == '-' || lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(265); - if (lookahead != 0) ADVANCE(266); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(271); + if (lookahead != 0) ADVANCE(272); END_STATE(); case 7: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '\'') ADVANCE(261); + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '"') ADVANCE(258); + if (lookahead == '\'') ADVANCE(267); + if (lookahead == '=') ADVANCE(187); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(7) - if (('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(212); - END_STATE(); - case 8: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '\'') ADVANCE(261); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(8) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(9); if (lookahead == '-' || lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220); + END_STATE(); + case 8: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '"') ADVANCE(258); + if (lookahead == '\'') ADVANCE(267); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(8); + if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(216); END_STATE(); case 9: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(204); - if (lookahead == ':') ADVANCE(177); - if (lookahead == '=') ADVANCE(186); + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '"') ADVANCE(258); + if (lookahead == '\'') ADVANCE(267); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(19) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(181); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(182); - END_STATE(); - case 10: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(204); - if (lookahead == ':') ADVANCE(177); - if (lookahead == '@') ADVANCE(225); - if (lookahead == '\\') ADVANCE(219); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(220); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(18) - if (lookahead != 0) ADVANCE(221); - END_STATE(); - case 11: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '@') ADVANCE(225); - if (lookahead == '\\') ADVANCE(222); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(223); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(18) - if (lookahead != 0) ADVANCE(224); - END_STATE(); - case 12: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(226); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(18) - if (('0' <= lookahead && lookahead <= ':') || - ('B' <= lookahead && lookahead <= 'Z') || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(227); - END_STATE(); - case 13: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(19) - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(190); - END_STATE(); - case 14: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(19) - if (lookahead == '-' || - ('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(241); - END_STATE(); - case 15: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(201); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(19) - if (lookahead != 0) ADVANCE(202); - END_STATE(); - case 16: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(203); - if (lookahead == '/') ADVANCE(65); - if (lookahead == ':') ADVANCE(177); - if (lookahead == '@') ADVANCE(225); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(140); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(17) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(213); - END_STATE(); - case 17: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '$') ADVANCE(203); - if (lookahead == '/') ADVANCE(65); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(140); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(17) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(213); - END_STATE(); - case 18: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(140); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(18) - END_STATE(); - case 19: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(19) - END_STATE(); - case 20: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(20) - if (('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(212); - END_STATE(); - case 21: - if (lookahead == '\n') ADVANCE(163); - if (lookahead == '\\') ADVANCE(4); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') SKIP(21) - if (lookahead == ',' || - lookahead == '-' || - lookahead == '=') ADVANCE(242); - if (lookahead != 0 && - lookahead != '#' && - lookahead != '[') ADVANCE(244); - END_STATE(); - case 22: - if (lookahead == '\n') SKIP(29) - if (lookahead == '"') ADVANCE(252); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(259); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(256); - if (lookahead != 0) ADVANCE(257); - END_STATE(); - case 23: - if (lookahead == '\n') ADVANCE(164); - if (lookahead == '\r') SKIP(24) - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(201); - if (lookahead == '\t' || - lookahead == ' ') ADVANCE(270); - if (lookahead != 0) ADVANCE(202); - END_STATE(); - case 24: - if (lookahead == '\n') ADVANCE(164); - if (lookahead == '\r') SKIP(24) - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == ' ') ADVANCE(270); - END_STATE(); - case 25: - if (lookahead == '\n') SKIP(45) - if (lookahead == '\'') ADVANCE(261); - if (lookahead == '\\') ADVANCE(260); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(262); - if (lookahead != 0) ADVANCE(263); - END_STATE(); - case 26: - if (lookahead == '"') ADVANCE(252); - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\'') ADVANCE(261); - if (lookahead == '\\') ADVANCE(2); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(27) - if (lookahead != 0) ADVANCE(266); - END_STATE(); - case 27: - if (lookahead == '"') ADVANCE(252); - if (lookahead == '\'') ADVANCE(261); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(27) - END_STATE(); - case 28: - if (lookahead == '"') ADVANCE(252); - if (lookahead == '\'') ADVANCE(261); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(28) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(9); if (lookahead == '-' || lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(216); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220); END_STATE(); - case 29: - if (lookahead == '"') ADVANCE(252); - if (lookahead == '\\') ADVANCE(258); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(29) + case 10: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); + if (lookahead == ':') ADVANCE(178); + if (lookahead == '@') ADVANCE(229); + if (lookahead == '\\') ADVANCE(223); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(224); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(21); + if (lookahead != 0) ADVANCE(225); END_STATE(); - case 30: - if (lookahead == '"') ADVANCE(252); - if (lookahead == '\\') ADVANCE(3); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(253); - if (lookahead != 0) ADVANCE(254); - END_STATE(); - case 31: - if (lookahead == '#') ADVANCE(248); - if (lookahead == ',') ADVANCE(237); - if (lookahead == '-') ADVANCE(243); - if (lookahead == '=') ADVANCE(242); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(4); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(32) - if (lookahead != 0) ADVANCE(244); - END_STATE(); - case 32: - if (lookahead == '#') ADVANCE(248); - if (lookahead == '-') ADVANCE(243); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(4); - if (lookahead == ',' || - lookahead == '=') ADVANCE(242); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(32) - if (lookahead != 0) ADVANCE(244); - END_STATE(); - case 33: - if (lookahead == '#') ADVANCE(248); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(4); - if (lookahead == ',' || - lookahead == '-' || - lookahead == '=') ADVANCE(242); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(33) - if (lookahead != 0) ADVANCE(244); - END_STATE(); - case 34: - if (lookahead == '$') ADVANCE(204); + case 11: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); + if (lookahead == ':') ADVANCE(178); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(181); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(22); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(182); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(182); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(183); END_STATE(); - case 35: - if (lookahead == '$') ADVANCE(204); + case 12: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); + if (lookahead == '@') ADVANCE(229); + if (lookahead == '\\') ADVANCE(226); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(227); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(21); + if (lookahead != 0) ADVANCE(228); + END_STATE(); + case 13: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(230); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(21); if (('0' <= lookahead && lookahead <= ':') || - ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(227); + ('B' <= lookahead && lookahead <= 'Z') || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(231); END_STATE(); - case 36: - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(222); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) - if (lookahead != 0 && - lookahead != '@') ADVANCE(224); - END_STATE(); - case 37: - if (lookahead == '$') ADVANCE(204); - if (lookahead == '\\') ADVANCE(201); - if (lookahead == '\t' || - lookahead == ' ') ADVANCE(271); - if (lookahead == '\n' || - lookahead == '\r') SKIP(52) - if (lookahead != 0) ADVANCE(202); - END_STATE(); - case 38: - if (lookahead == '$') ADVANCE(203); - if (lookahead == '-') ADVANCE(46); - if (lookahead == '\\') ADVANCE(200); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(38) - if (lookahead != 0) ADVANCE(199); - END_STATE(); - case 39: - if (lookahead == '$') ADVANCE(203); - if (lookahead == '-') ADVANCE(46); - if (lookahead == '\\') ADVANCE(218); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(39) - if (lookahead != 0 && - lookahead != ':' && - lookahead != '@') ADVANCE(217); - END_STATE(); - case 40: - if (lookahead == '$') ADVANCE(203); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(200); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(40) - if (lookahead != 0 && - lookahead != '-') ADVANCE(199); - END_STATE(); - case 41: - if (lookahead == '$') ADVANCE(203); + case 14: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); if (lookahead == '\\') ADVANCE(1); - if (lookahead == 'm') ADVANCE(230); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(43) - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(22); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(189); + ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(191); END_STATE(); - case 42: - if (lookahead == '$') ADVANCE(203); + case 15: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(42) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(22); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(240); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(245); END_STATE(); - case 43: - if (lookahead == '$') ADVANCE(203); + case 16: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\\') ADVANCE(204); + if (lookahead == '\t' || + lookahead == ' ') ADVANCE(276); + if ((0x0b <= lookahead && lookahead <= '\r')) SKIP(22); + if (lookahead != 0) ADVANCE(205); + END_STATE(); + case 17: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\\') ADVANCE(204); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(22); + if (lookahead != 0) ADVANCE(205); + END_STATE(); + case 18: + ADVANCE_MAP( + '\n', 165, + '$', 207, + '/', 65, + ':', 178, + '@', 229, + '\\', 1, + 'A', 140, + 'a', 140, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(19); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(217); + END_STATE(); + case 19: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '$') ADVANCE(207); + if (lookahead == '/') ADVANCE(65); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(43) - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(189); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(140); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(19); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(217); END_STATE(); - case 44: - if (lookahead == '$') ADVANCE(203); + case 20: + if (lookahead == '\n') ADVANCE(165); + if (lookahead == '<') ADVANCE(249); + if (lookahead == '\\') ADVANCE(4); + if (lookahead == ',' || + lookahead == '-' || + lookahead == '=') ADVANCE(247); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(20); + if (lookahead != 0 && + lookahead != '#' && + lookahead != '[' && + lookahead != '\\') ADVANCE(250); + END_STATE(); + case 21: + if (lookahead == '\n') ADVANCE(165); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(44) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(178); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(179); + if (lookahead == 'A' || + lookahead == 'a') ADVANCE(140); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(21); END_STATE(); - case 45: - if (lookahead == '\'') ADVANCE(261); - if (lookahead == '\\') ADVANCE(258); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(45) - END_STATE(); - case 46: - if (lookahead == '-') ADVANCE(228); - END_STATE(); - case 47: - if (lookahead == '=') ADVANCE(186); + case 22: + if (lookahead == '\n') ADVANCE(165); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(211); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(22); END_STATE(); - case 48: - if (lookahead == 'E') ADVANCE(192); - END_STATE(); - case 49: - if (lookahead == 'N') ADVANCE(48); - END_STATE(); - case 50: - if (lookahead == 'O') ADVANCE(49); - END_STATE(); - case 51: + case 23: + if (lookahead == '\n') ADVANCE(165); if (lookahead == '\\') ADVANCE(1); - if (lookahead == '{') ADVANCE(205); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(23); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(210); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(216); + END_STATE(); + case 24: + if (lookahead == '\n') SKIP(29); + if (lookahead == '"') ADVANCE(258); + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\\') ADVANCE(265); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(262); + if (lookahead != 0) ADVANCE(263); + END_STATE(); + case 25: + if (lookahead == '\n') SKIP(46); + if (lookahead == '\'') ADVANCE(267); + if (lookahead == '\\') ADVANCE(266); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(268); + if (lookahead != 0) ADVANCE(269); + END_STATE(); + case 26: + if (lookahead == '"') ADVANCE(258); + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\'') ADVANCE(267); + if (lookahead == '\\') ADVANCE(2); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(27); + if (lookahead != 0) ADVANCE(272); + END_STATE(); + case 27: + if (lookahead == '"') ADVANCE(258); + if (lookahead == '\'') ADVANCE(267); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(27); + END_STATE(); + case 28: + if (lookahead == '"') ADVANCE(258); + if (lookahead == '\'') ADVANCE(267); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(28); + if (lookahead == '-' || + lookahead == '.' || + ('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220); + END_STATE(); + case 29: + if (lookahead == '"') ADVANCE(258); + if (lookahead == '\\') ADVANCE(264); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(29); + END_STATE(); + case 30: + if (lookahead == '"') ADVANCE(258); + if (lookahead == '\\') ADVANCE(3); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(259); + if (lookahead != 0) ADVANCE(260); + END_STATE(); + case 31: + if (lookahead == '#') ADVANCE(254); + if (lookahead == ',') ADVANCE(241); + if (lookahead == '-') ADVANCE(248); + if (lookahead == '<') ADVANCE(249); + if (lookahead == '=') ADVANCE(247); + if (lookahead == '[') ADVANCE(255); + if (lookahead == '\\') ADVANCE(4); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(32); + if (lookahead != 0) ADVANCE(250); + END_STATE(); + case 32: + if (lookahead == '#') ADVANCE(254); + if (lookahead == '-') ADVANCE(248); + if (lookahead == '<') ADVANCE(249); + if (lookahead == '[') ADVANCE(255); + if (lookahead == '\\') ADVANCE(4); + if (lookahead == ',' || + lookahead == '=') ADVANCE(247); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(32); + if (lookahead != 0) ADVANCE(250); + END_STATE(); + case 33: + if (lookahead == '#') ADVANCE(254); + if (lookahead == '<') ADVANCE(249); + if (lookahead == '[') ADVANCE(255); + if (lookahead == '\\') ADVANCE(4); + if (lookahead == ',' || + lookahead == '-' || + lookahead == '=') ADVANCE(247); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(33); + if (lookahead != 0) ADVANCE(250); + END_STATE(); + case 34: + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(182); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(183); + END_STATE(); + case 35: + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); + if (('0' <= lookahead && lookahead <= ':') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(231); + END_STATE(); + case 36: + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\\') ADVANCE(204); + if (lookahead == '\t' || + lookahead == ' ') ADVANCE(276); + if (('\n' <= lookahead && lookahead <= '\r')) SKIP(53); + if (lookahead != 0) ADVANCE(205); + END_STATE(); + case 37: + if (lookahead == '$') ADVANCE(208); + if (lookahead == '\\') ADVANCE(226); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); + if (lookahead != 0 && + lookahead != '@') ADVANCE(228); + END_STATE(); + case 38: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '-') ADVANCE(47); + if (lookahead == '<') ADVANCE(159); + if (lookahead == '\\') ADVANCE(201); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(38); + if (lookahead != 0) ADVANCE(200); + END_STATE(); + case 39: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '-') ADVANCE(47); + if (lookahead == '\\') ADVANCE(222); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(39); + if (lookahead != 0 && + lookahead != ':' && + lookahead != '@') ADVANCE(221); + END_STATE(); + case 40: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '<') ADVANCE(160); + if (lookahead == '[') ADVANCE(255); + if (lookahead == '\\') ADVANCE(201); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(40); + if (lookahead != 0 && + lookahead != '-') ADVANCE(200); + END_STATE(); + case 41: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '<') ADVANCE(160); + if (lookahead == '\\') ADVANCE(201); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(41); + if (lookahead != 0 && + lookahead != '-') ADVANCE(200); + END_STATE(); + case 42: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '\\') ADVANCE(1); + if (lookahead == 'm') ADVANCE(234); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(44); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(190); + END_STATE(); + case 43: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(43); + if (lookahead == '-' || + ('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(244); + END_STATE(); + case 44: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(44); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(190); + END_STATE(); + case 45: + if (lookahead == '$') ADVANCE(207); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(45); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(179); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(180); + END_STATE(); + case 46: + if (lookahead == '\'') ADVANCE(267); + if (lookahead == '\\') ADVANCE(264); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(46); + END_STATE(); + case 47: + if (lookahead == '-') ADVANCE(232); + END_STATE(); + case 48: + if (lookahead == '=') ADVANCE(187); + if (lookahead == '\\') ADVANCE(1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(215); + END_STATE(); + case 49: + if (lookahead == 'E') ADVANCE(193); + END_STATE(); + case 50: + if (lookahead == 'N') ADVANCE(49); + END_STATE(); + case 51: + if (lookahead == 'O') ADVANCE(50); END_STATE(); case 52: if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == ' ') ADVANCE(271); - if (lookahead == '\n' || - lookahead == '\r') SKIP(52) + if (lookahead == '{') ADVANCE(209); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); + if (('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(214); END_STATE(); case 53: if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); END_STATE(); case 54: if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); END_STATE(); case 55: if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(55) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(55); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(212); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(216); END_STATE(); case 56: if (lookahead == '\\') ADVANCE(1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(56) + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(56); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(185); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(186); END_STATE(); case 57: - if (lookahead == '\\') ADVANCE(238); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) + if (lookahead == '\\') ADVANCE(242); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); if (lookahead != 0 && lookahead != ',' && - lookahead != '=') ADVANCE(239); + lookahead != '=') ADVANCE(243); END_STATE(); case 58: - if (lookahead == '\\') ADVANCE(234); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(53) - if (lookahead != 0) ADVANCE(235); + if (lookahead == '\\') ADVANCE(210); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(211); + if (lookahead != 0 && + lookahead != '}') ADVANCE(212); END_STATE(); case 59: - if (lookahead == '\\') ADVANCE(206); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(207); - if (lookahead != 0 && - lookahead != '}') ADVANCE(208); + if (lookahead == '\\') ADVANCE(238); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(53); + if (lookahead != 0) ADVANCE(239); END_STATE(); case 60: if (lookahead == '_') ADVANCE(73); @@ -2202,10 +2282,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'd') ADVANCE(64); END_STATE(); case 63: - if (lookahead == 'p') ADVANCE(214); + if (lookahead == 'p') ADVANCE(218); END_STATE(); case 64: - if (lookahead == 'p') ADVANCE(215); + if (lookahead == 'p') ADVANCE(219); END_STATE(); case 65: if (lookahead == 't') ADVANCE(61); @@ -2259,19 +2339,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 77: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(172); + lookahead == 'd') ADVANCE(173); END_STATE(); case 78: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(168); + lookahead == 'd') ADVANCE(169); END_STATE(); case 79: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(187); + lookahead == 'd') ADVANCE(188); END_STATE(); case 80: if (lookahead == 'D' || - lookahead == 'd') ADVANCE(198); + lookahead == 'd') ADVANCE(199); END_STATE(); case 81: if (lookahead == 'D' || @@ -2279,11 +2359,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 82: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(170); + lookahead == 'e') ADVANCE(171); END_STATE(); case 83: if (lookahead == 'E' || - lookahead == 'e') ADVANCE(175); + lookahead == 'e') ADVANCE(176); END_STATE(); case 84: if (lookahead == 'E' || @@ -2311,7 +2391,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 90: if (lookahead == 'G' || - lookahead == 'g') ADVANCE(184); + lookahead == 'g') ADVANCE(185); END_STATE(); case 91: if (lookahead == 'G' || @@ -2361,7 +2441,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 102: if (lookahead == 'K' || - lookahead == 'k') ADVANCE(191); + lookahead == 'k') ADVANCE(192); END_STATE(); case 103: if (lookahead == 'K' || @@ -2373,15 +2453,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 105: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(169); + lookahead == 'l') ADVANCE(170); END_STATE(); case 106: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(193); + lookahead == 'l') ADVANCE(194); END_STATE(); case 107: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(188); + lookahead == 'l') ADVANCE(189); END_STATE(); case 108: if (lookahead == 'L' || @@ -2401,7 +2481,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 112: if (lookahead == 'M' || - lookahead == 'm') ADVANCE(165); + lookahead == 'm') ADVANCE(166); END_STATE(); case 113: if (lookahead == 'M' || @@ -2423,7 +2503,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 116: if (lookahead == 'N' || - lookahead == 'n') ADVANCE(167); + lookahead == 'n') ADVANCE(168); END_STATE(); case 117: if (lookahead == 'N' || @@ -2495,15 +2575,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 134: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(176); + lookahead == 'r') ADVANCE(177); END_STATE(); case 135: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(183); + lookahead == 'r') ADVANCE(184); END_STATE(); case 136: if (lookahead == 'R' || - lookahead == 'r') ADVANCE(194); + lookahead == 'r') ADVANCE(195); END_STATE(); case 137: if (lookahead == 'R' || @@ -2519,7 +2599,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 140: if (lookahead == 'S' || - lookahead == 's') ADVANCE(166); + lookahead == 's') ADVANCE(167); END_STATE(); case 141: if (lookahead == 'S' || @@ -2543,13 +2623,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 146: if (lookahead == 'T' || - lookahead == 't') ADVANCE(174); + lookahead == 't') ADVANCE(175); END_STATE(); case 147: if (lookahead == 'T' || lookahead == 't') ADVANCE(137); if (lookahead == 'V' || - lookahead == 'v') ADVANCE(171); + lookahead == 'v') ADVANCE(172); END_STATE(); case 148: if (lookahead == 'T' || @@ -2573,7 +2653,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 153: if (lookahead == 'Y' || - lookahead == 'y') ADVANCE(173); + lookahead == 'y') ADVANCE(174); END_STATE(); case 154: if (lookahead == 'Y' || @@ -2582,7 +2662,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 155: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(255); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(261); END_STATE(); case 156: if (('0' <= lookahead && lookahead <= '9') || @@ -2600,730 +2680,726 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('a' <= lookahead && lookahead <= 'f')) ADVANCE(157); END_STATE(); case 159: - if (eof) ADVANCE(162); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '#') ADVANCE(248); - if (lookahead == '$') ADVANCE(203); - if (lookahead == '\'') ADVANCE(261); - if (lookahead == ',') ADVANCE(250); - if (lookahead == '-') ADVANCE(243); - if (lookahead == '=') ADVANCE(199); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(258); - if (lookahead == ']') ADVANCE(251); - if (lookahead == ':' || - lookahead == '@') ADVANCE(199); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(159) - if (lookahead != 0) ADVANCE(199); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '$' && + lookahead != '-' && + lookahead != '<') ADVANCE(206); END_STATE(); case 160: - if (eof) ADVANCE(162); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '#') ADVANCE(272); - if (lookahead == '$') ADVANCE(203); - if (lookahead == ',') ADVANCE(250); - if (lookahead == '-') ADVANCE(46); - if (lookahead == '=') ADVANCE(186); - if (lookahead == 'N') ADVANCE(50); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == ']') ADVANCE(251); - if (lookahead == '}') ADVANCE(209); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(76); - if (lookahead == 'C' || - lookahead == 'c') ADVANCE(113); - if (lookahead == 'E' || - lookahead == 'e') ADVANCE(115); - if (lookahead == 'F' || - lookahead == 'f') ADVANCE(138); - if (lookahead == 'H' || - lookahead == 'h') ADVANCE(85); - if (lookahead == 'L' || - lookahead == 'l') ADVANCE(66); - if (lookahead == 'M' || - lookahead == 'm') ADVANCE(67); - if (lookahead == 'O' || - lookahead == 'o') ADVANCE(117); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(149); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(93); - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(141); - if (lookahead == 'V' || - lookahead == 'v') ADVANCE(122); - if (lookahead == 'W' || - lookahead == 'w') ADVANCE(124); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(161) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(213); + if (lookahead != 0 && + lookahead != '<') ADVANCE(202); END_STATE(); case 161: - if (eof) ADVANCE(162); - if (lookahead == '"') ADVANCE(252); - if (lookahead == '#') ADVANCE(272); - if (lookahead == '$') ADVANCE(203); - if (lookahead == ',') ADVANCE(250); - if (lookahead == '-') ADVANCE(46); - if (lookahead == 'N') ADVANCE(50); - if (lookahead == '[') ADVANCE(249); - if (lookahead == '\\') ADVANCE(1); - if (lookahead == ']') ADVANCE(251); - if (lookahead == 'A' || - lookahead == 'a') ADVANCE(76); - if (lookahead == 'C' || - lookahead == 'c') ADVANCE(113); - if (lookahead == 'E' || - lookahead == 'e') ADVANCE(115); - if (lookahead == 'F' || - lookahead == 'f') ADVANCE(138); - if (lookahead == 'H' || - lookahead == 'h') ADVANCE(85); - if (lookahead == 'L' || - lookahead == 'l') ADVANCE(66); - if (lookahead == 'M' || - lookahead == 'm') ADVANCE(67); - if (lookahead == 'O' || - lookahead == 'o') ADVANCE(117); - if (lookahead == 'R' || - lookahead == 'r') ADVANCE(149); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(93); - if (lookahead == 'U' || - lookahead == 'u') ADVANCE(141); - if (lookahead == 'V' || - lookahead == 'v') ADVANCE(122); - if (lookahead == 'W' || - lookahead == 'w') ADVANCE(124); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(161) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(213); + if (eof) ADVANCE(164); + ADVANCE_MAP( + '"', 258, + '#', 254, + '$', 207, + '\'', 267, + ',', 256, + '-', 248, + '<', 221, + '=', 200, + '[', 255, + '\\', 264, + ']', 257, + ':', 200, + '@', 200, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(161); + if (lookahead != 0) ADVANCE(200); END_STATE(); case 162: - ACCEPT_TOKEN(ts_builtin_sym_end); + if (eof) ADVANCE(164); + ADVANCE_MAP( + '"', 258, + '#', 277, + '$', 207, + ',', 256, + '-', 47, + '=', 187, + 'N', 51, + '[', 255, + '\\', 1, + ']', 257, + '}', 213, + 'A', 76, + 'a', 76, + 'C', 113, + 'c', 113, + 'E', 115, + 'e', 115, + 'F', 138, + 'f', 138, + 'H', 85, + 'h', 85, + 'L', 66, + 'l', 66, + 'M', 67, + 'm', 67, + 'O', 117, + 'o', 117, + 'R', 149, + 'r', 149, + 'S', 93, + 's', 93, + 'U', 141, + 'u', 141, + 'V', 122, + 'v', 122, + 'W', 124, + 'w', 124, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(163); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(217); END_STATE(); case 163: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') ADVANCE(163); + if (eof) ADVANCE(164); + ADVANCE_MAP( + '"', 258, + '#', 277, + '$', 207, + ',', 256, + '-', 47, + 'N', 51, + '[', 255, + '\\', 1, + ']', 257, + 'A', 76, + 'a', 76, + 'C', 113, + 'c', 113, + 'E', 115, + 'e', 115, + 'F', 138, + 'f', 138, + 'H', 85, + 'h', 85, + 'L', 66, + 'l', 66, + 'M', 67, + 'm', 67, + 'O', 117, + 'o', 117, + 'R', 149, + 'r', 149, + 'S', 93, + 's', 93, + 'U', 141, + 'u', 141, + 'V', 122, + 'v', 122, + 'W', 124, + 'w', 124, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(163); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(217); END_STATE(); case 164: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') ADVANCE(164); - if (lookahead == '\t' || - lookahead == ' ') ADVANCE(270); + ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); case 165: - ACCEPT_TOKEN(aux_sym_from_instruction_token1); + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') ADVANCE(165); END_STATE(); case 166: - ACCEPT_TOKEN(aux_sym_from_instruction_token2); + ACCEPT_TOKEN(aux_sym_from_instruction_token1); END_STATE(); case 167: - ACCEPT_TOKEN(aux_sym_run_instruction_token1); + ACCEPT_TOKEN(aux_sym_from_instruction_token2); END_STATE(); case 168: - ACCEPT_TOKEN(aux_sym_cmd_instruction_token1); + ACCEPT_TOKEN(aux_sym_run_instruction_token1); END_STATE(); case 169: - ACCEPT_TOKEN(aux_sym_label_instruction_token1); + ACCEPT_TOKEN(aux_sym_cmd_instruction_token1); END_STATE(); case 170: - ACCEPT_TOKEN(aux_sym_expose_instruction_token1); + ACCEPT_TOKEN(aux_sym_label_instruction_token1); END_STATE(); case 171: - ACCEPT_TOKEN(aux_sym_env_instruction_token1); + ACCEPT_TOKEN(aux_sym_expose_instruction_token1); END_STATE(); case 172: - ACCEPT_TOKEN(aux_sym_add_instruction_token1); + ACCEPT_TOKEN(aux_sym_env_instruction_token1); END_STATE(); case 173: - ACCEPT_TOKEN(aux_sym_copy_instruction_token1); + ACCEPT_TOKEN(aux_sym_add_instruction_token1); END_STATE(); case 174: - ACCEPT_TOKEN(aux_sym_entrypoint_instruction_token1); + ACCEPT_TOKEN(aux_sym_copy_instruction_token1); END_STATE(); case 175: - ACCEPT_TOKEN(aux_sym_volume_instruction_token1); + ACCEPT_TOKEN(aux_sym_entrypoint_instruction_token1); END_STATE(); case 176: - ACCEPT_TOKEN(aux_sym_user_instruction_token1); + ACCEPT_TOKEN(aux_sym_volume_instruction_token1); END_STATE(); case 177: - ACCEPT_TOKEN(anon_sym_COLON); + ACCEPT_TOKEN(aux_sym_user_instruction_token1); END_STATE(); case 178: - ACCEPT_TOKEN(aux_sym__user_name_or_group_token1); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(178); + ACCEPT_TOKEN(anon_sym_COLON); END_STATE(); case 179: ACCEPT_TOKEN(aux_sym__user_name_or_group_token1); - if (lookahead == '-' || - ('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(179); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(179); END_STATE(); case 180: - ACCEPT_TOKEN(aux_sym__immediate_user_name_or_group_fragment_token1); - if (lookahead == '-') ADVANCE(182); - if (('0' <= lookahead && lookahead <= '9') || + ACCEPT_TOKEN(aux_sym__user_name_or_group_token1); + if (lookahead == '-' || + ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(180); END_STATE(); case 181: ACCEPT_TOKEN(aux_sym__immediate_user_name_or_group_fragment_token1); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(181); + if (lookahead == '-') ADVANCE(183); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(181); END_STATE(); case 182: + ACCEPT_TOKEN(aux_sym__immediate_user_name_or_group_fragment_token1); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(182); + END_STATE(); + case 183: ACCEPT_TOKEN(aux_sym__immediate_user_name_or_group_fragment_token1); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(182); - END_STATE(); - case 183: - ACCEPT_TOKEN(aux_sym_workdir_instruction_token1); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(183); END_STATE(); case 184: - ACCEPT_TOKEN(aux_sym_arg_instruction_token1); + ACCEPT_TOKEN(aux_sym_workdir_instruction_token1); END_STATE(); case 185: + ACCEPT_TOKEN(aux_sym_arg_instruction_token1); + END_STATE(); + case 186: ACCEPT_TOKEN(aux_sym_arg_instruction_token2); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(185); - END_STATE(); - case 186: - ACCEPT_TOKEN(anon_sym_EQ); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(186); END_STATE(); case 187: - ACCEPT_TOKEN(aux_sym_onbuild_instruction_token1); + ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); case 188: - ACCEPT_TOKEN(aux_sym_stopsignal_instruction_token1); + ACCEPT_TOKEN(aux_sym_onbuild_instruction_token1); END_STATE(); case 189: - ACCEPT_TOKEN(aux_sym__stopsignal_value_token1); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(189); + ACCEPT_TOKEN(aux_sym_stopsignal_instruction_token1); END_STATE(); case 190: - ACCEPT_TOKEN(aux_sym__stopsignal_value_token2); + ACCEPT_TOKEN(aux_sym__stopsignal_value_token1); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(190); END_STATE(); case 191: - ACCEPT_TOKEN(aux_sym_healthcheck_instruction_token1); + ACCEPT_TOKEN(aux_sym__stopsignal_value_token2); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z')) ADVANCE(191); END_STATE(); case 192: - ACCEPT_TOKEN(anon_sym_NONE); + ACCEPT_TOKEN(aux_sym_healthcheck_instruction_token1); END_STATE(); case 193: - ACCEPT_TOKEN(aux_sym_shell_instruction_token1); + ACCEPT_TOKEN(anon_sym_NONE); END_STATE(); case 194: - ACCEPT_TOKEN(aux_sym_maintainer_instruction_token1); + ACCEPT_TOKEN(aux_sym_shell_instruction_token1); END_STATE(); case 195: - ACCEPT_TOKEN(aux_sym_maintainer_instruction_token2); - if (lookahead == '\n') ADVANCE(246); - if (lookahead != 0) ADVANCE(197); + ACCEPT_TOKEN(aux_sym_maintainer_instruction_token1); END_STATE(); case 196: ACCEPT_TOKEN(aux_sym_maintainer_instruction_token2); - if (lookahead == '\\') ADVANCE(195); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(196); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(197); + if (lookahead == '\n') ADVANCE(252); + if (lookahead != 0) ADVANCE(198); END_STATE(); case 197: ACCEPT_TOKEN(aux_sym_maintainer_instruction_token2); + if (lookahead == '\\') ADVANCE(196); + if (lookahead == '\t' || + (0x0b <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(197); if (lookahead != 0 && - lookahead != '\n') ADVANCE(197); + (lookahead < '\t' || '\r' < lookahead)) ADVANCE(198); END_STATE(); case 198: + ACCEPT_TOKEN(aux_sym_maintainer_instruction_token2); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(198); + END_STATE(); + case 199: ACCEPT_TOKEN(aux_sym_cross_build_instruction_token1); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(198); - END_STATE(); - case 199: - ACCEPT_TOKEN(aux_sym_path_token1); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(199); END_STATE(); case 200: ACCEPT_TOKEN(aux_sym_path_token1); - if (lookahead == '\n') ADVANCE(246); END_STATE(); case 201: - ACCEPT_TOKEN(aux_sym_path_token2); - if (lookahead == '\n') ADVANCE(246); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '$') ADVANCE(202); + ACCEPT_TOKEN(aux_sym_path_token1); + if (lookahead == '\n') ADVANCE(252); END_STATE(); case 202: ACCEPT_TOKEN(aux_sym_path_token2); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '$') ADVANCE(202); END_STATE(); case 203: - ACCEPT_TOKEN(anon_sym_DOLLAR); + ACCEPT_TOKEN(aux_sym_path_token2); + if (lookahead != 0 && + lookahead != '\n' && + lookahead != '<' && + lookahead != '\\') ADVANCE(250); END_STATE(); case 204: - ACCEPT_TOKEN(anon_sym_DOLLAR2); + ACCEPT_TOKEN(aux_sym_path_token3); + if (lookahead == '\n') ADVANCE(252); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '$') ADVANCE(205); END_STATE(); case 205: - ACCEPT_TOKEN(anon_sym_LBRACE); + ACCEPT_TOKEN(aux_sym_path_token3); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '$') ADVANCE(205); END_STATE(); case 206: - ACCEPT_TOKEN(aux_sym__expansion_body_token1); - if (lookahead == '\n') ADVANCE(247); - if (lookahead != 0 && - lookahead != '}') ADVANCE(208); + ACCEPT_TOKEN(aux_sym_path_with_heredoc_token1); END_STATE(); case 207: - ACCEPT_TOKEN(aux_sym__expansion_body_token1); - if (lookahead == '\\') ADVANCE(206); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(207); - if (lookahead != 0 && - lookahead != '}') ADVANCE(208); + ACCEPT_TOKEN(anon_sym_DOLLAR); END_STATE(); case 208: - ACCEPT_TOKEN(aux_sym__expansion_body_token1); - if (lookahead != 0 && - lookahead != '}') ADVANCE(208); + ACCEPT_TOKEN(anon_sym_DOLLAR2); END_STATE(); case 209: - ACCEPT_TOKEN(anon_sym_RBRACE); + ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); case 210: + ACCEPT_TOKEN(aux_sym__expansion_body_token1); + if (lookahead == '\n') ADVANCE(253); + if (lookahead != 0 && + lookahead != '}') ADVANCE(212); + END_STATE(); + case 211: + ACCEPT_TOKEN(aux_sym__expansion_body_token1); + if (lookahead == '\\') ADVANCE(210); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(211); + if (lookahead != 0 && + lookahead != '}') ADVANCE(212); + END_STATE(); + case 212: + ACCEPT_TOKEN(aux_sym__expansion_body_token1); + if (lookahead != 0 && + lookahead != '}') ADVANCE(212); + END_STATE(); + case 213: + ACCEPT_TOKEN(anon_sym_RBRACE); + END_STATE(); + case 214: ACCEPT_TOKEN(sym_variable); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(210); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(214); END_STATE(); - case 211: + case 215: ACCEPT_TOKEN(aux_sym__spaced_env_pair_token1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(211); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(215); END_STATE(); - case 212: + case 216: ACCEPT_TOKEN(aux_sym__env_key_token1); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(212); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(216); END_STATE(); - case 213: + case 217: ACCEPT_TOKEN(aux_sym_expose_port_token1); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(213); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(217); END_STATE(); - case 214: + case 218: ACCEPT_TOKEN(anon_sym_SLASHtcp); END_STATE(); - case 215: + case 219: ACCEPT_TOKEN(anon_sym_SLASHudp); END_STATE(); - case 216: + case 220: ACCEPT_TOKEN(aux_sym_label_pair_token1); if (lookahead == '-' || lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(216); - END_STATE(); - case 217: - ACCEPT_TOKEN(aux_sym_image_name_token1); - END_STATE(); - case 218: - ACCEPT_TOKEN(aux_sym_image_name_token1); - if (lookahead == '\n') ADVANCE(246); - END_STATE(); - case 219: - ACCEPT_TOKEN(aux_sym_image_name_token2); - if (lookahead == '\n') ADVANCE(246); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '$' && - lookahead != ':' && - lookahead != '@') ADVANCE(221); - END_STATE(); - case 220: - ACCEPT_TOKEN(aux_sym_image_name_token2); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(221); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '$' && - lookahead != ':' && - lookahead != '@') ADVANCE(221); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(220); END_STATE(); case 221: + ACCEPT_TOKEN(aux_sym_image_name_token1); + END_STATE(); + case 222: + ACCEPT_TOKEN(aux_sym_image_name_token1); + if (lookahead == '\n') ADVANCE(252); + END_STATE(); + case 223: ACCEPT_TOKEN(aux_sym_image_name_token2); + if (lookahead == '\n') ADVANCE(252); if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && + (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ' && lookahead != '$' && lookahead != ':' && - lookahead != '@') ADVANCE(221); - END_STATE(); - case 222: - ACCEPT_TOKEN(aux_sym_image_tag_token1); - if (lookahead == '\n') ADVANCE(246); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '$' && - lookahead != '@') ADVANCE(224); - END_STATE(); - case 223: - ACCEPT_TOKEN(aux_sym_image_tag_token1); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(224); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '$' && - lookahead != '@') ADVANCE(224); + lookahead != '@') ADVANCE(225); END_STATE(); case 224: - ACCEPT_TOKEN(aux_sym_image_tag_token1); + ACCEPT_TOKEN(aux_sym_image_name_token2); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(225); if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && + (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ' && lookahead != '$' && - lookahead != '@') ADVANCE(224); + lookahead != ':' && + lookahead != '@') ADVANCE(225); END_STATE(); case 225: - ACCEPT_TOKEN(anon_sym_AT); + ACCEPT_TOKEN(aux_sym_image_name_token2); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '$' && + lookahead != ':' && + lookahead != '@') ADVANCE(225); END_STATE(); case 226: - ACCEPT_TOKEN(aux_sym_image_digest_token1); - if (lookahead == 'S' || - lookahead == 's') ADVANCE(227); - if (('0' <= lookahead && lookahead <= ':') || - ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(227); + ACCEPT_TOKEN(aux_sym_image_tag_token1); + if (lookahead == '\n') ADVANCE(252); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '$' && + lookahead != '@') ADVANCE(228); END_STATE(); case 227: + ACCEPT_TOKEN(aux_sym_image_tag_token1); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(228); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '$' && + lookahead != '@') ADVANCE(228); + END_STATE(); + case 228: + ACCEPT_TOKEN(aux_sym_image_tag_token1); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '$' && + lookahead != '@') ADVANCE(228); + END_STATE(); + case 229: + ACCEPT_TOKEN(anon_sym_AT); + END_STATE(); + case 230: + ACCEPT_TOKEN(aux_sym_image_digest_token1); + if (lookahead == 'S' || + lookahead == 's') ADVANCE(231); + if (('0' <= lookahead && lookahead <= ':') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(231); + END_STATE(); + case 231: ACCEPT_TOKEN(aux_sym_image_digest_token1); if (('0' <= lookahead && lookahead <= ':') || ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(227); - END_STATE(); - case 228: - ACCEPT_TOKEN(anon_sym_DASH_DASH); - END_STATE(); - case 229: - ACCEPT_TOKEN(aux_sym_param_token1); - if (lookahead == 'n') ADVANCE(231); - if (lookahead == '-' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); - END_STATE(); - case 230: - ACCEPT_TOKEN(aux_sym_param_token1); - if (lookahead == 'o') ADVANCE(232); - if (lookahead == '-' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); - END_STATE(); - case 231: - ACCEPT_TOKEN(aux_sym_param_token1); - if (lookahead == 't') ADVANCE(236); - if (lookahead == '-' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(231); END_STATE(); case 232: - ACCEPT_TOKEN(aux_sym_param_token1); - if (lookahead == 'u') ADVANCE(229); - if (lookahead == '-' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); + ACCEPT_TOKEN(anon_sym_DASH_DASH); END_STATE(); case 233: ACCEPT_TOKEN(aux_sym_param_token1); + if (lookahead == 'n') ADVANCE(235); if (lookahead == '-' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); END_STATE(); case 234: - ACCEPT_TOKEN(aux_sym_param_token2); - if (lookahead == '\n') ADVANCE(246); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\r' && - lookahead != ' ') ADVANCE(235); + ACCEPT_TOKEN(aux_sym_param_token1); + if (lookahead == 'o') ADVANCE(236); + if (lookahead == '-' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); END_STATE(); case 235: - ACCEPT_TOKEN(aux_sym_param_token2); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ') ADVANCE(235); + ACCEPT_TOKEN(aux_sym_param_token1); + if (lookahead == 't') ADVANCE(240); + if (lookahead == '-' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); END_STATE(); case 236: - ACCEPT_TOKEN(anon_sym_mount); + ACCEPT_TOKEN(aux_sym_param_token1); + if (lookahead == 'u') ADVANCE(233); if (lookahead == '-' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); END_STATE(); case 237: - ACCEPT_TOKEN(anon_sym_COMMA); + ACCEPT_TOKEN(aux_sym_param_token1); + if (lookahead == '-' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); END_STATE(); case 238: - ACCEPT_TOKEN(aux_sym_mount_param_param_token1); - if (lookahead == '\n') ADVANCE(246); + ACCEPT_TOKEN(aux_sym_param_token2); + if (lookahead == '\n') ADVANCE(252); if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != ',' && - lookahead != '=') ADVANCE(239); + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ') ADVANCE(239); END_STATE(); case 239: - ACCEPT_TOKEN(aux_sym_mount_param_param_token1); + ACCEPT_TOKEN(aux_sym_param_token2); if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != ',' && - lookahead != '=') ADVANCE(239); + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ') ADVANCE(239); END_STATE(); case 240: + ACCEPT_TOKEN(anon_sym_mount); + if (lookahead == '-' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(237); + END_STATE(); + case 241: + ACCEPT_TOKEN(anon_sym_COMMA); + END_STATE(); + case 242: + ACCEPT_TOKEN(aux_sym_mount_param_param_token1); + if (lookahead == '\n') ADVANCE(252); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != ',' && + lookahead != '=') ADVANCE(243); + END_STATE(); + case 243: + ACCEPT_TOKEN(aux_sym_mount_param_param_token1); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != ',' && + lookahead != '=') ADVANCE(243); + END_STATE(); + case 244: ACCEPT_TOKEN(aux_sym_image_alias_token1); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(240); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(244); END_STATE(); - case 241: + case 245: ACCEPT_TOKEN(aux_sym_image_alias_token2); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(241); - END_STATE(); - case 242: - ACCEPT_TOKEN(aux_sym_shell_fragment_token1); - END_STATE(); - case 243: - ACCEPT_TOKEN(aux_sym_shell_fragment_token1); - if (lookahead == '-') ADVANCE(228); - END_STATE(); - case 244: - ACCEPT_TOKEN(aux_sym_shell_fragment_token2); - if (lookahead != 0 && - lookahead != '\n' && - lookahead != '\\') ADVANCE(244); - END_STATE(); - case 245: - ACCEPT_TOKEN(aux_sym_shell_fragment_token3); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(245); END_STATE(); case 246: - ACCEPT_TOKEN(anon_sym_BSLASH_LF); + ACCEPT_TOKEN(aux_sym_shell_fragment_token1); + if (lookahead == '\t' || + lookahead == ' ') ADVANCE(246); END_STATE(); case 247: - ACCEPT_TOKEN(anon_sym_BSLASH_LF); - if (lookahead != 0 && - lookahead != '}') ADVANCE(208); + ACCEPT_TOKEN(aux_sym_shell_fragment_token2); END_STATE(); case 248: - ACCEPT_TOKEN(anon_sym_POUND); + ACCEPT_TOKEN(aux_sym_shell_fragment_token2); + if (lookahead == '-') ADVANCE(232); END_STATE(); case 249: - ACCEPT_TOKEN(anon_sym_LBRACK); + ACCEPT_TOKEN(aux_sym_shell_fragment_token3); + if (lookahead == '\n' || + lookahead == '\\') ADVANCE(202); + if (lookahead != 0 && + lookahead != '<') ADVANCE(203); END_STATE(); case 250: - ACCEPT_TOKEN(anon_sym_COMMA2); + ACCEPT_TOKEN(aux_sym_shell_fragment_token3); + if (lookahead != 0 && + lookahead != '\n' && + lookahead != '<' && + lookahead != '\\') ADVANCE(250); END_STATE(); case 251: - ACCEPT_TOKEN(anon_sym_RBRACK); + ACCEPT_TOKEN(aux_sym_shell_fragment_token4); END_STATE(); case 252: - ACCEPT_TOKEN(anon_sym_DQUOTE); + ACCEPT_TOKEN(anon_sym_BSLASH_LF); END_STATE(); case 253: - ACCEPT_TOKEN(aux_sym_json_string_token1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(253); + ACCEPT_TOKEN(anon_sym_BSLASH_LF); if (lookahead != 0 && - lookahead != '"' && - lookahead != '\\') ADVANCE(254); + lookahead != '}') ADVANCE(212); END_STATE(); case 254: + ACCEPT_TOKEN(anon_sym_POUND); + END_STATE(); + case 255: + ACCEPT_TOKEN(anon_sym_LBRACK); + END_STATE(); + case 256: + ACCEPT_TOKEN(anon_sym_COMMA2); + END_STATE(); + case 257: + ACCEPT_TOKEN(anon_sym_RBRACK); + END_STATE(); + case 258: + ACCEPT_TOKEN(anon_sym_DQUOTE); + END_STATE(); + case 259: + ACCEPT_TOKEN(aux_sym_json_string_token1); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(259); + if (lookahead != 0 && + lookahead != '"' && + lookahead != '\\') ADVANCE(260); + END_STATE(); + case 260: ACCEPT_TOKEN(aux_sym_json_string_token1); if (lookahead != 0 && lookahead != '"' && - lookahead != '\\') ADVANCE(254); - END_STATE(); - case 255: - ACCEPT_TOKEN(sym_json_escape_sequence); - END_STATE(); - case 256: - ACCEPT_TOKEN(aux_sym_double_quoted_string_token1); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(256); - if (lookahead != 0 && - lookahead != '\n' && - lookahead != '"' && - lookahead != '$' && - lookahead != '\\') ADVANCE(257); - END_STATE(); - case 257: - ACCEPT_TOKEN(aux_sym_double_quoted_string_token1); - if (lookahead != 0 && - lookahead != '\n' && - lookahead != '"' && - lookahead != '$' && - lookahead != '\\') ADVANCE(257); - END_STATE(); - case 258: - ACCEPT_TOKEN(anon_sym_BSLASH); - if (lookahead == '\n') ADVANCE(246); - END_STATE(); - case 259: - ACCEPT_TOKEN(anon_sym_BSLASH); - if (lookahead == '\n') ADVANCE(246); - if (lookahead == '"' || - lookahead == '\\') ADVANCE(268); - END_STATE(); - case 260: - ACCEPT_TOKEN(anon_sym_BSLASH); - if (lookahead == '\n') ADVANCE(246); - if (lookahead == '\'' || - lookahead == '\\') ADVANCE(269); + lookahead != '\\') ADVANCE(260); END_STATE(); case 261: - ACCEPT_TOKEN(anon_sym_SQUOTE); + ACCEPT_TOKEN(sym_json_escape_sequence); END_STATE(); case 262: - ACCEPT_TOKEN(aux_sym_single_quoted_string_token1); + ACCEPT_TOKEN(aux_sym_double_quoted_string_token1); if (lookahead == '\t' || - lookahead == '\r' || + (0x0b <= lookahead && lookahead <= '\r') || lookahead == ' ') ADVANCE(262); if (lookahead != 0 && - lookahead != '\n' && - lookahead != '\'' && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != '"' && + lookahead != '$' && lookahead != '\\') ADVANCE(263); END_STATE(); case 263: + ACCEPT_TOKEN(aux_sym_double_quoted_string_token1); + if (lookahead != 0 && + lookahead != '\n' && + lookahead != '"' && + lookahead != '$' && + lookahead != '\\') ADVANCE(263); + END_STATE(); + case 264: + ACCEPT_TOKEN(anon_sym_BSLASH); + if (lookahead == '\n') ADVANCE(252); + END_STATE(); + case 265: + ACCEPT_TOKEN(anon_sym_BSLASH); + if (lookahead == '\n') ADVANCE(252); + if (lookahead == '"' || + lookahead == '\\') ADVANCE(274); + END_STATE(); + case 266: + ACCEPT_TOKEN(anon_sym_BSLASH); + if (lookahead == '\n') ADVANCE(252); + if (lookahead == '\'' || + lookahead == '\\') ADVANCE(275); + END_STATE(); + case 267: + ACCEPT_TOKEN(anon_sym_SQUOTE); + END_STATE(); + case 268: + ACCEPT_TOKEN(aux_sym_single_quoted_string_token1); + if (lookahead == '\t' || + (0x0b <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(268); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != '\'' && + lookahead != '\\') ADVANCE(269); + END_STATE(); + case 269: ACCEPT_TOKEN(aux_sym_single_quoted_string_token1); if (lookahead != 0 && lookahead != '\n' && lookahead != '\'' && - lookahead != '\\') ADVANCE(263); + lookahead != '\\') ADVANCE(269); END_STATE(); - case 264: + case 270: ACCEPT_TOKEN(aux_sym_unquoted_string_token1); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(264); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(270); if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && + (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ' && lookahead != '"' && lookahead != '$' && lookahead != '\'' && - lookahead != '\\') ADVANCE(266); + lookahead != '\\') ADVANCE(272); END_STATE(); - case 265: + case 271: ACCEPT_TOKEN(aux_sym_unquoted_string_token1); if (lookahead == '-' || lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(265); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(271); if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && + (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ' && lookahead != '"' && lookahead != '$' && lookahead != '\'' && - lookahead != '\\') ADVANCE(266); - END_STATE(); - case 266: - ACCEPT_TOKEN(aux_sym_unquoted_string_token1); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '"' && - lookahead != '$' && - lookahead != '\'' && - lookahead != '\\') ADVANCE(266); - END_STATE(); - case 267: - ACCEPT_TOKEN(anon_sym_BSLASH2); - END_STATE(); - case 268: - ACCEPT_TOKEN(sym_double_quoted_escape_sequence); - END_STATE(); - case 269: - ACCEPT_TOKEN(sym_single_quoted_escape_sequence); - END_STATE(); - case 270: - ACCEPT_TOKEN(sym__non_newline_whitespace); - if (lookahead == '\n') ADVANCE(164); - if (lookahead == '\t' || - lookahead == ' ') ADVANCE(270); - END_STATE(); - case 271: - ACCEPT_TOKEN(sym__non_newline_whitespace); - if (lookahead == '\t' || - lookahead == ' ') ADVANCE(271); + lookahead != '\\') ADVANCE(272); END_STATE(); case 272: + ACCEPT_TOKEN(aux_sym_unquoted_string_token1); + if (lookahead != 0 && + (lookahead < '\t' || '\r' < lookahead) && + lookahead != ' ' && + lookahead != '"' && + lookahead != '$' && + lookahead != '\'' && + lookahead != '\\') ADVANCE(272); + END_STATE(); + case 273: + ACCEPT_TOKEN(anon_sym_BSLASH2); + END_STATE(); + case 274: + ACCEPT_TOKEN(sym_double_quoted_escape_sequence); + END_STATE(); + case 275: + ACCEPT_TOKEN(sym_single_quoted_escape_sequence); + END_STATE(); + case 276: + ACCEPT_TOKEN(sym__non_newline_whitespace); + if (lookahead == '\t' || + lookahead == ' ') ADVANCE(276); + END_STATE(); + case 277: ACCEPT_TOKEN(sym_comment); if (lookahead != 0 && - lookahead != '\n') ADVANCE(272); + lookahead != '\n') ADVANCE(277); END_STATE(); default: return false; @@ -3331,350 +3407,402 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { } static const TSLexMode ts_lex_modes[STATE_COUNT] = { - [0] = {.lex_state = 0}, - [1] = {.lex_state = 160}, - [2] = {.lex_state = 160}, - [3] = {.lex_state = 160}, - [4] = {.lex_state = 160}, - [5] = {.lex_state = 160}, - [6] = {.lex_state = 32}, - [7] = {.lex_state = 32}, - [8] = {.lex_state = 5}, - [9] = {.lex_state = 33}, - [10] = {.lex_state = 33}, - [11] = {.lex_state = 26}, - [12] = {.lex_state = 26}, + [0] = {.lex_state = 0, .external_lex_state = 1}, + [1] = {.lex_state = 162}, + [2] = {.lex_state = 162}, + [3] = {.lex_state = 162}, + [4] = {.lex_state = 162}, + [5] = {.lex_state = 162}, + [6] = {.lex_state = 32, .external_lex_state = 2}, + [7] = {.lex_state = 32, .external_lex_state = 2}, + [8] = {.lex_state = 33, .external_lex_state = 2}, + [9] = {.lex_state = 33, .external_lex_state = 2}, + [10] = {.lex_state = 5}, + [11] = {.lex_state = 33, .external_lex_state = 2}, + [12] = {.lex_state = 33, .external_lex_state = 2}, [13] = {.lex_state = 26}, - [14] = {.lex_state = 6}, - [15] = {.lex_state = 6}, - [16] = {.lex_state = 32}, - [17] = {.lex_state = 33}, - [18] = {.lex_state = 33}, - [19] = {.lex_state = 33}, - [20] = {.lex_state = 10}, - [21] = {.lex_state = 10}, - [22] = {.lex_state = 10}, - [23] = {.lex_state = 9}, - [24] = {.lex_state = 8}, - [25] = {.lex_state = 22}, - [26] = {.lex_state = 31}, - [27] = {.lex_state = 22}, - [28] = {.lex_state = 22}, - [29] = {.lex_state = 38}, - [30] = {.lex_state = 9}, - [31] = {.lex_state = 38}, - [32] = {.lex_state = 22}, - [33] = {.lex_state = 31}, - [34] = {.lex_state = 38}, - [35] = {.lex_state = 5}, - [36] = {.lex_state = 31}, - [37] = {.lex_state = 5}, - [38] = {.lex_state = 38}, - [39] = {.lex_state = 9}, - [40] = {.lex_state = 22}, - [41] = {.lex_state = 11}, - [42] = {.lex_state = 11}, - [43] = {.lex_state = 8}, - [44] = {.lex_state = 22}, - [45] = {.lex_state = 22}, - [46] = {.lex_state = 6}, - [47] = {.lex_state = 9}, - [48] = {.lex_state = 6}, - [49] = {.lex_state = 33}, - [50] = {.lex_state = 23}, - [51] = {.lex_state = 12}, - [52] = {.lex_state = 12}, - [53] = {.lex_state = 23}, - [54] = {.lex_state = 23}, - [55] = {.lex_state = 31}, - [56] = {.lex_state = 31}, - [57] = {.lex_state = 6}, - [58] = {.lex_state = 28}, - [59] = {.lex_state = 39}, + [14] = {.lex_state = 33, .external_lex_state = 2}, + [15] = {.lex_state = 33, .external_lex_state = 2}, + [16] = {.lex_state = 26}, + [17] = {.lex_state = 33, .external_lex_state = 2}, + [18] = {.lex_state = 26}, + [19] = {.lex_state = 33, .external_lex_state = 2}, + [20] = {.lex_state = 32, .external_lex_state = 2}, + [21] = {.lex_state = 31, .external_lex_state = 2}, + [22] = {.lex_state = 6}, + [23] = {.lex_state = 38, .external_lex_state = 2}, + [24] = {.lex_state = 38, .external_lex_state = 2}, + [25] = {.lex_state = 38, .external_lex_state = 2}, + [26] = {.lex_state = 31, .external_lex_state = 2}, + [27] = {.lex_state = 38, .external_lex_state = 2}, + [28] = {.lex_state = 6}, + [29] = {.lex_state = 31, .external_lex_state = 2}, + [30] = {.lex_state = 10}, + [31] = {.lex_state = 10}, + [32] = {.lex_state = 10}, + [33] = {.lex_state = 31, .external_lex_state = 2}, + [34] = {.lex_state = 33, .external_lex_state = 2}, + [35] = {.lex_state = 31, .external_lex_state = 2}, + [36] = {.lex_state = 24}, + [37] = {.lex_state = 24}, + [38] = {.lex_state = 32, .external_lex_state = 2}, + [39] = {.lex_state = 5}, + [40] = {.lex_state = 24}, + [41] = {.lex_state = 7}, + [42] = {.lex_state = 24}, + [43] = {.lex_state = 20, .external_lex_state = 3}, + [44] = {.lex_state = 16, .external_lex_state = 4}, + [45] = {.lex_state = 20, .external_lex_state = 3}, + [46] = {.lex_state = 24}, + [47] = {.lex_state = 24}, + [48] = {.lex_state = 16, .external_lex_state = 4}, + [49] = {.lex_state = 7}, + [50] = {.lex_state = 11}, + [51] = {.lex_state = 11}, + [52] = {.lex_state = 5}, + [53] = {.lex_state = 11}, + [54] = {.lex_state = 12}, + [55] = {.lex_state = 16, .external_lex_state = 4}, + [56] = {.lex_state = 32, .external_lex_state = 2}, + [57] = {.lex_state = 12}, + [58] = {.lex_state = 24}, + [59] = {.lex_state = 38, .external_lex_state = 2}, [60] = {.lex_state = 6}, - [61] = {.lex_state = 6}, - [62] = {.lex_state = 9}, - [63] = {.lex_state = 10}, - [64] = {.lex_state = 16}, - [65] = {.lex_state = 40}, - [66] = {.lex_state = 37}, - [67] = {.lex_state = 13}, - [68] = {.lex_state = 10}, - [69] = {.lex_state = 14}, - [70] = {.lex_state = 160}, - [71] = {.lex_state = 14}, - [72] = {.lex_state = 10}, - [73] = {.lex_state = 16}, - [74] = {.lex_state = 13}, - [75] = {.lex_state = 13}, - [76] = {.lex_state = 14}, - [77] = {.lex_state = 34}, - [78] = {.lex_state = 32}, - [79] = {.lex_state = 37}, - [80] = {.lex_state = 16}, - [81] = {.lex_state = 15}, - [82] = {.lex_state = 15}, - [83] = {.lex_state = 10}, - [84] = {.lex_state = 15}, + [61] = {.lex_state = 28}, + [62] = {.lex_state = 13}, + [63] = {.lex_state = 38, .external_lex_state = 2}, + [64] = {.lex_state = 40}, + [65] = {.lex_state = 38, .external_lex_state = 2}, + [66] = {.lex_state = 39}, + [67] = {.lex_state = 16}, + [68] = {.lex_state = 6}, + [69] = {.lex_state = 16}, + [70] = {.lex_state = 6}, + [71] = {.lex_state = 11}, + [72] = {.lex_state = 20, .external_lex_state = 2}, + [73] = {.lex_state = 20, .external_lex_state = 3}, + [74] = {.lex_state = 11}, + [75] = {.lex_state = 6}, + [76] = {.lex_state = 38, .external_lex_state = 2}, + [77] = {.lex_state = 6}, + [78] = {.lex_state = 13}, + [79] = {.lex_state = 16}, + [80] = {.lex_state = 20, .external_lex_state = 2}, + [81] = {.lex_state = 38, .external_lex_state = 2}, + [82] = {.lex_state = 38, .external_lex_state = 2}, + [83] = {.lex_state = 14}, + [84] = {.lex_state = 18}, [85] = {.lex_state = 10}, [86] = {.lex_state = 10}, - [87] = {.lex_state = 37}, - [88] = {.lex_state = 32}, - [89] = {.lex_state = 36}, - [90] = {.lex_state = 5}, - [91] = {.lex_state = 20}, - [92] = {.lex_state = 160}, - [93] = {.lex_state = 35}, - [94] = {.lex_state = 55}, - [95] = {.lex_state = 11}, - [96] = {.lex_state = 25}, - [97] = {.lex_state = 22}, - [98] = {.lex_state = 22}, - [99] = {.lex_state = 38}, - [100] = {.lex_state = 5}, - [101] = {.lex_state = 38}, - [102] = {.lex_state = 25}, - [103] = {.lex_state = 22}, - [104] = {.lex_state = 25}, - [105] = {.lex_state = 11}, - [106] = {.lex_state = 25}, - [107] = {.lex_state = 11}, - [108] = {.lex_state = 21}, - [109] = {.lex_state = 16}, - [110] = {.lex_state = 5}, - [111] = {.lex_state = 22}, - [112] = {.lex_state = 5}, - [113] = {.lex_state = 39}, - [114] = {.lex_state = 160}, + [87] = {.lex_state = 15}, + [88] = {.lex_state = 10}, + [89] = {.lex_state = 10}, + [90] = {.lex_state = 18}, + [91] = {.lex_state = 17}, + [92] = {.lex_state = 36}, + [93] = {.lex_state = 34}, + [94] = {.lex_state = 15}, + [95] = {.lex_state = 36}, + [96] = {.lex_state = 33, .external_lex_state = 2}, + [97] = {.lex_state = 14}, + [98] = {.lex_state = 18}, + [99] = {.lex_state = 20, .external_lex_state = 2}, + [100] = {.lex_state = 17}, + [101] = {.lex_state = 162}, + [102] = {.lex_state = 14}, + [103] = {.lex_state = 17}, + [104] = {.lex_state = 10}, + [105] = {.lex_state = 10}, + [106] = {.lex_state = 33, .external_lex_state = 2}, + [107] = {.lex_state = 15}, + [108] = {.lex_state = 33, .external_lex_state = 2}, + [109] = {.lex_state = 36}, + [110] = {.lex_state = 18}, + [111] = {.lex_state = 38, .external_lex_state = 2}, + [112] = {.lex_state = 162}, + [113] = {.lex_state = 55}, + [114] = {.lex_state = 41}, [115] = {.lex_state = 25}, [116] = {.lex_state = 25}, - [117] = {.lex_state = 5}, - [118] = {.lex_state = 11}, - [119] = {.lex_state = 21}, - [120] = {.lex_state = 11}, - [121] = {.lex_state = 22}, - [122] = {.lex_state = 20}, - [123] = {.lex_state = 38}, - [124] = {.lex_state = 38}, - [125] = {.lex_state = 25}, - [126] = {.lex_state = 38}, - [127] = {.lex_state = 38}, - [128] = {.lex_state = 9}, - [129] = {.lex_state = 30}, - [130] = {.lex_state = 33}, - [131] = {.lex_state = 23}, - [132] = {.lex_state = 38}, - [133] = {.lex_state = 8}, - [134] = {.lex_state = 9}, - [135] = {.lex_state = 9}, + [117] = {.lex_state = 38, .external_lex_state = 2}, + [118] = {.lex_state = 24}, + [119] = {.lex_state = 25}, + [120] = {.lex_state = 25}, + [121] = {.lex_state = 5}, + [122] = {.lex_state = 25}, + [123] = {.lex_state = 16, .external_lex_state = 4}, + [124] = {.lex_state = 16, .external_lex_state = 4}, + [125] = {.lex_state = 5}, + [126] = {.lex_state = 16, .external_lex_state = 4}, + [127] = {.lex_state = 39}, + [128] = {.lex_state = 35}, + [129] = {.lex_state = 23}, + [130] = {.lex_state = 5}, + [131] = {.lex_state = 37}, + [132] = {.lex_state = 25}, + [133] = {.lex_state = 16, .external_lex_state = 4}, + [134] = {.lex_state = 16, .external_lex_state = 4}, + [135] = {.lex_state = 16, .external_lex_state = 4}, [136] = {.lex_state = 12}, - [137] = {.lex_state = 8}, - [138] = {.lex_state = 25}, - [139] = {.lex_state = 23}, - [140] = {.lex_state = 23}, - [141] = {.lex_state = 23}, - [142] = {.lex_state = 8}, - [143] = {.lex_state = 9}, - [144] = {.lex_state = 23}, - [145] = {.lex_state = 12}, - [146] = {.lex_state = 30}, - [147] = {.lex_state = 23}, - [148] = {.lex_state = 33}, - [149] = {.lex_state = 33}, + [137] = {.lex_state = 5}, + [138] = {.lex_state = 16, .external_lex_state = 4}, + [139] = {.lex_state = 25}, + [140] = {.lex_state = 41}, + [141] = {.lex_state = 5}, + [142] = {.lex_state = 12}, + [143] = {.lex_state = 24}, + [144] = {.lex_state = 162}, + [145] = {.lex_state = 16, .external_lex_state = 4}, + [146] = {.lex_state = 23}, + [147] = {.lex_state = 24}, + [148] = {.lex_state = 24}, + [149] = {.lex_state = 16, .external_lex_state = 4}, [150] = {.lex_state = 12}, [151] = {.lex_state = 12}, - [152] = {.lex_state = 9}, - [153] = {.lex_state = 42}, - [154] = {.lex_state = 41}, - [155] = {.lex_state = 9}, - [156] = {.lex_state = 9}, - [157] = {.lex_state = 30}, - [158] = {.lex_state = 160}, - [159] = {.lex_state = 38}, - [160] = {.lex_state = 44}, - [161] = {.lex_state = 12}, - [162] = {.lex_state = 8}, - [163] = {.lex_state = 8}, - [164] = {.lex_state = 16}, - [165] = {.lex_state = 42}, - [166] = {.lex_state = 8}, - [167] = {.lex_state = 15}, - [168] = {.lex_state = 15}, - [169] = {.lex_state = 5}, - [170] = {.lex_state = 51}, - [171] = {.lex_state = 51}, - [172] = {.lex_state = 51}, - [173] = {.lex_state = 51}, - [174] = {.lex_state = 51}, - [175] = {.lex_state = 51}, - [176] = {.lex_state = 51}, - [177] = {.lex_state = 51}, - [178] = {.lex_state = 23}, - [179] = {.lex_state = 51}, - [180] = {.lex_state = 160}, - [181] = {.lex_state = 9}, - [182] = {.lex_state = 51}, - [183] = {.lex_state = 51}, - [184] = {.lex_state = 51}, - [185] = {.lex_state = 51}, - [186] = {.lex_state = 14}, - [187] = {.lex_state = 30}, - [188] = {.lex_state = 51}, - [189] = {.lex_state = 51}, - [190] = {.lex_state = 51}, - [191] = {.lex_state = 51}, - [192] = {.lex_state = 51}, - [193] = {.lex_state = 14}, - [194] = {.lex_state = 14}, - [195] = {.lex_state = 160}, - [196] = {.lex_state = 5}, - [197] = {.lex_state = 160}, - [198] = {.lex_state = 16}, - [199] = {.lex_state = 14}, - [200] = {.lex_state = 14}, - [201] = {.lex_state = 38}, - [202] = {.lex_state = 14}, - [203] = {.lex_state = 13}, - [204] = {.lex_state = 13}, - [205] = {.lex_state = 23}, - [206] = {.lex_state = 13}, - [207] = {.lex_state = 13}, - [208] = {.lex_state = 13}, - [209] = {.lex_state = 13}, - [210] = {.lex_state = 23}, - [211] = {.lex_state = 16}, - [212] = {.lex_state = 16}, - [213] = {.lex_state = 51}, - [214] = {.lex_state = 37}, - [215] = {.lex_state = 15}, - [216] = {.lex_state = 16}, - [217] = {.lex_state = 5}, - [218] = {.lex_state = 15}, - [219] = {.lex_state = 5}, - [220] = {.lex_state = 15}, - [221] = {.lex_state = 5}, - [222] = {.lex_state = 160}, - [223] = {.lex_state = 38}, - [224] = {.lex_state = 37}, - [225] = {.lex_state = 37}, - [226] = {.lex_state = 16}, - [227] = {.lex_state = 51}, - [228] = {.lex_state = 15}, - [229] = {.lex_state = 37}, - [230] = {.lex_state = 37}, - [231] = {.lex_state = 37}, - [232] = {.lex_state = 23}, - [233] = {.lex_state = 23}, - [234] = {.lex_state = 20}, - [235] = {.lex_state = 16}, - [236] = {.lex_state = 16}, - [237] = {.lex_state = 20}, - [238] = {.lex_state = 20}, - [239] = {.lex_state = 20}, - [240] = {.lex_state = 20}, - [241] = {.lex_state = 23}, - [242] = {.lex_state = 23}, - [243] = {.lex_state = 16}, - [244] = {.lex_state = 160}, - [245] = {.lex_state = 39}, - [246] = {.lex_state = 160}, - [247] = {.lex_state = 57}, - [248] = {.lex_state = 160}, - [249] = {.lex_state = 160}, - [250] = {.lex_state = 9}, - [251] = {.lex_state = 16}, - [252] = {.lex_state = 10}, - [253] = {.lex_state = 41}, - [254] = {.lex_state = 160}, - [255] = {.lex_state = 160}, - [256] = {.lex_state = 47}, - [257] = {.lex_state = 20}, - [258] = {.lex_state = 160}, - [259] = {.lex_state = 38}, - [260] = {.lex_state = 47}, - [261] = {.lex_state = 23}, - [262] = {.lex_state = 57}, - [263] = {.lex_state = 5}, - [264] = {.lex_state = 5}, - [265] = {.lex_state = 57}, - [266] = {.lex_state = 5}, - [267] = {.lex_state = 37}, - [268] = {.lex_state = 160}, - [269] = {.lex_state = 160}, - [270] = {.lex_state = 5}, - [271] = {.lex_state = 160}, - [272] = {.lex_state = 58}, - [273] = {.lex_state = 160}, - [274] = {.lex_state = 5}, - [275] = {.lex_state = 160}, - [276] = {.lex_state = 5}, - [277] = {.lex_state = 5}, - [278] = {.lex_state = 5}, - [279] = {.lex_state = 160}, - [280] = {.lex_state = 160}, - [281] = {.lex_state = 196}, - [282] = {.lex_state = 5}, - [283] = {.lex_state = 5}, - [284] = {.lex_state = 5}, - [285] = {.lex_state = 5}, - [286] = {.lex_state = 59}, - [287] = {.lex_state = 5}, - [288] = {.lex_state = 5}, - [289] = {.lex_state = 5}, - [290] = {.lex_state = 0}, - [291] = {.lex_state = 5}, - [292] = {.lex_state = 160}, - [293] = {.lex_state = 160}, - [294] = {.lex_state = 5}, - [295] = {.lex_state = 54}, - [296] = {.lex_state = 196}, - [297] = {.lex_state = 196}, - [298] = {.lex_state = 5}, - [299] = {.lex_state = 56}, - [300] = {.lex_state = 160}, - [301] = {.lex_state = 58}, - [302] = {.lex_state = 58}, - [303] = {.lex_state = 5}, - [304] = {.lex_state = 5}, - [305] = {.lex_state = 160}, - [306] = {.lex_state = 5}, - [307] = {.lex_state = 5}, - [308] = {.lex_state = 160}, - [309] = {.lex_state = 5}, - [310] = {.lex_state = 5}, - [311] = {.lex_state = 160}, + [152] = {.lex_state = 12}, + [153] = {.lex_state = 24}, + [154] = {.lex_state = 16, .external_lex_state = 4}, + [155] = {.lex_state = 43}, + [156] = {.lex_state = 5, .external_lex_state = 4}, + [157] = {.lex_state = 16}, + [158] = {.lex_state = 13}, + [159] = {.lex_state = 13}, + [160] = {.lex_state = 7}, + [161] = {.lex_state = 43}, + [162] = {.lex_state = 7}, + [163] = {.lex_state = 13}, + [164] = {.lex_state = 5, .external_lex_state = 4}, + [165] = {.lex_state = 30}, + [166] = {.lex_state = 11}, + [167] = {.lex_state = 11}, + [168] = {.lex_state = 11}, + [169] = {.lex_state = 11}, + [170] = {.lex_state = 7}, + [171] = {.lex_state = 11}, + [172] = {.lex_state = 5, .external_lex_state = 4}, + [173] = {.lex_state = 11}, + [174] = {.lex_state = 11}, + [175] = {.lex_state = 5, .external_lex_state = 4}, + [176] = {.lex_state = 5, .external_lex_state = 4}, + [177] = {.lex_state = 5, .external_lex_state = 4}, + [178] = {.lex_state = 13}, + [179] = {.lex_state = 7}, + [180] = {.lex_state = 162}, + [181] = {.lex_state = 5, .external_lex_state = 4}, + [182] = {.lex_state = 16}, + [183] = {.lex_state = 16}, + [184] = {.lex_state = 5, .external_lex_state = 4}, + [185] = {.lex_state = 13}, + [186] = {.lex_state = 38, .external_lex_state = 2}, + [187] = {.lex_state = 18}, + [188] = {.lex_state = 16}, + [189] = {.lex_state = 5, .external_lex_state = 4}, + [190] = {.lex_state = 7}, + [191] = {.lex_state = 5, .external_lex_state = 4}, + [192] = {.lex_state = 16}, + [193] = {.lex_state = 5, .external_lex_state = 4}, + [194] = {.lex_state = 7}, + [195] = {.lex_state = 25}, + [196] = {.lex_state = 16}, + [197] = {.lex_state = 42}, + [198] = {.lex_state = 30}, + [199] = {.lex_state = 45}, + [200] = {.lex_state = 5, .external_lex_state = 4}, + [201] = {.lex_state = 30}, + [202] = {.lex_state = 5, .external_lex_state = 4}, + [203] = {.lex_state = 5, .external_lex_state = 4}, + [204] = {.lex_state = 17}, + [205] = {.lex_state = 5}, + [206] = {.lex_state = 11}, + [207] = {.lex_state = 52}, + [208] = {.lex_state = 162}, + [209] = {.lex_state = 15}, + [210] = {.lex_state = 52}, + [211] = {.lex_state = 52}, + [212] = {.lex_state = 18}, + [213] = {.lex_state = 15}, + [214] = {.lex_state = 15}, + [215] = {.lex_state = 162}, + [216] = {.lex_state = 15}, + [217] = {.lex_state = 16}, + [218] = {.lex_state = 0, .external_lex_state = 5}, + [219] = {.lex_state = 14}, + [220] = {.lex_state = 36}, + [221] = {.lex_state = 14}, + [222] = {.lex_state = 52}, + [223] = {.lex_state = 14}, + [224] = {.lex_state = 52}, + [225] = {.lex_state = 14}, + [226] = {.lex_state = 52}, + [227] = {.lex_state = 52}, + [228] = {.lex_state = 5}, + [229] = {.lex_state = 14}, + [230] = {.lex_state = 0, .external_lex_state = 5}, + [231] = {.lex_state = 52}, + [232] = {.lex_state = 16, .external_lex_state = 4}, + [233] = {.lex_state = 17}, + [234] = {.lex_state = 17}, + [235] = {.lex_state = 52}, + [236] = {.lex_state = 18}, + [237] = {.lex_state = 18}, + [238] = {.lex_state = 52}, + [239] = {.lex_state = 162}, + [240] = {.lex_state = 17}, + [241] = {.lex_state = 52}, + [242] = {.lex_state = 17}, + [243] = {.lex_state = 5}, + [244] = {.lex_state = 5}, + [245] = {.lex_state = 30}, + [246] = {.lex_state = 15}, + [247] = {.lex_state = 15}, + [248] = {.lex_state = 52}, + [249] = {.lex_state = 52}, + [250] = {.lex_state = 52}, + [251] = {.lex_state = 52}, + [252] = {.lex_state = 16}, + [253] = {.lex_state = 52}, + [254] = {.lex_state = 52}, + [255] = {.lex_state = 14}, + [256] = {.lex_state = 5}, + [257] = {.lex_state = 52}, + [258] = {.lex_state = 16}, + [259] = {.lex_state = 52}, + [260] = {.lex_state = 162}, + [261] = {.lex_state = 18}, + [262] = {.lex_state = 52}, + [263] = {.lex_state = 18}, + [264] = {.lex_state = 52}, + [265] = {.lex_state = 162}, + [266] = {.lex_state = 162}, + [267] = {.lex_state = 52}, + [268] = {.lex_state = 36}, + [269] = {.lex_state = 36}, + [270] = {.lex_state = 36}, + [271] = {.lex_state = 162}, + [272] = {.lex_state = 36}, + [273] = {.lex_state = 17}, + [274] = {.lex_state = 36}, + [275] = {.lex_state = 0, .external_lex_state = 5}, + [276] = {.lex_state = 5, .external_lex_state = 4}, + [277] = {.lex_state = 162}, + [278] = {.lex_state = 23}, + [279] = {.lex_state = 23}, + [280] = {.lex_state = 5, .external_lex_state = 4}, + [281] = {.lex_state = 5, .external_lex_state = 4}, + [282] = {.lex_state = 162}, + [283] = {.lex_state = 18}, + [284] = {.lex_state = 18}, + [285] = {.lex_state = 42}, + [286] = {.lex_state = 18}, + [287] = {.lex_state = 162}, + [288] = {.lex_state = 18}, + [289] = {.lex_state = 57}, + [290] = {.lex_state = 162}, + [291] = {.lex_state = 162}, + [292] = {.lex_state = 23}, + [293] = {.lex_state = 23}, + [294] = {.lex_state = 5, .external_lex_state = 4}, + [295] = {.lex_state = 5, .external_lex_state = 4}, + [296] = {.lex_state = 23}, + [297] = {.lex_state = 57}, + [298] = {.lex_state = 16}, + [299] = {.lex_state = 5, .external_lex_state = 4}, + [300] = {.lex_state = 7}, + [301] = {.lex_state = 10}, + [302] = {.lex_state = 5, .external_lex_state = 4}, + [303] = {.lex_state = 0, .external_lex_state = 5}, + [304] = {.lex_state = 5, .external_lex_state = 4}, + [305] = {.lex_state = 48}, + [306] = {.lex_state = 162}, + [307] = {.lex_state = 23}, + [308] = {.lex_state = 48}, + [309] = {.lex_state = 162}, + [310] = {.lex_state = 39}, + [311] = {.lex_state = 5}, [312] = {.lex_state = 5}, [313] = {.lex_state = 5}, - [314] = {.lex_state = 160}, - [315] = {.lex_state = 59}, - [316] = {.lex_state = 160}, - [317] = {.lex_state = 160}, + [314] = {.lex_state = 5}, + [315] = {.lex_state = 5}, + [316] = {.lex_state = 5}, + [317] = {.lex_state = 5}, [318] = {.lex_state = 5}, - [319] = {.lex_state = 160}, - [320] = {.lex_state = 160}, - [321] = {.lex_state = 160}, - [322] = {.lex_state = 160}, - [323] = {.lex_state = 160}, - [324] = {.lex_state = 160}, - [325] = {.lex_state = 160}, - [326] = {.lex_state = 160}, - [327] = {.lex_state = 59}, - [328] = {.lex_state = 58}, - [329] = {.lex_state = 59}, - [330] = {.lex_state = 160}, - [331] = {.lex_state = 59}, - [332] = {.lex_state = 160}, - [333] = {.lex_state = 59}, - [334] = {.lex_state = 54}, - [335] = {.lex_state = 59}, - [336] = {.lex_state = 59}, - [337] = {.lex_state = 59}, - [338] = {.lex_state = 59}, - [339] = {.lex_state = 59}, + [319] = {.lex_state = 5}, + [320] = {.lex_state = 162}, + [321] = {.lex_state = 5}, + [322] = {.lex_state = 5}, + [323] = {.lex_state = 5}, + [324] = {.lex_state = 197}, + [325] = {.lex_state = 36}, + [326] = {.lex_state = 5}, + [327] = {.lex_state = 5}, + [328] = {.lex_state = 246}, + [329] = {.lex_state = 5}, + [330] = {.lex_state = 54}, + [331] = {.lex_state = 58}, + [332] = {.lex_state = 246}, + [333] = {.lex_state = 162}, + [334] = {.lex_state = 162}, + [335] = {.lex_state = 5}, + [336] = {.lex_state = 5}, + [337] = {.lex_state = 0}, + [338] = {.lex_state = 5}, + [339] = {.lex_state = 162}, [340] = {.lex_state = 59}, - [341] = {.lex_state = 59}, - [342] = {.lex_state = 54}, - [343] = {(TSStateId)(-1)}, + [341] = {.lex_state = 5}, + [342] = {.lex_state = 5}, + [343] = {.lex_state = 162}, + [344] = {.lex_state = 197}, + [345] = {.lex_state = 197}, + [346] = {.lex_state = 162}, + [347] = {.lex_state = 56}, + [348] = {.lex_state = 162}, + [349] = {.lex_state = 59}, + [350] = {.lex_state = 162}, + [351] = {.lex_state = 162}, + [352] = {.lex_state = 59}, + [353] = {.lex_state = 5}, + [354] = {.lex_state = 36}, + [355] = {.lex_state = 162}, + [356] = {.lex_state = 54}, + [357] = {.lex_state = 162}, + [358] = {.lex_state = 59}, + [359] = {.lex_state = 162}, + [360] = {.lex_state = 5}, + [361] = {.lex_state = 5}, + [362] = {.lex_state = 162}, + [363] = {.lex_state = 5}, + [364] = {.lex_state = 162}, + [365] = {.lex_state = 162}, + [366] = {.lex_state = 162}, + [367] = {.lex_state = 162}, + [368] = {.lex_state = 162}, + [369] = {.lex_state = 5}, + [370] = {.lex_state = 162}, + [371] = {.lex_state = 57}, + [372] = {.lex_state = 162}, + [373] = {.lex_state = 162}, + [374] = {.lex_state = 162}, + [375] = {.lex_state = 5}, + [376] = {.lex_state = 162}, + [377] = {.lex_state = 162}, + [378] = {.lex_state = 58}, + [379] = {.lex_state = 162}, + [380] = {.lex_state = 58}, + [381] = {.lex_state = 162}, + [382] = {.lex_state = 58}, + [383] = {.lex_state = 162}, + [384] = {.lex_state = 58}, + [385] = {.lex_state = 58}, + [386] = {.lex_state = 58}, + [387] = {.lex_state = 58}, + [388] = {.lex_state = 58}, + [389] = {.lex_state = 58}, + [390] = {.lex_state = 58}, + [391] = {.lex_state = 58}, + [392] = {.lex_state = 58}, + [393] = {.lex_state = 58}, + [394] = {.lex_state = 54}, + [395] = {(TSStateId)(-1)}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -3694,7 +3822,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AT] = ACTIONS(1), [anon_sym_DASH_DASH] = ACTIONS(1), [anon_sym_COMMA] = ACTIONS(1), - [aux_sym_shell_fragment_token1] = ACTIONS(1), + [aux_sym_shell_fragment_token2] = ACTIONS(1), [anon_sym_BSLASH_LF] = ACTIONS(3), [anon_sym_POUND] = ACTIONS(1), [anon_sym_LBRACK] = ACTIONS(1), @@ -3703,29 +3831,34 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DQUOTE] = ACTIONS(1), [anon_sym_BSLASH] = ACTIONS(1), [anon_sym_SQUOTE] = ACTIONS(1), + [sym_heredoc_marker] = ACTIONS(1), + [sym_heredoc_line] = ACTIONS(1), + [sym_heredoc_end] = ACTIONS(1), + [sym_heredoc_nl] = ACTIONS(1), + [sym_error_sentinel] = ACTIONS(1), }, [1] = { - [sym_source_file] = STATE(290), - [sym__instruction] = STATE(291), - [sym_from_instruction] = STATE(289), - [sym_run_instruction] = STATE(289), - [sym_cmd_instruction] = STATE(289), - [sym_label_instruction] = STATE(289), - [sym_expose_instruction] = STATE(289), - [sym_env_instruction] = STATE(289), - [sym_add_instruction] = STATE(289), - [sym_copy_instruction] = STATE(289), - [sym_entrypoint_instruction] = STATE(289), - [sym_volume_instruction] = STATE(289), - [sym_user_instruction] = STATE(289), - [sym_workdir_instruction] = STATE(289), - [sym_arg_instruction] = STATE(289), - [sym_onbuild_instruction] = STATE(289), - [sym_stopsignal_instruction] = STATE(289), - [sym_healthcheck_instruction] = STATE(289), - [sym_shell_instruction] = STATE(289), - [sym_maintainer_instruction] = STATE(289), - [sym_cross_build_instruction] = STATE(289), + [sym_source_file] = STATE(337), + [sym__instruction] = STATE(338), + [sym_from_instruction] = STATE(335), + [sym_run_instruction] = STATE(335), + [sym_cmd_instruction] = STATE(335), + [sym_label_instruction] = STATE(335), + [sym_expose_instruction] = STATE(335), + [sym_env_instruction] = STATE(335), + [sym_add_instruction] = STATE(335), + [sym_copy_instruction] = STATE(335), + [sym_entrypoint_instruction] = STATE(335), + [sym_volume_instruction] = STATE(335), + [sym_user_instruction] = STATE(335), + [sym_workdir_instruction] = STATE(335), + [sym_arg_instruction] = STATE(335), + [sym_onbuild_instruction] = STATE(335), + [sym_stopsignal_instruction] = STATE(335), + [sym_healthcheck_instruction] = STATE(335), + [sym_shell_instruction] = STATE(335), + [sym_maintainer_instruction] = STATE(335), + [sym_cross_build_instruction] = STATE(335), [sym_line_continuation] = STATE(1), [aux_sym_source_file_repeat1] = STATE(2), [ts_builtin_sym_end] = ACTIONS(5), @@ -3803,9 +3936,9 @@ static const uint16_t ts_small_parse_table[] = { sym_line_continuation, STATE(3), 1, aux_sym_source_file_repeat1, - STATE(291), 1, + STATE(338), 1, sym__instruction, - STATE(289), 19, + STATE(335), 19, sym_from_instruction, sym_run_instruction, sym_cmd_instruction, @@ -3870,12 +4003,12 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_cross_build_instruction_token1, ACTIONS(108), 1, sym_comment, - STATE(291), 1, + STATE(338), 1, sym__instruction, STATE(3), 2, sym_line_continuation, aux_sym_source_file_repeat1, - STATE(289), 19, + STATE(335), 19, sym_from_instruction, sym_run_instruction, sym_cmd_instruction, @@ -3938,9 +4071,9 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_cross_build_instruction_token1, STATE(4), 1, sym_line_continuation, - STATE(288), 1, + STATE(319), 1, sym__instruction, - STATE(289), 19, + STATE(335), 19, sym_from_instruction, sym_run_instruction, sym_cmd_instruction, @@ -3987,3999 +4120,4773 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_maintainer_instruction_token1, aux_sym_cross_build_instruction_token1, sym_comment, - [310] = 15, + [310] = 16, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(111), 1, - anon_sym_DASH_DASH, ACTIONS(113), 1, - aux_sym_shell_fragment_token1, + anon_sym_DASH_DASH, + ACTIONS(115), 1, + aux_sym_shell_fragment_token4, ACTIONS(117), 1, anon_sym_POUND, ACTIONS(119), 1, anon_sym_LBRACK, + ACTIONS(121), 1, + sym_heredoc_marker, STATE(6), 1, sym_line_continuation, - STATE(16), 1, + STATE(7), 1, aux_sym_run_instruction_repeat1, - STATE(17), 1, + STATE(12), 1, aux_sym_shell_command_repeat1, - STATE(119), 1, + STATE(43), 1, aux_sym_shell_fragment_repeat1, - STATE(130), 1, + STATE(96), 1, sym__comment_line, - STATE(196), 1, + STATE(156), 1, sym_shell_fragment, - STATE(277), 1, + STATE(322), 1, sym__anon_comment, - ACTIONS(115), 2, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - STATE(78), 2, + STATE(38), 2, sym_param, sym_mount_param, - STATE(264), 2, + STATE(181), 2, sym_shell_command, sym_json_string_array, - [359] = 15, + ACTIONS(111), 3, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + [363] = 16, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(111), 1, - anon_sym_DASH_DASH, ACTIONS(113), 1, - aux_sym_shell_fragment_token1, + anon_sym_DASH_DASH, + ACTIONS(115), 1, + aux_sym_shell_fragment_token4, ACTIONS(117), 1, anon_sym_POUND, ACTIONS(119), 1, anon_sym_LBRACK, - STATE(6), 1, - aux_sym_run_instruction_repeat1, + ACTIONS(121), 1, + sym_heredoc_marker, STATE(7), 1, sym_line_continuation, - STATE(17), 1, + STATE(12), 1, aux_sym_shell_command_repeat1, - STATE(119), 1, + STATE(20), 1, + aux_sym_run_instruction_repeat1, + STATE(43), 1, aux_sym_shell_fragment_repeat1, - STATE(130), 1, + STATE(96), 1, sym__comment_line, - STATE(196), 1, + STATE(156), 1, sym_shell_fragment, - STATE(277), 1, + STATE(322), 1, sym__anon_comment, - ACTIONS(115), 2, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - STATE(78), 2, + STATE(38), 2, sym_param, sym_mount_param, - STATE(283), 2, + STATE(184), 2, sym_shell_command, sym_json_string_array, - [408] = 12, - ACTIONS(121), 1, - anon_sym_LF, - ACTIONS(123), 1, - anon_sym_DOLLAR2, - ACTIONS(125), 1, - aux_sym__env_key_token1, - ACTIONS(127), 1, + ACTIONS(111), 3, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + [416] = 13, + ACTIONS(3), 1, anon_sym_BSLASH_LF, + ACTIONS(117), 1, + anon_sym_POUND, + ACTIONS(127), 1, + anon_sym_LBRACK, ACTIONS(129), 1, - anon_sym_DQUOTE, - ACTIONS(131), 1, - anon_sym_SQUOTE, + sym_heredoc_marker, STATE(8), 1, sym_line_continuation, - STATE(37), 1, - aux_sym_unquoted_string_repeat1, - STATE(90), 1, - sym__imm_expansion, - STATE(100), 1, - sym__immediate_expansion, - ACTIONS(133), 2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - STATE(237), 3, - sym_double_quoted_string, - sym_single_quoted_string, - sym_unquoted_string, - [448] = 11, + STATE(11), 1, + aux_sym_shell_command_repeat1, + STATE(80), 1, + aux_sym_shell_fragment_repeat1, + STATE(96), 1, + sym__comment_line, + STATE(228), 1, + sym_shell_fragment, + STATE(322), 1, + sym__anon_comment, + ACTIONS(123), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(125), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + STATE(323), 2, + sym_shell_command, + sym_json_string_array, + [459] = 13, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(117), 1, anon_sym_POUND, - ACTIONS(119), 1, + ACTIONS(127), 1, anon_sym_LBRACK, + ACTIONS(129), 1, + sym_heredoc_marker, STATE(9), 1, sym_line_continuation, - STATE(17), 1, + STATE(11), 1, aux_sym_shell_command_repeat1, - STATE(119), 1, + STATE(80), 1, aux_sym_shell_fragment_repeat1, - STATE(130), 1, + STATE(96), 1, sym__comment_line, - STATE(196), 1, + STATE(228), 1, sym_shell_fragment, - STATE(277), 1, + STATE(322), 1, sym__anon_comment, - STATE(276), 2, + ACTIONS(123), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(125), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + STATE(321), 2, sym_shell_command, sym_json_string_array, - ACTIONS(115), 3, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - [485] = 11, + [502] = 12, + ACTIONS(131), 1, + anon_sym_LF, + ACTIONS(133), 1, + anon_sym_DOLLAR2, + ACTIONS(135), 1, + aux_sym__env_key_token1, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(139), 1, + anon_sym_DQUOTE, + ACTIONS(141), 1, + anon_sym_SQUOTE, + STATE(10), 1, + sym_line_continuation, + STATE(39), 1, + aux_sym_unquoted_string_repeat1, + STATE(130), 1, + sym__immediate_expansion, + STATE(141), 1, + sym__imm_expansion, + ACTIONS(143), 2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + STATE(296), 3, + sym_double_quoted_string, + sym_single_quoted_string, + sym_unquoted_string, + [542] = 11, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(117), 1, anon_sym_POUND, - ACTIONS(119), 1, - anon_sym_LBRACK, - STATE(10), 1, - sym_line_continuation, - STATE(17), 1, - aux_sym_shell_command_repeat1, - STATE(119), 1, - aux_sym_shell_fragment_repeat1, - STATE(130), 1, - sym__comment_line, - STATE(196), 1, - sym_shell_fragment, - STATE(277), 1, - sym__anon_comment, - STATE(304), 2, - sym_shell_command, - sym_json_string_array, - ACTIONS(115), 3, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - [522] = 10, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(135), 1, - anon_sym_DOLLAR2, - ACTIONS(137), 1, - anon_sym_DQUOTE, - ACTIONS(139), 1, - anon_sym_SQUOTE, + ACTIONS(129), 1, + sym_heredoc_marker, STATE(11), 1, sym_line_continuation, - STATE(14), 1, - aux_sym_unquoted_string_repeat1, - STATE(46), 1, - sym__imm_expansion, - STATE(60), 1, - sym__immediate_expansion, - ACTIONS(141), 2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - STATE(166), 3, - sym_double_quoted_string, - sym_single_quoted_string, - sym_unquoted_string, - [556] = 10, + STATE(34), 1, + aux_sym_shell_command_repeat1, + STATE(80), 1, + aux_sym_shell_fragment_repeat1, + STATE(96), 1, + sym__comment_line, + STATE(244), 1, + sym_shell_fragment, + STATE(322), 1, + sym__anon_comment, + ACTIONS(123), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(125), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + [578] = 11, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(135), 1, - anon_sym_DOLLAR2, - ACTIONS(137), 1, - anon_sym_DQUOTE, - ACTIONS(139), 1, - anon_sym_SQUOTE, + ACTIONS(117), 1, + anon_sym_POUND, + ACTIONS(121), 1, + sym_heredoc_marker, STATE(12), 1, sym_line_continuation, - STATE(14), 1, - aux_sym_unquoted_string_repeat1, - STATE(46), 1, - sym__imm_expansion, - STATE(60), 1, - sym__immediate_expansion, - ACTIONS(141), 2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - STATE(318), 3, - sym_double_quoted_string, - sym_single_quoted_string, - sym_unquoted_string, - [590] = 10, + STATE(34), 1, + aux_sym_shell_command_repeat1, + STATE(43), 1, + aux_sym_shell_fragment_repeat1, + STATE(96), 1, + sym__comment_line, + STATE(203), 1, + sym_shell_fragment, + STATE(322), 1, + sym__anon_comment, + ACTIONS(111), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(115), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + [614] = 10, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(135), 1, + ACTIONS(145), 1, anon_sym_DOLLAR2, - ACTIONS(137), 1, + ACTIONS(147), 1, anon_sym_DQUOTE, - ACTIONS(139), 1, + ACTIONS(149), 1, anon_sym_SQUOTE, STATE(13), 1, sym_line_continuation, - STATE(14), 1, + STATE(28), 1, aux_sym_unquoted_string_repeat1, - STATE(46), 1, - sym__imm_expansion, STATE(60), 1, sym__immediate_expansion, - ACTIONS(141), 2, + STATE(68), 1, + sym__imm_expansion, + ACTIONS(151), 2, aux_sym_unquoted_string_token1, anon_sym_BSLASH2, - STATE(309), 3, + STATE(179), 3, sym_double_quoted_string, sym_single_quoted_string, sym_unquoted_string, - [624] = 9, - ACTIONS(127), 1, + [648] = 11, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(135), 1, - anon_sym_DOLLAR2, - ACTIONS(143), 1, - anon_sym_LF, + ACTIONS(117), 1, + anon_sym_POUND, + ACTIONS(129), 1, + sym_heredoc_marker, STATE(14), 1, sym_line_continuation, - STATE(15), 1, - aux_sym_unquoted_string_repeat1, - STATE(46), 1, - sym__imm_expansion, - STATE(60), 1, - sym__immediate_expansion, - ACTIONS(141), 2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - ACTIONS(145), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [655] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(147), 1, - anon_sym_LF, - ACTIONS(149), 1, - anon_sym_DOLLAR2, - STATE(46), 1, - sym__imm_expansion, - STATE(60), 1, - sym__immediate_expansion, - ACTIONS(154), 2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - STATE(15), 2, - sym_line_continuation, - aux_sym_unquoted_string_repeat1, - ACTIONS(152), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [684] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(157), 1, - anon_sym_DASH_DASH, - ACTIONS(160), 1, - aux_sym_shell_fragment_token1, - STATE(16), 2, - sym_line_continuation, - aux_sym_run_instruction_repeat1, - STATE(78), 2, - sym_param, - sym_mount_param, - ACTIONS(162), 4, - aux_sym_shell_fragment_token2, + STATE(17), 1, + aux_sym_shell_command_repeat1, + STATE(80), 1, + aux_sym_shell_fragment_repeat1, + STATE(96), 1, + sym__comment_line, + STATE(322), 1, + sym__anon_comment, + STATE(353), 1, + sym_shell_fragment, + ACTIONS(123), 2, + aux_sym_path_token2, aux_sym_shell_fragment_token3, - anon_sym_POUND, - anon_sym_LBRACK, - [708] = 9, + ACTIONS(125), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + [684] = 11, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(117), 1, anon_sym_POUND, + ACTIONS(121), 1, + sym_heredoc_marker, + STATE(15), 1, + sym_line_continuation, + STATE(34), 1, + aux_sym_shell_command_repeat1, + STATE(43), 1, + aux_sym_shell_fragment_repeat1, + STATE(96), 1, + sym__comment_line, + STATE(299), 1, + sym_shell_fragment, + STATE(322), 1, + sym__anon_comment, + ACTIONS(111), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(115), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + [720] = 10, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(145), 1, + anon_sym_DOLLAR2, + ACTIONS(147), 1, + anon_sym_DQUOTE, + ACTIONS(149), 1, + anon_sym_SQUOTE, + STATE(16), 1, + sym_line_continuation, + STATE(28), 1, + aux_sym_unquoted_string_repeat1, + STATE(60), 1, + sym__immediate_expansion, + STATE(68), 1, + sym__imm_expansion, + ACTIONS(151), 2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + STATE(369), 3, + sym_double_quoted_string, + sym_single_quoted_string, + sym_unquoted_string, + [754] = 11, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(117), 1, + anon_sym_POUND, + ACTIONS(129), 1, + sym_heredoc_marker, STATE(17), 1, sym_line_continuation, - STATE(49), 1, + STATE(34), 1, aux_sym_shell_command_repeat1, - STATE(119), 1, + STATE(80), 1, aux_sym_shell_fragment_repeat1, - STATE(130), 1, + STATE(96), 1, sym__comment_line, - STATE(219), 1, - sym_shell_fragment, - STATE(277), 1, + STATE(322), 1, sym__anon_comment, - ACTIONS(115), 3, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, + STATE(341), 1, + sym_shell_fragment, + ACTIONS(123), 2, + aux_sym_path_token2, aux_sym_shell_fragment_token3, - [738] = 9, + ACTIONS(125), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + [790] = 10, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(117), 1, - anon_sym_POUND, + ACTIONS(145), 1, + anon_sym_DOLLAR2, + ACTIONS(147), 1, + anon_sym_DQUOTE, + ACTIONS(149), 1, + anon_sym_SQUOTE, STATE(18), 1, sym_line_continuation, - STATE(19), 1, - aux_sym_shell_command_repeat1, - STATE(119), 1, - aux_sym_shell_fragment_repeat1, - STATE(130), 1, - sym__comment_line, - STATE(277), 1, - sym__anon_comment, - STATE(310), 1, - sym_shell_fragment, - ACTIONS(115), 3, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - [768] = 9, + STATE(28), 1, + aux_sym_unquoted_string_repeat1, + STATE(60), 1, + sym__immediate_expansion, + STATE(68), 1, + sym__imm_expansion, + ACTIONS(151), 2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + STATE(326), 3, + sym_double_quoted_string, + sym_single_quoted_string, + sym_unquoted_string, + [824] = 11, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(117), 1, anon_sym_POUND, + ACTIONS(121), 1, + sym_heredoc_marker, + STATE(15), 1, + aux_sym_shell_command_repeat1, STATE(19), 1, sym_line_continuation, - STATE(49), 1, - aux_sym_shell_command_repeat1, - STATE(119), 1, + STATE(43), 1, aux_sym_shell_fragment_repeat1, - STATE(130), 1, + STATE(96), 1, sym__comment_line, - STATE(263), 1, + STATE(295), 1, sym_shell_fragment, - STATE(277), 1, + STATE(322), 1, sym__anon_comment, - ACTIONS(115), 3, - aux_sym_shell_fragment_token1, + ACTIONS(111), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(115), 2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + [860] = 6, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(155), 1, + anon_sym_DASH_DASH, + STATE(20), 2, + sym_line_continuation, + aux_sym_run_instruction_repeat1, + STATE(38), 2, + sym_param, + sym_mount_param, + ACTIONS(153), 3, + aux_sym_path_token2, aux_sym_shell_fragment_token2, aux_sym_shell_fragment_token3, - [798] = 9, - ACTIONS(127), 1, + ACTIONS(158), 4, + sym_heredoc_marker, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + anon_sym_LBRACK, + [886] = 6, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(164), 1, + anon_sym_COMMA, + STATE(21), 1, + sym_line_continuation, + STATE(29), 1, + aux_sym_mount_param_repeat1, + ACTIONS(160), 3, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + ACTIONS(162), 5, + sym_heredoc_marker, + anon_sym_DASH_DASH, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + anon_sym_LBRACK, + [911] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, ACTIONS(166), 1, - aux_sym_from_instruction_token2, + anon_sym_LF, ACTIONS(168), 1, anon_sym_DOLLAR2, - ACTIONS(170), 1, - aux_sym_image_name_token2, - STATE(20), 1, - sym_line_continuation, - STATE(21), 1, - aux_sym_image_name_repeat1, - STATE(85), 1, + STATE(60), 1, sym__immediate_expansion, - STATE(86), 1, + STATE(68), 1, sym__imm_expansion, - ACTIONS(164), 3, - anon_sym_LF, - anon_sym_COLON, - anon_sym_AT, - [828] = 8, - ACTIONS(127), 1, + ACTIONS(173), 2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + STATE(22), 2, + sym_line_continuation, + aux_sym_unquoted_string_repeat1, + ACTIONS(171), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + [940] = 12, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(174), 1, - aux_sym_from_instruction_token2, ACTIONS(176), 1, - anon_sym_DOLLAR2, - ACTIONS(179), 1, - aux_sym_image_name_token2, - STATE(85), 1, - sym__immediate_expansion, - STATE(86), 1, - sym__imm_expansion, - STATE(21), 2, - sym_line_continuation, - aux_sym_image_name_repeat1, - ACTIONS(172), 3, - anon_sym_LF, - anon_sym_COLON, - anon_sym_AT, - [856] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(168), 1, - anon_sym_DOLLAR2, - ACTIONS(170), 1, - aux_sym_image_name_token2, + aux_sym_path_token1, + ACTIONS(178), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(180), 1, + anon_sym_DOLLAR, + ACTIONS(182), 1, + anon_sym_DASH_DASH, ACTIONS(184), 1, - aux_sym_from_instruction_token2, - STATE(20), 1, - aux_sym_image_name_repeat1, - STATE(22), 1, - sym_line_continuation, - STATE(85), 1, - sym__immediate_expansion, - STATE(86), 1, - sym__imm_expansion, - ACTIONS(182), 3, - anon_sym_LF, - anon_sym_COLON, - anon_sym_AT, - [886] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(188), 1, - aux_sym__immediate_user_name_or_group_fragment_token1, - ACTIONS(190), 1, - anon_sym_DOLLAR2, + sym_heredoc_marker, STATE(23), 1, sym_line_continuation, - STATE(39), 1, - aux_sym__user_name_or_group_repeat1, - STATE(134), 1, - sym__immediate_expansion, - STATE(135), 1, - sym__immediate_user_name_or_group_fragment, - STATE(152), 1, - sym__imm_expansion, - ACTIONS(186), 2, - anon_sym_LF, - anon_sym_COLON, - [915] = 8, - ACTIONS(127), 1, + STATE(76), 1, + aux_sym_add_instruction_repeat1, + STATE(82), 1, + aux_sym_add_instruction_repeat2, + STATE(109), 1, + sym_expansion, + STATE(111), 1, + sym_param, + STATE(325), 1, + sym_path_with_heredoc, + [977] = 12, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(192), 1, - anon_sym_LF, - ACTIONS(194), 1, - aux_sym_label_pair_token1, - ACTIONS(197), 1, - anon_sym_DQUOTE, - ACTIONS(200), 1, - anon_sym_SQUOTE, - STATE(142), 1, - sym_label_pair, - STATE(24), 2, + ACTIONS(176), 1, + aux_sym_path_token1, + ACTIONS(178), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(180), 1, + anon_sym_DOLLAR, + ACTIONS(182), 1, + anon_sym_DASH_DASH, + ACTIONS(184), 1, + sym_heredoc_marker, + STATE(23), 1, + aux_sym_add_instruction_repeat1, + STATE(24), 1, sym_line_continuation, - aux_sym_label_instruction_repeat1, - STATE(275), 2, - sym_double_quoted_string, - sym_single_quoted_string, - [942] = 9, - ACTIONS(127), 1, + STATE(63), 1, + aux_sym_add_instruction_repeat2, + STATE(109), 1, + sym_expansion, + STATE(111), 1, + sym_param, + STATE(325), 1, + sym_path_with_heredoc, + [1014] = 12, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(203), 1, - anon_sym_DOLLAR2, - ACTIONS(205), 1, - anon_sym_DQUOTE, - ACTIONS(209), 1, - anon_sym_BSLASH, + ACTIONS(176), 1, + aux_sym_path_token1, + ACTIONS(178), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(180), 1, + anon_sym_DOLLAR, + ACTIONS(182), 1, + anon_sym_DASH_DASH, + ACTIONS(184), 1, + sym_heredoc_marker, STATE(25), 1, sym_line_continuation, - STATE(40), 1, - aux_sym_double_quoted_string_repeat1, + STATE(27), 1, + aux_sym_add_instruction_repeat1, + STATE(65), 1, + aux_sym_add_instruction_repeat2, + STATE(109), 1, + sym_expansion, STATE(111), 1, - sym__immediate_expansion, - STATE(121), 1, - sym__imm_expansion, - ACTIONS(207), 2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [971] = 6, + sym_param, + STATE(325), 1, + sym_path_with_heredoc, + [1051] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(213), 1, + ACTIONS(190), 1, anon_sym_COMMA, - ACTIONS(215), 1, - aux_sym_shell_fragment_token1, - STATE(26), 1, + STATE(26), 2, sym_line_continuation, - STATE(33), 1, aux_sym_mount_param_repeat1, - ACTIONS(211), 5, - anon_sym_DASH_DASH, + ACTIONS(186), 3, + aux_sym_path_token2, aux_sym_shell_fragment_token2, aux_sym_shell_fragment_token3, + ACTIONS(188), 5, + sym_heredoc_marker, + anon_sym_DASH_DASH, + aux_sym_shell_fragment_token4, anon_sym_POUND, anon_sym_LBRACK, - [994] = 9, - ACTIONS(127), 1, + [1074] = 12, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(203), 1, - anon_sym_DOLLAR2, - ACTIONS(209), 1, - anon_sym_BSLASH, - ACTIONS(217), 1, - anon_sym_DQUOTE, + ACTIONS(176), 1, + aux_sym_path_token1, + ACTIONS(178), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(180), 1, + anon_sym_DOLLAR, + ACTIONS(182), 1, + anon_sym_DASH_DASH, + ACTIONS(184), 1, + sym_heredoc_marker, STATE(27), 1, sym_line_continuation, - STATE(32), 1, - aux_sym_double_quoted_string_repeat1, + STATE(59), 1, + aux_sym_add_instruction_repeat2, + STATE(76), 1, + aux_sym_add_instruction_repeat1, + STATE(109), 1, + sym_expansion, STATE(111), 1, - sym__immediate_expansion, - STATE(121), 1, - sym__imm_expansion, - ACTIONS(207), 2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [1023] = 9, - ACTIONS(127), 1, + sym_param, + STATE(325), 1, + sym_path_with_heredoc, + [1111] = 9, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(203), 1, + ACTIONS(145), 1, anon_sym_DOLLAR2, - ACTIONS(209), 1, - anon_sym_BSLASH, - ACTIONS(219), 1, - anon_sym_DQUOTE, - STATE(27), 1, - aux_sym_double_quoted_string_repeat1, + ACTIONS(193), 1, + anon_sym_LF, + STATE(22), 1, + aux_sym_unquoted_string_repeat1, STATE(28), 1, sym_line_continuation, - STATE(111), 1, + STATE(60), 1, sym__immediate_expansion, - STATE(121), 1, + STATE(68), 1, sym__imm_expansion, - ACTIONS(207), 2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [1052] = 10, + ACTIONS(151), 2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + ACTIONS(195), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + [1142] = 6, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(221), 1, - aux_sym_path_token1, - ACTIONS(223), 1, - anon_sym_DOLLAR, - ACTIONS(225), 1, - anon_sym_DASH_DASH, + ACTIONS(164), 1, + anon_sym_COMMA, + STATE(26), 1, + aux_sym_mount_param_repeat1, STATE(29), 1, sym_line_continuation, - STATE(87), 1, - sym_expansion, - STATE(123), 1, - aux_sym_add_instruction_repeat2, - STATE(126), 1, - aux_sym_add_instruction_repeat1, - STATE(201), 1, - sym_param, - STATE(267), 1, - sym_path, - [1083] = 9, - ACTIONS(127), 1, + ACTIONS(197), 3, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + ACTIONS(199), 5, + sym_heredoc_marker, + anon_sym_DASH_DASH, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + anon_sym_LBRACK, + [1167] = 9, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(188), 1, - aux_sym__immediate_user_name_or_group_fragment_token1, - ACTIONS(190), 1, + ACTIONS(203), 1, + aux_sym_from_instruction_token2, + ACTIONS(205), 1, anon_sym_DOLLAR2, - STATE(23), 1, - aux_sym__user_name_or_group_repeat1, + ACTIONS(207), 1, + aux_sym_image_name_token2, STATE(30), 1, sym_line_continuation, - STATE(134), 1, + STATE(31), 1, + aux_sym_image_name_repeat1, + STATE(88), 1, sym__immediate_expansion, - STATE(135), 1, - sym__immediate_user_name_or_group_fragment, - STATE(152), 1, + STATE(89), 1, sym__imm_expansion, - ACTIONS(227), 2, + ACTIONS(201), 3, anon_sym_LF, anon_sym_COLON, - [1112] = 10, - ACTIONS(3), 1, + anon_sym_AT, + [1197] = 9, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(221), 1, - aux_sym_path_token1, - ACTIONS(223), 1, - anon_sym_DOLLAR, - ACTIONS(225), 1, - anon_sym_DASH_DASH, + ACTIONS(205), 1, + anon_sym_DOLLAR2, + ACTIONS(207), 1, + aux_sym_image_name_token2, + ACTIONS(211), 1, + aux_sym_from_instruction_token2, STATE(31), 1, sym_line_continuation, - STATE(87), 1, - sym_expansion, - STATE(126), 1, - aux_sym_add_instruction_repeat1, - STATE(127), 1, - aux_sym_add_instruction_repeat2, - STATE(201), 1, - sym_param, - STATE(267), 1, - sym_path, - [1143] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(229), 1, - anon_sym_DOLLAR2, - ACTIONS(232), 1, - anon_sym_DQUOTE, - ACTIONS(237), 1, - anon_sym_BSLASH, - STATE(111), 1, + STATE(32), 1, + aux_sym_image_name_repeat1, + STATE(88), 1, sym__immediate_expansion, - STATE(121), 1, + STATE(89), 1, + sym__imm_expansion, + ACTIONS(209), 3, + anon_sym_LF, + anon_sym_COLON, + anon_sym_AT, + [1227] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(215), 1, + aux_sym_from_instruction_token2, + ACTIONS(217), 1, + anon_sym_DOLLAR2, + ACTIONS(220), 1, + aux_sym_image_name_token2, + STATE(88), 1, + sym__immediate_expansion, + STATE(89), 1, sym__imm_expansion, - ACTIONS(234), 2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, STATE(32), 2, sym_line_continuation, - aux_sym_double_quoted_string_repeat1, - [1170] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(213), 1, - anon_sym_COMMA, - ACTIONS(242), 1, - aux_sym_shell_fragment_token1, - STATE(33), 1, - sym_line_continuation, - STATE(36), 1, - aux_sym_mount_param_repeat1, - ACTIONS(240), 5, - anon_sym_DASH_DASH, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - anon_sym_POUND, - anon_sym_LBRACK, - [1193] = 10, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(221), 1, - aux_sym_path_token1, - ACTIONS(223), 1, - anon_sym_DOLLAR, - ACTIONS(225), 1, - anon_sym_DASH_DASH, - STATE(31), 1, - aux_sym_add_instruction_repeat1, - STATE(34), 1, - sym_line_continuation, - STATE(87), 1, - sym_expansion, - STATE(99), 1, - aux_sym_add_instruction_repeat2, - STATE(201), 1, - sym_param, - STATE(267), 1, - sym_path, - [1224] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(147), 1, - anon_sym_LF, - ACTIONS(152), 1, - aux_sym__env_key_token1, - ACTIONS(244), 1, - anon_sym_DOLLAR2, - STATE(90), 1, - sym__imm_expansion, - STATE(100), 1, - sym__immediate_expansion, - ACTIONS(247), 2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - STATE(35), 2, - sym_line_continuation, - aux_sym_unquoted_string_repeat1, - [1251] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(252), 1, - anon_sym_COMMA, - ACTIONS(255), 1, - aux_sym_shell_fragment_token1, - STATE(36), 2, - sym_line_continuation, - aux_sym_mount_param_repeat1, - ACTIONS(250), 5, - anon_sym_DASH_DASH, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - anon_sym_POUND, - anon_sym_LBRACK, - [1272] = 9, - ACTIONS(123), 1, - anon_sym_DOLLAR2, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(143), 1, - anon_sym_LF, - ACTIONS(145), 1, - aux_sym__env_key_token1, - STATE(35), 1, - aux_sym_unquoted_string_repeat1, - STATE(37), 1, - sym_line_continuation, - STATE(90), 1, - sym__imm_expansion, - STATE(100), 1, - sym__immediate_expansion, - ACTIONS(133), 2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [1301] = 10, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(221), 1, - aux_sym_path_token1, - ACTIONS(223), 1, - anon_sym_DOLLAR, - ACTIONS(225), 1, - anon_sym_DASH_DASH, - STATE(29), 1, - aux_sym_add_instruction_repeat1, - STATE(38), 1, - sym_line_continuation, - STATE(87), 1, - sym_expansion, - STATE(101), 1, - aux_sym_add_instruction_repeat2, - STATE(201), 1, - sym_param, - STATE(267), 1, - sym_path, - [1332] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(259), 1, - aux_sym__immediate_user_name_or_group_fragment_token1, - ACTIONS(262), 1, - anon_sym_DOLLAR2, - STATE(134), 1, - sym__immediate_expansion, - STATE(135), 1, - sym__immediate_user_name_or_group_fragment, - STATE(152), 1, - sym__imm_expansion, - ACTIONS(257), 2, + aux_sym_image_name_repeat1, + ACTIONS(213), 3, anon_sym_LF, anon_sym_COLON, - STATE(39), 2, - sym_line_continuation, - aux_sym__user_name_or_group_repeat1, - [1359] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(203), 1, - anon_sym_DOLLAR2, - ACTIONS(209), 1, - anon_sym_BSLASH, - ACTIONS(265), 1, - anon_sym_DQUOTE, - STATE(32), 1, - aux_sym_double_quoted_string_repeat1, - STATE(40), 1, - sym_line_continuation, - STATE(111), 1, - sym__immediate_expansion, - STATE(121), 1, - sym__imm_expansion, - ACTIONS(207), 2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [1388] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(269), 1, - aux_sym_from_instruction_token2, - ACTIONS(271), 1, - anon_sym_DOLLAR2, - ACTIONS(274), 1, - aux_sym_image_tag_token1, - STATE(105), 1, - sym__immediate_expansion, - STATE(118), 1, - sym__imm_expansion, - ACTIONS(267), 2, - anon_sym_LF, anon_sym_AT, - STATE(41), 2, - sym_line_continuation, - aux_sym_image_tag_repeat1, - [1415] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(279), 1, - aux_sym_from_instruction_token2, - ACTIONS(281), 1, - anon_sym_DOLLAR2, - ACTIONS(283), 1, - aux_sym_image_tag_token1, - STATE(41), 1, - aux_sym_image_tag_repeat1, - STATE(42), 1, - sym_line_continuation, - STATE(105), 1, - sym__immediate_expansion, - STATE(118), 1, - sym__imm_expansion, - ACTIONS(277), 2, - anon_sym_LF, - anon_sym_AT, - [1444] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(285), 1, - anon_sym_LF, - ACTIONS(287), 1, - aux_sym_label_pair_token1, - ACTIONS(289), 1, - anon_sym_DQUOTE, - ACTIONS(291), 1, - anon_sym_SQUOTE, - STATE(24), 1, - aux_sym_label_instruction_repeat1, - STATE(43), 1, - sym_line_continuation, - STATE(142), 1, - sym_label_pair, - STATE(275), 2, - sym_double_quoted_string, - sym_single_quoted_string, - [1473] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(203), 1, - anon_sym_DOLLAR2, - ACTIONS(209), 1, - anon_sym_BSLASH, - ACTIONS(293), 1, - anon_sym_DQUOTE, - STATE(32), 1, - aux_sym_double_quoted_string_repeat1, - STATE(44), 1, - sym_line_continuation, - STATE(111), 1, - sym__immediate_expansion, - STATE(121), 1, - sym__imm_expansion, - ACTIONS(207), 2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [1502] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(203), 1, - anon_sym_DOLLAR2, - ACTIONS(209), 1, - anon_sym_BSLASH, - ACTIONS(295), 1, - anon_sym_DQUOTE, - STATE(44), 1, - aux_sym_double_quoted_string_repeat1, - STATE(45), 1, - sym_line_continuation, - STATE(111), 1, - sym__immediate_expansion, - STATE(121), 1, - sym__imm_expansion, - ACTIONS(207), 2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [1531] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(46), 1, - sym_line_continuation, - ACTIONS(299), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - ACTIONS(297), 4, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [1549] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(188), 1, - aux_sym__immediate_user_name_or_group_fragment_token1, - ACTIONS(190), 1, - anon_sym_DOLLAR2, - ACTIONS(301), 1, - anon_sym_LF, - STATE(47), 1, - sym_line_continuation, - STATE(62), 1, - aux_sym__immediate_user_name_or_group, - STATE(134), 1, - sym__immediate_expansion, - STATE(152), 1, - sym__imm_expansion, - STATE(181), 1, - sym__immediate_user_name_or_group_fragment, - [1577] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(48), 1, - sym_line_continuation, - ACTIONS(305), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - ACTIONS(303), 4, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [1595] = 6, + [1255] = 4, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(309), 1, + STATE(33), 1, + sym_line_continuation, + ACTIONS(223), 3, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + ACTIONS(225), 6, + sym_heredoc_marker, + anon_sym_DASH_DASH, + anon_sym_COMMA, + aux_sym_shell_fragment_token4, anon_sym_POUND, - STATE(130), 1, + anon_sym_LBRACK, + [1275] = 7, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(231), 1, + anon_sym_POUND, + STATE(96), 1, sym__comment_line, - STATE(277), 1, + STATE(322), 1, sym__anon_comment, - STATE(49), 2, + ACTIONS(227), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + STATE(34), 2, sym_line_continuation, aux_sym_shell_command_repeat1, - ACTIONS(307), 3, - aux_sym_shell_fragment_token1, + ACTIONS(229), 3, + sym_heredoc_marker, aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - [1617] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(314), 1, - aux_sym_path_token2, - ACTIONS(316), 1, - anon_sym_DOLLAR2, - STATE(50), 1, - sym_line_continuation, - STATE(54), 1, - aux_sym_path_repeat1, - STATE(139), 1, - sym__imm_expansion, - STATE(144), 1, - sym__immediate_expansion, - ACTIONS(312), 2, - anon_sym_LF, - sym__non_newline_whitespace, - [1643] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(318), 1, - anon_sym_LF, - ACTIONS(320), 1, - aux_sym_from_instruction_token2, - ACTIONS(322), 1, - anon_sym_DOLLAR2, - ACTIONS(325), 1, - aux_sym_image_digest_token1, - STATE(150), 1, - sym__immediate_expansion, - STATE(151), 1, - sym__imm_expansion, - STATE(51), 2, - sym_line_continuation, - aux_sym_image_digest_repeat1, - [1669] = 9, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(328), 1, - anon_sym_LF, - ACTIONS(330), 1, - aux_sym_from_instruction_token2, - ACTIONS(332), 1, - anon_sym_DOLLAR2, - ACTIONS(334), 1, - aux_sym_image_digest_token1, - STATE(51), 1, - aux_sym_image_digest_repeat1, - STATE(52), 1, - sym_line_continuation, - STATE(150), 1, - sym__immediate_expansion, - STATE(151), 1, - sym__imm_expansion, - [1697] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(314), 1, - aux_sym_path_token2, - ACTIONS(316), 1, - anon_sym_DOLLAR2, - STATE(50), 1, - aux_sym_path_repeat1, - STATE(53), 1, - sym_line_continuation, - STATE(139), 1, - sym__imm_expansion, - STATE(144), 1, - sym__immediate_expansion, - ACTIONS(336), 2, - anon_sym_LF, - sym__non_newline_whitespace, - [1723] = 7, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(340), 1, - aux_sym_path_token2, - ACTIONS(343), 1, - anon_sym_DOLLAR2, - STATE(139), 1, - sym__imm_expansion, - STATE(144), 1, - sym__immediate_expansion, - ACTIONS(338), 2, - anon_sym_LF, - sym__non_newline_whitespace, - STATE(54), 2, - sym_line_continuation, - aux_sym_path_repeat1, - [1747] = 4, + aux_sym_shell_fragment_token4, + [1301] = 4, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(255), 1, - aux_sym_shell_fragment_token1, - STATE(55), 1, + STATE(35), 1, sym_line_continuation, - ACTIONS(250), 6, - anon_sym_DASH_DASH, - anon_sym_COMMA, + ACTIONS(186), 3, + aux_sym_path_token2, aux_sym_shell_fragment_token2, aux_sym_shell_fragment_token3, - anon_sym_POUND, - anon_sym_LBRACK, - [1765] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(348), 1, - aux_sym_shell_fragment_token1, - STATE(56), 1, - sym_line_continuation, - ACTIONS(346), 6, + ACTIONS(188), 6, + sym_heredoc_marker, anon_sym_DASH_DASH, anon_sym_COMMA, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, + aux_sym_shell_fragment_token4, anon_sym_POUND, anon_sym_LBRACK, - [1783] = 4, - ACTIONS(127), 1, + [1321] = 9, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - STATE(57), 1, - sym_line_continuation, - ACTIONS(352), 3, - aux_sym_label_pair_token1, + ACTIONS(234), 1, + anon_sym_DOLLAR2, + ACTIONS(236), 1, anon_sym_DQUOTE, - anon_sym_SQUOTE, - ACTIONS(350), 4, - anon_sym_LF, + ACTIONS(240), 1, + anon_sym_BSLASH, + STATE(36), 1, + sym_line_continuation, + STATE(37), 1, + aux_sym_double_quoted_string_repeat1, + STATE(118), 1, + sym__immediate_expansion, + STATE(143), 1, + sym__imm_expansion, + ACTIONS(238), 2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [1350] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(234), 1, anon_sym_DOLLAR2, + ACTIONS(240), 1, + anon_sym_BSLASH, + ACTIONS(242), 1, + anon_sym_DQUOTE, + STATE(37), 1, + sym_line_continuation, + STATE(47), 1, + aux_sym_double_quoted_string_repeat1, + STATE(118), 1, + sym__immediate_expansion, + STATE(143), 1, + sym__imm_expansion, + ACTIONS(238), 2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [1379] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + STATE(38), 1, + sym_line_continuation, + ACTIONS(244), 3, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + ACTIONS(246), 5, + sym_heredoc_marker, + anon_sym_DASH_DASH, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + anon_sym_LBRACK, + [1398] = 9, + ACTIONS(133), 1, + anon_sym_DOLLAR2, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(193), 1, + anon_sym_LF, + ACTIONS(195), 1, + aux_sym__env_key_token1, + STATE(39), 1, + sym_line_continuation, + STATE(52), 1, + aux_sym_unquoted_string_repeat1, + STATE(130), 1, + sym__immediate_expansion, + STATE(141), 1, + sym__imm_expansion, + ACTIONS(143), 2, aux_sym_unquoted_string_token1, anon_sym_BSLASH2, - [1801] = 8, - ACTIONS(3), 1, + [1427] = 9, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(354), 1, - aux_sym_label_pair_token1, - ACTIONS(356), 1, + ACTIONS(234), 1, + anon_sym_DOLLAR2, + ACTIONS(240), 1, + anon_sym_BSLASH, + ACTIONS(248), 1, anon_sym_DQUOTE, - ACTIONS(358), 1, - anon_sym_SQUOTE, - STATE(43), 1, - aux_sym_label_instruction_repeat1, - STATE(58), 1, + STATE(40), 1, sym_line_continuation, - STATE(142), 1, + STATE(47), 1, + aux_sym_double_quoted_string_repeat1, + STATE(118), 1, + sym__immediate_expansion, + STATE(143), 1, + sym__imm_expansion, + ACTIONS(238), 2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [1456] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(250), 1, + anon_sym_LF, + ACTIONS(252), 1, + aux_sym_label_pair_token1, + ACTIONS(255), 1, + anon_sym_DQUOTE, + ACTIONS(258), 1, + anon_sym_SQUOTE, + STATE(170), 1, sym_label_pair, - STATE(275), 2, + STATE(41), 2, + sym_line_continuation, + aux_sym_label_instruction_repeat1, + STATE(320), 2, sym_double_quoted_string, sym_single_quoted_string, - [1827] = 9, + [1483] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(234), 1, + anon_sym_DOLLAR2, + ACTIONS(240), 1, + anon_sym_BSLASH, + ACTIONS(261), 1, + anon_sym_DQUOTE, + STATE(42), 1, + sym_line_continuation, + STATE(47), 1, + aux_sym_double_quoted_string_repeat1, + STATE(118), 1, + sym__immediate_expansion, + STATE(143), 1, + sym__imm_expansion, + ACTIONS(238), 2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [1512] = 6, + ACTIONS(121), 1, + sym_heredoc_marker, + ACTIONS(267), 1, + anon_sym_BSLASH_LF, + STATE(43), 1, + sym_line_continuation, + STATE(45), 1, + aux_sym_shell_fragment_repeat1, + ACTIONS(263), 2, + sym_heredoc_nl, + anon_sym_LF, + ACTIONS(265), 4, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + aux_sym_shell_fragment_token4, + [1535] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(269), 1, + anon_sym_LF, + ACTIONS(271), 1, + aux_sym_path_token3, + ACTIONS(274), 1, + anon_sym_DOLLAR2, + STATE(126), 1, + sym__immediate_expansion, + STATE(134), 1, + sym__imm_expansion, + ACTIONS(277), 2, + sym_heredoc_nl, + sym__non_newline_whitespace, + STATE(44), 2, + sym_line_continuation, + aux_sym_path_repeat1, + [1562] = 5, + ACTIONS(284), 1, + anon_sym_BSLASH_LF, + ACTIONS(286), 1, + sym_heredoc_marker, + ACTIONS(279), 2, + sym_heredoc_nl, + anon_sym_LF, + STATE(45), 2, + sym_line_continuation, + aux_sym_shell_fragment_repeat1, + ACTIONS(281), 4, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + aux_sym_shell_fragment_token4, + [1583] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(234), 1, + anon_sym_DOLLAR2, + ACTIONS(240), 1, + anon_sym_BSLASH, + ACTIONS(289), 1, + anon_sym_DQUOTE, + STATE(40), 1, + aux_sym_double_quoted_string_repeat1, + STATE(46), 1, + sym_line_continuation, + STATE(118), 1, + sym__immediate_expansion, + STATE(143), 1, + sym__imm_expansion, + ACTIONS(238), 2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [1612] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(291), 1, + anon_sym_DOLLAR2, + ACTIONS(294), 1, + anon_sym_DQUOTE, + ACTIONS(299), 1, + anon_sym_BSLASH, + STATE(118), 1, + sym__immediate_expansion, + STATE(143), 1, + sym__imm_expansion, + ACTIONS(296), 2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + STATE(47), 2, + sym_line_continuation, + aux_sym_double_quoted_string_repeat1, + [1639] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(302), 1, + anon_sym_LF, + ACTIONS(304), 1, + aux_sym_path_token3, + ACTIONS(306), 1, + anon_sym_DOLLAR2, + STATE(48), 1, + sym_line_continuation, + STATE(55), 1, + aux_sym_path_repeat1, + STATE(126), 1, + sym__immediate_expansion, + STATE(134), 1, + sym__imm_expansion, + ACTIONS(308), 2, + sym_heredoc_nl, + sym__non_newline_whitespace, + [1668] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(310), 1, + anon_sym_LF, + ACTIONS(312), 1, + aux_sym_label_pair_token1, + ACTIONS(314), 1, + anon_sym_DQUOTE, + ACTIONS(316), 1, + anon_sym_SQUOTE, + STATE(41), 1, + aux_sym_label_instruction_repeat1, + STATE(49), 1, + sym_line_continuation, + STATE(170), 1, + sym_label_pair, + STATE(320), 2, + sym_double_quoted_string, + sym_single_quoted_string, + [1697] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(320), 1, + aux_sym__immediate_user_name_or_group_fragment_token1, + ACTIONS(322), 1, + anon_sym_DOLLAR2, + STATE(50), 1, + sym_line_continuation, + STATE(51), 1, + aux_sym__user_name_or_group_repeat1, + STATE(168), 1, + sym__immediate_user_name_or_group_fragment, + STATE(169), 1, + sym__immediate_expansion, + STATE(171), 1, + sym__imm_expansion, + ACTIONS(318), 2, + anon_sym_LF, + anon_sym_COLON, + [1726] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(326), 1, + aux_sym__immediate_user_name_or_group_fragment_token1, + ACTIONS(329), 1, + anon_sym_DOLLAR2, + STATE(168), 1, + sym__immediate_user_name_or_group_fragment, + STATE(169), 1, + sym__immediate_expansion, + STATE(171), 1, + sym__imm_expansion, + ACTIONS(324), 2, + anon_sym_LF, + anon_sym_COLON, + STATE(51), 2, + sym_line_continuation, + aux_sym__user_name_or_group_repeat1, + [1753] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(166), 1, + anon_sym_LF, + ACTIONS(171), 1, + aux_sym__env_key_token1, + ACTIONS(332), 1, + anon_sym_DOLLAR2, + STATE(130), 1, + sym__immediate_expansion, + STATE(141), 1, + sym__imm_expansion, + ACTIONS(335), 2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + STATE(52), 2, + sym_line_continuation, + aux_sym_unquoted_string_repeat1, + [1780] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(320), 1, + aux_sym__immediate_user_name_or_group_fragment_token1, + ACTIONS(322), 1, + anon_sym_DOLLAR2, + STATE(50), 1, + aux_sym__user_name_or_group_repeat1, + STATE(53), 1, + sym_line_continuation, + STATE(168), 1, + sym__immediate_user_name_or_group_fragment, + STATE(169), 1, + sym__immediate_expansion, + STATE(171), 1, + sym__imm_expansion, + ACTIONS(338), 2, + anon_sym_LF, + anon_sym_COLON, + [1809] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(342), 1, + aux_sym_from_instruction_token2, + ACTIONS(344), 1, + anon_sym_DOLLAR2, + ACTIONS(347), 1, + aux_sym_image_tag_token1, + STATE(150), 1, + sym__immediate_expansion, + STATE(151), 1, + sym__imm_expansion, + ACTIONS(340), 2, + anon_sym_LF, + anon_sym_AT, + STATE(54), 2, + sym_line_continuation, + aux_sym_image_tag_repeat1, + [1836] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(304), 1, + aux_sym_path_token3, + ACTIONS(306), 1, + anon_sym_DOLLAR2, + ACTIONS(350), 1, + anon_sym_LF, + STATE(44), 1, + aux_sym_path_repeat1, + STATE(55), 1, + sym_line_continuation, + STATE(126), 1, + sym__immediate_expansion, + STATE(134), 1, + sym__imm_expansion, + ACTIONS(352), 2, + sym_heredoc_nl, + sym__non_newline_whitespace, + [1865] = 4, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(360), 1, - anon_sym_DOLLAR, - ACTIONS(362), 1, - aux_sym_image_name_token1, - ACTIONS(364), 1, + STATE(56), 1, + sym_line_continuation, + ACTIONS(354), 3, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + ACTIONS(356), 5, + sym_heredoc_marker, anon_sym_DASH_DASH, - STATE(22), 1, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + anon_sym_LBRACK, + [1884] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(360), 1, + aux_sym_from_instruction_token2, + ACTIONS(362), 1, + anon_sym_DOLLAR2, + ACTIONS(364), 1, + aux_sym_image_tag_token1, + STATE(54), 1, + aux_sym_image_tag_repeat1, + STATE(57), 1, + sym_line_continuation, + STATE(150), 1, + sym__immediate_expansion, + STATE(151), 1, + sym__imm_expansion, + ACTIONS(358), 2, + anon_sym_LF, + anon_sym_AT, + [1913] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(234), 1, + anon_sym_DOLLAR2, + ACTIONS(240), 1, + anon_sym_BSLASH, + ACTIONS(366), 1, + anon_sym_DQUOTE, + STATE(42), 1, + aux_sym_double_quoted_string_repeat1, + STATE(58), 1, + sym_line_continuation, + STATE(118), 1, + sym__immediate_expansion, + STATE(143), 1, + sym__imm_expansion, + ACTIONS(238), 2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [1942] = 9, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(368), 1, + aux_sym_path_token1, + ACTIONS(370), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(372), 1, + anon_sym_DOLLAR, + ACTIONS(374), 1, + sym_heredoc_marker, + STATE(48), 1, sym_expansion, STATE(59), 1, sym_line_continuation, - STATE(73), 1, - sym_image_name, - STATE(113), 1, - sym_param, - STATE(251), 1, - sym_image_spec, - [1855] = 4, - ACTIONS(127), 1, + STATE(81), 1, + aux_sym_add_instruction_repeat2, + STATE(123), 1, + sym_path_with_heredoc, + [1970] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, STATE(60), 1, sym_line_continuation, - ACTIONS(368), 3, + ACTIONS(378), 3, aux_sym_label_pair_token1, anon_sym_DQUOTE, anon_sym_SQUOTE, - ACTIONS(366), 4, + ACTIONS(376), 4, anon_sym_LF, anon_sym_DOLLAR2, aux_sym_unquoted_string_token1, anon_sym_BSLASH2, - [1873] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(61), 1, - sym_line_continuation, - ACTIONS(372), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - ACTIONS(370), 4, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [1891] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(374), 1, - anon_sym_LF, - ACTIONS(376), 1, - aux_sym__immediate_user_name_or_group_fragment_token1, - ACTIONS(379), 1, - anon_sym_DOLLAR2, - STATE(134), 1, - sym__immediate_expansion, - STATE(152), 1, - sym__imm_expansion, - STATE(181), 1, - sym__immediate_user_name_or_group_fragment, - STATE(62), 2, - aux_sym__immediate_user_name_or_group, - sym_line_continuation, - [1917] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(63), 1, - sym_line_continuation, - ACTIONS(352), 2, - aux_sym_from_instruction_token2, - aux_sym_image_name_token2, - ACTIONS(350), 4, - anon_sym_LF, - anon_sym_COLON, - anon_sym_DOLLAR2, - anon_sym_AT, - [1934] = 7, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(382), 1, - anon_sym_LF, - ACTIONS(384), 1, - anon_sym_DOLLAR, - ACTIONS(386), 1, - aux_sym_expose_port_token1, - STATE(64), 1, - sym_line_continuation, - STATE(80), 1, - aux_sym_expose_instruction_repeat1, - STATE(198), 2, - sym_expansion, - sym_expose_port, - [1957] = 8, + [1988] = 8, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(119), 1, - anon_sym_LBRACK, + ACTIONS(380), 1, + aux_sym_label_pair_token1, + ACTIONS(382), 1, + anon_sym_DQUOTE, + ACTIONS(384), 1, + anon_sym_SQUOTE, + STATE(49), 1, + aux_sym_label_instruction_repeat1, + STATE(61), 1, + sym_line_continuation, + STATE(170), 1, + sym_label_pair, + STATE(320), 2, + sym_double_quoted_string, + sym_single_quoted_string, + [2014] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(386), 1, + anon_sym_LF, ACTIONS(388), 1, - aux_sym_path_token1, + aux_sym_from_instruction_token2, ACTIONS(390), 1, + anon_sym_DOLLAR2, + ACTIONS(392), 1, + aux_sym_image_digest_token1, + STATE(62), 1, + sym_line_continuation, + STATE(78), 1, + aux_sym_image_digest_repeat1, + STATE(158), 1, + sym__immediate_expansion, + STATE(159), 1, + sym__imm_expansion, + [2042] = 9, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(368), 1, + aux_sym_path_token1, + ACTIONS(370), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(372), 1, anon_sym_DOLLAR, - STATE(53), 1, + ACTIONS(374), 1, + sym_heredoc_marker, + STATE(48), 1, + sym_expansion, + STATE(63), 1, + sym_line_continuation, + STATE(81), 1, + aux_sym_add_instruction_repeat2, + STATE(135), 1, + sym_path_with_heredoc, + [2070] = 9, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(127), 1, + anon_sym_LBRACK, + ACTIONS(394), 1, + aux_sym_path_token1, + ACTIONS(396), 1, + aux_sym_path_token2, + ACTIONS(398), 1, + anon_sym_DOLLAR, + STATE(64), 1, + sym_line_continuation, + STATE(67), 1, + sym_expansion, + STATE(217), 1, + sym_path, + STATE(317), 1, + sym_json_string_array, + [2098] = 9, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(368), 1, + aux_sym_path_token1, + ACTIONS(370), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(372), 1, + anon_sym_DOLLAR, + ACTIONS(374), 1, + sym_heredoc_marker, + STATE(48), 1, sym_expansion, STATE(65), 1, sym_line_continuation, - STATE(210), 1, - sym_path, - STATE(284), 1, - sym_json_string_array, - [1982] = 7, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(392), 1, - aux_sym_path_token2, - ACTIONS(395), 1, - anon_sym_DOLLAR2, - ACTIONS(398), 1, - sym__non_newline_whitespace, - STATE(214), 1, - sym__immediate_expansion, - STATE(229), 1, - sym__imm_expansion, - STATE(66), 2, - sym_line_continuation, - aux_sym_path_repeat1, - [2005] = 7, - ACTIONS(127), 1, + STATE(81), 1, + aux_sym_add_instruction_repeat2, + STATE(138), 1, + sym_path_with_heredoc, + [2126] = 9, + ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(400), 1, - anon_sym_LF, + anon_sym_DOLLAR, ACTIONS(402), 1, - aux_sym__stopsignal_value_token2, - ACTIONS(405), 1, - anon_sym_DOLLAR2, - STATE(204), 1, - sym__immediate_expansion, - STATE(207), 1, - sym__imm_expansion, - STATE(67), 2, + aux_sym_image_name_token1, + ACTIONS(404), 1, + anon_sym_DASH_DASH, + STATE(30), 1, + sym_expansion, + STATE(66), 1, sym_line_continuation, - aux_sym__stopsignal_value_repeat1, - [2028] = 4, - ACTIONS(127), 1, + STATE(90), 1, + sym_image_name, + STATE(127), 1, + sym_param, + STATE(288), 1, + sym_image_spec, + [2154] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(406), 1, + anon_sym_LF, + ACTIONS(408), 1, + aux_sym_path_token3, + ACTIONS(410), 1, + anon_sym_DOLLAR2, + ACTIONS(412), 1, + sym__non_newline_whitespace, + STATE(67), 1, + sym_line_continuation, + STATE(79), 1, + aux_sym_path_repeat1, + STATE(157), 1, + sym__immediate_expansion, + STATE(188), 1, + sym__imm_expansion, + [2182] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, STATE(68), 1, sym_line_continuation, - ACTIONS(372), 2, - aux_sym_from_instruction_token2, - aux_sym_image_name_token2, - ACTIONS(370), 4, + ACTIONS(416), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + ACTIONS(414), 4, anon_sym_LF, - anon_sym_COLON, anon_sym_DOLLAR2, - anon_sym_AT, - [2045] = 8, - ACTIONS(127), 1, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [2200] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(408), 1, + ACTIONS(269), 1, anon_sym_LF, - ACTIONS(410), 1, + ACTIONS(277), 1, + sym__non_newline_whitespace, + ACTIONS(418), 1, + aux_sym_path_token3, + ACTIONS(421), 1, anon_sym_DOLLAR2, - ACTIONS(412), 1, - aux_sym_image_alias_token2, - STATE(69), 1, - sym_line_continuation, - STATE(76), 1, - aux_sym_image_alias_repeat1, - STATE(186), 1, + STATE(157), 1, sym__immediate_expansion, - STATE(194), 1, + STATE(188), 1, sym__imm_expansion, - [2070] = 8, - ACTIONS(3), 1, + STATE(69), 2, + sym_line_continuation, + aux_sym_path_repeat1, + [2226] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(11), 1, - aux_sym_cmd_instruction_token1, - ACTIONS(414), 1, - anon_sym_NONE, - ACTIONS(416), 1, - anon_sym_DASH_DASH, STATE(70), 1, sym_line_continuation, - STATE(114), 1, - aux_sym_add_instruction_repeat1, - STATE(258), 1, - sym_param, - STATE(298), 1, - sym_cmd_instruction, - [2095] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(410), 1, + ACTIONS(426), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + ACTIONS(424), 4, + anon_sym_LF, anon_sym_DOLLAR2, - ACTIONS(412), 1, - aux_sym_image_alias_token2, - ACTIONS(418), 1, - anon_sym_LF, - STATE(69), 1, - aux_sym_image_alias_repeat1, - STATE(71), 1, - sym_line_continuation, - STATE(186), 1, - sym__immediate_expansion, - STATE(194), 1, - sym__imm_expansion, - [2120] = 4, - ACTIONS(127), 1, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [2244] = 9, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - STATE(72), 1, - sym_line_continuation, - ACTIONS(305), 2, - aux_sym_from_instruction_token2, - aux_sym_image_name_token2, - ACTIONS(303), 4, - anon_sym_LF, - anon_sym_COLON, + ACTIONS(320), 1, + aux_sym__immediate_user_name_or_group_fragment_token1, + ACTIONS(322), 1, anon_sym_DOLLAR2, - anon_sym_AT, - [2137] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(420), 1, - anon_sym_LF, - ACTIONS(422), 1, - aux_sym_from_instruction_token2, - ACTIONS(424), 1, - anon_sym_COLON, - ACTIONS(426), 1, - anon_sym_AT, - STATE(73), 1, - sym_line_continuation, - STATE(164), 1, - sym_image_tag, - STATE(235), 1, - sym_image_digest, - [2162] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, ACTIONS(428), 1, anon_sym_LF, - ACTIONS(430), 1, - aux_sym__stopsignal_value_token2, - ACTIONS(432), 1, - anon_sym_DOLLAR2, - STATE(67), 1, - aux_sym__stopsignal_value_repeat1, - STATE(74), 1, + STATE(71), 1, sym_line_continuation, - STATE(204), 1, + STATE(74), 1, + aux_sym__immediate_user_name_or_group, + STATE(169), 1, sym__immediate_expansion, - STATE(207), 1, + STATE(171), 1, sym__imm_expansion, - [2187] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(430), 1, - aux_sym__stopsignal_value_token2, - ACTIONS(432), 1, - anon_sym_DOLLAR2, - ACTIONS(434), 1, + STATE(206), 1, + sym__immediate_user_name_or_group_fragment, + [2272] = 5, + ACTIONS(279), 1, anon_sym_LF, - STATE(74), 1, - aux_sym__stopsignal_value_repeat1, - STATE(75), 1, + ACTIONS(284), 1, + anon_sym_BSLASH_LF, + ACTIONS(433), 1, + sym_heredoc_marker, + STATE(72), 2, sym_line_continuation, - STATE(204), 1, - sym__immediate_expansion, - STATE(207), 1, - sym__imm_expansion, - [2212] = 7, - ACTIONS(127), 1, + aux_sym_shell_fragment_repeat1, + ACTIONS(430), 4, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + aux_sym_shell_fragment_token4, + [2292] = 3, + STATE(73), 1, + sym_line_continuation, + ACTIONS(279), 3, + sym_heredoc_marker, + sym_heredoc_nl, + anon_sym_LF, + ACTIONS(284), 5, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + aux_sym_shell_fragment_token4, + anon_sym_BSLASH_LF, + [2308] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, ACTIONS(436), 1, anon_sym_LF, ACTIONS(438), 1, - anon_sym_DOLLAR2, - ACTIONS(441), 1, - aux_sym_image_alias_token2, - STATE(186), 1, - sym__immediate_expansion, - STATE(194), 1, - sym__imm_expansion, - STATE(76), 2, - sym_line_continuation, - aux_sym_image_alias_repeat1, - [2235] = 8, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(188), 1, aux_sym__immediate_user_name_or_group_fragment_token1, - ACTIONS(190), 1, + ACTIONS(441), 1, anon_sym_DOLLAR2, - STATE(47), 1, - aux_sym__immediate_user_name_or_group, - STATE(77), 1, - sym_line_continuation, - STATE(134), 1, + STATE(169), 1, sym__immediate_expansion, - STATE(152), 1, + STATE(171), 1, sym__imm_expansion, - STATE(181), 1, + STATE(206), 1, sym__immediate_user_name_or_group_fragment, - [2260] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(446), 1, - aux_sym_shell_fragment_token1, - STATE(78), 1, + STATE(74), 2, + aux_sym__immediate_user_name_or_group, sym_line_continuation, - ACTIONS(444), 5, - anon_sym_DASH_DASH, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - anon_sym_POUND, - anon_sym_LBRACK, - [2277] = 8, - ACTIONS(127), 1, + [2334] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(75), 1, + sym_line_continuation, + ACTIONS(446), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + ACTIONS(444), 4, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [2352] = 6, + ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(448), 1, - aux_sym_path_token2, - ACTIONS(450), 1, - anon_sym_DOLLAR2, + aux_sym_path_token1, ACTIONS(452), 1, + anon_sym_DASH_DASH, + STATE(111), 1, + sym_param, + STATE(76), 2, + sym_line_continuation, + aux_sym_add_instruction_repeat1, + ACTIONS(450), 3, + sym_heredoc_marker, + aux_sym_path_with_heredoc_token1, + anon_sym_DOLLAR, + [2374] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(77), 1, + sym_line_continuation, + ACTIONS(457), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + ACTIONS(455), 4, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [2392] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(459), 1, + anon_sym_LF, + ACTIONS(461), 1, + aux_sym_from_instruction_token2, + ACTIONS(463), 1, + anon_sym_DOLLAR2, + ACTIONS(466), 1, + aux_sym_image_digest_token1, + STATE(158), 1, + sym__immediate_expansion, + STATE(159), 1, + sym__imm_expansion, + STATE(78), 2, + sym_line_continuation, + aux_sym_image_digest_repeat1, + [2418] = 9, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(408), 1, + aux_sym_path_token3, + ACTIONS(410), 1, + anon_sym_DOLLAR2, + ACTIONS(469), 1, + anon_sym_LF, + ACTIONS(471), 1, sym__non_newline_whitespace, - STATE(66), 1, + STATE(69), 1, aux_sym_path_repeat1, STATE(79), 1, sym_line_continuation, - STATE(214), 1, + STATE(157), 1, sym__immediate_expansion, - STATE(229), 1, + STATE(188), 1, sym__imm_expansion, - [2302] = 6, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(454), 1, + [2446] = 6, + ACTIONS(129), 1, + sym_heredoc_marker, + ACTIONS(263), 1, anon_sym_LF, - ACTIONS(456), 1, - anon_sym_DOLLAR, - ACTIONS(459), 1, - aux_sym_expose_port_token1, - STATE(80), 2, + ACTIONS(267), 1, + anon_sym_BSLASH_LF, + STATE(72), 1, + aux_sym_shell_fragment_repeat1, + STATE(80), 1, sym_line_continuation, - aux_sym_expose_instruction_repeat1, - STATE(198), 2, - sym_expansion, - sym_expose_port, - [2323] = 7, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(398), 1, - anon_sym_LF, - ACTIONS(462), 1, + ACTIONS(473), 4, aux_sym_path_token2, - ACTIONS(465), 1, - anon_sym_DOLLAR2, - STATE(168), 1, - sym__imm_expansion, - STATE(228), 1, - sym__immediate_expansion, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + aux_sym_shell_fragment_token4, + [2468] = 8, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(475), 1, + aux_sym_path_token1, + ACTIONS(478), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(481), 1, + anon_sym_DOLLAR, + ACTIONS(484), 1, + sym_heredoc_marker, + STATE(109), 1, + sym_expansion, + STATE(325), 1, + sym_path_with_heredoc, STATE(81), 2, sym_line_continuation, - aux_sym_path_repeat1, - [2346] = 8, - ACTIONS(127), 1, + aux_sym_add_instruction_repeat2, + [2494] = 9, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(452), 1, - anon_sym_LF, - ACTIONS(468), 1, - aux_sym_path_token2, - ACTIONS(470), 1, - anon_sym_DOLLAR2, + ACTIONS(368), 1, + aux_sym_path_token1, + ACTIONS(370), 1, + aux_sym_path_with_heredoc_token1, + ACTIONS(372), 1, + anon_sym_DOLLAR, + ACTIONS(374), 1, + sym_heredoc_marker, + STATE(48), 1, + sym_expansion, STATE(81), 1, - aux_sym_path_repeat1, + aux_sym_add_instruction_repeat2, STATE(82), 1, sym_line_continuation, - STATE(168), 1, - sym__imm_expansion, - STATE(228), 1, - sym__immediate_expansion, - [2371] = 4, - ACTIONS(127), 1, + STATE(124), 1, + sym_path_with_heredoc, + [2522] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, + ACTIONS(487), 1, + anon_sym_LF, + ACTIONS(489), 1, + aux_sym__stopsignal_value_token2, + ACTIONS(491), 1, + anon_sym_DOLLAR2, STATE(83), 1, sym_line_continuation, - ACTIONS(474), 2, - aux_sym_from_instruction_token2, - aux_sym_image_name_token2, - ACTIONS(472), 4, - anon_sym_LF, - anon_sym_COLON, - anon_sym_DOLLAR2, - anon_sym_AT, - [2388] = 8, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(468), 1, - aux_sym_path_token2, - ACTIONS(470), 1, - anon_sym_DOLLAR2, - ACTIONS(476), 1, - anon_sym_LF, - STATE(82), 1, - aux_sym_path_repeat1, - STATE(84), 1, - sym_line_continuation, - STATE(168), 1, + STATE(102), 1, + aux_sym__stopsignal_value_repeat1, + STATE(223), 1, sym__imm_expansion, - STATE(228), 1, + STATE(255), 1, sym__immediate_expansion, - [2413] = 4, - ACTIONS(127), 1, + [2547] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(493), 1, + anon_sym_LF, + ACTIONS(495), 1, + anon_sym_DOLLAR, + ACTIONS(498), 1, + aux_sym_expose_port_token1, + STATE(84), 2, + sym_line_continuation, + aux_sym_expose_instruction_repeat1, + STATE(212), 2, + sym_expansion, + sym_expose_port, + [2568] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, STATE(85), 1, sym_line_continuation, - ACTIONS(480), 2, + ACTIONS(457), 2, aux_sym_from_instruction_token2, aux_sym_image_name_token2, - ACTIONS(478), 4, + ACTIONS(455), 4, anon_sym_LF, anon_sym_COLON, anon_sym_DOLLAR2, anon_sym_AT, - [2430] = 4, - ACTIONS(127), 1, + [2585] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, STATE(86), 1, sym_line_continuation, - ACTIONS(299), 2, + ACTIONS(503), 2, aux_sym_from_instruction_token2, aux_sym_image_name_token2, - ACTIONS(297), 4, + ACTIONS(501), 4, anon_sym_LF, anon_sym_COLON, anon_sym_DOLLAR2, anon_sym_AT, - [2447] = 8, - ACTIONS(127), 1, + [2602] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(448), 1, - aux_sym_path_token2, - ACTIONS(450), 1, + ACTIONS(505), 1, + anon_sym_LF, + ACTIONS(507), 1, anon_sym_DOLLAR2, - ACTIONS(476), 1, - sym__non_newline_whitespace, - STATE(79), 1, - aux_sym_path_repeat1, + ACTIONS(509), 1, + aux_sym_image_alias_token2, STATE(87), 1, sym_line_continuation, - STATE(214), 1, + STATE(107), 1, + aux_sym_image_alias_repeat1, + STATE(209), 1, sym__immediate_expansion, - STATE(229), 1, + STATE(246), 1, sym__imm_expansion, - [2472] = 4, - ACTIONS(3), 1, + [2627] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(484), 1, - aux_sym_shell_fragment_token1, STATE(88), 1, sym_line_continuation, - ACTIONS(482), 5, - anon_sym_DASH_DASH, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - anon_sym_POUND, - anon_sym_LBRACK, - [2489] = 7, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(281), 1, + ACTIONS(513), 2, + aux_sym_from_instruction_token2, + aux_sym_image_name_token2, + ACTIONS(511), 4, + anon_sym_LF, + anon_sym_COLON, anon_sym_DOLLAR2, - ACTIONS(283), 1, - aux_sym_image_tag_token1, - STATE(42), 1, - aux_sym_image_tag_repeat1, + anon_sym_AT, + [2644] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, STATE(89), 1, sym_line_continuation, - STATE(105), 1, - sym__immediate_expansion, - STATE(118), 1, - sym__imm_expansion, - [2511] = 4, - ACTIONS(127), 1, + ACTIONS(416), 2, + aux_sym_from_instruction_token2, + aux_sym_image_name_token2, + ACTIONS(414), 4, + anon_sym_LF, + anon_sym_COLON, + anon_sym_DOLLAR2, + anon_sym_AT, + [2661] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(299), 1, - aux_sym__env_key_token1, + ACTIONS(515), 1, + anon_sym_LF, + ACTIONS(517), 1, + aux_sym_from_instruction_token2, + ACTIONS(519), 1, + anon_sym_COLON, + ACTIONS(521), 1, + anon_sym_AT, STATE(90), 1, sym_line_continuation, - ACTIONS(297), 4, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [2527] = 7, - ACTIONS(127), 1, + STATE(187), 1, + sym_image_tag, + STATE(284), 1, + sym_image_digest, + [2686] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(486), 1, - anon_sym_LF, - ACTIONS(488), 1, - aux_sym__env_key_token1, - STATE(91), 1, - sym_line_continuation, - STATE(122), 1, - aux_sym_env_instruction_repeat1, - STATE(257), 1, - sym_env_pair, - STATE(271), 1, - sym__env_key, - [2549] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(490), 1, - anon_sym_DOLLAR, - ACTIONS(492), 1, - aux_sym_expose_port_token1, - STATE(64), 1, - aux_sym_expose_instruction_repeat1, - STATE(92), 1, - sym_line_continuation, - STATE(198), 2, - sym_expansion, - sym_expose_port, - [2569] = 7, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(332), 1, - anon_sym_DOLLAR2, - ACTIONS(334), 1, - aux_sym_image_digest_token1, - STATE(52), 1, - aux_sym_image_digest_repeat1, - STATE(93), 1, - sym_line_continuation, - STATE(150), 1, - sym__immediate_expansion, - STATE(151), 1, - sym__imm_expansion, - [2591] = 7, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(494), 1, - aux_sym__env_key_token1, - STATE(91), 1, - aux_sym_env_instruction_repeat1, - STATE(94), 1, - sym_line_continuation, - STATE(257), 1, - sym_env_pair, - STATE(260), 1, - sym__env_key, - STATE(270), 1, - sym__spaced_env_pair, - [2613] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(95), 1, - sym_line_continuation, - ACTIONS(305), 2, - aux_sym_from_instruction_token2, - aux_sym_image_tag_token1, - ACTIONS(303), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - anon_sym_AT, - [2629] = 5, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(496), 1, - anon_sym_BSLASH, - ACTIONS(499), 1, - anon_sym_SQUOTE, - ACTIONS(501), 2, - aux_sym_single_quoted_string_token1, - sym_single_quoted_escape_sequence, - STATE(96), 2, - sym_line_continuation, - aux_sym_single_quoted_string_repeat1, - [2647] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(97), 1, - sym_line_continuation, - ACTIONS(352), 2, - anon_sym_DQUOTE, - anon_sym_BSLASH, - ACTIONS(350), 3, - anon_sym_DOLLAR2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [2663] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(98), 1, - sym_line_continuation, - ACTIONS(372), 2, - anon_sym_DQUOTE, - anon_sym_BSLASH, - ACTIONS(370), 3, - anon_sym_DOLLAR2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [2679] = 7, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(388), 1, - aux_sym_path_token1, - ACTIONS(390), 1, - anon_sym_DOLLAR, - STATE(53), 1, - sym_expansion, - STATE(99), 1, - sym_line_continuation, - STATE(124), 1, - aux_sym_add_instruction_repeat2, - STATE(261), 1, - sym_path, - [2701] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(368), 1, - aux_sym__env_key_token1, - STATE(100), 1, - sym_line_continuation, - ACTIONS(366), 4, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [2717] = 7, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(388), 1, - aux_sym_path_token1, - ACTIONS(390), 1, - anon_sym_DOLLAR, - STATE(53), 1, - sym_expansion, - STATE(101), 1, - sym_line_continuation, - STATE(124), 1, - aux_sym_add_instruction_repeat2, - STATE(232), 1, - sym_path, - [2739] = 6, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(504), 1, - anon_sym_BSLASH, - ACTIONS(506), 1, - anon_sym_SQUOTE, - STATE(102), 1, - sym_line_continuation, - STATE(125), 1, - aux_sym_single_quoted_string_repeat1, - ACTIONS(508), 2, - aux_sym_single_quoted_string_token1, - sym_single_quoted_escape_sequence, - [2759] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(103), 1, - sym_line_continuation, - ACTIONS(305), 2, - anon_sym_DQUOTE, - anon_sym_BSLASH, - ACTIONS(303), 3, - anon_sym_DOLLAR2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [2775] = 6, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(504), 1, - anon_sym_BSLASH, - ACTIONS(510), 1, - anon_sym_SQUOTE, - STATE(96), 1, - aux_sym_single_quoted_string_repeat1, - STATE(104), 1, - sym_line_continuation, - ACTIONS(508), 2, - aux_sym_single_quoted_string_token1, - sym_single_quoted_escape_sequence, - [2795] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(105), 1, - sym_line_continuation, - ACTIONS(514), 2, - aux_sym_from_instruction_token2, - aux_sym_image_tag_token1, - ACTIONS(512), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - anon_sym_AT, - [2811] = 6, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(504), 1, - anon_sym_BSLASH, - ACTIONS(516), 1, - anon_sym_SQUOTE, - STATE(104), 1, - aux_sym_single_quoted_string_repeat1, - STATE(106), 1, - sym_line_continuation, - ACTIONS(508), 2, - aux_sym_single_quoted_string_token1, - sym_single_quoted_escape_sequence, - [2831] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(107), 1, - sym_line_continuation, - ACTIONS(352), 2, - aux_sym_from_instruction_token2, - aux_sym_image_tag_token1, - ACTIONS(350), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - anon_sym_AT, - [2847] = 4, - ACTIONS(518), 1, + ACTIONS(412), 1, anon_sym_LF, ACTIONS(523), 1, - anon_sym_BSLASH_LF, - STATE(108), 2, - sym_line_continuation, - aux_sym_shell_fragment_repeat1, - ACTIONS(520), 3, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - [2863] = 5, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, + aux_sym_path_token3, ACTIONS(525), 1, - anon_sym_LF, - STATE(109), 1, - sym_line_continuation, - ACTIONS(527), 2, - anon_sym_DOLLAR, - aux_sym_expose_port_token1, - ACTIONS(529), 2, - anon_sym_SLASHtcp, - anon_sym_SLASHudp, - [2881] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(372), 1, - aux_sym__env_key_token1, - STATE(110), 1, - sym_line_continuation, - ACTIONS(370), 4, - anon_sym_LF, anon_sym_DOLLAR2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [2897] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(111), 1, + STATE(91), 1, sym_line_continuation, - ACTIONS(533), 2, - anon_sym_DQUOTE, - anon_sym_BSLASH, - ACTIONS(531), 3, - anon_sym_DOLLAR2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [2913] = 4, - ACTIONS(127), 1, + STATE(100), 1, + aux_sym_path_repeat1, + STATE(234), 1, + sym__imm_expansion, + STATE(273), 1, + sym__immediate_expansion, + [2711] = 8, + ACTIONS(137), 1, anon_sym_BSLASH_LF, ACTIONS(352), 1, - aux_sym__env_key_token1, - STATE(112), 1, - sym_line_continuation, - ACTIONS(350), 4, - anon_sym_LF, + sym__non_newline_whitespace, + ACTIONS(527), 1, + aux_sym_path_token3, + ACTIONS(529), 1, anon_sym_DOLLAR2, - aux_sym_unquoted_string_token1, - anon_sym_BSLASH2, - [2929] = 7, + STATE(92), 1, + sym_line_continuation, + STATE(95), 1, + aux_sym_path_repeat1, + STATE(220), 1, + sym__immediate_expansion, + STATE(270), 1, + sym__imm_expansion, + [2736] = 8, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(360), 1, - anon_sym_DOLLAR, - ACTIONS(362), 1, - aux_sym_image_name_token1, - STATE(22), 1, - sym_expansion, - STATE(73), 1, - sym_image_name, - STATE(113), 1, + ACTIONS(320), 1, + aux_sym__immediate_user_name_or_group_fragment_token1, + ACTIONS(322), 1, + anon_sym_DOLLAR2, + STATE(71), 1, + aux_sym__immediate_user_name_or_group, + STATE(93), 1, sym_line_continuation, - STATE(236), 1, - sym_image_spec, - [2951] = 7, + STATE(169), 1, + sym__immediate_expansion, + STATE(171), 1, + sym__imm_expansion, + STATE(206), 1, + sym__immediate_user_name_or_group_fragment, + [2761] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(531), 1, + anon_sym_LF, + ACTIONS(533), 1, + anon_sym_DOLLAR2, + ACTIONS(536), 1, + aux_sym_image_alias_token2, + STATE(209), 1, + sym__immediate_expansion, + STATE(246), 1, + sym__imm_expansion, + STATE(94), 2, + sym_line_continuation, + aux_sym_image_alias_repeat1, + [2784] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(277), 1, + sym__non_newline_whitespace, + ACTIONS(539), 1, + aux_sym_path_token3, + ACTIONS(542), 1, + anon_sym_DOLLAR2, + STATE(220), 1, + sym__immediate_expansion, + STATE(270), 1, + sym__imm_expansion, + STATE(95), 2, + sym_line_continuation, + aux_sym_path_repeat1, + [2807] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + STATE(96), 1, + sym_line_continuation, + ACTIONS(545), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(547), 4, + sym_heredoc_marker, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + [2824] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(489), 1, + aux_sym__stopsignal_value_token2, + ACTIONS(491), 1, + anon_sym_DOLLAR2, + ACTIONS(549), 1, + anon_sym_LF, + STATE(83), 1, + aux_sym__stopsignal_value_repeat1, + STATE(97), 1, + sym_line_continuation, + STATE(223), 1, + sym__imm_expansion, + STATE(255), 1, + sym__immediate_expansion, + [2849] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(551), 1, + anon_sym_LF, + ACTIONS(553), 1, + anon_sym_DOLLAR, + ACTIONS(555), 1, + aux_sym_expose_port_token1, + STATE(84), 1, + aux_sym_expose_instruction_repeat1, + STATE(98), 1, + sym_line_continuation, + STATE(212), 2, + sym_expansion, + sym_expose_port, + [2872] = 3, + STATE(99), 1, + sym_line_continuation, + ACTIONS(279), 2, + sym_heredoc_marker, + anon_sym_LF, + ACTIONS(284), 5, + aux_sym_path_token2, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token3, + aux_sym_shell_fragment_token4, + anon_sym_BSLASH_LF, + [2887] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(471), 1, + anon_sym_LF, + ACTIONS(523), 1, + aux_sym_path_token3, + ACTIONS(525), 1, + anon_sym_DOLLAR2, + STATE(100), 1, + sym_line_continuation, + STATE(103), 1, + aux_sym_path_repeat1, + STATE(234), 1, + sym__imm_expansion, + STATE(273), 1, + sym__immediate_expansion, + [2912] = 8, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(11), 1, aux_sym_cmd_instruction_token1, - ACTIONS(416), 1, + ACTIONS(557), 1, + anon_sym_NONE, + ACTIONS(559), 1, anon_sym_DASH_DASH, + STATE(101), 1, + sym_line_continuation, + STATE(144), 1, + aux_sym_add_instruction_repeat1, + STATE(277), 1, + sym_param, + STATE(318), 1, + sym_cmd_instruction, + [2937] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(561), 1, + anon_sym_LF, + ACTIONS(563), 1, + aux_sym__stopsignal_value_token2, + ACTIONS(566), 1, + anon_sym_DOLLAR2, + STATE(223), 1, + sym__imm_expansion, + STATE(255), 1, + sym__immediate_expansion, + STATE(102), 2, + sym_line_continuation, + aux_sym__stopsignal_value_repeat1, + [2960] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(277), 1, + anon_sym_LF, + ACTIONS(569), 1, + aux_sym_path_token3, + ACTIONS(572), 1, + anon_sym_DOLLAR2, + STATE(234), 1, + sym__imm_expansion, + STATE(273), 1, + sym__immediate_expansion, + STATE(103), 2, + sym_line_continuation, + aux_sym_path_repeat1, + [2983] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(104), 1, + sym_line_continuation, + ACTIONS(426), 2, + aux_sym_from_instruction_token2, + aux_sym_image_name_token2, + ACTIONS(424), 4, + anon_sym_LF, + anon_sym_COLON, + anon_sym_DOLLAR2, + anon_sym_AT, + [3000] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(105), 1, + sym_line_continuation, + ACTIONS(446), 2, + aux_sym_from_instruction_token2, + aux_sym_image_name_token2, + ACTIONS(444), 4, + anon_sym_LF, + anon_sym_COLON, + anon_sym_DOLLAR2, + anon_sym_AT, + [3017] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + STATE(106), 1, + sym_line_continuation, + ACTIONS(575), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(577), 4, + sym_heredoc_marker, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + [3034] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(507), 1, + anon_sym_DOLLAR2, + ACTIONS(509), 1, + aux_sym_image_alias_token2, + ACTIONS(579), 1, + anon_sym_LF, + STATE(94), 1, + aux_sym_image_alias_repeat1, + STATE(107), 1, + sym_line_continuation, + STATE(209), 1, + sym__immediate_expansion, + STATE(246), 1, + sym__imm_expansion, + [3059] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + STATE(108), 1, + sym_line_continuation, + ACTIONS(581), 2, + aux_sym_path_token2, + aux_sym_shell_fragment_token3, + ACTIONS(583), 4, + sym_heredoc_marker, + aux_sym_shell_fragment_token2, + aux_sym_shell_fragment_token4, + anon_sym_POUND, + [3076] = 8, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(308), 1, + sym__non_newline_whitespace, + ACTIONS(527), 1, + aux_sym_path_token3, + ACTIONS(529), 1, + anon_sym_DOLLAR2, + STATE(92), 1, + aux_sym_path_repeat1, + STATE(109), 1, + sym_line_continuation, + STATE(220), 1, + sym__immediate_expansion, + STATE(270), 1, + sym__imm_expansion, + [3101] = 5, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(585), 1, + anon_sym_LF, + STATE(110), 1, + sym_line_continuation, + ACTIONS(587), 2, + anon_sym_DOLLAR, + aux_sym_expose_port_token1, + ACTIONS(589), 2, + anon_sym_SLASHtcp, + anon_sym_SLASHudp, + [3119] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(591), 1, + aux_sym_path_token1, + STATE(111), 1, + sym_line_continuation, + ACTIONS(593), 4, + sym_heredoc_marker, + aux_sym_path_with_heredoc_token1, + anon_sym_DOLLAR, + anon_sym_DASH_DASH, + [3135] = 6, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(595), 1, + anon_sym_DOLLAR, + ACTIONS(597), 1, + aux_sym_expose_port_token1, + STATE(98), 1, + aux_sym_expose_instruction_repeat1, + STATE(112), 1, + sym_line_continuation, + STATE(212), 2, + sym_expansion, + sym_expose_port, + [3155] = 7, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(599), 1, + aux_sym__env_key_token1, + STATE(113), 1, + sym_line_continuation, + STATE(146), 1, + aux_sym_env_instruction_repeat1, + STATE(305), 1, + sym__env_key, + STATE(307), 1, + sym_env_pair, + STATE(315), 1, + sym__spaced_env_pair, + [3177] = 7, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(601), 1, + aux_sym_path_token1, + ACTIONS(603), 1, + aux_sym_path_token2, + ACTIONS(605), 1, + anon_sym_DOLLAR, + STATE(91), 1, + sym_expansion, STATE(114), 1, sym_line_continuation, - STATE(158), 1, - aux_sym_add_instruction_repeat1, - STATE(258), 1, - sym_param, - STATE(266), 1, - sym_cmd_instruction, - [2973] = 6, - ACTIONS(127), 1, + STATE(314), 1, + sym_path, + [3199] = 6, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(504), 1, + ACTIONS(607), 1, anon_sym_BSLASH, - ACTIONS(535), 1, + ACTIONS(609), 1, anon_sym_SQUOTE, - STATE(96), 1, - aux_sym_single_quoted_string_repeat1, STATE(115), 1, sym_line_continuation, - ACTIONS(508), 2, + STATE(132), 1, + aux_sym_single_quoted_string_repeat1, + ACTIONS(611), 2, aux_sym_single_quoted_string_token1, sym_single_quoted_escape_sequence, - [2993] = 6, - ACTIONS(127), 1, + [3219] = 6, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(504), 1, + ACTIONS(607), 1, anon_sym_BSLASH, - ACTIONS(537), 1, + ACTIONS(613), 1, anon_sym_SQUOTE, STATE(115), 1, aux_sym_single_quoted_string_repeat1, STATE(116), 1, sym_line_continuation, - ACTIONS(508), 2, + ACTIONS(611), 2, aux_sym_single_quoted_string_token1, sym_single_quoted_escape_sequence, - [3013] = 4, - ACTIONS(127), 1, + [3239] = 4, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(305), 1, - aux_sym__env_key_token1, + ACTIONS(354), 1, + aux_sym_path_token1, STATE(117), 1, sym_line_continuation, - ACTIONS(303), 4, + ACTIONS(356), 4, + sym_heredoc_marker, + aux_sym_path_with_heredoc_token1, + anon_sym_DOLLAR, + anon_sym_DASH_DASH, + [3255] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(118), 1, + sym_line_continuation, + ACTIONS(617), 2, + anon_sym_DQUOTE, + anon_sym_BSLASH, + ACTIONS(615), 3, + anon_sym_DOLLAR2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [3271] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(607), 1, + anon_sym_BSLASH, + ACTIONS(619), 1, + anon_sym_SQUOTE, + STATE(119), 1, + sym_line_continuation, + STATE(132), 1, + aux_sym_single_quoted_string_repeat1, + ACTIONS(611), 2, + aux_sym_single_quoted_string_token1, + sym_single_quoted_escape_sequence, + [3291] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(607), 1, + anon_sym_BSLASH, + ACTIONS(621), 1, + anon_sym_SQUOTE, + STATE(119), 1, + aux_sym_single_quoted_string_repeat1, + STATE(120), 1, + sym_line_continuation, + ACTIONS(611), 2, + aux_sym_single_quoted_string_token1, + sym_single_quoted_escape_sequence, + [3311] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(446), 1, + aux_sym__env_key_token1, + STATE(121), 1, + sym_line_continuation, + ACTIONS(444), 4, anon_sym_LF, anon_sym_DOLLAR2, aux_sym_unquoted_string_token1, anon_sym_BSLASH2, - [3029] = 4, - ACTIONS(127), 1, + [3327] = 6, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - STATE(118), 1, - sym_line_continuation, - ACTIONS(299), 2, - aux_sym_from_instruction_token2, - aux_sym_image_tag_token1, - ACTIONS(297), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - anon_sym_AT, - [3045] = 5, - ACTIONS(539), 1, - anon_sym_LF, - ACTIONS(543), 1, - anon_sym_BSLASH_LF, - STATE(108), 1, - aux_sym_shell_fragment_repeat1, - STATE(119), 1, - sym_line_continuation, - ACTIONS(541), 3, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - [3063] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(120), 1, - sym_line_continuation, - ACTIONS(372), 2, - aux_sym_from_instruction_token2, - aux_sym_image_tag_token1, - ACTIONS(370), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - anon_sym_AT, - [3079] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(121), 1, - sym_line_continuation, - ACTIONS(299), 2, - anon_sym_DQUOTE, + ACTIONS(607), 1, anon_sym_BSLASH, - ACTIONS(297), 3, - anon_sym_DOLLAR2, - aux_sym_double_quoted_string_token1, - sym_double_quoted_escape_sequence, - [3095] = 6, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(545), 1, - anon_sym_LF, - ACTIONS(547), 1, - aux_sym__env_key_token1, - STATE(257), 1, - sym_env_pair, - STATE(271), 1, - sym__env_key, - STATE(122), 2, - sym_line_continuation, - aux_sym_env_instruction_repeat1, - [3115] = 7, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(388), 1, - aux_sym_path_token1, - ACTIONS(390), 1, - anon_sym_DOLLAR, - STATE(53), 1, - sym_expansion, - STATE(123), 1, - sym_line_continuation, - STATE(124), 1, - aux_sym_add_instruction_repeat2, - STATE(241), 1, - sym_path, - [3137] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(550), 1, - aux_sym_path_token1, - ACTIONS(553), 1, - anon_sym_DOLLAR, - STATE(87), 1, - sym_expansion, - STATE(267), 1, - sym_path, - STATE(124), 2, - sym_line_continuation, - aux_sym_add_instruction_repeat2, - [3157] = 6, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(504), 1, - anon_sym_BSLASH, - ACTIONS(556), 1, - anon_sym_SQUOTE, - STATE(96), 1, - aux_sym_single_quoted_string_repeat1, - STATE(125), 1, - sym_line_continuation, - ACTIONS(508), 2, - aux_sym_single_quoted_string_token1, - sym_single_quoted_escape_sequence, - [3177] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(558), 1, - aux_sym_path_token1, - ACTIONS(560), 1, - anon_sym_DOLLAR, - ACTIONS(562), 1, - anon_sym_DASH_DASH, - STATE(201), 1, - sym_param, - STATE(126), 2, - sym_line_continuation, - aux_sym_add_instruction_repeat1, - [3197] = 7, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(388), 1, - aux_sym_path_token1, - ACTIONS(390), 1, - anon_sym_DOLLAR, - STATE(53), 1, - sym_expansion, - STATE(124), 1, - aux_sym_add_instruction_repeat2, - STATE(127), 1, - sym_line_continuation, - STATE(233), 1, - sym_path, - [3219] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(128), 1, - sym_line_continuation, - ACTIONS(472), 4, - anon_sym_LF, - anon_sym_COLON, - aux_sym__immediate_user_name_or_group_fragment_token1, - anon_sym_DOLLAR2, - [3232] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(565), 1, - anon_sym_DQUOTE, - ACTIONS(567), 2, - aux_sym_json_string_token1, - sym_json_escape_sequence, - STATE(129), 2, - sym_line_continuation, - aux_sym_json_string_repeat1, - [3247] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - STATE(130), 1, - sym_line_continuation, - ACTIONS(570), 4, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - anon_sym_POUND, - [3260] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(472), 1, - anon_sym_DOLLAR2, - STATE(131), 1, - sym_line_continuation, - ACTIONS(474), 3, - anon_sym_LF, - aux_sym_path_token2, - sym__non_newline_whitespace, - [3275] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(388), 1, - aux_sym_path_token1, - ACTIONS(390), 1, - anon_sym_DOLLAR, - STATE(53), 1, - sym_expansion, - STATE(132), 1, - sym_line_continuation, - STATE(242), 1, - sym_path, - [3294] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(572), 1, - anon_sym_LF, - STATE(133), 1, - sym_line_continuation, - ACTIONS(574), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [3309] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(134), 1, - sym_line_continuation, - ACTIONS(576), 4, - anon_sym_LF, - anon_sym_COLON, - aux_sym__immediate_user_name_or_group_fragment_token1, - anon_sym_DOLLAR2, - [3322] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(135), 1, - sym_line_continuation, - ACTIONS(578), 4, - anon_sym_LF, - anon_sym_COLON, - aux_sym__immediate_user_name_or_group_fragment_token1, - anon_sym_DOLLAR2, - [3335] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(372), 1, - aux_sym_from_instruction_token2, - STATE(136), 1, - sym_line_continuation, - ACTIONS(370), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_digest_token1, - [3350] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(580), 1, - anon_sym_LF, - STATE(137), 1, - sym_line_continuation, - ACTIONS(582), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [3365] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(138), 1, - sym_line_continuation, - ACTIONS(584), 2, - anon_sym_BSLASH, - anon_sym_SQUOTE, - ACTIONS(586), 2, - aux_sym_single_quoted_string_token1, - sym_single_quoted_escape_sequence, - [3380] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(297), 1, - anon_sym_DOLLAR2, - STATE(139), 1, - sym_line_continuation, - ACTIONS(299), 3, - anon_sym_LF, - aux_sym_path_token2, - sym__non_newline_whitespace, - [3395] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(303), 1, - anon_sym_DOLLAR2, - STATE(140), 1, - sym_line_continuation, - ACTIONS(305), 3, - anon_sym_LF, - aux_sym_path_token2, - sym__non_newline_whitespace, - [3410] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(370), 1, - anon_sym_DOLLAR2, - STATE(141), 1, - sym_line_continuation, - ACTIONS(372), 3, - anon_sym_LF, - aux_sym_path_token2, - sym__non_newline_whitespace, - [3425] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(588), 1, - anon_sym_LF, - STATE(142), 1, - sym_line_continuation, - ACTIONS(590), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [3440] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(143), 1, - sym_line_continuation, - ACTIONS(350), 4, - anon_sym_LF, - anon_sym_COLON, - aux_sym__immediate_user_name_or_group_fragment_token1, - anon_sym_DOLLAR2, - [3453] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(594), 1, - anon_sym_DOLLAR2, - STATE(144), 1, - sym_line_continuation, - ACTIONS(592), 3, - anon_sym_LF, - aux_sym_path_token2, - sym__non_newline_whitespace, - [3468] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(305), 1, - aux_sym_from_instruction_token2, - STATE(145), 1, - sym_line_continuation, - ACTIONS(303), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_digest_token1, - [3483] = 5, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(596), 1, - anon_sym_DQUOTE, - STATE(146), 1, - sym_line_continuation, - STATE(157), 1, - aux_sym_json_string_repeat1, - ACTIONS(598), 2, - aux_sym_json_string_token1, - sym_json_escape_sequence, - [3500] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(350), 1, - anon_sym_DOLLAR2, - STATE(147), 1, - sym_line_continuation, - ACTIONS(352), 3, - anon_sym_LF, - aux_sym_path_token2, - sym__non_newline_whitespace, - [3515] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - STATE(148), 1, - sym_line_continuation, - ACTIONS(600), 4, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - anon_sym_POUND, - [3528] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - STATE(149), 1, - sym_line_continuation, - ACTIONS(602), 4, - aux_sym_shell_fragment_token1, - aux_sym_shell_fragment_token2, - aux_sym_shell_fragment_token3, - anon_sym_POUND, - [3541] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(606), 1, - aux_sym_from_instruction_token2, - STATE(150), 1, - sym_line_continuation, - ACTIONS(604), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_digest_token1, - [3556] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(299), 1, - aux_sym_from_instruction_token2, - STATE(151), 1, - sym_line_continuation, - ACTIONS(297), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_digest_token1, - [3571] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(152), 1, - sym_line_continuation, - ACTIONS(297), 4, - anon_sym_LF, - anon_sym_COLON, - aux_sym__immediate_user_name_or_group_fragment_token1, - anon_sym_DOLLAR2, - [3584] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(608), 1, - anon_sym_DOLLAR, - ACTIONS(610), 1, - aux_sym_image_alias_token1, - STATE(71), 1, - sym_expansion, - STATE(153), 1, - sym_line_continuation, - STATE(294), 1, - sym_image_alias, - [3603] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(612), 1, - aux_sym__stopsignal_value_token1, - ACTIONS(614), 1, - anon_sym_DOLLAR, - STATE(75), 1, - sym_expansion, - STATE(154), 1, - sym_line_continuation, - STATE(303), 1, - sym__stopsignal_value, - [3622] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(155), 1, - sym_line_continuation, - ACTIONS(303), 4, - anon_sym_LF, - anon_sym_COLON, - aux_sym__immediate_user_name_or_group_fragment_token1, - anon_sym_DOLLAR2, - [3635] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(156), 1, - sym_line_continuation, - ACTIONS(370), 4, - anon_sym_LF, - anon_sym_COLON, - aux_sym__immediate_user_name_or_group_fragment_token1, - anon_sym_DOLLAR2, - [3648] = 5, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(616), 1, - anon_sym_DQUOTE, - STATE(129), 1, - aux_sym_json_string_repeat1, - STATE(157), 1, - sym_line_continuation, - ACTIONS(598), 2, - aux_sym_json_string_token1, - sym_json_escape_sequence, - [3665] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(560), 1, - aux_sym_cmd_instruction_token1, - ACTIONS(618), 1, - anon_sym_DASH_DASH, - STATE(258), 1, - sym_param, - STATE(158), 2, - sym_line_continuation, - aux_sym_add_instruction_repeat1, - [3682] = 6, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(621), 1, - aux_sym_path_token1, ACTIONS(623), 1, - anon_sym_DOLLAR, - STATE(84), 1, - sym_expansion, - STATE(159), 1, + anon_sym_SQUOTE, + STATE(122), 1, sym_line_continuation, - STATE(285), 1, - sym_path, - [3701] = 6, - ACTIONS(3), 1, + STATE(132), 1, + aux_sym_single_quoted_string_repeat1, + ACTIONS(611), 2, + aux_sym_single_quoted_string_token1, + sym_single_quoted_escape_sequence, + [3347] = 7, + ACTIONS(137), 1, anon_sym_BSLASH_LF, ACTIONS(625), 1, - aux_sym__user_name_or_group_token1, + anon_sym_LF, ACTIONS(627), 1, - anon_sym_DOLLAR, - STATE(30), 1, - sym_expansion, - STATE(160), 1, + sym__non_newline_whitespace, + ACTIONS(629), 1, + sym_heredoc_nl, + STATE(123), 1, sym_line_continuation, - STATE(252), 1, - sym__user_name_or_group, - [3720] = 4, - ACTIONS(127), 1, + STATE(193), 1, + aux_sym_run_instruction_repeat2, + STATE(281), 1, + sym_heredoc_block, + [3369] = 7, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(352), 1, - aux_sym_from_instruction_token2, - STATE(161), 1, + ACTIONS(627), 1, + sym__non_newline_whitespace, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(631), 1, + anon_sym_LF, + STATE(124), 1, sym_line_continuation, - ACTIONS(350), 3, + STATE(200), 1, + aux_sym_run_instruction_repeat2, + STATE(281), 1, + sym_heredoc_block, + [3391] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(457), 1, + aux_sym__env_key_token1, + STATE(125), 1, + sym_line_continuation, + ACTIONS(455), 4, anon_sym_LF, anon_sym_DOLLAR2, - aux_sym_image_digest_token1, - [3735] = 4, - ACTIONS(127), 1, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [3407] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(629), 1, - anon_sym_LF, - STATE(162), 1, + STATE(126), 1, sym_line_continuation, - ACTIONS(631), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [3750] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(633), 1, + ACTIONS(633), 2, anon_sym_LF, - STATE(163), 1, - sym_line_continuation, + aux_sym_path_token3, ACTIONS(635), 3, - aux_sym_label_pair_token1, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - [3765] = 6, - ACTIONS(127), 1, + sym_heredoc_nl, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [3423] = 7, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(400), 1, + anon_sym_DOLLAR, + ACTIONS(402), 1, + aux_sym_image_name_token1, + STATE(30), 1, + sym_expansion, + STATE(90), 1, + sym_image_name, + STATE(127), 1, + sym_line_continuation, + STATE(283), 1, + sym_image_spec, + [3445] = 7, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(390), 1, + anon_sym_DOLLAR2, + ACTIONS(392), 1, + aux_sym_image_digest_token1, + STATE(62), 1, + aux_sym_image_digest_repeat1, + STATE(128), 1, + sym_line_continuation, + STATE(158), 1, + sym__immediate_expansion, + STATE(159), 1, + sym__imm_expansion, + [3467] = 6, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(426), 1, - anon_sym_AT, ACTIONS(637), 1, anon_sym_LF, ACTIONS(639), 1, - aux_sym_from_instruction_token2, - STATE(164), 1, + aux_sym__env_key_token1, + STATE(307), 1, + sym_env_pair, + STATE(350), 1, + sym__env_key, + STATE(129), 2, sym_line_continuation, - STATE(243), 1, - sym_image_digest, - [3784] = 6, + aux_sym_env_instruction_repeat1, + [3487] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(378), 1, + aux_sym__env_key_token1, + STATE(130), 1, + sym_line_continuation, + ACTIONS(376), 4, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [3503] = 7, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(608), 1, - anon_sym_DOLLAR, - ACTIONS(610), 1, - aux_sym_image_alias_token1, - STATE(71), 1, - sym_expansion, - STATE(165), 1, + ACTIONS(362), 1, + anon_sym_DOLLAR2, + ACTIONS(364), 1, + aux_sym_image_tag_token1, + STATE(57), 1, + aux_sym_image_tag_repeat1, + STATE(131), 1, sym_line_continuation, - STATE(282), 1, - sym_image_alias, - [3803] = 4, - ACTIONS(127), 1, + STATE(150), 1, + sym__immediate_expansion, + STATE(151), 1, + sym__imm_expansion, + [3525] = 5, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(641), 1, - anon_sym_LF, - STATE(166), 1, + ACTIONS(642), 1, + anon_sym_BSLASH, + ACTIONS(645), 1, + anon_sym_SQUOTE, + ACTIONS(647), 2, + aux_sym_single_quoted_string_token1, + sym_single_quoted_escape_sequence, + STATE(132), 2, sym_line_continuation, - ACTIONS(643), 3, + aux_sym_single_quoted_string_repeat1, + [3543] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(133), 1, + sym_line_continuation, + ACTIONS(426), 2, + anon_sym_LF, + aux_sym_path_token3, + ACTIONS(424), 3, + sym_heredoc_nl, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [3559] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(134), 1, + sym_line_continuation, + ACTIONS(416), 2, + anon_sym_LF, + aux_sym_path_token3, + ACTIONS(414), 3, + sym_heredoc_nl, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [3575] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(627), 1, + sym__non_newline_whitespace, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(650), 1, + anon_sym_LF, + STATE(135), 1, + sym_line_continuation, + STATE(189), 1, + aux_sym_run_instruction_repeat2, + STATE(281), 1, + sym_heredoc_block, + [3597] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(136), 1, + sym_line_continuation, + ACTIONS(446), 2, + aux_sym_from_instruction_token2, + aux_sym_image_tag_token1, + ACTIONS(444), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + anon_sym_AT, + [3613] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(426), 1, + aux_sym__env_key_token1, + STATE(137), 1, + sym_line_continuation, + ACTIONS(424), 4, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [3629] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(627), 1, + sym__non_newline_whitespace, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(652), 1, + anon_sym_LF, + STATE(138), 1, + sym_line_continuation, + STATE(191), 1, + aux_sym_run_instruction_repeat2, + STATE(281), 1, + sym_heredoc_block, + [3651] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(607), 1, + anon_sym_BSLASH, + ACTIONS(654), 1, + anon_sym_SQUOTE, + STATE(122), 1, + aux_sym_single_quoted_string_repeat1, + STATE(139), 1, + sym_line_continuation, + ACTIONS(611), 2, + aux_sym_single_quoted_string_token1, + sym_single_quoted_escape_sequence, + [3671] = 7, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(394), 1, + aux_sym_path_token1, + ACTIONS(396), 1, + aux_sym_path_token2, + ACTIONS(398), 1, + anon_sym_DOLLAR, + STATE(67), 1, + sym_expansion, + STATE(140), 1, + sym_line_continuation, + STATE(298), 1, + sym_path, + [3693] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(416), 1, + aux_sym__env_key_token1, + STATE(141), 1, + sym_line_continuation, + ACTIONS(414), 4, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_unquoted_string_token1, + anon_sym_BSLASH2, + [3709] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(142), 1, + sym_line_continuation, + ACTIONS(457), 2, + aux_sym_from_instruction_token2, + aux_sym_image_tag_token1, + ACTIONS(455), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + anon_sym_AT, + [3725] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(143), 1, + sym_line_continuation, + ACTIONS(416), 2, + anon_sym_DQUOTE, + anon_sym_BSLASH, + ACTIONS(414), 3, + anon_sym_DOLLAR2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [3741] = 7, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(11), 1, + aux_sym_cmd_instruction_token1, + ACTIONS(559), 1, + anon_sym_DASH_DASH, + STATE(144), 1, + sym_line_continuation, + STATE(180), 1, + aux_sym_add_instruction_repeat1, + STATE(277), 1, + sym_param, + STATE(311), 1, + sym_cmd_instruction, + [3763] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(145), 1, + sym_line_continuation, + ACTIONS(446), 2, + anon_sym_LF, + aux_sym_path_token3, + ACTIONS(444), 3, + sym_heredoc_nl, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [3779] = 7, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(656), 1, + anon_sym_LF, + ACTIONS(658), 1, + aux_sym__env_key_token1, + STATE(129), 1, + aux_sym_env_instruction_repeat1, + STATE(146), 1, + sym_line_continuation, + STATE(307), 1, + sym_env_pair, + STATE(350), 1, + sym__env_key, + [3801] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(147), 1, + sym_line_continuation, + ACTIONS(426), 2, + anon_sym_DQUOTE, + anon_sym_BSLASH, + ACTIONS(424), 3, + anon_sym_DOLLAR2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [3817] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(148), 1, + sym_line_continuation, + ACTIONS(457), 2, + anon_sym_DQUOTE, + anon_sym_BSLASH, + ACTIONS(455), 3, + anon_sym_DOLLAR2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [3833] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(149), 1, + sym_line_continuation, + ACTIONS(503), 2, + anon_sym_LF, + aux_sym_path_token3, + ACTIONS(501), 3, + sym_heredoc_nl, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [3849] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(150), 1, + sym_line_continuation, + ACTIONS(662), 2, + aux_sym_from_instruction_token2, + aux_sym_image_tag_token1, + ACTIONS(660), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + anon_sym_AT, + [3865] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(151), 1, + sym_line_continuation, + ACTIONS(416), 2, + aux_sym_from_instruction_token2, + aux_sym_image_tag_token1, + ACTIONS(414), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + anon_sym_AT, + [3881] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(152), 1, + sym_line_continuation, + ACTIONS(426), 2, + aux_sym_from_instruction_token2, + aux_sym_image_tag_token1, + ACTIONS(424), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + anon_sym_AT, + [3897] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(153), 1, + sym_line_continuation, + ACTIONS(446), 2, + anon_sym_DQUOTE, + anon_sym_BSLASH, + ACTIONS(444), 3, + anon_sym_DOLLAR2, + aux_sym_double_quoted_string_token1, + sym_double_quoted_escape_sequence, + [3913] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(154), 1, + sym_line_continuation, + ACTIONS(457), 2, + anon_sym_LF, + aux_sym_path_token3, + ACTIONS(455), 3, + sym_heredoc_nl, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [3929] = 6, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(664), 1, + anon_sym_DOLLAR, + ACTIONS(666), 1, + aux_sym_image_alias_token1, + STATE(87), 1, + sym_expansion, + STATE(155), 1, + sym_line_continuation, + STATE(360), 1, + sym_image_alias, + [3948] = 5, + ACTIONS(670), 1, + anon_sym_BSLASH_LF, + STATE(19), 1, + sym_required_line_continuation, + STATE(156), 1, + sym_line_continuation, + STATE(164), 1, + aux_sym_shell_command_repeat2, + ACTIONS(668), 2, + sym_heredoc_nl, + anon_sym_LF, + [3965] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(157), 1, + sym_line_continuation, + ACTIONS(633), 2, + anon_sym_LF, + aux_sym_path_token3, + ACTIONS(635), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [3980] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(674), 1, + aux_sym_from_instruction_token2, + STATE(158), 1, + sym_line_continuation, + ACTIONS(672), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_digest_token1, + [3995] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(416), 1, + aux_sym_from_instruction_token2, + STATE(159), 1, + sym_line_continuation, + ACTIONS(414), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_digest_token1, + [4010] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(676), 1, + anon_sym_LF, + STATE(160), 1, + sym_line_continuation, + ACTIONS(678), 3, aux_sym_label_pair_token1, anon_sym_DQUOTE, anon_sym_SQUOTE, - [3818] = 4, - ACTIONS(127), 1, + [4025] = 6, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(664), 1, + anon_sym_DOLLAR, + ACTIONS(666), 1, + aux_sym_image_alias_token1, + STATE(87), 1, + sym_expansion, + STATE(161), 1, + sym_line_continuation, + STATE(375), 1, + sym_image_alias, + [4044] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(680), 1, + anon_sym_LF, + STATE(162), 1, + sym_line_continuation, + ACTIONS(682), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + [4059] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(426), 1, + aux_sym_from_instruction_token2, + STATE(163), 1, + sym_line_continuation, + ACTIONS(424), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_digest_token1, + [4074] = 5, + ACTIONS(670), 1, + anon_sym_BSLASH_LF, + STATE(19), 1, + sym_required_line_continuation, + STATE(164), 1, + sym_line_continuation, + STATE(175), 1, + aux_sym_shell_command_repeat2, + ACTIONS(684), 2, + sym_heredoc_nl, + anon_sym_LF, + [4091] = 5, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(686), 1, + anon_sym_DQUOTE, + STATE(165), 1, + sym_line_continuation, + STATE(201), 1, + aux_sym_json_string_repeat1, + ACTIONS(688), 2, + aux_sym_json_string_token1, + sym_json_escape_sequence, + [4108] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(166), 1, + sym_line_continuation, + ACTIONS(444), 4, + anon_sym_LF, + anon_sym_COLON, + aux_sym__immediate_user_name_or_group_fragment_token1, + anon_sym_DOLLAR2, + [4121] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(372), 1, - aux_sym_path_token2, STATE(167), 1, sym_line_continuation, - ACTIONS(370), 2, + ACTIONS(424), 4, anon_sym_LF, + anon_sym_COLON, + aux_sym__immediate_user_name_or_group_fragment_token1, anon_sym_DOLLAR2, - [3832] = 4, - ACTIONS(127), 1, + [4134] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(299), 1, - aux_sym_path_token2, STATE(168), 1, sym_line_continuation, - ACTIONS(297), 2, + ACTIONS(690), 4, anon_sym_LF, + anon_sym_COLON, + aux_sym__immediate_user_name_or_group_fragment_token1, anon_sym_DOLLAR2, - [3846] = 5, - ACTIONS(645), 1, - anon_sym_LF, - ACTIONS(647), 1, + [4147] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - STATE(18), 1, - sym_required_line_continuation, STATE(169), 1, sym_line_continuation, - STATE(217), 1, - aux_sym_shell_command_repeat2, - [3862] = 5, - ACTIONS(3), 1, + ACTIONS(692), 4, + anon_sym_LF, + anon_sym_COLON, + aux_sym__immediate_user_name_or_group_fragment_token1, + anon_sym_DOLLAR2, + [4160] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(649), 1, - anon_sym_LBRACE, - ACTIONS(651), 1, - sym_variable, + ACTIONS(694), 1, + anon_sym_LF, STATE(170), 1, sym_line_continuation, - STATE(193), 1, - sym__expansion_body, - [3878] = 5, - ACTIONS(3), 1, + ACTIONS(696), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + [4175] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(653), 1, - anon_sym_LBRACE, - ACTIONS(655), 1, - sym_variable, - STATE(117), 1, - sym__expansion_body, STATE(171), 1, sym_line_continuation, - [3894] = 5, - ACTIONS(3), 1, + ACTIONS(414), 4, + anon_sym_LF, + anon_sym_COLON, + aux_sym__immediate_user_name_or_group_fragment_token1, + anon_sym_DOLLAR2, + [4188] = 5, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(657), 1, - anon_sym_LBRACE, - ACTIONS(659), 1, - sym_variable, - STATE(48), 1, - sym__expansion_body, - STATE(172), 1, + ACTIONS(698), 1, + anon_sym_LF, + ACTIONS(700), 1, + sym_heredoc_nl, + STATE(281), 1, + sym_heredoc_block, + STATE(172), 2, sym_line_continuation, - [3910] = 5, - ACTIONS(3), 1, + aux_sym_run_instruction_repeat2, + [4205] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(661), 1, - anon_sym_LBRACE, - ACTIONS(663), 1, - sym_variable, - STATE(145), 1, - sym__expansion_body, STATE(173), 1, sym_line_continuation, - [3926] = 5, - ACTIONS(3), 1, + ACTIONS(501), 4, + anon_sym_LF, + anon_sym_COLON, + aux_sym__immediate_user_name_or_group_fragment_token1, + anon_sym_DOLLAR2, + [4218] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(649), 1, - anon_sym_LBRACE, - ACTIONS(651), 1, - sym_variable, STATE(174), 1, sym_line_continuation, - STATE(202), 1, - sym__expansion_body, - [3942] = 5, - ACTIONS(3), 1, + ACTIONS(455), 4, + anon_sym_LF, + anon_sym_COLON, + aux_sym__immediate_user_name_or_group_fragment_token1, + anon_sym_DOLLAR2, + [4231] = 4, + ACTIONS(705), 1, anon_sym_BSLASH_LF, - ACTIONS(665), 1, - anon_sym_LBRACE, - ACTIONS(667), 1, - sym_variable, - STATE(95), 1, - sym__expansion_body, - STATE(175), 1, + STATE(19), 1, + sym_required_line_continuation, + ACTIONS(703), 2, + sym_heredoc_nl, + anon_sym_LF, + STATE(175), 2, sym_line_continuation, - [3958] = 5, - ACTIONS(3), 1, + aux_sym_shell_command_repeat2, + [4246] = 6, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(669), 1, - anon_sym_LBRACE, - ACTIONS(671), 1, - sym_variable, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(708), 1, + anon_sym_LF, + STATE(172), 1, + aux_sym_run_instruction_repeat2, STATE(176), 1, sym_line_continuation, - STATE(208), 1, - sym__expansion_body, - [3974] = 5, - ACTIONS(3), 1, + STATE(281), 1, + sym_heredoc_block, + [4265] = 5, + ACTIONS(670), 1, anon_sym_BSLASH_LF, - ACTIONS(669), 1, - anon_sym_LBRACE, - ACTIONS(671), 1, - sym_variable, + STATE(19), 1, + sym_required_line_continuation, + STATE(175), 1, + aux_sym_shell_command_repeat2, STATE(177), 1, sym_line_continuation, - STATE(206), 1, - sym__expansion_body, - [3990] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(673), 1, + ACTIONS(710), 2, + sym_heredoc_nl, anon_sym_LF, - ACTIONS(675), 1, - sym__non_newline_whitespace, - STATE(178), 2, - sym_line_continuation, - aux_sym_volume_instruction_repeat1, - [4004] = 5, - ACTIONS(3), 1, + [4282] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(678), 1, - anon_sym_LBRACE, - ACTIONS(680), 1, - sym_variable, + ACTIONS(457), 1, + aux_sym_from_instruction_token2, + STATE(178), 1, + sym_line_continuation, + ACTIONS(455), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_digest_token1, + [4297] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(712), 1, + anon_sym_LF, STATE(179), 1, sym_line_continuation, - STATE(218), 1, - sym__expansion_body, - [4020] = 5, + ACTIONS(714), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + [4312] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(682), 1, - anon_sym_COMMA2, - ACTIONS(684), 1, - anon_sym_RBRACK, - STATE(180), 1, + ACTIONS(450), 1, + aux_sym_cmd_instruction_token1, + ACTIONS(716), 1, + anon_sym_DASH_DASH, + STATE(277), 1, + sym_param, + STATE(180), 2, sym_line_continuation, - STATE(197), 1, - aux_sym_json_string_array_repeat1, - [4036] = 3, - ACTIONS(127), 1, + aux_sym_add_instruction_repeat1, + [4329] = 6, + ACTIONS(137), 1, anon_sym_BSLASH_LF, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(719), 1, + anon_sym_LF, STATE(181), 1, sym_line_continuation, - ACTIONS(686), 3, + STATE(202), 1, + aux_sym_run_instruction_repeat2, + STATE(281), 1, + sym_heredoc_block, + [4348] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(182), 1, + sym_line_continuation, + ACTIONS(444), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + ACTIONS(446), 2, + anon_sym_LF, + aux_sym_path_token3, + [4363] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(183), 1, + sym_line_continuation, + ACTIONS(424), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + ACTIONS(426), 2, + anon_sym_LF, + aux_sym_path_token3, + [4378] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(721), 1, + anon_sym_LF, + STATE(176), 1, + aux_sym_run_instruction_repeat2, + STATE(184), 1, + sym_line_continuation, + STATE(281), 1, + sym_heredoc_block, + [4397] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(446), 1, + aux_sym_from_instruction_token2, + STATE(185), 1, + sym_line_continuation, + ACTIONS(444), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_digest_token1, + [4412] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(723), 1, + aux_sym_path_token1, + STATE(186), 1, + sym_line_continuation, + ACTIONS(725), 3, + sym_heredoc_marker, + aux_sym_path_with_heredoc_token1, + anon_sym_DOLLAR, + [4427] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(521), 1, + anon_sym_AT, + ACTIONS(727), 1, + anon_sym_LF, + ACTIONS(729), 1, + aux_sym_from_instruction_token2, + STATE(187), 1, + sym_line_continuation, + STATE(286), 1, + sym_image_digest, + [4446] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(188), 1, + sym_line_continuation, + ACTIONS(414), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + ACTIONS(416), 2, + anon_sym_LF, + aux_sym_path_token3, + [4461] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(731), 1, + anon_sym_LF, + STATE(172), 1, + aux_sym_run_instruction_repeat2, + STATE(189), 1, + sym_line_continuation, + STATE(281), 1, + sym_heredoc_block, + [4480] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(733), 1, + anon_sym_LF, + STATE(190), 1, + sym_line_continuation, + ACTIONS(735), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + [4495] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(737), 1, + anon_sym_LF, + STATE(172), 1, + aux_sym_run_instruction_repeat2, + STATE(191), 1, + sym_line_continuation, + STATE(281), 1, + sym_heredoc_block, + [4514] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(192), 1, + sym_line_continuation, + ACTIONS(501), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + ACTIONS(503), 2, + anon_sym_LF, + aux_sym_path_token3, + [4529] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(739), 1, + anon_sym_LF, + STATE(172), 1, + aux_sym_run_instruction_repeat2, + STATE(193), 1, + sym_line_continuation, + STATE(281), 1, + sym_heredoc_block, + [4548] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(741), 1, + anon_sym_LF, + STATE(194), 1, + sym_line_continuation, + ACTIONS(743), 3, + aux_sym_label_pair_token1, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + [4563] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(195), 1, + sym_line_continuation, + ACTIONS(745), 2, + anon_sym_BSLASH, + anon_sym_SQUOTE, + ACTIONS(747), 2, + aux_sym_single_quoted_string_token1, + sym_single_quoted_escape_sequence, + [4578] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(196), 1, + sym_line_continuation, + ACTIONS(455), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + ACTIONS(457), 2, + anon_sym_LF, + aux_sym_path_token3, + [4593] = 6, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(749), 1, + aux_sym__stopsignal_value_token1, + ACTIONS(751), 1, + anon_sym_DOLLAR, + STATE(97), 1, + sym_expansion, + STATE(197), 1, + sym_line_continuation, + STATE(313), 1, + sym__stopsignal_value, + [4612] = 5, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(753), 1, + anon_sym_DQUOTE, + STATE(165), 1, + aux_sym_json_string_repeat1, + STATE(198), 1, + sym_line_continuation, + ACTIONS(688), 2, + aux_sym_json_string_token1, + sym_json_escape_sequence, + [4629] = 6, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(755), 1, + aux_sym__user_name_or_group_token1, + ACTIONS(757), 1, + anon_sym_DOLLAR, + STATE(53), 1, + sym_expansion, + STATE(199), 1, + sym_line_continuation, + STATE(301), 1, + sym__user_name_or_group, + [4648] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(759), 1, + anon_sym_LF, + STATE(172), 1, + aux_sym_run_instruction_repeat2, + STATE(200), 1, + sym_line_continuation, + STATE(281), 1, + sym_heredoc_block, + [4667] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(761), 1, + anon_sym_DQUOTE, + ACTIONS(763), 2, + aux_sym_json_string_token1, + sym_json_escape_sequence, + STATE(201), 2, + sym_line_continuation, + aux_sym_json_string_repeat1, + [4682] = 6, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(629), 1, + sym_heredoc_nl, + ACTIONS(721), 1, + anon_sym_LF, + STATE(172), 1, + aux_sym_run_instruction_repeat2, + STATE(202), 1, + sym_line_continuation, + STATE(281), 1, + sym_heredoc_block, + [4701] = 5, + ACTIONS(670), 1, + anon_sym_BSLASH_LF, + STATE(19), 1, + sym_required_line_continuation, + STATE(177), 1, + aux_sym_shell_command_repeat2, + STATE(203), 1, + sym_line_continuation, + ACTIONS(684), 2, + sym_heredoc_nl, + anon_sym_LF, + [4718] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(446), 1, + aux_sym_path_token3, + STATE(204), 1, + sym_line_continuation, + ACTIONS(444), 2, + anon_sym_LF, + anon_sym_DOLLAR2, + [4732] = 5, + ACTIONS(670), 1, + anon_sym_BSLASH_LF, + ACTIONS(710), 1, + anon_sym_LF, + STATE(14), 1, + sym_required_line_continuation, + STATE(205), 1, + sym_line_continuation, + STATE(256), 1, + aux_sym_shell_command_repeat2, + [4748] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(206), 1, + sym_line_continuation, + ACTIONS(766), 3, anon_sym_LF, aux_sym__immediate_user_name_or_group_fragment_token1, anon_sym_DOLLAR2, - [4048] = 5, + [4760] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(678), 1, + ACTIONS(768), 1, anon_sym_LBRACE, - ACTIONS(680), 1, + ACTIONS(770), 1, sym_variable, - STATE(182), 1, - sym_line_continuation, - STATE(215), 1, - sym__expansion_body, - [4064] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(688), 1, - anon_sym_LBRACE, - ACTIONS(690), 1, - sym_variable, - STATE(128), 1, - sym__expansion_body, - STATE(183), 1, - sym_line_continuation, - [4080] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(688), 1, - anon_sym_LBRACE, - ACTIONS(690), 1, - sym_variable, - STATE(155), 1, - sym__expansion_body, - STATE(184), 1, - sym_line_continuation, - [4096] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(692), 1, - anon_sym_LBRACE, - ACTIONS(694), 1, - sym_variable, - STATE(131), 1, - sym__expansion_body, - STATE(185), 1, - sym_line_continuation, - [4112] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(186), 1, - sym_line_continuation, - ACTIONS(696), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_alias_token2, - [4124] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(698), 1, - anon_sym_DQUOTE, - STATE(187), 1, - sym_line_continuation, - ACTIONS(700), 2, - aux_sym_json_string_token1, - sym_json_escape_sequence, - [4138] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(692), 1, - anon_sym_LBRACE, - ACTIONS(694), 1, - sym_variable, - STATE(140), 1, - sym__expansion_body, - STATE(188), 1, - sym_line_continuation, - [4154] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(702), 1, - anon_sym_LBRACE, - ACTIONS(704), 1, - sym_variable, - STATE(189), 1, - sym_line_continuation, - STATE(231), 1, - sym__expansion_body, - [4170] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(702), 1, - anon_sym_LBRACE, - ACTIONS(704), 1, - sym_variable, - STATE(190), 1, - sym_line_continuation, - STATE(225), 1, - sym__expansion_body, - [4186] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(706), 1, - anon_sym_LBRACE, - ACTIONS(708), 1, - sym_variable, - STATE(83), 1, - sym__expansion_body, - STATE(191), 1, - sym_line_continuation, - [4202] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(710), 1, - anon_sym_LBRACE, - ACTIONS(712), 1, - sym_variable, - STATE(192), 1, - sym_line_continuation, - STATE(212), 1, - sym__expansion_body, - [4218] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(193), 1, - sym_line_continuation, - ACTIONS(303), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_alias_token2, - [4230] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(194), 1, - sym_line_continuation, - ACTIONS(297), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_alias_token2, - [4242] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(714), 1, - anon_sym_RBRACK, - ACTIONS(716), 1, - anon_sym_DQUOTE, - STATE(195), 1, - sym_line_continuation, - STATE(222), 1, - sym_json_string, - [4258] = 5, - ACTIONS(647), 1, - anon_sym_BSLASH_LF, - ACTIONS(718), 1, - anon_sym_LF, - STATE(18), 1, - sym_required_line_continuation, - STATE(196), 1, - sym_line_continuation, - STATE(221), 1, - aux_sym_shell_command_repeat2, - [4274] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(720), 1, - anon_sym_COMMA2, - ACTIONS(723), 1, - anon_sym_RBRACK, - STATE(197), 2, - sym_line_continuation, - aux_sym_json_string_array_repeat1, - [4288] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(725), 1, - anon_sym_LF, - STATE(198), 1, - sym_line_continuation, - ACTIONS(727), 2, - anon_sym_DOLLAR, - aux_sym_expose_port_token1, - [4302] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(199), 1, - sym_line_continuation, - ACTIONS(370), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_alias_token2, - [4314] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(200), 1, - sym_line_continuation, - ACTIONS(350), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_alias_token2, - [4326] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(729), 1, - aux_sym_path_token1, - STATE(201), 1, - sym_line_continuation, - ACTIONS(731), 2, - anon_sym_DOLLAR, - anon_sym_DASH_DASH, - [4340] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(202), 1, - sym_line_continuation, - ACTIONS(472), 3, - anon_sym_LF, - anon_sym_DOLLAR2, - aux_sym_image_alias_token2, - [4352] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(203), 1, - sym_line_continuation, - ACTIONS(370), 3, - anon_sym_LF, - aux_sym__stopsignal_value_token2, - anon_sym_DOLLAR2, - [4364] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(204), 1, - sym_line_continuation, - ACTIONS(733), 3, - anon_sym_LF, - aux_sym__stopsignal_value_token2, - anon_sym_DOLLAR2, - [4376] = 5, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(735), 1, - anon_sym_LF, - ACTIONS(737), 1, - sym__non_newline_whitespace, - STATE(178), 1, - aux_sym_volume_instruction_repeat1, - STATE(205), 1, - sym_line_continuation, - [4392] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(206), 1, - sym_line_continuation, - ACTIONS(303), 3, - anon_sym_LF, - aux_sym__stopsignal_value_token2, - anon_sym_DOLLAR2, - [4404] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, STATE(207), 1, sym_line_continuation, - ACTIONS(297), 3, - anon_sym_LF, - aux_sym__stopsignal_value_token2, - anon_sym_DOLLAR2, - [4416] = 3, - ACTIONS(127), 1, + STATE(247), 1, + sym__expansion_body, + [4776] = 5, + ACTIONS(3), 1, anon_sym_BSLASH_LF, + ACTIONS(772), 1, + anon_sym_RBRACK, + ACTIONS(774), 1, + anon_sym_DQUOTE, STATE(208), 1, sym_line_continuation, - ACTIONS(472), 3, - anon_sym_LF, - aux_sym__stopsignal_value_token2, - anon_sym_DOLLAR2, - [4428] = 3, - ACTIONS(127), 1, + STATE(271), 1, + sym_json_string, + [4792] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, STATE(209), 1, sym_line_continuation, - ACTIONS(350), 3, + ACTIONS(776), 3, anon_sym_LF, - aux_sym__stopsignal_value_token2, anon_sym_DOLLAR2, - [4440] = 5, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(737), 1, - sym__non_newline_whitespace, - ACTIONS(739), 1, - anon_sym_LF, - STATE(205), 1, - aux_sym_volume_instruction_repeat1, - STATE(210), 1, - sym_line_continuation, - [4456] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(350), 1, - anon_sym_LF, - STATE(211), 1, - sym_line_continuation, - ACTIONS(352), 2, - anon_sym_DOLLAR, - aux_sym_expose_port_token1, - [4470] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(472), 1, - anon_sym_LF, - STATE(212), 1, - sym_line_continuation, - ACTIONS(474), 2, - anon_sym_DOLLAR, - aux_sym_expose_port_token1, - [4484] = 5, + aux_sym_image_alias_token2, + [4804] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(741), 1, - anon_sym_LBRACE, - ACTIONS(743), 1, - sym_variable, - STATE(103), 1, - sym__expansion_body, - STATE(213), 1, - sym_line_continuation, - [4500] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(592), 1, - aux_sym_path_token2, - STATE(214), 1, - sym_line_continuation, - ACTIONS(594), 2, - anon_sym_DOLLAR2, - sym__non_newline_whitespace, - [4514] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(305), 1, - aux_sym_path_token2, - STATE(215), 1, - sym_line_continuation, - ACTIONS(303), 2, - anon_sym_LF, - anon_sym_DOLLAR2, - [4528] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(745), 1, - anon_sym_LF, - STATE(216), 1, - sym_line_continuation, - ACTIONS(747), 2, - anon_sym_DOLLAR, - aux_sym_expose_port_token1, - [4542] = 4, - ACTIONS(749), 1, - anon_sym_LF, - ACTIONS(751), 1, - anon_sym_BSLASH_LF, - STATE(18), 1, - sym_required_line_continuation, - STATE(217), 2, - sym_line_continuation, - aux_sym_shell_command_repeat2, - [4556] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(474), 1, - aux_sym_path_token2, - STATE(218), 1, - sym_line_continuation, - ACTIONS(472), 2, - anon_sym_LF, - anon_sym_DOLLAR2, - [4570] = 5, - ACTIONS(647), 1, - anon_sym_BSLASH_LF, - ACTIONS(754), 1, - anon_sym_LF, - STATE(18), 1, - sym_required_line_continuation, - STATE(169), 1, - aux_sym_shell_command_repeat2, - STATE(219), 1, - sym_line_continuation, - [4586] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(352), 1, - aux_sym_path_token2, - STATE(220), 1, - sym_line_continuation, - ACTIONS(350), 2, - anon_sym_LF, - anon_sym_DOLLAR2, - [4600] = 5, - ACTIONS(647), 1, - anon_sym_BSLASH_LF, - ACTIONS(754), 1, - anon_sym_LF, - STATE(18), 1, - sym_required_line_continuation, - STATE(217), 1, - aux_sym_shell_command_repeat2, - STATE(221), 1, - sym_line_continuation, - [4616] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(682), 1, - anon_sym_COMMA2, - ACTIONS(756), 1, - anon_sym_RBRACK, - STATE(180), 1, - aux_sym_json_string_array_repeat1, - STATE(222), 1, - sym_line_continuation, - [4632] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(484), 1, - aux_sym_path_token1, - STATE(223), 1, - sym_line_continuation, - ACTIONS(482), 2, - anon_sym_DOLLAR, - anon_sym_DASH_DASH, - [4646] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(372), 1, - aux_sym_path_token2, - STATE(224), 1, - sym_line_continuation, - ACTIONS(370), 2, - anon_sym_DOLLAR2, - sym__non_newline_whitespace, - [4660] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(305), 1, - aux_sym_path_token2, - STATE(225), 1, - sym_line_continuation, - ACTIONS(303), 2, - anon_sym_DOLLAR2, - sym__non_newline_whitespace, - [4674] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(370), 1, - anon_sym_LF, - STATE(226), 1, - sym_line_continuation, - ACTIONS(372), 2, - anon_sym_DOLLAR, - aux_sym_expose_port_token1, - [4688] = 5, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(706), 1, - anon_sym_LBRACE, - ACTIONS(708), 1, - sym_variable, - STATE(72), 1, - sym__expansion_body, - STATE(227), 1, - sym_line_continuation, - [4704] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(592), 1, - aux_sym_path_token2, - STATE(228), 1, - sym_line_continuation, - ACTIONS(594), 2, - anon_sym_LF, - anon_sym_DOLLAR2, - [4718] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(299), 1, - aux_sym_path_token2, - STATE(229), 1, - sym_line_continuation, - ACTIONS(297), 2, - anon_sym_DOLLAR2, - sym__non_newline_whitespace, - [4732] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(352), 1, - aux_sym_path_token2, - STATE(230), 1, - sym_line_continuation, - ACTIONS(350), 2, - anon_sym_DOLLAR2, - sym__non_newline_whitespace, - [4746] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(474), 1, - aux_sym_path_token2, - STATE(231), 1, - sym_line_continuation, - ACTIONS(472), 2, - anon_sym_DOLLAR2, - sym__non_newline_whitespace, - [4760] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(758), 1, - anon_sym_LF, - ACTIONS(760), 1, - sym__non_newline_whitespace, - STATE(232), 1, - sym_line_continuation, - [4773] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(760), 1, - sym__non_newline_whitespace, - ACTIONS(762), 1, - anon_sym_LF, - STATE(233), 1, - sym_line_continuation, - [4786] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(580), 1, - anon_sym_LF, - ACTIONS(582), 1, - aux_sym__env_key_token1, - STATE(234), 1, - sym_line_continuation, - [4799] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(764), 1, - anon_sym_LF, - ACTIONS(766), 1, - aux_sym_from_instruction_token2, - STATE(235), 1, - sym_line_continuation, - [4812] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(768), 1, - anon_sym_LF, - ACTIONS(770), 1, - aux_sym_from_instruction_token2, - STATE(236), 1, - sym_line_continuation, - [4825] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(772), 1, - anon_sym_LF, - ACTIONS(774), 1, - aux_sym__env_key_token1, - STATE(237), 1, - sym_line_continuation, - [4838] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(629), 1, - anon_sym_LF, - ACTIONS(631), 1, - aux_sym__env_key_token1, - STATE(238), 1, - sym_line_continuation, - [4851] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(633), 1, - anon_sym_LF, - ACTIONS(635), 1, - aux_sym__env_key_token1, - STATE(239), 1, - sym_line_continuation, - [4864] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(572), 1, - anon_sym_LF, - ACTIONS(574), 1, - aux_sym__env_key_token1, - STATE(240), 1, - sym_line_continuation, - [4877] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(760), 1, - sym__non_newline_whitespace, - ACTIONS(776), 1, - anon_sym_LF, - STATE(241), 1, - sym_line_continuation, - [4890] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - STATE(242), 1, - sym_line_continuation, - ACTIONS(673), 2, - anon_sym_LF, - sym__non_newline_whitespace, - [4901] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, ACTIONS(778), 1, - anon_sym_LF, + anon_sym_LBRACE, ACTIONS(780), 1, - aux_sym_from_instruction_token2, - STATE(243), 1, + sym_variable, + STATE(133), 1, + sym__expansion_body, + STATE(210), 1, sym_line_continuation, - [4914] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(716), 1, - anon_sym_DQUOTE, - STATE(244), 1, - sym_line_continuation, - STATE(255), 1, - sym_json_string, - [4927] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(482), 1, - anon_sym_DOLLAR, - ACTIONS(484), 1, - aux_sym_image_name_token1, - STATE(245), 1, - sym_line_continuation, - [4940] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(119), 1, - anon_sym_LBRACK, - STATE(246), 1, - sym_line_continuation, - STATE(274), 1, - sym_json_string_array, - [4953] = 4, + [4820] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(782), 1, - aux_sym_mount_param_param_token1, - STATE(26), 1, - sym_mount_param_param, - STATE(247), 1, + anon_sym_LBRACE, + ACTIONS(784), 1, + sym_variable, + STATE(137), 1, + sym__expansion_body, + STATE(211), 1, sym_line_continuation, - [4966] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - STATE(248), 1, - sym_line_continuation, - ACTIONS(482), 2, - aux_sym_cmd_instruction_token1, - anon_sym_DASH_DASH, - [4977] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - STATE(249), 1, - sym_line_continuation, - ACTIONS(784), 2, - anon_sym_COMMA2, - anon_sym_RBRACK, - [4988] = 4, - ACTIONS(127), 1, + [4836] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, ACTIONS(786), 1, anon_sym_LF, - ACTIONS(788), 1, - anon_sym_EQ, - STATE(250), 1, + STATE(212), 1, sym_line_continuation, - [5001] = 4, - ACTIONS(127), 1, + ACTIONS(788), 2, + anon_sym_DOLLAR, + aux_sym_expose_port_token1, + [4850] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(213), 1, + sym_line_continuation, + ACTIONS(444), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_alias_token2, + [4862] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(214), 1, + sym_line_continuation, + ACTIONS(455), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_alias_token2, + [4874] = 4, + ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(790), 1, - anon_sym_LF, - ACTIONS(792), 1, - aux_sym_from_instruction_token2, - STATE(251), 1, - sym_line_continuation, - [5014] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(794), 1, - anon_sym_LF, - ACTIONS(796), 1, - anon_sym_COLON, - STATE(252), 1, - sym_line_continuation, - [5027] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(798), 1, - aux_sym_param_token1, - ACTIONS(800), 1, - anon_sym_mount, - STATE(253), 1, - sym_line_continuation, - [5040] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - STATE(254), 1, - sym_line_continuation, - ACTIONS(802), 2, anon_sym_COMMA2, + ACTIONS(793), 1, anon_sym_RBRACK, - [5051] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - STATE(255), 1, + STATE(215), 2, sym_line_continuation, - ACTIONS(723), 2, - anon_sym_COMMA2, - anon_sym_RBRACK, - [5062] = 3, - ACTIONS(127), 1, + aux_sym_json_string_array_repeat1, + [4888] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - STATE(256), 1, + STATE(216), 1, sym_line_continuation, - ACTIONS(804), 2, - anon_sym_EQ, - aux_sym__spaced_env_pair_token1, - [5073] = 4, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(806), 1, + ACTIONS(501), 3, anon_sym_LF, - ACTIONS(808), 1, - aux_sym__env_key_token1, - STATE(257), 1, - sym_line_continuation, - [5086] = 3, - ACTIONS(3), 1, + anon_sym_DOLLAR2, + aux_sym_image_alias_token2, + [4900] = 5, + ACTIONS(137), 1, anon_sym_BSLASH_LF, + ACTIONS(795), 1, + anon_sym_LF, + ACTIONS(797), 1, + sym__non_newline_whitespace, + STATE(217), 1, + sym_line_continuation, STATE(258), 1, - sym_line_continuation, - ACTIONS(731), 2, - aux_sym_cmd_instruction_token1, - anon_sym_DASH_DASH, - [5097] = 4, + aux_sym_volume_instruction_repeat1, + [4916] = 4, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(810), 1, - aux_sym_path_token1, - ACTIONS(812), 1, - anon_sym_DOLLAR, - STATE(259), 1, + ACTIONS(799), 1, + sym_heredoc_line, + ACTIONS(802), 1, + sym_heredoc_end, + STATE(218), 2, sym_line_continuation, - [5110] = 4, - ACTIONS(127), 1, + aux_sym_heredoc_block_repeat1, + [4930] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(814), 1, - anon_sym_EQ, - ACTIONS(816), 1, - aux_sym__spaced_env_pair_token1, - STATE(260), 1, + STATE(219), 1, sym_line_continuation, - [5123] = 4, - ACTIONS(127), 1, + ACTIONS(444), 3, + anon_sym_LF, + aux_sym__stopsignal_value_token2, + anon_sym_DOLLAR2, + [4942] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(760), 1, + ACTIONS(633), 1, + aux_sym_path_token3, + STATE(220), 1, + sym_line_continuation, + ACTIONS(635), 2, + anon_sym_DOLLAR2, sym__non_newline_whitespace, - ACTIONS(818), 1, + [4956] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(221), 1, + sym_line_continuation, + ACTIONS(424), 3, anon_sym_LF, - STATE(261), 1, - sym_line_continuation, - [5136] = 4, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(782), 1, - aux_sym_mount_param_param_token1, - STATE(55), 1, - sym_mount_param_param, - STATE(262), 1, - sym_line_continuation, - [5149] = 3, - ACTIONS(820), 1, - anon_sym_LF, - ACTIONS(822), 1, - anon_sym_BSLASH_LF, - STATE(263), 1, - sym_line_continuation, - [5159] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(824), 1, - anon_sym_LF, - STATE(264), 1, - sym_line_continuation, - [5169] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(826), 1, - aux_sym_mount_param_param_token1, - STATE(265), 1, - sym_line_continuation, - [5179] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(828), 1, - anon_sym_LF, - STATE(266), 1, - sym_line_continuation, - [5189] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(830), 1, - sym__non_newline_whitespace, - STATE(267), 1, - sym_line_continuation, - [5199] = 3, + aux_sym__stopsignal_value_token2, + anon_sym_DOLLAR2, + [4968] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(804), 1, - anon_sym_EQ, - STATE(268), 1, + anon_sym_LBRACE, + ACTIONS(806), 1, + sym_variable, + STATE(70), 1, + sym__expansion_body, + STATE(222), 1, sym_line_continuation, - [5209] = 3, + [4984] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(223), 1, + sym_line_continuation, + ACTIONS(414), 3, + anon_sym_LF, + aux_sym__stopsignal_value_token2, + anon_sym_DOLLAR2, + [4996] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, + ACTIONS(768), 1, + anon_sym_LBRACE, + ACTIONS(770), 1, + sym_variable, + STATE(216), 1, + sym__expansion_body, + STATE(224), 1, + sym_line_continuation, + [5012] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(225), 1, + sym_line_continuation, + ACTIONS(501), 3, + anon_sym_LF, + aux_sym__stopsignal_value_token2, + anon_sym_DOLLAR2, + [5024] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(808), 1, + anon_sym_LBRACE, + ACTIONS(810), 1, + sym_variable, + STATE(163), 1, + sym__expansion_body, + STATE(226), 1, + sym_line_continuation, + [5040] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(778), 1, + anon_sym_LBRACE, + ACTIONS(780), 1, + sym_variable, + STATE(149), 1, + sym__expansion_body, + STATE(227), 1, + sym_line_continuation, + [5056] = 5, + ACTIONS(668), 1, + anon_sym_LF, + ACTIONS(670), 1, + anon_sym_BSLASH_LF, + STATE(14), 1, + sym_required_line_continuation, + STATE(228), 1, + sym_line_continuation, + STATE(243), 1, + aux_sym_shell_command_repeat2, + [5072] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(229), 1, + sym_line_continuation, + ACTIONS(455), 3, + anon_sym_LF, + aux_sym__stopsignal_value_token2, + anon_sym_DOLLAR2, + [5084] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(812), 1, + sym_heredoc_line, + ACTIONS(814), 1, + sym_heredoc_end, + STATE(218), 1, + aux_sym_heredoc_block_repeat1, + STATE(230), 1, + sym_line_continuation, + [5100] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(816), 1, + anon_sym_LBRACE, + ACTIONS(818), 1, + sym_variable, + STATE(152), 1, + sym__expansion_body, + STATE(231), 1, + sym_line_continuation, + [5116] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(302), 1, + anon_sym_LF, + STATE(232), 1, + sym_line_continuation, + ACTIONS(308), 2, + sym_heredoc_nl, + sym__non_newline_whitespace, + [5130] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(426), 1, + aux_sym_path_token3, + STATE(233), 1, + sym_line_continuation, + ACTIONS(424), 2, + anon_sym_LF, + anon_sym_DOLLAR2, + [5144] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(416), 1, + aux_sym_path_token3, + STATE(234), 1, + sym_line_continuation, + ACTIONS(414), 2, + anon_sym_LF, + anon_sym_DOLLAR2, + [5158] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(820), 1, + anon_sym_LBRACE, + ACTIONS(822), 1, + sym_variable, + STATE(225), 1, + sym__expansion_body, + STATE(235), 1, + sym_line_continuation, + [5174] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(455), 1, + anon_sym_LF, + STATE(236), 1, + sym_line_continuation, + ACTIONS(457), 2, + anon_sym_DOLLAR, + aux_sym_expose_port_token1, + [5188] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(501), 1, + anon_sym_LF, + STATE(237), 1, + sym_line_continuation, + ACTIONS(503), 2, + anon_sym_DOLLAR, + aux_sym_expose_port_token1, + [5202] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(824), 1, + anon_sym_LBRACE, + ACTIONS(826), 1, + sym_variable, + STATE(147), 1, + sym__expansion_body, + STATE(238), 1, + sym_line_continuation, + [5218] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(828), 1, + anon_sym_COMMA2, + ACTIONS(830), 1, + anon_sym_RBRACK, + STATE(215), 1, + aux_sym_json_string_array_repeat1, + STATE(239), 1, + sym_line_continuation, + [5234] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(503), 1, + aux_sym_path_token3, + STATE(240), 1, + sym_line_continuation, + ACTIONS(501), 2, + anon_sym_LF, + anon_sym_DOLLAR2, + [5248] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(820), 1, + anon_sym_LBRACE, + ACTIONS(822), 1, + sym_variable, + STATE(221), 1, + sym__expansion_body, + STATE(241), 1, + sym_line_continuation, + [5264] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(457), 1, + aux_sym_path_token3, + STATE(242), 1, + sym_line_continuation, + ACTIONS(455), 2, + anon_sym_LF, + anon_sym_DOLLAR2, + [5278] = 5, + ACTIONS(670), 1, + anon_sym_BSLASH_LF, + ACTIONS(684), 1, + anon_sym_LF, + STATE(14), 1, + sym_required_line_continuation, + STATE(243), 1, + sym_line_continuation, + STATE(256), 1, + aux_sym_shell_command_repeat2, + [5294] = 5, + ACTIONS(670), 1, + anon_sym_BSLASH_LF, + ACTIONS(684), 1, + anon_sym_LF, + STATE(14), 1, + sym_required_line_continuation, + STATE(205), 1, + aux_sym_shell_command_repeat2, + STATE(244), 1, + sym_line_continuation, + [5310] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, ACTIONS(832), 1, - anon_sym_RBRACE, - STATE(269), 1, + anon_sym_DQUOTE, + STATE(245), 1, sym_line_continuation, - [5219] = 3, - ACTIONS(127), 1, + ACTIONS(834), 2, + aux_sym_json_string_token1, + sym_json_escape_sequence, + [5324] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(834), 1, + STATE(246), 1, + sym_line_continuation, + ACTIONS(414), 3, anon_sym_LF, - STATE(270), 1, - sym_line_continuation, - [5229] = 3, - ACTIONS(3), 1, + anon_sym_DOLLAR2, + aux_sym_image_alias_token2, + [5336] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(814), 1, - anon_sym_EQ, - STATE(271), 1, + STATE(247), 1, sym_line_continuation, - [5239] = 3, + ACTIONS(424), 3, + anon_sym_LF, + anon_sym_DOLLAR2, + aux_sym_image_alias_token2, + [5348] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(836), 1, - aux_sym_param_token2, - STATE(272), 1, - sym_line_continuation, - [5249] = 3, - ACTIONS(3), 1, - anon_sym_BSLASH_LF, - ACTIONS(580), 1, - anon_sym_EQ, - STATE(273), 1, - sym_line_continuation, - [5259] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, + anon_sym_LBRACE, ACTIONS(838), 1, - anon_sym_LF, - STATE(274), 1, + sym_variable, + STATE(104), 1, + sym__expansion_body, + STATE(248), 1, sym_line_continuation, - [5269] = 3, + [5364] = 5, ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(840), 1, - anon_sym_EQ, - STATE(275), 1, - sym_line_continuation, - [5279] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, + anon_sym_LBRACE, ACTIONS(842), 1, - anon_sym_LF, - STATE(276), 1, + sym_variable, + STATE(240), 1, + sym__expansion_body, + STATE(249), 1, sym_line_continuation, - [5289] = 3, - ACTIONS(127), 1, + [5380] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(840), 1, + anon_sym_LBRACE, + ACTIONS(842), 1, + sym_variable, + STATE(233), 1, + sym__expansion_body, + STATE(250), 1, + sym_line_continuation, + [5396] = 5, + ACTIONS(3), 1, anon_sym_BSLASH_LF, ACTIONS(844), 1, - anon_sym_LF, - STATE(277), 1, - sym_line_continuation, - [5299] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, + anon_sym_LBRACE, ACTIONS(846), 1, - anon_sym_LF, - STATE(278), 1, + sym_variable, + STATE(173), 1, + sym__expansion_body, + STATE(251), 1, sym_line_continuation, - [5309] = 3, - ACTIONS(3), 1, + [5412] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, ACTIONS(848), 1, - anon_sym_RBRACE, + anon_sym_LF, + ACTIONS(850), 1, + sym__non_newline_whitespace, + STATE(252), 2, + sym_line_continuation, + aux_sym_volume_instruction_repeat1, + [5426] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(844), 1, + anon_sym_LBRACE, + ACTIONS(846), 1, + sym_variable, + STATE(167), 1, + sym__expansion_body, + STATE(253), 1, + sym_line_continuation, + [5442] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(853), 1, + anon_sym_LBRACE, + ACTIONS(855), 1, + sym_variable, + STATE(192), 1, + sym__expansion_body, + STATE(254), 1, + sym_line_continuation, + [5458] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(255), 1, + sym_line_continuation, + ACTIONS(857), 3, + anon_sym_LF, + aux_sym__stopsignal_value_token2, + anon_sym_DOLLAR2, + [5470] = 4, + ACTIONS(703), 1, + anon_sym_LF, + ACTIONS(705), 1, + anon_sym_BSLASH_LF, + STATE(14), 1, + sym_required_line_continuation, + STATE(256), 2, + sym_line_continuation, + aux_sym_shell_command_repeat2, + [5484] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(859), 1, + anon_sym_LBRACE, + ACTIONS(861), 1, + sym_variable, + STATE(237), 1, + sym__expansion_body, + STATE(257), 1, + sym_line_continuation, + [5500] = 5, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(797), 1, + sym__non_newline_whitespace, + ACTIONS(863), 1, + anon_sym_LF, + STATE(252), 1, + aux_sym_volume_instruction_repeat1, + STATE(258), 1, + sym_line_continuation, + [5516] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(853), 1, + anon_sym_LBRACE, + ACTIONS(855), 1, + sym_variable, + STATE(183), 1, + sym__expansion_body, + STATE(259), 1, + sym_line_continuation, + [5532] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(774), 1, + anon_sym_DQUOTE, + ACTIONS(865), 1, + anon_sym_RBRACK, + STATE(260), 1, + sym_line_continuation, + STATE(266), 1, + sym_json_string, + [5548] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(867), 1, + anon_sym_LF, + STATE(261), 1, + sym_line_continuation, + ACTIONS(869), 2, + anon_sym_DOLLAR, + aux_sym_expose_port_token1, + [5562] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(871), 1, + anon_sym_LBRACE, + ACTIONS(873), 1, + sym_variable, + STATE(262), 1, + sym_line_continuation, + STATE(269), 1, + sym__expansion_body, + [5578] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(444), 1, + anon_sym_LF, + STATE(263), 1, + sym_line_continuation, + ACTIONS(446), 2, + anon_sym_DOLLAR, + aux_sym_expose_port_token1, + [5592] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(871), 1, + anon_sym_LBRACE, + ACTIONS(873), 1, + sym_variable, + STATE(264), 1, + sym_line_continuation, + STATE(274), 1, + sym__expansion_body, + [5608] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(828), 1, + anon_sym_COMMA2, + ACTIONS(875), 1, + anon_sym_RBRACK, + STATE(215), 1, + aux_sym_json_string_array_repeat1, + STATE(265), 1, + sym_line_continuation, + [5624] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(828), 1, + anon_sym_COMMA2, + ACTIONS(877), 1, + anon_sym_RBRACK, + STATE(265), 1, + aux_sym_json_string_array_repeat1, + STATE(266), 1, + sym_line_continuation, + [5640] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(836), 1, + anon_sym_LBRACE, + ACTIONS(838), 1, + sym_variable, + STATE(86), 1, + sym__expansion_body, + STATE(267), 1, + sym_line_continuation, + [5656] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(457), 1, + aux_sym_path_token3, + STATE(268), 1, + sym_line_continuation, + ACTIONS(455), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [5670] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(503), 1, + aux_sym_path_token3, + STATE(269), 1, + sym_line_continuation, + ACTIONS(501), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [5684] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(416), 1, + aux_sym_path_token3, + STATE(270), 1, + sym_line_continuation, + ACTIONS(414), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [5698] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(828), 1, + anon_sym_COMMA2, + ACTIONS(879), 1, + anon_sym_RBRACK, + STATE(239), 1, + aux_sym_json_string_array_repeat1, + STATE(271), 1, + sym_line_continuation, + [5714] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(446), 1, + aux_sym_path_token3, + STATE(272), 1, + sym_line_continuation, + ACTIONS(444), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [5728] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(633), 1, + aux_sym_path_token3, + STATE(273), 1, + sym_line_continuation, + ACTIONS(635), 2, + anon_sym_LF, + anon_sym_DOLLAR2, + [5742] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(426), 1, + aux_sym_path_token3, + STATE(274), 1, + sym_line_continuation, + ACTIONS(424), 2, + anon_sym_DOLLAR2, + sym__non_newline_whitespace, + [5756] = 5, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(812), 1, + sym_heredoc_line, + ACTIONS(881), 1, + sym_heredoc_end, + STATE(230), 1, + aux_sym_heredoc_block_repeat1, + STATE(275), 1, + sym_line_continuation, + [5772] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + STATE(276), 1, + sym_line_continuation, + ACTIONS(883), 2, + sym_heredoc_nl, + anon_sym_LF, + [5783] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + STATE(277), 1, + sym_line_continuation, + ACTIONS(593), 2, + aux_sym_cmd_instruction_token1, + anon_sym_DASH_DASH, + [5794] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(676), 1, + anon_sym_LF, + ACTIONS(678), 1, + aux_sym__env_key_token1, + STATE(278), 1, + sym_line_continuation, + [5807] = 4, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(680), 1, + anon_sym_LF, + ACTIONS(682), 1, + aux_sym__env_key_token1, STATE(279), 1, sym_line_continuation, - [5319] = 3, - ACTIONS(3), 1, + [5820] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(572), 1, - anon_sym_EQ, STATE(280), 1, sym_line_continuation, - [5329] = 3, - ACTIONS(127), 1, + ACTIONS(885), 2, + sym_heredoc_nl, + anon_sym_LF, + [5831] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(850), 1, - aux_sym_maintainer_instruction_token2, STATE(281), 1, sym_line_continuation, - [5339] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(852), 1, + ACTIONS(887), 2, + sym_heredoc_nl, anon_sym_LF, + [5842] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(127), 1, + anon_sym_LBRACK, STATE(282), 1, sym_line_continuation, - [5349] = 3, - ACTIONS(127), 1, + STATE(316), 1, + sym_json_string_array, + [5855] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(854), 1, + ACTIONS(889), 1, anon_sym_LF, + ACTIONS(891), 1, + aux_sym_from_instruction_token2, STATE(283), 1, sym_line_continuation, - [5359] = 3, - ACTIONS(127), 1, + [5868] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(856), 1, + ACTIONS(893), 1, anon_sym_LF, + ACTIONS(895), 1, + aux_sym_from_instruction_token2, STATE(284), 1, sym_line_continuation, - [5369] = 3, - ACTIONS(127), 1, + [5881] = 4, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(858), 1, - anon_sym_LF, + ACTIONS(897), 1, + aux_sym_param_token1, + ACTIONS(899), 1, + anon_sym_mount, STATE(285), 1, sym_line_continuation, - [5379] = 3, - ACTIONS(127), 1, + [5894] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(860), 1, - aux_sym__expansion_body_token1, + ACTIONS(901), 1, + anon_sym_LF, + ACTIONS(903), 1, + aux_sym_from_instruction_token2, STATE(286), 1, sym_line_continuation, - [5389] = 3, - ACTIONS(127), 1, + [5907] = 3, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(862), 1, - anon_sym_LF, STATE(287), 1, sym_line_continuation, - [5399] = 3, - ACTIONS(127), 1, + ACTIONS(356), 2, + aux_sym_cmd_instruction_token1, + anon_sym_DASH_DASH, + [5918] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(864), 1, + ACTIONS(905), 1, anon_sym_LF, + ACTIONS(907), 1, + aux_sym_from_instruction_token2, STATE(288), 1, sym_line_continuation, - [5409] = 3, - ACTIONS(127), 1, + [5931] = 4, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(866), 1, - anon_sym_LF, + ACTIONS(909), 1, + aux_sym_mount_param_param_token1, + STATE(21), 1, + sym_mount_param_param, STATE(289), 1, sym_line_continuation, - [5419] = 3, + [5944] = 3, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(868), 1, - ts_builtin_sym_end, STATE(290), 1, sym_line_continuation, - [5429] = 3, - ACTIONS(127), 1, + ACTIONS(911), 2, + anon_sym_COMMA2, + anon_sym_RBRACK, + [5955] = 4, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(870), 1, - anon_sym_LF, + ACTIONS(774), 1, + anon_sym_DQUOTE, STATE(291), 1, sym_line_continuation, - [5439] = 3, - ACTIONS(3), 1, + STATE(306), 1, + sym_json_string, + [5968] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(872), 1, - anon_sym_RBRACE, + ACTIONS(733), 1, + anon_sym_LF, + ACTIONS(735), 1, + aux_sym__env_key_token1, STATE(292), 1, sym_line_continuation, - [5449] = 3, - ACTIONS(3), 1, + [5981] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(874), 1, - anon_sym_EQ, + ACTIONS(741), 1, + anon_sym_LF, + ACTIONS(743), 1, + aux_sym__env_key_token1, STATE(293), 1, sym_line_continuation, - [5459] = 3, - ACTIONS(127), 1, + [5994] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(876), 1, - anon_sym_LF, STATE(294), 1, sym_line_continuation, - [5469] = 3, - ACTIONS(3), 1, + ACTIONS(913), 2, + sym_heredoc_nl, + anon_sym_LF, + [6005] = 3, + ACTIONS(915), 1, anon_sym_BSLASH_LF, - ACTIONS(878), 1, - aux_sym_param_token1, STATE(295), 1, sym_line_continuation, - [5479] = 3, - ACTIONS(127), 1, + ACTIONS(703), 2, + sym_heredoc_nl, + anon_sym_LF, + [6016] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(880), 1, - aux_sym_maintainer_instruction_token2, + ACTIONS(917), 1, + anon_sym_LF, + ACTIONS(919), 1, + aux_sym__env_key_token1, STATE(296), 1, sym_line_continuation, - [5489] = 3, - ACTIONS(127), 1, + [6029] = 4, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(882), 1, - aux_sym_maintainer_instruction_token2, + ACTIONS(909), 1, + aux_sym_mount_param_param_token1, + STATE(35), 1, + sym_mount_param_param, STATE(297), 1, sym_line_continuation, - [5499] = 3, - ACTIONS(127), 1, + [6042] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(884), 1, + ACTIONS(848), 1, anon_sym_LF, + ACTIONS(921), 1, + sym__non_newline_whitespace, STATE(298), 1, sym_line_continuation, - [5509] = 3, - ACTIONS(3), 1, + [6055] = 3, + ACTIONS(925), 1, anon_sym_BSLASH_LF, - ACTIONS(886), 1, - aux_sym_arg_instruction_token2, STATE(299), 1, sym_line_continuation, - [5519] = 3, - ACTIONS(3), 1, + ACTIONS(923), 2, + sym_heredoc_nl, + anon_sym_LF, + [6066] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(888), 1, - anon_sym_RBRACE, + ACTIONS(927), 1, + anon_sym_LF, + ACTIONS(929), 1, + anon_sym_EQ, STATE(300), 1, sym_line_continuation, - [5529] = 3, - ACTIONS(3), 1, + [6079] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(890), 1, - aux_sym_param_token2, + ACTIONS(931), 1, + anon_sym_LF, + ACTIONS(933), 1, + anon_sym_COLON, STATE(301), 1, sym_line_continuation, - [5539] = 3, - ACTIONS(3), 1, + [6092] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(892), 1, - aux_sym_param_token2, STATE(302), 1, sym_line_continuation, - [5549] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(894), 1, + ACTIONS(935), 2, + sym_heredoc_nl, anon_sym_LF, + [6103] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, STATE(303), 1, sym_line_continuation, - [5559] = 3, - ACTIONS(127), 1, + ACTIONS(802), 2, + sym_heredoc_line, + sym_heredoc_end, + [6114] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(896), 1, - anon_sym_LF, STATE(304), 1, sym_line_continuation, - [5569] = 3, - ACTIONS(3), 1, + ACTIONS(937), 2, + sym_heredoc_nl, + anon_sym_LF, + [6125] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(898), 1, + ACTIONS(939), 1, anon_sym_EQ, + ACTIONS(941), 1, + aux_sym__spaced_env_pair_token1, STATE(305), 1, sym_line_continuation, - [5579] = 3, - ACTIONS(127), 1, + [6138] = 3, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(900), 1, - anon_sym_LF, STATE(306), 1, sym_line_continuation, - [5589] = 3, - ACTIONS(127), 1, + ACTIONS(793), 2, + anon_sym_COMMA2, + anon_sym_RBRACK, + [6149] = 4, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(902), 1, + ACTIONS(943), 1, anon_sym_LF, + ACTIONS(945), 1, + aux_sym__env_key_token1, STATE(307), 1, sym_line_continuation, - [5599] = 3, - ACTIONS(3), 1, + [6162] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(904), 1, - anon_sym_RBRACE, STATE(308), 1, sym_line_continuation, - [5609] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(906), 1, - anon_sym_LF, - STATE(309), 1, - sym_line_continuation, - [5619] = 3, - ACTIONS(749), 1, - anon_sym_LF, - ACTIONS(908), 1, - anon_sym_BSLASH_LF, - STATE(310), 1, - sym_line_continuation, - [5629] = 3, + ACTIONS(947), 2, + anon_sym_EQ, + aux_sym__spaced_env_pair_token1, + [6173] = 3, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(910), 1, - anon_sym_RBRACE, + STATE(309), 1, + sym_line_continuation, + ACTIONS(949), 2, + anon_sym_COMMA2, + anon_sym_RBRACK, + [6184] = 4, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(354), 1, + aux_sym_image_name_token1, + ACTIONS(356), 1, + anon_sym_DOLLAR, + STATE(310), 1, + sym_line_continuation, + [6197] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(951), 1, + anon_sym_LF, STATE(311), 1, sym_line_continuation, - [5639] = 3, - ACTIONS(127), 1, + [6207] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(912), 1, + ACTIONS(883), 1, anon_sym_LF, STATE(312), 1, sym_line_continuation, - [5649] = 3, - ACTIONS(127), 1, + [6217] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(914), 1, + ACTIONS(953), 1, anon_sym_LF, STATE(313), 1, sym_line_continuation, - [5659] = 3, - ACTIONS(3), 1, + [6227] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(916), 1, - anon_sym_RBRACE, + ACTIONS(955), 1, + anon_sym_LF, STATE(314), 1, sym_line_continuation, - [5669] = 3, - ACTIONS(127), 1, + [6237] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(918), 1, - aux_sym__expansion_body_token1, + ACTIONS(957), 1, + anon_sym_LF, STATE(315), 1, sym_line_continuation, - [5679] = 3, - ACTIONS(3), 1, + [6247] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(920), 1, - anon_sym_EQ, + ACTIONS(959), 1, + anon_sym_LF, STATE(316), 1, sym_line_continuation, - [5689] = 3, - ACTIONS(3), 1, + [6257] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(922), 1, - anon_sym_RBRACE, + ACTIONS(961), 1, + anon_sym_LF, STATE(317), 1, sym_line_continuation, - [5699] = 3, - ACTIONS(127), 1, + [6267] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(924), 1, + ACTIONS(963), 1, anon_sym_LF, STATE(318), 1, sym_line_continuation, - [5709] = 3, - ACTIONS(3), 1, + [6277] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(926), 1, - anon_sym_RBRACE, + ACTIONS(965), 1, + anon_sym_LF, STATE(319), 1, sym_line_continuation, - [5719] = 3, + [6287] = 3, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(928), 1, + ACTIONS(967), 1, anon_sym_EQ, STATE(320), 1, sym_line_continuation, - [5729] = 3, - ACTIONS(3), 1, + [6297] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(930), 1, - anon_sym_RBRACE, + ACTIONS(969), 1, + anon_sym_LF, STATE(321), 1, sym_line_continuation, - [5739] = 3, - ACTIONS(3), 1, + [6307] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(633), 1, - anon_sym_EQ, + ACTIONS(971), 1, + anon_sym_LF, STATE(322), 1, sym_line_continuation, - [5749] = 3, - ACTIONS(3), 1, + [6317] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(932), 1, - anon_sym_RBRACE, + ACTIONS(973), 1, + anon_sym_LF, STATE(323), 1, sym_line_continuation, - [5759] = 3, - ACTIONS(3), 1, + [6327] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(629), 1, - anon_sym_EQ, + ACTIONS(975), 1, + aux_sym_maintainer_instruction_token2, STATE(324), 1, sym_line_continuation, - [5769] = 3, - ACTIONS(3), 1, + [6337] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(934), 1, - anon_sym_RBRACE, + ACTIONS(627), 1, + sym__non_newline_whitespace, STATE(325), 1, sym_line_continuation, - [5779] = 3, - ACTIONS(3), 1, + [6347] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(936), 1, - anon_sym_RBRACE, + ACTIONS(977), 1, + anon_sym_LF, STATE(326), 1, sym_line_continuation, - [5789] = 3, - ACTIONS(127), 1, + [6357] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(938), 1, - aux_sym__expansion_body_token1, + ACTIONS(979), 1, + anon_sym_LF, STATE(327), 1, sym_line_continuation, - [5799] = 3, - ACTIONS(3), 1, + [6367] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(940), 1, - aux_sym_param_token2, + ACTIONS(981), 1, + aux_sym_shell_fragment_token1, STATE(328), 1, sym_line_continuation, - [5809] = 3, - ACTIONS(127), 1, + [6377] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(942), 1, - aux_sym__expansion_body_token1, + ACTIONS(983), 1, + anon_sym_LF, STATE(329), 1, sym_line_continuation, - [5819] = 3, + [6387] = 3, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(944), 1, - anon_sym_EQ, + ACTIONS(985), 1, + aux_sym_param_token1, STATE(330), 1, sym_line_continuation, - [5829] = 3, - ACTIONS(127), 1, + [6397] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(946), 1, + ACTIONS(987), 1, aux_sym__expansion_body_token1, STATE(331), 1, sym_line_continuation, - [5839] = 3, - ACTIONS(3), 1, + [6407] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(948), 1, - anon_sym_EQ, + ACTIONS(989), 1, + aux_sym_shell_fragment_token1, STATE(332), 1, sym_line_continuation, - [5849] = 3, - ACTIONS(127), 1, + [6417] = 3, + ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(950), 1, - aux_sym__expansion_body_token1, + ACTIONS(991), 1, + anon_sym_EQ, STATE(333), 1, sym_line_continuation, - [5859] = 3, + [6427] = 3, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(952), 1, - aux_sym_param_token1, + ACTIONS(993), 1, + anon_sym_EQ, STATE(334), 1, sym_line_continuation, - [5869] = 3, - ACTIONS(127), 1, + [6437] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(954), 1, - aux_sym__expansion_body_token1, + ACTIONS(995), 1, + anon_sym_LF, STATE(335), 1, sym_line_continuation, - [5879] = 3, - ACTIONS(127), 1, + [6447] = 3, + ACTIONS(137), 1, anon_sym_BSLASH_LF, - ACTIONS(956), 1, - aux_sym__expansion_body_token1, + ACTIONS(997), 1, + anon_sym_LF, STATE(336), 1, sym_line_continuation, - [5889] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(958), 1, - aux_sym__expansion_body_token1, - STATE(337), 1, - sym_line_continuation, - [5899] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(960), 1, - aux_sym__expansion_body_token1, - STATE(338), 1, - sym_line_continuation, - [5909] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(962), 1, - aux_sym__expansion_body_token1, - STATE(339), 1, - sym_line_continuation, - [5919] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(964), 1, - aux_sym__expansion_body_token1, - STATE(340), 1, - sym_line_continuation, - [5929] = 3, - ACTIONS(127), 1, - anon_sym_BSLASH_LF, - ACTIONS(966), 1, - aux_sym__expansion_body_token1, - STATE(341), 1, - sym_line_continuation, - [5939] = 3, + [6457] = 3, ACTIONS(3), 1, anon_sym_BSLASH_LF, - ACTIONS(968), 1, - aux_sym_param_token1, + ACTIONS(999), 1, + ts_builtin_sym_end, + STATE(337), 1, + sym_line_continuation, + [6467] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1001), 1, + anon_sym_LF, + STATE(338), 1, + sym_line_continuation, + [6477] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1003), 1, + anon_sym_RBRACE, + STATE(339), 1, + sym_line_continuation, + [6487] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1005), 1, + aux_sym_param_token2, + STATE(340), 1, + sym_line_continuation, + [6497] = 3, + ACTIONS(923), 1, + anon_sym_LF, + ACTIONS(925), 1, + anon_sym_BSLASH_LF, + STATE(341), 1, + sym_line_continuation, + [6507] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(937), 1, + anon_sym_LF, STATE(342), 1, sym_line_continuation, - [5949] = 1, - ACTIONS(970), 1, + [6517] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(680), 1, + anon_sym_EQ, + STATE(343), 1, + sym_line_continuation, + [6527] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1007), 1, + aux_sym_maintainer_instruction_token2, + STATE(344), 1, + sym_line_continuation, + [6537] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1009), 1, + aux_sym_maintainer_instruction_token2, + STATE(345), 1, + sym_line_continuation, + [6547] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(676), 1, + anon_sym_EQ, + STATE(346), 1, + sym_line_continuation, + [6557] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1011), 1, + aux_sym_arg_instruction_token2, + STATE(347), 1, + sym_line_continuation, + [6567] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1013), 1, + anon_sym_RBRACE, + STATE(348), 1, + sym_line_continuation, + [6577] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1015), 1, + aux_sym_param_token2, + STATE(349), 1, + sym_line_continuation, + [6587] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(939), 1, + anon_sym_EQ, + STATE(350), 1, + sym_line_continuation, + [6597] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1017), 1, + anon_sym_RBRACE, + STATE(351), 1, + sym_line_continuation, + [6607] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1019), 1, + aux_sym_param_token2, + STATE(352), 1, + sym_line_continuation, + [6617] = 3, + ACTIONS(703), 1, + anon_sym_LF, + ACTIONS(915), 1, + anon_sym_BSLASH_LF, + STATE(353), 1, + sym_line_continuation, + [6627] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(308), 1, + sym__non_newline_whitespace, + STATE(354), 1, + sym_line_continuation, + [6637] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1021), 1, + anon_sym_RBRACE, + STATE(355), 1, + sym_line_continuation, + [6647] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1023), 1, + aux_sym_param_token1, + STATE(356), 1, + sym_line_continuation, + [6657] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1025), 1, + anon_sym_RBRACE, + STATE(357), 1, + sym_line_continuation, + [6667] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1027), 1, + aux_sym_param_token2, + STATE(358), 1, + sym_line_continuation, + [6677] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1029), 1, + anon_sym_RBRACE, + STATE(359), 1, + sym_line_continuation, + [6687] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1031), 1, + anon_sym_LF, + STATE(360), 1, + sym_line_continuation, + [6697] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(885), 1, + anon_sym_LF, + STATE(361), 1, + sym_line_continuation, + [6707] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1033), 1, + anon_sym_RBRACE, + STATE(362), 1, + sym_line_continuation, + [6717] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1035), 1, + anon_sym_LF, + STATE(363), 1, + sym_line_continuation, + [6727] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(947), 1, + anon_sym_EQ, + STATE(364), 1, + sym_line_continuation, + [6737] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1037), 1, + anon_sym_RBRACE, + STATE(365), 1, + sym_line_continuation, + [6747] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(733), 1, + anon_sym_EQ, + STATE(366), 1, + sym_line_continuation, + [6757] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(741), 1, + anon_sym_EQ, + STATE(367), 1, + sym_line_continuation, + [6767] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1039), 1, + anon_sym_RBRACE, + STATE(368), 1, + sym_line_continuation, + [6777] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1041), 1, + anon_sym_LF, + STATE(369), 1, + sym_line_continuation, + [6787] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1043), 1, + anon_sym_RBRACE, + STATE(370), 1, + sym_line_continuation, + [6797] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1045), 1, + aux_sym_mount_param_param_token1, + STATE(371), 1, + sym_line_continuation, + [6807] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1047), 1, + anon_sym_RBRACE, + STATE(372), 1, + sym_line_continuation, + [6817] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1049), 1, + anon_sym_EQ, + STATE(373), 1, + sym_line_continuation, + [6827] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1051), 1, + anon_sym_RBRACE, + STATE(374), 1, + sym_line_continuation, + [6837] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1053), 1, + anon_sym_LF, + STATE(375), 1, + sym_line_continuation, + [6847] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1055), 1, + anon_sym_RBRACE, + STATE(376), 1, + sym_line_continuation, + [6857] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1057), 1, + anon_sym_RBRACE, + STATE(377), 1, + sym_line_continuation, + [6867] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1059), 1, + aux_sym__expansion_body_token1, + STATE(378), 1, + sym_line_continuation, + [6877] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1061), 1, + anon_sym_EQ, + STATE(379), 1, + sym_line_continuation, + [6887] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1063), 1, + aux_sym__expansion_body_token1, + STATE(380), 1, + sym_line_continuation, + [6897] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1065), 1, + anon_sym_EQ, + STATE(381), 1, + sym_line_continuation, + [6907] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1067), 1, + aux_sym__expansion_body_token1, + STATE(382), 1, + sym_line_continuation, + [6917] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1069), 1, + anon_sym_EQ, + STATE(383), 1, + sym_line_continuation, + [6927] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1071), 1, + aux_sym__expansion_body_token1, + STATE(384), 1, + sym_line_continuation, + [6937] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1073), 1, + aux_sym__expansion_body_token1, + STATE(385), 1, + sym_line_continuation, + [6947] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1075), 1, + aux_sym__expansion_body_token1, + STATE(386), 1, + sym_line_continuation, + [6957] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1077), 1, + aux_sym__expansion_body_token1, + STATE(387), 1, + sym_line_continuation, + [6967] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1079), 1, + aux_sym__expansion_body_token1, + STATE(388), 1, + sym_line_continuation, + [6977] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1081), 1, + aux_sym__expansion_body_token1, + STATE(389), 1, + sym_line_continuation, + [6987] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1083), 1, + aux_sym__expansion_body_token1, + STATE(390), 1, + sym_line_continuation, + [6997] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1085), 1, + aux_sym__expansion_body_token1, + STATE(391), 1, + sym_line_continuation, + [7007] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1087), 1, + aux_sym__expansion_body_token1, + STATE(392), 1, + sym_line_continuation, + [7017] = 3, + ACTIONS(137), 1, + anon_sym_BSLASH_LF, + ACTIONS(1089), 1, + aux_sym__expansion_body_token1, + STATE(393), 1, + sym_line_continuation, + [7027] = 3, + ACTIONS(3), 1, + anon_sym_BSLASH_LF, + ACTIONS(1091), 1, + aux_sym_param_token1, + STATE(394), 1, + sym_line_continuation, + [7037] = 1, + ACTIONS(1093), 1, ts_builtin_sym_end, }; @@ -7989,809 +8896,968 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(4)] = 192, [SMALL_STATE(5)] = 280, [SMALL_STATE(6)] = 310, - [SMALL_STATE(7)] = 359, - [SMALL_STATE(8)] = 408, - [SMALL_STATE(9)] = 448, - [SMALL_STATE(10)] = 485, - [SMALL_STATE(11)] = 522, - [SMALL_STATE(12)] = 556, - [SMALL_STATE(13)] = 590, - [SMALL_STATE(14)] = 624, - [SMALL_STATE(15)] = 655, - [SMALL_STATE(16)] = 684, - [SMALL_STATE(17)] = 708, - [SMALL_STATE(18)] = 738, - [SMALL_STATE(19)] = 768, - [SMALL_STATE(20)] = 798, - [SMALL_STATE(21)] = 828, - [SMALL_STATE(22)] = 856, - [SMALL_STATE(23)] = 886, - [SMALL_STATE(24)] = 915, - [SMALL_STATE(25)] = 942, - [SMALL_STATE(26)] = 971, - [SMALL_STATE(27)] = 994, - [SMALL_STATE(28)] = 1023, - [SMALL_STATE(29)] = 1052, - [SMALL_STATE(30)] = 1083, - [SMALL_STATE(31)] = 1112, - [SMALL_STATE(32)] = 1143, - [SMALL_STATE(33)] = 1170, - [SMALL_STATE(34)] = 1193, - [SMALL_STATE(35)] = 1224, - [SMALL_STATE(36)] = 1251, - [SMALL_STATE(37)] = 1272, - [SMALL_STATE(38)] = 1301, - [SMALL_STATE(39)] = 1332, - [SMALL_STATE(40)] = 1359, - [SMALL_STATE(41)] = 1388, - [SMALL_STATE(42)] = 1415, - [SMALL_STATE(43)] = 1444, - [SMALL_STATE(44)] = 1473, - [SMALL_STATE(45)] = 1502, - [SMALL_STATE(46)] = 1531, - [SMALL_STATE(47)] = 1549, - [SMALL_STATE(48)] = 1577, - [SMALL_STATE(49)] = 1595, - [SMALL_STATE(50)] = 1617, - [SMALL_STATE(51)] = 1643, - [SMALL_STATE(52)] = 1669, - [SMALL_STATE(53)] = 1697, - [SMALL_STATE(54)] = 1723, - [SMALL_STATE(55)] = 1747, - [SMALL_STATE(56)] = 1765, - [SMALL_STATE(57)] = 1783, - [SMALL_STATE(58)] = 1801, - [SMALL_STATE(59)] = 1827, - [SMALL_STATE(60)] = 1855, - [SMALL_STATE(61)] = 1873, - [SMALL_STATE(62)] = 1891, - [SMALL_STATE(63)] = 1917, - [SMALL_STATE(64)] = 1934, - [SMALL_STATE(65)] = 1957, - [SMALL_STATE(66)] = 1982, - [SMALL_STATE(67)] = 2005, - [SMALL_STATE(68)] = 2028, - [SMALL_STATE(69)] = 2045, - [SMALL_STATE(70)] = 2070, - [SMALL_STATE(71)] = 2095, - [SMALL_STATE(72)] = 2120, - [SMALL_STATE(73)] = 2137, - [SMALL_STATE(74)] = 2162, - [SMALL_STATE(75)] = 2187, - [SMALL_STATE(76)] = 2212, - [SMALL_STATE(77)] = 2235, - [SMALL_STATE(78)] = 2260, - [SMALL_STATE(79)] = 2277, - [SMALL_STATE(80)] = 2302, - [SMALL_STATE(81)] = 2323, - [SMALL_STATE(82)] = 2346, - [SMALL_STATE(83)] = 2371, - [SMALL_STATE(84)] = 2388, - [SMALL_STATE(85)] = 2413, - [SMALL_STATE(86)] = 2430, - [SMALL_STATE(87)] = 2447, - [SMALL_STATE(88)] = 2472, - [SMALL_STATE(89)] = 2489, - [SMALL_STATE(90)] = 2511, - [SMALL_STATE(91)] = 2527, - [SMALL_STATE(92)] = 2549, - [SMALL_STATE(93)] = 2569, - [SMALL_STATE(94)] = 2591, - [SMALL_STATE(95)] = 2613, - [SMALL_STATE(96)] = 2629, - [SMALL_STATE(97)] = 2647, - [SMALL_STATE(98)] = 2663, - [SMALL_STATE(99)] = 2679, - [SMALL_STATE(100)] = 2701, - [SMALL_STATE(101)] = 2717, - [SMALL_STATE(102)] = 2739, - [SMALL_STATE(103)] = 2759, - [SMALL_STATE(104)] = 2775, - [SMALL_STATE(105)] = 2795, - [SMALL_STATE(106)] = 2811, - [SMALL_STATE(107)] = 2831, - [SMALL_STATE(108)] = 2847, - [SMALL_STATE(109)] = 2863, - [SMALL_STATE(110)] = 2881, - [SMALL_STATE(111)] = 2897, - [SMALL_STATE(112)] = 2913, - [SMALL_STATE(113)] = 2929, - [SMALL_STATE(114)] = 2951, - [SMALL_STATE(115)] = 2973, - [SMALL_STATE(116)] = 2993, - [SMALL_STATE(117)] = 3013, - [SMALL_STATE(118)] = 3029, - [SMALL_STATE(119)] = 3045, - [SMALL_STATE(120)] = 3063, - [SMALL_STATE(121)] = 3079, - [SMALL_STATE(122)] = 3095, - [SMALL_STATE(123)] = 3115, - [SMALL_STATE(124)] = 3137, - [SMALL_STATE(125)] = 3157, - [SMALL_STATE(126)] = 3177, - [SMALL_STATE(127)] = 3197, - [SMALL_STATE(128)] = 3219, - [SMALL_STATE(129)] = 3232, - [SMALL_STATE(130)] = 3247, - [SMALL_STATE(131)] = 3260, - [SMALL_STATE(132)] = 3275, - [SMALL_STATE(133)] = 3294, - [SMALL_STATE(134)] = 3309, - [SMALL_STATE(135)] = 3322, - [SMALL_STATE(136)] = 3335, - [SMALL_STATE(137)] = 3350, - [SMALL_STATE(138)] = 3365, - [SMALL_STATE(139)] = 3380, - [SMALL_STATE(140)] = 3395, - [SMALL_STATE(141)] = 3410, - [SMALL_STATE(142)] = 3425, - [SMALL_STATE(143)] = 3440, - [SMALL_STATE(144)] = 3453, - [SMALL_STATE(145)] = 3468, - [SMALL_STATE(146)] = 3483, - [SMALL_STATE(147)] = 3500, - [SMALL_STATE(148)] = 3515, - [SMALL_STATE(149)] = 3528, - [SMALL_STATE(150)] = 3541, - [SMALL_STATE(151)] = 3556, - [SMALL_STATE(152)] = 3571, - [SMALL_STATE(153)] = 3584, - [SMALL_STATE(154)] = 3603, - [SMALL_STATE(155)] = 3622, - [SMALL_STATE(156)] = 3635, - [SMALL_STATE(157)] = 3648, - [SMALL_STATE(158)] = 3665, - [SMALL_STATE(159)] = 3682, - [SMALL_STATE(160)] = 3701, - [SMALL_STATE(161)] = 3720, - [SMALL_STATE(162)] = 3735, - [SMALL_STATE(163)] = 3750, - [SMALL_STATE(164)] = 3765, - [SMALL_STATE(165)] = 3784, - [SMALL_STATE(166)] = 3803, - [SMALL_STATE(167)] = 3818, - [SMALL_STATE(168)] = 3832, - [SMALL_STATE(169)] = 3846, - [SMALL_STATE(170)] = 3862, - [SMALL_STATE(171)] = 3878, - [SMALL_STATE(172)] = 3894, - [SMALL_STATE(173)] = 3910, - [SMALL_STATE(174)] = 3926, - [SMALL_STATE(175)] = 3942, - [SMALL_STATE(176)] = 3958, - [SMALL_STATE(177)] = 3974, - [SMALL_STATE(178)] = 3990, - [SMALL_STATE(179)] = 4004, - [SMALL_STATE(180)] = 4020, - [SMALL_STATE(181)] = 4036, - [SMALL_STATE(182)] = 4048, - [SMALL_STATE(183)] = 4064, - [SMALL_STATE(184)] = 4080, - [SMALL_STATE(185)] = 4096, - [SMALL_STATE(186)] = 4112, - [SMALL_STATE(187)] = 4124, - [SMALL_STATE(188)] = 4138, - [SMALL_STATE(189)] = 4154, - [SMALL_STATE(190)] = 4170, - [SMALL_STATE(191)] = 4186, - [SMALL_STATE(192)] = 4202, - [SMALL_STATE(193)] = 4218, - [SMALL_STATE(194)] = 4230, - [SMALL_STATE(195)] = 4242, - [SMALL_STATE(196)] = 4258, - [SMALL_STATE(197)] = 4274, - [SMALL_STATE(198)] = 4288, - [SMALL_STATE(199)] = 4302, - [SMALL_STATE(200)] = 4314, - [SMALL_STATE(201)] = 4326, - [SMALL_STATE(202)] = 4340, - [SMALL_STATE(203)] = 4352, - [SMALL_STATE(204)] = 4364, - [SMALL_STATE(205)] = 4376, - [SMALL_STATE(206)] = 4392, - [SMALL_STATE(207)] = 4404, - [SMALL_STATE(208)] = 4416, - [SMALL_STATE(209)] = 4428, - [SMALL_STATE(210)] = 4440, - [SMALL_STATE(211)] = 4456, - [SMALL_STATE(212)] = 4470, - [SMALL_STATE(213)] = 4484, - [SMALL_STATE(214)] = 4500, - [SMALL_STATE(215)] = 4514, - [SMALL_STATE(216)] = 4528, - [SMALL_STATE(217)] = 4542, - [SMALL_STATE(218)] = 4556, - [SMALL_STATE(219)] = 4570, - [SMALL_STATE(220)] = 4586, - [SMALL_STATE(221)] = 4600, - [SMALL_STATE(222)] = 4616, - [SMALL_STATE(223)] = 4632, - [SMALL_STATE(224)] = 4646, - [SMALL_STATE(225)] = 4660, - [SMALL_STATE(226)] = 4674, - [SMALL_STATE(227)] = 4688, - [SMALL_STATE(228)] = 4704, - [SMALL_STATE(229)] = 4718, - [SMALL_STATE(230)] = 4732, - [SMALL_STATE(231)] = 4746, - [SMALL_STATE(232)] = 4760, - [SMALL_STATE(233)] = 4773, - [SMALL_STATE(234)] = 4786, - [SMALL_STATE(235)] = 4799, - [SMALL_STATE(236)] = 4812, - [SMALL_STATE(237)] = 4825, - [SMALL_STATE(238)] = 4838, - [SMALL_STATE(239)] = 4851, - [SMALL_STATE(240)] = 4864, - [SMALL_STATE(241)] = 4877, - [SMALL_STATE(242)] = 4890, - [SMALL_STATE(243)] = 4901, - [SMALL_STATE(244)] = 4914, - [SMALL_STATE(245)] = 4927, - [SMALL_STATE(246)] = 4940, - [SMALL_STATE(247)] = 4953, - [SMALL_STATE(248)] = 4966, - [SMALL_STATE(249)] = 4977, - [SMALL_STATE(250)] = 4988, - [SMALL_STATE(251)] = 5001, - [SMALL_STATE(252)] = 5014, - [SMALL_STATE(253)] = 5027, - [SMALL_STATE(254)] = 5040, - [SMALL_STATE(255)] = 5051, - [SMALL_STATE(256)] = 5062, - [SMALL_STATE(257)] = 5073, - [SMALL_STATE(258)] = 5086, - [SMALL_STATE(259)] = 5097, - [SMALL_STATE(260)] = 5110, - [SMALL_STATE(261)] = 5123, - [SMALL_STATE(262)] = 5136, - [SMALL_STATE(263)] = 5149, - [SMALL_STATE(264)] = 5159, - [SMALL_STATE(265)] = 5169, - [SMALL_STATE(266)] = 5179, - [SMALL_STATE(267)] = 5189, - [SMALL_STATE(268)] = 5199, - [SMALL_STATE(269)] = 5209, - [SMALL_STATE(270)] = 5219, - [SMALL_STATE(271)] = 5229, - [SMALL_STATE(272)] = 5239, - [SMALL_STATE(273)] = 5249, - [SMALL_STATE(274)] = 5259, - [SMALL_STATE(275)] = 5269, - [SMALL_STATE(276)] = 5279, - [SMALL_STATE(277)] = 5289, - [SMALL_STATE(278)] = 5299, - [SMALL_STATE(279)] = 5309, - [SMALL_STATE(280)] = 5319, - [SMALL_STATE(281)] = 5329, - [SMALL_STATE(282)] = 5339, - [SMALL_STATE(283)] = 5349, - [SMALL_STATE(284)] = 5359, - [SMALL_STATE(285)] = 5369, - [SMALL_STATE(286)] = 5379, - [SMALL_STATE(287)] = 5389, - [SMALL_STATE(288)] = 5399, - [SMALL_STATE(289)] = 5409, - [SMALL_STATE(290)] = 5419, - [SMALL_STATE(291)] = 5429, - [SMALL_STATE(292)] = 5439, - [SMALL_STATE(293)] = 5449, - [SMALL_STATE(294)] = 5459, - [SMALL_STATE(295)] = 5469, - [SMALL_STATE(296)] = 5479, - [SMALL_STATE(297)] = 5489, - [SMALL_STATE(298)] = 5499, - [SMALL_STATE(299)] = 5509, - [SMALL_STATE(300)] = 5519, - [SMALL_STATE(301)] = 5529, - [SMALL_STATE(302)] = 5539, - [SMALL_STATE(303)] = 5549, - [SMALL_STATE(304)] = 5559, - [SMALL_STATE(305)] = 5569, - [SMALL_STATE(306)] = 5579, - [SMALL_STATE(307)] = 5589, - [SMALL_STATE(308)] = 5599, - [SMALL_STATE(309)] = 5609, - [SMALL_STATE(310)] = 5619, - [SMALL_STATE(311)] = 5629, - [SMALL_STATE(312)] = 5639, - [SMALL_STATE(313)] = 5649, - [SMALL_STATE(314)] = 5659, - [SMALL_STATE(315)] = 5669, - [SMALL_STATE(316)] = 5679, - [SMALL_STATE(317)] = 5689, - [SMALL_STATE(318)] = 5699, - [SMALL_STATE(319)] = 5709, - [SMALL_STATE(320)] = 5719, - [SMALL_STATE(321)] = 5729, - [SMALL_STATE(322)] = 5739, - [SMALL_STATE(323)] = 5749, - [SMALL_STATE(324)] = 5759, - [SMALL_STATE(325)] = 5769, - [SMALL_STATE(326)] = 5779, - [SMALL_STATE(327)] = 5789, - [SMALL_STATE(328)] = 5799, - [SMALL_STATE(329)] = 5809, - [SMALL_STATE(330)] = 5819, - [SMALL_STATE(331)] = 5829, - [SMALL_STATE(332)] = 5839, - [SMALL_STATE(333)] = 5849, - [SMALL_STATE(334)] = 5859, - [SMALL_STATE(335)] = 5869, - [SMALL_STATE(336)] = 5879, - [SMALL_STATE(337)] = 5889, - [SMALL_STATE(338)] = 5899, - [SMALL_STATE(339)] = 5909, - [SMALL_STATE(340)] = 5919, - [SMALL_STATE(341)] = 5929, - [SMALL_STATE(342)] = 5939, - [SMALL_STATE(343)] = 5949, + [SMALL_STATE(7)] = 363, + [SMALL_STATE(8)] = 416, + [SMALL_STATE(9)] = 459, + [SMALL_STATE(10)] = 502, + [SMALL_STATE(11)] = 542, + [SMALL_STATE(12)] = 578, + [SMALL_STATE(13)] = 614, + [SMALL_STATE(14)] = 648, + [SMALL_STATE(15)] = 684, + [SMALL_STATE(16)] = 720, + [SMALL_STATE(17)] = 754, + [SMALL_STATE(18)] = 790, + [SMALL_STATE(19)] = 824, + [SMALL_STATE(20)] = 860, + [SMALL_STATE(21)] = 886, + [SMALL_STATE(22)] = 911, + [SMALL_STATE(23)] = 940, + [SMALL_STATE(24)] = 977, + [SMALL_STATE(25)] = 1014, + [SMALL_STATE(26)] = 1051, + [SMALL_STATE(27)] = 1074, + [SMALL_STATE(28)] = 1111, + [SMALL_STATE(29)] = 1142, + [SMALL_STATE(30)] = 1167, + [SMALL_STATE(31)] = 1197, + [SMALL_STATE(32)] = 1227, + [SMALL_STATE(33)] = 1255, + [SMALL_STATE(34)] = 1275, + [SMALL_STATE(35)] = 1301, + [SMALL_STATE(36)] = 1321, + [SMALL_STATE(37)] = 1350, + [SMALL_STATE(38)] = 1379, + [SMALL_STATE(39)] = 1398, + [SMALL_STATE(40)] = 1427, + [SMALL_STATE(41)] = 1456, + [SMALL_STATE(42)] = 1483, + [SMALL_STATE(43)] = 1512, + [SMALL_STATE(44)] = 1535, + [SMALL_STATE(45)] = 1562, + [SMALL_STATE(46)] = 1583, + [SMALL_STATE(47)] = 1612, + [SMALL_STATE(48)] = 1639, + [SMALL_STATE(49)] = 1668, + [SMALL_STATE(50)] = 1697, + [SMALL_STATE(51)] = 1726, + [SMALL_STATE(52)] = 1753, + [SMALL_STATE(53)] = 1780, + [SMALL_STATE(54)] = 1809, + [SMALL_STATE(55)] = 1836, + [SMALL_STATE(56)] = 1865, + [SMALL_STATE(57)] = 1884, + [SMALL_STATE(58)] = 1913, + [SMALL_STATE(59)] = 1942, + [SMALL_STATE(60)] = 1970, + [SMALL_STATE(61)] = 1988, + [SMALL_STATE(62)] = 2014, + [SMALL_STATE(63)] = 2042, + [SMALL_STATE(64)] = 2070, + [SMALL_STATE(65)] = 2098, + [SMALL_STATE(66)] = 2126, + [SMALL_STATE(67)] = 2154, + [SMALL_STATE(68)] = 2182, + [SMALL_STATE(69)] = 2200, + [SMALL_STATE(70)] = 2226, + [SMALL_STATE(71)] = 2244, + [SMALL_STATE(72)] = 2272, + [SMALL_STATE(73)] = 2292, + [SMALL_STATE(74)] = 2308, + [SMALL_STATE(75)] = 2334, + [SMALL_STATE(76)] = 2352, + [SMALL_STATE(77)] = 2374, + [SMALL_STATE(78)] = 2392, + [SMALL_STATE(79)] = 2418, + [SMALL_STATE(80)] = 2446, + [SMALL_STATE(81)] = 2468, + [SMALL_STATE(82)] = 2494, + [SMALL_STATE(83)] = 2522, + [SMALL_STATE(84)] = 2547, + [SMALL_STATE(85)] = 2568, + [SMALL_STATE(86)] = 2585, + [SMALL_STATE(87)] = 2602, + [SMALL_STATE(88)] = 2627, + [SMALL_STATE(89)] = 2644, + [SMALL_STATE(90)] = 2661, + [SMALL_STATE(91)] = 2686, + [SMALL_STATE(92)] = 2711, + [SMALL_STATE(93)] = 2736, + [SMALL_STATE(94)] = 2761, + [SMALL_STATE(95)] = 2784, + [SMALL_STATE(96)] = 2807, + [SMALL_STATE(97)] = 2824, + [SMALL_STATE(98)] = 2849, + [SMALL_STATE(99)] = 2872, + [SMALL_STATE(100)] = 2887, + [SMALL_STATE(101)] = 2912, + [SMALL_STATE(102)] = 2937, + [SMALL_STATE(103)] = 2960, + [SMALL_STATE(104)] = 2983, + [SMALL_STATE(105)] = 3000, + [SMALL_STATE(106)] = 3017, + [SMALL_STATE(107)] = 3034, + [SMALL_STATE(108)] = 3059, + [SMALL_STATE(109)] = 3076, + [SMALL_STATE(110)] = 3101, + [SMALL_STATE(111)] = 3119, + [SMALL_STATE(112)] = 3135, + [SMALL_STATE(113)] = 3155, + [SMALL_STATE(114)] = 3177, + [SMALL_STATE(115)] = 3199, + [SMALL_STATE(116)] = 3219, + [SMALL_STATE(117)] = 3239, + [SMALL_STATE(118)] = 3255, + [SMALL_STATE(119)] = 3271, + [SMALL_STATE(120)] = 3291, + [SMALL_STATE(121)] = 3311, + [SMALL_STATE(122)] = 3327, + [SMALL_STATE(123)] = 3347, + [SMALL_STATE(124)] = 3369, + [SMALL_STATE(125)] = 3391, + [SMALL_STATE(126)] = 3407, + [SMALL_STATE(127)] = 3423, + [SMALL_STATE(128)] = 3445, + [SMALL_STATE(129)] = 3467, + [SMALL_STATE(130)] = 3487, + [SMALL_STATE(131)] = 3503, + [SMALL_STATE(132)] = 3525, + [SMALL_STATE(133)] = 3543, + [SMALL_STATE(134)] = 3559, + [SMALL_STATE(135)] = 3575, + [SMALL_STATE(136)] = 3597, + [SMALL_STATE(137)] = 3613, + [SMALL_STATE(138)] = 3629, + [SMALL_STATE(139)] = 3651, + [SMALL_STATE(140)] = 3671, + [SMALL_STATE(141)] = 3693, + [SMALL_STATE(142)] = 3709, + [SMALL_STATE(143)] = 3725, + [SMALL_STATE(144)] = 3741, + [SMALL_STATE(145)] = 3763, + [SMALL_STATE(146)] = 3779, + [SMALL_STATE(147)] = 3801, + [SMALL_STATE(148)] = 3817, + [SMALL_STATE(149)] = 3833, + [SMALL_STATE(150)] = 3849, + [SMALL_STATE(151)] = 3865, + [SMALL_STATE(152)] = 3881, + [SMALL_STATE(153)] = 3897, + [SMALL_STATE(154)] = 3913, + [SMALL_STATE(155)] = 3929, + [SMALL_STATE(156)] = 3948, + [SMALL_STATE(157)] = 3965, + [SMALL_STATE(158)] = 3980, + [SMALL_STATE(159)] = 3995, + [SMALL_STATE(160)] = 4010, + [SMALL_STATE(161)] = 4025, + [SMALL_STATE(162)] = 4044, + [SMALL_STATE(163)] = 4059, + [SMALL_STATE(164)] = 4074, + [SMALL_STATE(165)] = 4091, + [SMALL_STATE(166)] = 4108, + [SMALL_STATE(167)] = 4121, + [SMALL_STATE(168)] = 4134, + [SMALL_STATE(169)] = 4147, + [SMALL_STATE(170)] = 4160, + [SMALL_STATE(171)] = 4175, + [SMALL_STATE(172)] = 4188, + [SMALL_STATE(173)] = 4205, + [SMALL_STATE(174)] = 4218, + [SMALL_STATE(175)] = 4231, + [SMALL_STATE(176)] = 4246, + [SMALL_STATE(177)] = 4265, + [SMALL_STATE(178)] = 4282, + [SMALL_STATE(179)] = 4297, + [SMALL_STATE(180)] = 4312, + [SMALL_STATE(181)] = 4329, + [SMALL_STATE(182)] = 4348, + [SMALL_STATE(183)] = 4363, + [SMALL_STATE(184)] = 4378, + [SMALL_STATE(185)] = 4397, + [SMALL_STATE(186)] = 4412, + [SMALL_STATE(187)] = 4427, + [SMALL_STATE(188)] = 4446, + [SMALL_STATE(189)] = 4461, + [SMALL_STATE(190)] = 4480, + [SMALL_STATE(191)] = 4495, + [SMALL_STATE(192)] = 4514, + [SMALL_STATE(193)] = 4529, + [SMALL_STATE(194)] = 4548, + [SMALL_STATE(195)] = 4563, + [SMALL_STATE(196)] = 4578, + [SMALL_STATE(197)] = 4593, + [SMALL_STATE(198)] = 4612, + [SMALL_STATE(199)] = 4629, + [SMALL_STATE(200)] = 4648, + [SMALL_STATE(201)] = 4667, + [SMALL_STATE(202)] = 4682, + [SMALL_STATE(203)] = 4701, + [SMALL_STATE(204)] = 4718, + [SMALL_STATE(205)] = 4732, + [SMALL_STATE(206)] = 4748, + [SMALL_STATE(207)] = 4760, + [SMALL_STATE(208)] = 4776, + [SMALL_STATE(209)] = 4792, + [SMALL_STATE(210)] = 4804, + [SMALL_STATE(211)] = 4820, + [SMALL_STATE(212)] = 4836, + [SMALL_STATE(213)] = 4850, + [SMALL_STATE(214)] = 4862, + [SMALL_STATE(215)] = 4874, + [SMALL_STATE(216)] = 4888, + [SMALL_STATE(217)] = 4900, + [SMALL_STATE(218)] = 4916, + [SMALL_STATE(219)] = 4930, + [SMALL_STATE(220)] = 4942, + [SMALL_STATE(221)] = 4956, + [SMALL_STATE(222)] = 4968, + [SMALL_STATE(223)] = 4984, + [SMALL_STATE(224)] = 4996, + [SMALL_STATE(225)] = 5012, + [SMALL_STATE(226)] = 5024, + [SMALL_STATE(227)] = 5040, + [SMALL_STATE(228)] = 5056, + [SMALL_STATE(229)] = 5072, + [SMALL_STATE(230)] = 5084, + [SMALL_STATE(231)] = 5100, + [SMALL_STATE(232)] = 5116, + [SMALL_STATE(233)] = 5130, + [SMALL_STATE(234)] = 5144, + [SMALL_STATE(235)] = 5158, + [SMALL_STATE(236)] = 5174, + [SMALL_STATE(237)] = 5188, + [SMALL_STATE(238)] = 5202, + [SMALL_STATE(239)] = 5218, + [SMALL_STATE(240)] = 5234, + [SMALL_STATE(241)] = 5248, + [SMALL_STATE(242)] = 5264, + [SMALL_STATE(243)] = 5278, + [SMALL_STATE(244)] = 5294, + [SMALL_STATE(245)] = 5310, + [SMALL_STATE(246)] = 5324, + [SMALL_STATE(247)] = 5336, + [SMALL_STATE(248)] = 5348, + [SMALL_STATE(249)] = 5364, + [SMALL_STATE(250)] = 5380, + [SMALL_STATE(251)] = 5396, + [SMALL_STATE(252)] = 5412, + [SMALL_STATE(253)] = 5426, + [SMALL_STATE(254)] = 5442, + [SMALL_STATE(255)] = 5458, + [SMALL_STATE(256)] = 5470, + [SMALL_STATE(257)] = 5484, + [SMALL_STATE(258)] = 5500, + [SMALL_STATE(259)] = 5516, + [SMALL_STATE(260)] = 5532, + [SMALL_STATE(261)] = 5548, + [SMALL_STATE(262)] = 5562, + [SMALL_STATE(263)] = 5578, + [SMALL_STATE(264)] = 5592, + [SMALL_STATE(265)] = 5608, + [SMALL_STATE(266)] = 5624, + [SMALL_STATE(267)] = 5640, + [SMALL_STATE(268)] = 5656, + [SMALL_STATE(269)] = 5670, + [SMALL_STATE(270)] = 5684, + [SMALL_STATE(271)] = 5698, + [SMALL_STATE(272)] = 5714, + [SMALL_STATE(273)] = 5728, + [SMALL_STATE(274)] = 5742, + [SMALL_STATE(275)] = 5756, + [SMALL_STATE(276)] = 5772, + [SMALL_STATE(277)] = 5783, + [SMALL_STATE(278)] = 5794, + [SMALL_STATE(279)] = 5807, + [SMALL_STATE(280)] = 5820, + [SMALL_STATE(281)] = 5831, + [SMALL_STATE(282)] = 5842, + [SMALL_STATE(283)] = 5855, + [SMALL_STATE(284)] = 5868, + [SMALL_STATE(285)] = 5881, + [SMALL_STATE(286)] = 5894, + [SMALL_STATE(287)] = 5907, + [SMALL_STATE(288)] = 5918, + [SMALL_STATE(289)] = 5931, + [SMALL_STATE(290)] = 5944, + [SMALL_STATE(291)] = 5955, + [SMALL_STATE(292)] = 5968, + [SMALL_STATE(293)] = 5981, + [SMALL_STATE(294)] = 5994, + [SMALL_STATE(295)] = 6005, + [SMALL_STATE(296)] = 6016, + [SMALL_STATE(297)] = 6029, + [SMALL_STATE(298)] = 6042, + [SMALL_STATE(299)] = 6055, + [SMALL_STATE(300)] = 6066, + [SMALL_STATE(301)] = 6079, + [SMALL_STATE(302)] = 6092, + [SMALL_STATE(303)] = 6103, + [SMALL_STATE(304)] = 6114, + [SMALL_STATE(305)] = 6125, + [SMALL_STATE(306)] = 6138, + [SMALL_STATE(307)] = 6149, + [SMALL_STATE(308)] = 6162, + [SMALL_STATE(309)] = 6173, + [SMALL_STATE(310)] = 6184, + [SMALL_STATE(311)] = 6197, + [SMALL_STATE(312)] = 6207, + [SMALL_STATE(313)] = 6217, + [SMALL_STATE(314)] = 6227, + [SMALL_STATE(315)] = 6237, + [SMALL_STATE(316)] = 6247, + [SMALL_STATE(317)] = 6257, + [SMALL_STATE(318)] = 6267, + [SMALL_STATE(319)] = 6277, + [SMALL_STATE(320)] = 6287, + [SMALL_STATE(321)] = 6297, + [SMALL_STATE(322)] = 6307, + [SMALL_STATE(323)] = 6317, + [SMALL_STATE(324)] = 6327, + [SMALL_STATE(325)] = 6337, + [SMALL_STATE(326)] = 6347, + [SMALL_STATE(327)] = 6357, + [SMALL_STATE(328)] = 6367, + [SMALL_STATE(329)] = 6377, + [SMALL_STATE(330)] = 6387, + [SMALL_STATE(331)] = 6397, + [SMALL_STATE(332)] = 6407, + [SMALL_STATE(333)] = 6417, + [SMALL_STATE(334)] = 6427, + [SMALL_STATE(335)] = 6437, + [SMALL_STATE(336)] = 6447, + [SMALL_STATE(337)] = 6457, + [SMALL_STATE(338)] = 6467, + [SMALL_STATE(339)] = 6477, + [SMALL_STATE(340)] = 6487, + [SMALL_STATE(341)] = 6497, + [SMALL_STATE(342)] = 6507, + [SMALL_STATE(343)] = 6517, + [SMALL_STATE(344)] = 6527, + [SMALL_STATE(345)] = 6537, + [SMALL_STATE(346)] = 6547, + [SMALL_STATE(347)] = 6557, + [SMALL_STATE(348)] = 6567, + [SMALL_STATE(349)] = 6577, + [SMALL_STATE(350)] = 6587, + [SMALL_STATE(351)] = 6597, + [SMALL_STATE(352)] = 6607, + [SMALL_STATE(353)] = 6617, + [SMALL_STATE(354)] = 6627, + [SMALL_STATE(355)] = 6637, + [SMALL_STATE(356)] = 6647, + [SMALL_STATE(357)] = 6657, + [SMALL_STATE(358)] = 6667, + [SMALL_STATE(359)] = 6677, + [SMALL_STATE(360)] = 6687, + [SMALL_STATE(361)] = 6697, + [SMALL_STATE(362)] = 6707, + [SMALL_STATE(363)] = 6717, + [SMALL_STATE(364)] = 6727, + [SMALL_STATE(365)] = 6737, + [SMALL_STATE(366)] = 6747, + [SMALL_STATE(367)] = 6757, + [SMALL_STATE(368)] = 6767, + [SMALL_STATE(369)] = 6777, + [SMALL_STATE(370)] = 6787, + [SMALL_STATE(371)] = 6797, + [SMALL_STATE(372)] = 6807, + [SMALL_STATE(373)] = 6817, + [SMALL_STATE(374)] = 6827, + [SMALL_STATE(375)] = 6837, + [SMALL_STATE(376)] = 6847, + [SMALL_STATE(377)] = 6857, + [SMALL_STATE(378)] = 6867, + [SMALL_STATE(379)] = 6877, + [SMALL_STATE(380)] = 6887, + [SMALL_STATE(381)] = 6897, + [SMALL_STATE(382)] = 6907, + [SMALL_STATE(383)] = 6917, + [SMALL_STATE(384)] = 6927, + [SMALL_STATE(385)] = 6937, + [SMALL_STATE(386)] = 6947, + [SMALL_STATE(387)] = 6957, + [SMALL_STATE(388)] = 6967, + [SMALL_STATE(389)] = 6977, + [SMALL_STATE(390)] = 6987, + [SMALL_STATE(391)] = 6997, + [SMALL_STATE(392)] = 7007, + [SMALL_STATE(393)] = 7017, + [SMALL_STATE(394)] = 7027, + [SMALL_STATE(395)] = 7037, }; 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}}, SHIFT(343), - [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(395), + [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347), [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), - [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), - [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), - [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), - [47] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), - [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(59), - [54] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(7), - [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(9), - [60] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(58), - [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(92), - [66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(94), - [69] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(34), - [72] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(38), - [75] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(10), - [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(65), - [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(160), - [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(159), - [87] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(299), - [90] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(4), - [93] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(154), - [96] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(70), - [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(246), - [102] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(297), - [105] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(296), - [108] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(291), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(119), - [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_pair, 2, .production_id = 1), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [125] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_env_pair, 2, .production_id = 1), - [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), - [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), - [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unquoted_string, 1), - [145] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unquoted_string, 1), - [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2), - [149] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2), SHIFT_REPEAT(172), - [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_unquoted_string_repeat1, 2), - [154] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2), SHIFT_REPEAT(60), - [157] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat1, 2), SHIFT_REPEAT(253), - [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_run_instruction_repeat1, 2), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat1, 2), - [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_name, 2), - [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_name, 2), - [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), - [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_name_repeat1, 2), - [174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_name_repeat1, 2), - [176] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_name_repeat1, 2), SHIFT_REPEAT(227), - [179] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_image_name_repeat1, 2), SHIFT_REPEAT(85), - [182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_name, 1), - [184] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_name, 1), - [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__user_name_or_group, 2), - [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_instruction_repeat1, 2), - [194] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 2), SHIFT_REPEAT(275), - [197] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 2), SHIFT_REPEAT(45), - [200] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 2), SHIFT_REPEAT(116), - [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), - [205] = {.entry = {.count = 1, .reusable = false}}, SHIFT(240), - [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [209] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), - [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mount_param, 4, .production_id = 13), - [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), - [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_mount_param, 4, .production_id = 13), - [217] = {.entry = {.count = 1, .reusable = false}}, SHIFT(162), - [219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), - [221] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), - [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342), - [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__user_name_or_group, 1), - [229] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2), SHIFT_REPEAT(213), - [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2), - [234] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2), SHIFT_REPEAT(111), - [237] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2), SHIFT_REPEAT(111), - [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mount_param, 5, .production_id = 15), - [242] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_mount_param, 5, .production_id = 15), - [244] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2), SHIFT_REPEAT(171), - [247] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2), SHIFT_REPEAT(100), - [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mount_param_repeat1, 2), - [252] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mount_param_repeat1, 2), SHIFT_REPEAT(262), - [255] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_mount_param_repeat1, 2), - [257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 2), - [259] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 2), SHIFT_REPEAT(134), - [262] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 2), SHIFT_REPEAT(184), - [265] = {.entry = {.count = 1, .reusable = false}}, SHIFT(238), - [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_tag_repeat1, 2), - [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_tag_repeat1, 2), - [271] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_tag_repeat1, 2), SHIFT_REPEAT(175), - [274] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_image_tag_repeat1, 2), SHIFT_REPEAT(105), - [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_tag, 2), - [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_tag, 2), - [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), - [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_instruction, 2), - [287] = {.entry = {.count = 1, .reusable = false}}, SHIFT(275), - [289] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), - [291] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), - [293] = {.entry = {.count = 1, .reusable = false}}, SHIFT(324), - [295] = {.entry = {.count = 1, .reusable = false}}, SHIFT(280), - [297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__immediate_expansion, 1), - [299] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__immediate_expansion, 1), - [301] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_user_instruction, 4, .production_id = 11), - [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__imm_expansion, 2), - [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__imm_expansion, 2), - [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat1, 2), - [309] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat1, 2), SHIFT_REPEAT(281), - [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path, 2), - [314] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), - [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 2), - [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_digest_repeat1, 2), - [322] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 2), SHIFT_REPEAT(173), - [325] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 2), SHIFT_REPEAT(150), - [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_digest, 2), - [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_digest, 2), - [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [336] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path, 1), - [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2), - [340] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2), SHIFT_REPEAT(144), - [343] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2), SHIFT_REPEAT(188), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mount_param_param, 3), - [348] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_mount_param_param, 3), - [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expansion_body, 1), - [352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expansion_body, 1), - [354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), - [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), - [362] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22), - [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), - [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 1), - [368] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_unquoted_string_repeat1, 1), - [370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expansion_body, 3), - [372] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expansion_body, 3), - [374] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 2), - [376] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 2), SHIFT_REPEAT(134), - [379] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 2), SHIFT_REPEAT(184), - [382] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expose_instruction, 2), - [384] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), - [386] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), - [388] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), - [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [392] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2), SHIFT_REPEAT(214), - [395] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2), SHIFT_REPEAT(190), - [398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2), - [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 2), - [402] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 2), SHIFT_REPEAT(204), - [405] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 2), SHIFT_REPEAT(177), - [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_alias, 2), - [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), - [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), - [418] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_alias, 1), - [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 1, .production_id = 1), - [422] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 1, .production_id = 1), - [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__stopsignal_value, 2), - [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__stopsignal_value, 1), - [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 2), - [438] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 2), SHIFT_REPEAT(170), - [441] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 2), SHIFT_REPEAT(186), - [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat1, 1), - [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_run_instruction_repeat1, 1), - [448] = {.entry = {.count = 1, .reusable = false}}, SHIFT(214), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path, 2), - [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expose_instruction_repeat1, 2), - [456] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_expose_instruction_repeat1, 2), SHIFT_REPEAT(192), - [459] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_expose_instruction_repeat1, 2), SHIFT_REPEAT(109), - [462] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2), SHIFT_REPEAT(228), - [465] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2), SHIFT_REPEAT(182), - [468] = {.entry = {.count = 1, .reusable = false}}, SHIFT(228), - [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expansion, 2), - [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expansion, 2), - [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path, 1), - [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_name_repeat1, 1), - [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_name_repeat1, 1), - [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param, 4, .production_id = 13), - [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_param, 4, .production_id = 13), - [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_instruction, 2), - [488] = {.entry = {.count = 1, .reusable = false}}, SHIFT(268), - [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), - [496] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_single_quoted_string_repeat1, 2), SHIFT_REPEAT(138), - [499] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_single_quoted_string_repeat1, 2), - [501] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_single_quoted_string_repeat1, 2), SHIFT_REPEAT(138), - [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), - [506] = {.entry = {.count = 1, .reusable = false}}, SHIFT(234), - [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [510] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163), - [512] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_tag_repeat1, 1), - [514] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_tag_repeat1, 1), - [516] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), - [518] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_fragment_repeat1, 2), - [520] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_shell_fragment_repeat1, 2), SHIFT_REPEAT(108), - [523] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_fragment_repeat1, 2), - [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expose_port, 1), - [527] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expose_port, 1), - [529] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216), - [531] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_double_quoted_string_repeat1, 1), - [533] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_double_quoted_string_repeat1, 1), - [535] = {.entry = {.count = 1, .reusable = false}}, SHIFT(322), - [537] = {.entry = {.count = 1, .reusable = false}}, SHIFT(273), - [539] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_fragment, 1), - [541] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), - [543] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_shell_fragment, 1), - [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_env_instruction_repeat1, 2), - [547] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_env_instruction_repeat1, 2), SHIFT_REPEAT(268), - [550] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat2, 2), SHIFT_REPEAT(87), - [553] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat2, 2), SHIFT_REPEAT(189), - [556] = {.entry = {.count = 1, .reusable = false}}, SHIFT(239), - [558] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat1, 2), - [560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 2), - [562] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 2), SHIFT_REPEAT(342), - [565] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_json_string_repeat1, 2), - [567] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_json_string_repeat1, 2), SHIFT_REPEAT(187), - [570] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat1, 1), - [572] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_double_quoted_string, 2), - [574] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_double_quoted_string, 2), - [576] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__immediate_user_name_or_group_fragment, 1), - [578] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 1), - [580] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_quoted_string, 2), - [582] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_quoted_string, 2), - [584] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_single_quoted_string_repeat1, 1), - [586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_single_quoted_string_repeat1, 1), - [588] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_instruction_repeat1, 1), - [590] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 1), - [592] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 1), - [594] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 1), - [596] = {.entry = {.count = 1, .reusable = false}}, SHIFT(249), - [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), - [600] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_required_line_continuation, 1), - [602] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__comment_line, 2), - [604] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 1), - [606] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_digest_repeat1, 1), - [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), - [616] = {.entry = {.count = 1, .reusable = false}}, SHIFT(254), - [618] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 2), SHIFT_REPEAT(295), - [621] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), - [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_double_quoted_string, 3), - [631] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_double_quoted_string, 3), - [633] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_quoted_string, 3), - [635] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_quoted_string, 3), - [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 2, .production_id = 5), - [639] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 2, .production_id = 5), - [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_pair, 3, .production_id = 9), - [643] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_pair, 3, .production_id = 9), - [645] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_command, 3), - [647] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), - [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), - [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), - [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341), - [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340), - [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), - [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), - [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), - [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), - [673] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_volume_instruction_repeat1, 2), - [675] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_volume_instruction_repeat1, 2), SHIFT_REPEAT(132), - [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), - [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), - [686] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 1), - [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), - [690] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [692] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), - [694] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [696] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 1), - [698] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_json_string_repeat1, 1), - [700] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_json_string_repeat1, 1), - [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), - [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327), - [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), - [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), - [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [718] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_command, 1), - [720] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_json_string_array_repeat1, 2), SHIFT_REPEAT(244), - [723] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_json_string_array_repeat1, 2), - [725] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expose_instruction_repeat1, 1), - [727] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expose_instruction_repeat1, 1), - [729] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat1, 1), - [731] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 1), - [733] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 1), - [735] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_volume_instruction, 3), - [737] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132), - [739] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_volume_instruction, 2), - [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), - [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [745] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expose_port, 2), - [747] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expose_port, 2), - [749] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat2, 2), - [751] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat2, 2), SHIFT_REPEAT(148), - [754] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_command, 2), - [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287), - [758] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_copy_instruction, 3), - [760] = {.entry = {.count = 1, .reusable = false}}, SHIFT(259), - [762] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_add_instruction, 4), - [764] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 2, .production_id = 6), - [766] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 2, .production_id = 6), - [768] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 3), - [770] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), - [772] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_pair, 3, .production_id = 10), - [774] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_env_pair, 3, .production_id = 10), - [776] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_copy_instruction, 4), - [778] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 3, .production_id = 8), - [780] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 3, .production_id = 8), - [782] = {.entry = {.count = 1, .reusable = false}}, SHIFT(293), - [784] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string, 2), - [786] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_instruction, 2, .production_id = 4), - [788] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [790] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 2), - [792] = {.entry = {.count = 1, .reusable = false}}, SHIFT(165), - [794] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_user_instruction, 2, .production_id = 3), - [796] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [798] = {.entry = {.count = 1, .reusable = false}}, SHIFT(305), - [800] = {.entry = {.count = 1, .reusable = false}}, SHIFT(320), - [802] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string, 3), - [804] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__env_key, 1), - [806] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_env_instruction_repeat1, 1), - [808] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_env_instruction_repeat1, 1), - [810] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat2, 2), - [812] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat2, 2), - [814] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [816] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [818] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_add_instruction, 3), - [820] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat2, 3), - [822] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat2, 3), - [824] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_run_instruction, 3), - [826] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), - [828] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_healthcheck_instruction, 3), - [830] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), - [832] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [834] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_instruction, 2, .production_id = 2), - [836] = {.entry = {.count = 1, .reusable = false}}, SHIFT(245), - [838] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_instruction, 2), - [840] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [842] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cmd_instruction, 2), - [844] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [846] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string_array, 4), - [848] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [850] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313), - [852] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 4, .production_id = 7), - [854] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_run_instruction, 2), - [856] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_volume_instruction, 2), - [858] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_workdir_instruction, 2), - [860] = {.entry = {.count = 1, .reusable = false}}, SHIFT(311), - [862] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string_array, 3), - [864] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_onbuild_instruction, 2), - [866] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__instruction, 1), - [868] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [870] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [872] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), - [874] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [876] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 5, .production_id = 14), - [878] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), - [880] = {.entry = {.count = 1, .reusable = false}}, SHIFT(307), - [882] = {.entry = {.count = 1, .reusable = false}}, SHIFT(306), - [884] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_healthcheck_instruction, 2), - [886] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), - [888] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), - [890] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223), - [892] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), - [894] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_stopsignal_instruction, 2), - [896] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entrypoint_instruction, 2), - [898] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), - [900] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_maintainer_instruction, 2), - [902] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cross_build_instruction, 2), - [904] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [906] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_instruction, 4, .production_id = 12), - [908] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat2, 2), - [910] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [912] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string_array, 2), - [914] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__anon_comment, 2), - [916] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), - [918] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269), - [920] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), - [922] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [924] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__spaced_env_pair, 3, .production_id = 10), - [926] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), - [928] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), - [930] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [932] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [934] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [936] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [938] = {.entry = {.count = 1, .reusable = false}}, SHIFT(292), - [940] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248), - [942] = {.entry = {.count = 1, .reusable = false}}, SHIFT(300), - [944] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), - [946] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), - [948] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), - [950] = {.entry = {.count = 1, .reusable = false}}, SHIFT(308), - [952] = {.entry = {.count = 1, .reusable = true}}, SHIFT(316), - [954] = {.entry = {.count = 1, .reusable = false}}, SHIFT(314), - [956] = {.entry = {.count = 1, .reusable = false}}, SHIFT(317), - [958] = {.entry = {.count = 1, .reusable = false}}, SHIFT(319), - [960] = {.entry = {.count = 1, .reusable = false}}, SHIFT(321), - [962] = {.entry = {.count = 1, .reusable = false}}, SHIFT(323), - [964] = {.entry = {.count = 1, .reusable = false}}, SHIFT(325), - [966] = {.entry = {.count = 1, .reusable = false}}, SHIFT(326), - [968] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), - [970] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_line_continuation, 1), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), + [47] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0), + [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), + [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(66), + [54] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(6), + [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(9), + [60] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(61), + [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(112), + [66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(113), + [69] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(24), + [72] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(25), + [75] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(8), + [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(64), + [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(199), + [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(114), + [87] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(347), + [90] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(4), + [93] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(197), + [96] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(101), + [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(282), + [102] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(345), + [105] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(344), + [108] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(338), + [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), + [123] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), + [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), + [131] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_pair, 2, 0, 1), + [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_env_pair, 2, 0, 1), + [137] = {.entry = {.count = 1, .reusable = false}}, SHIFT(395), + [139] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [141] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), + [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), + [147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_run_instruction_repeat1, 2, 0, 0), + [155] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(285), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat1, 2, 0, 0), + [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_mount_param, 4, 0, 13), + [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mount_param, 4, 0, 13), + [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), + [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2, 0, 0), + [168] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(222), + [171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_unquoted_string_repeat1, 2, 0, 0), + [173] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(60), + [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), + [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), + [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(394), + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), + [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_mount_param_repeat1, 2, 0, 0), + [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mount_param_repeat1, 2, 0, 0), + [190] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mount_param_repeat1, 2, 0, 0), SHIFT_REPEAT(297), + [193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unquoted_string, 1, 0, 0), + [195] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unquoted_string, 1, 0, 0), + [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_mount_param, 5, 0, 15), + [199] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mount_param, 5, 0, 15), + [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_name, 1, 0, 0), + [203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_name, 1, 0, 0), + [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [207] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), + [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_name, 2, 0, 0), + [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_name, 2, 0, 0), + [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_name_repeat1, 2, 0, 0), + [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_name_repeat1, 2, 0, 0), + [217] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_name_repeat1, 2, 0, 0), SHIFT_REPEAT(248), + [220] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_image_name_repeat1, 2, 0, 0), SHIFT_REPEAT(88), + [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_mount_param_param, 3, 0, 0), + [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mount_param_param, 3, 0, 0), + [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat1, 2, 0, 0), + [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat1, 2, 0, 0), + [231] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat1, 2, 0, 0), SHIFT_REPEAT(324), + [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(162), + [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190), + [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_run_instruction_repeat1, 1, 0, 0), + [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat1, 1, 0, 0), + [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(366), + [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_instruction_repeat1, 2, 0, 0), + [252] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(320), + [255] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(46), + [258] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(139), + [261] = {.entry = {.count = 1, .reusable = false}}, SHIFT(292), + [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_fragment, 1, 0, 0), + [265] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45), + [267] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_shell_fragment, 1, 0, 0), + [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), + [271] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(126), + [274] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(210), + [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), + [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_fragment_repeat1, 2, 0, 0), + [281] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_shell_fragment_repeat1, 2, 0, 0), SHIFT_REPEAT(45), + [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_fragment_repeat1, 2, 0, 0), + [286] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shell_fragment_repeat1, 2, 0, 0), SHIFT_REPEAT(328), + [289] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), + [291] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(238), + [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2, 0, 0), + [296] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(118), + [299] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_double_quoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(118), + [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path_with_heredoc, 1, 0, 0), + [304] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), + [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path_with_heredoc, 1, 0, 0), + [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_instruction, 2, 0, 0), + [312] = {.entry = {.count = 1, .reusable = false}}, SHIFT(320), + [314] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), + [316] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__user_name_or_group, 2, 0, 0), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 2, 0, 0), + [326] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 2, 0, 0), SHIFT_REPEAT(169), + [329] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 2, 0, 0), SHIFT_REPEAT(253), + [332] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(211), + [335] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(130), + [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__user_name_or_group, 1, 0, 0), + [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_tag_repeat1, 2, 0, 0), + [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_tag_repeat1, 2, 0, 0), + [344] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(231), + [347] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_image_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(150), + [350] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path_with_heredoc, 2, 0, 0), + [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path_with_heredoc, 2, 0, 0), + [354] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_param, 4, 0, 13), + [356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param, 4, 0, 13), + [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_tag, 2, 0, 0), + [360] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_tag, 2, 0, 0), + [362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), + [364] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), + [366] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), + [368] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), + [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_unquoted_string_repeat1, 1, 0, 0), + [378] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_unquoted_string_repeat1, 1, 0, 0), + [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_digest, 2, 0, 0), + [388] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_digest, 2, 0, 0), + [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [394] = {.entry = {.count = 1, .reusable = false}}, SHIFT(67), + [396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), + [402] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), + [406] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path, 1, 0, 0), + [408] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), + [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), + [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path, 1, 0, 0), + [414] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__immediate_expansion, 1, 0, 0), + [416] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__immediate_expansion, 1, 0, 0), + [418] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(157), + [421] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(259), + [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__imm_expansion, 2, 0, 0), + [426] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__imm_expansion, 2, 0, 0), + [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_user_instruction, 4, 0, 11), + [430] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_shell_fragment_repeat1, 2, 0, 0), SHIFT_REPEAT(72), + [433] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shell_fragment_repeat1, 2, 0, 0), SHIFT_REPEAT(332), + [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 2, 0, 0), + [438] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 2, 0, 0), SHIFT_REPEAT(169), + [441] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 2, 0, 0), SHIFT_REPEAT(253), + [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expansion_body, 3, 0, 0), + [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expansion_body, 3, 0, 0), + [448] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat1, 2, 0, 0), + [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 2, 0, 0), + [452] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(394), + [455] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expansion_body, 1, 0, 0), + [457] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expansion_body, 1, 0, 0), + [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 2, 0, 0), + [461] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_digest_repeat1, 2, 0, 0), + [463] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 2, 0, 0), SHIFT_REPEAT(226), + [466] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 2, 0, 0), SHIFT_REPEAT(158), + [469] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_path, 2, 0, 0), + [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_path, 2, 0, 0), + [473] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), + [475] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat2, 2, 0, 0), SHIFT_REPEAT(109), + [478] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat2, 2, 0, 0), SHIFT_REPEAT(109), + [481] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat2, 2, 0, 0), SHIFT_REPEAT(262), + [484] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat2, 2, 0, 0), SHIFT_REPEAT(354), + [487] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__stopsignal_value, 2, 0, 0), + [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), + [493] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expose_instruction_repeat1, 2, 0, 0), + [495] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_expose_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(257), + [498] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_expose_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(110), + [501] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expansion, 2, 0, 0), + [503] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expansion, 2, 0, 0), + [505] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_alias, 1, 0, 0), + [507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), + [509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), + [511] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_name_repeat1, 1, 0, 0), + [513] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_name_repeat1, 1, 0, 0), + [515] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 1, 0, 1), + [517] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 1, 0, 1), + [519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [523] = {.entry = {.count = 1, .reusable = false}}, SHIFT(273), + [525] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), + [527] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220), + [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), + [531] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 2, 0, 0), + [533] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 2, 0, 0), SHIFT_REPEAT(207), + [536] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 2, 0, 0), SHIFT_REPEAT(209), + [539] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(220), + [542] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(264), + [545] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat1, 1, 0, 0), + [547] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat1, 1, 0, 0), + [549] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__stopsignal_value, 1, 0, 0), + [551] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expose_instruction, 2, 0, 0), + [553] = {.entry = {.count = 1, .reusable = false}}, SHIFT(257), + [555] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110), + [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), + [561] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 2, 0, 0), + [563] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 2, 0, 0), SHIFT_REPEAT(255), + [566] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 2, 0, 0), SHIFT_REPEAT(241), + [569] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(273), + [572] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 2, 0, 0), SHIFT_REPEAT(250), + [575] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_required_line_continuation, 1, 0, 0), + [577] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_required_line_continuation, 1, 0, 0), + [579] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_alias, 2, 0, 0), + [581] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__comment_line, 2, 0, 0), + [583] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__comment_line, 2, 0, 0), + [585] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expose_port, 1, 0, 0), + [587] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expose_port, 1, 0, 0), + [589] = {.entry = {.count = 1, .reusable = false}}, SHIFT(261), + [591] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat1, 1, 0, 0), + [593] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 1, 0, 0), + [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257), + [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), + [601] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), + [607] = {.entry = {.count = 1, .reusable = false}}, SHIFT(195), + [609] = {.entry = {.count = 1, .reusable = false}}, SHIFT(293), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [613] = {.entry = {.count = 1, .reusable = false}}, SHIFT(278), + [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_double_quoted_string_repeat1, 1, 0, 0), + [617] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_double_quoted_string_repeat1, 1, 0, 0), + [619] = {.entry = {.count = 1, .reusable = false}}, SHIFT(194), + [621] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [623] = {.entry = {.count = 1, .reusable = false}}, SHIFT(367), + [625] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_copy_instruction, 4, 0, 0), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [631] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_add_instruction, 4, 0, 0), + [633] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_path_repeat1, 1, 0, 0), + [635] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_path_repeat1, 1, 0, 0), + [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_env_instruction_repeat1, 2, 0, 0), + [639] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_env_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(364), + [642] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_single_quoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(195), + [645] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_single_quoted_string_repeat1, 2, 0, 0), + [647] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_single_quoted_string_repeat1, 2, 0, 0), SHIFT_REPEAT(195), + [650] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_add_instruction, 3, 0, 0), + [652] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_copy_instruction, 3, 0, 0), + [654] = {.entry = {.count = 1, .reusable = false}}, SHIFT(346), + [656] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_instruction, 2, 0, 0), + [658] = {.entry = {.count = 1, .reusable = false}}, SHIFT(364), + [660] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_tag_repeat1, 1, 0, 0), + [662] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_tag_repeat1, 1, 0, 0), + [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [668] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_command, 1, 0, 0), + [670] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), + [672] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_digest_repeat1, 1, 0, 0), + [674] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_image_digest_repeat1, 1, 0, 0), + [676] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_quoted_string, 2, 0, 0), + [678] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_quoted_string, 2, 0, 0), + [680] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_double_quoted_string, 2, 0, 0), + [682] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_double_quoted_string, 2, 0, 0), + [684] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_command, 2, 0, 0), + [686] = {.entry = {.count = 1, .reusable = false}}, SHIFT(309), + [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), + [690] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__user_name_or_group_repeat1, 1, 0, 0), + [692] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__immediate_user_name_or_group_fragment, 1, 0, 0), + [694] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_instruction_repeat1, 1, 0, 0), + [696] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_label_instruction_repeat1, 1, 0, 0), + [698] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat2, 2, 0, 0), + [700] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat2, 2, 0, 0), SHIFT_REPEAT(275), + [703] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat2, 2, 0, 0), + [705] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat2, 2, 0, 0), SHIFT_REPEAT(106), + [708] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_run_instruction, 4, 0, 0), + [710] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_command, 3, 0, 0), + [712] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_pair, 3, 0, 9), + [714] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_pair, 3, 0, 9), + [716] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(356), + [719] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_run_instruction, 2, 0, 0), + [721] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_run_instruction, 3, 0, 0), + [723] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_add_instruction_repeat2, 2, 0, 0), + [725] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_add_instruction_repeat2, 2, 0, 0), + [727] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 2, 0, 5), + [729] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 2, 0, 5), + [731] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_add_instruction, 4, 0, 0), + [733] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_double_quoted_string, 3, 0, 0), + [735] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_double_quoted_string, 3, 0, 0), + [737] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_copy_instruction, 4, 0, 0), + [739] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_copy_instruction, 5, 0, 0), + [741] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_single_quoted_string, 3, 0, 0), + [743] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_single_quoted_string, 3, 0, 0), + [745] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_single_quoted_string_repeat1, 1, 0, 0), + [747] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_single_quoted_string_repeat1, 1, 0, 0), + [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), + [753] = {.entry = {.count = 1, .reusable = false}}, SHIFT(290), + [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), + [759] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_add_instruction, 5, 0, 0), + [761] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_json_string_repeat1, 2, 0, 0), + [763] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_json_string_repeat1, 2, 0, 0), SHIFT_REPEAT(245), + [766] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__immediate_user_name_or_group, 1, 0, 0), + [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(389), + [770] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [776] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_image_alias_repeat1, 1, 0, 0), + [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(388), + [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [782] = {.entry = {.count = 1, .reusable = true}}, SHIFT(393), + [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [786] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expose_instruction_repeat1, 1, 0, 0), + [788] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expose_instruction_repeat1, 1, 0, 0), + [790] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_json_string_array_repeat1, 2, 0, 0), SHIFT_REPEAT(291), + [793] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_json_string_array_repeat1, 2, 0, 0), + [795] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_volume_instruction, 2, 0, 0), + [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [799] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_heredoc_block_repeat1, 2, 0, 0), SHIFT_REPEAT(363), + [802] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_heredoc_block_repeat1, 2, 0, 0), + [804] = {.entry = {.count = 1, .reusable = true}}, SHIFT(392), + [806] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [808] = {.entry = {.count = 1, .reusable = true}}, SHIFT(391), + [810] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [812] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363), + [814] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), + [816] = {.entry = {.count = 1, .reusable = true}}, SHIFT(390), + [818] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [820] = {.entry = {.count = 1, .reusable = true}}, SHIFT(386), + [822] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), + [824] = {.entry = {.count = 1, .reusable = true}}, SHIFT(387), + [826] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [828] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [830] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304), + [832] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_json_string_repeat1, 1, 0, 0), + [834] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_json_string_repeat1, 1, 0, 0), + [836] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331), + [838] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [840] = {.entry = {.count = 1, .reusable = true}}, SHIFT(385), + [842] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [844] = {.entry = {.count = 1, .reusable = true}}, SHIFT(384), + [846] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [848] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_volume_instruction_repeat1, 2, 0, 0), + [850] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_volume_instruction_repeat1, 2, 0, 0), SHIFT_REPEAT(140), + [853] = {.entry = {.count = 1, .reusable = true}}, SHIFT(382), + [855] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), + [857] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__stopsignal_value_repeat1, 1, 0, 0), + [859] = {.entry = {.count = 1, .reusable = true}}, SHIFT(378), + [861] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [863] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_volume_instruction, 3, 0, 0), + [865] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361), + [867] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expose_port, 2, 0, 0), + [869] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expose_port, 2, 0, 0), + [871] = {.entry = {.count = 1, .reusable = true}}, SHIFT(380), + [873] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), + [875] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342), + [877] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), + [879] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [881] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [883] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string_array, 3, 0, 0), + [885] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string_array, 2, 0, 0), + [887] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_run_instruction_repeat2, 1, 0, 0), + [889] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 3, 0, 0), + [891] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161), + [893] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 2, 0, 6), + [895] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 2, 0, 6), + [897] = {.entry = {.count = 1, .reusable = false}}, SHIFT(379), + [899] = {.entry = {.count = 1, .reusable = false}}, SHIFT(334), + [901] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_image_spec, 3, 0, 8), + [903] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_image_spec, 3, 0, 8), + [905] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 2, 0, 0), + [907] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), + [909] = {.entry = {.count = 1, .reusable = false}}, SHIFT(373), + [911] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string, 2, 0, 0), + [913] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_heredoc_block, 2, 0, 0), + [915] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat2, 2, 0, 0), + [917] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_pair, 3, 0, 10), + [919] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_env_pair, 3, 0, 10), + [921] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_volume_instruction_repeat1, 2, 0, 0), + [923] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shell_command_repeat2, 3, 0, 0), + [925] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_shell_command_repeat2, 3, 0, 0), + [927] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_instruction, 2, 0, 4), + [929] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [931] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_user_instruction, 2, 0, 3), + [933] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [935] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_heredoc_block, 3, 0, 0), + [937] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string_array, 4, 0, 0), + [939] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [941] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [943] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_env_instruction_repeat1, 1, 0, 0), + [945] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_env_instruction_repeat1, 1, 0, 0), + [947] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__env_key, 1, 0, 0), + [949] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_json_string, 3, 0, 0), + [951] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_healthcheck_instruction, 3, 0, 0), + [953] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_stopsignal_instruction, 2, 0, 0), + [955] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_workdir_instruction, 2, 0, 0), + [957] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_env_instruction, 2, 0, 2), + [959] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shell_instruction, 2, 0, 0), + [961] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_volume_instruction, 2, 0, 0), + [963] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_healthcheck_instruction, 2, 0, 0), + [965] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_onbuild_instruction, 2, 0, 0), + [967] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [969] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cmd_instruction, 2, 0, 0), + [971] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [973] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entrypoint_instruction, 2, 0, 0), + [975] = {.entry = {.count = 1, .reusable = false}}, SHIFT(336), + [977] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_instruction, 4, 0, 12), + [979] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_maintainer_instruction, 2, 0, 0), + [981] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [983] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cross_build_instruction, 2, 0, 0), + [985] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), + [987] = {.entry = {.count = 1, .reusable = false}}, SHIFT(357), + [989] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [991] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), + [993] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [995] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__instruction, 1, 0, 0), + [997] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__anon_comment, 2, 0, 0), + [999] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [1001] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [1003] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [1005] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), + [1007] = {.entry = {.count = 1, .reusable = false}}, SHIFT(329), + [1009] = {.entry = {.count = 1, .reusable = false}}, SHIFT(327), + [1011] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [1013] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), + [1015] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), + [1017] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [1019] = {.entry = {.count = 1, .reusable = false}}, SHIFT(287), + [1021] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [1023] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383), + [1025] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [1027] = {.entry = {.count = 1, .reusable = false}}, SHIFT(310), + [1029] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [1031] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 4, 0, 7), + [1033] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), + [1035] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [1037] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [1039] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [1041] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__spaced_env_pair, 3, 0, 10), + [1043] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), + [1045] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [1047] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [1049] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371), + [1051] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [1053] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_instruction, 5, 0, 14), + [1055] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [1057] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [1059] = {.entry = {.count = 1, .reusable = false}}, SHIFT(339), + [1061] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340), + [1063] = {.entry = {.count = 1, .reusable = false}}, SHIFT(348), + [1065] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349), + [1067] = {.entry = {.count = 1, .reusable = false}}, SHIFT(351), + [1069] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), + [1071] = {.entry = {.count = 1, .reusable = false}}, SHIFT(355), + [1073] = {.entry = {.count = 1, .reusable = false}}, SHIFT(359), + [1075] = {.entry = {.count = 1, .reusable = false}}, SHIFT(362), + [1077] = {.entry = {.count = 1, .reusable = false}}, SHIFT(365), + [1079] = {.entry = {.count = 1, .reusable = false}}, SHIFT(368), + [1081] = {.entry = {.count = 1, .reusable = false}}, SHIFT(370), + [1083] = {.entry = {.count = 1, .reusable = false}}, SHIFT(372), + [1085] = {.entry = {.count = 1, .reusable = false}}, SHIFT(374), + [1087] = {.entry = {.count = 1, .reusable = false}}, SHIFT(376), + [1089] = {.entry = {.count = 1, .reusable = false}}, SHIFT(377), + [1091] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381), + [1093] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_line_continuation, 1, 0, 0), +}; + +enum ts_external_scanner_symbol_identifiers { + ts_external_token_heredoc_marker = 0, + ts_external_token_heredoc_line = 1, + ts_external_token_heredoc_end = 2, + ts_external_token_heredoc_nl = 3, + ts_external_token_error_sentinel = 4, +}; + +static const TSSymbol ts_external_scanner_symbol_map[EXTERNAL_TOKEN_COUNT] = { + [ts_external_token_heredoc_marker] = sym_heredoc_marker, + [ts_external_token_heredoc_line] = sym_heredoc_line, + [ts_external_token_heredoc_end] = sym_heredoc_end, + [ts_external_token_heredoc_nl] = sym_heredoc_nl, + [ts_external_token_error_sentinel] = sym_error_sentinel, +}; + +static const bool ts_external_scanner_states[6][EXTERNAL_TOKEN_COUNT] = { + [1] = { + [ts_external_token_heredoc_marker] = true, + [ts_external_token_heredoc_line] = true, + [ts_external_token_heredoc_end] = true, + [ts_external_token_heredoc_nl] = true, + [ts_external_token_error_sentinel] = true, + }, + [2] = { + [ts_external_token_heredoc_marker] = true, + }, + [3] = { + [ts_external_token_heredoc_marker] = true, + [ts_external_token_heredoc_nl] = true, + }, + [4] = { + [ts_external_token_heredoc_nl] = true, + }, + [5] = { + [ts_external_token_heredoc_line] = true, + [ts_external_token_heredoc_end] = true, + }, }; #ifdef __cplusplus extern "C" { #endif -#ifdef _WIN32 -#define extern __declspec(dllexport) +void *tree_sitter_dockerfile_external_scanner_create(void); +void tree_sitter_dockerfile_external_scanner_destroy(void *); +bool tree_sitter_dockerfile_external_scanner_scan(void *, TSLexer *, const bool *); +unsigned tree_sitter_dockerfile_external_scanner_serialize(void *, char *); +void tree_sitter_dockerfile_external_scanner_deserialize(void *, const char *, unsigned); + +#ifdef TREE_SITTER_HIDE_SYMBOLS +#define TS_PUBLIC +#elif defined(_WIN32) +#define TS_PUBLIC __declspec(dllexport) +#else +#define TS_PUBLIC __attribute__((visibility("default"))) #endif -extern const TSLanguage *tree_sitter_dockerfile(void) { +TS_PUBLIC const TSLanguage *tree_sitter_dockerfile(void) { static const TSLanguage language = { .version = LANGUAGE_VERSION, .symbol_count = SYMBOL_COUNT, @@ -8817,6 +9883,15 @@ extern const TSLanguage *tree_sitter_dockerfile(void) { .alias_sequences = &ts_alias_sequences[0][0], .lex_modes = ts_lex_modes, .lex_fn = ts_lex, + .external_scanner = { + &ts_external_scanner_states[0][0], + ts_external_scanner_symbol_map, + tree_sitter_dockerfile_external_scanner_create, + tree_sitter_dockerfile_external_scanner_destroy, + tree_sitter_dockerfile_external_scanner_scan, + tree_sitter_dockerfile_external_scanner_serialize, + tree_sitter_dockerfile_external_scanner_deserialize, + }, .primary_state_ids = ts_primary_state_ids, }; return &language; diff --git a/src/scanner.c b/src/scanner.c new file mode 100644 index 0000000..f6e93c2 --- /dev/null +++ b/src/scanner.c @@ -0,0 +1,318 @@ +#include +#include +#include +#include + +#include "tree_sitter/parser.h" + +#define MAX_HEREDOCS 10 + +typedef struct { + bool in_heredoc; + bool stripping_heredoc; + unsigned heredoc_count; + char *heredocs[MAX_HEREDOCS]; +} scanner_state; + +enum TokenType { + HEREDOC_MARKER, + HEREDOC_LINE, + HEREDOC_END, + HEREDOC_NL, + ERROR_SENTINEL, +}; + +void *tree_sitter_dockerfile_external_scanner_create() { + scanner_state *state = malloc(sizeof(scanner_state)); + memset(state, 0, sizeof(scanner_state)); + return state; +} + +void tree_sitter_dockerfile_external_scanner_destroy(void *payload) { + if (!payload) + return; + + scanner_state *state = payload; + for (unsigned i = 0; i < MAX_HEREDOCS; i++) { + if (state->heredocs[i]) { + free(state->heredocs[i]); + } + } + + free(state); +} + +unsigned tree_sitter_dockerfile_external_scanner_serialize(void *payload, + char *buffer) { + scanner_state *state = payload; + + unsigned pos = 0; + buffer[pos++] = state->in_heredoc; + buffer[pos++] = state->stripping_heredoc; + + for (unsigned i = 0; i < state->heredoc_count; i++) { + // Add the ending null byte to the length since we'll have to copy it as + // well. + unsigned len = strlen(state->heredocs[i]) + 1; + + // If we run out of space, just drop the heredocs that don't fit. + // We need at least len + 1 bytes space since we'll copy len bytes below + // and later add a null byte at the end. + if (pos + len + 1 > TREE_SITTER_SERIALIZATION_BUFFER_SIZE) { + break; + } + + memcpy(&buffer[pos], state->heredocs[i], len); + pos += len; + } + + // Add a null byte at the end to make it easy to detect. + buffer[pos++] = 0; + return pos; +} + +void tree_sitter_dockerfile_external_scanner_deserialize(void *payload, + const char *buffer, + unsigned length) { + scanner_state *state = payload; + // Free all current heredocs to avoid leaking memory when we overwrite the + // array later. + for (unsigned i = 0; i < state->heredoc_count; i++) { + free(state->heredocs[i]); + state->heredocs[i] = NULL; + } + + if (length == 0) { + state->in_heredoc = false; + state->stripping_heredoc = false; + state->heredoc_count = 0; + } else { + unsigned pos = 0; + state->in_heredoc = buffer[pos++]; + state->stripping_heredoc = buffer[pos++]; + + unsigned heredoc_count = 0; + for (unsigned i = 0; i < MAX_HEREDOCS; i++) { + unsigned len = strlen(&buffer[pos]); + + // We found the ending null byte which means that we're done. + if (len == 0) + break; + + // Account for the ending null byte in strings (again). + len++; + char *heredoc = malloc(len); + memcpy(heredoc, &buffer[pos], len); + state->heredocs[i] = heredoc; + heredoc_count++; + + pos += len; + } + + state->heredoc_count = heredoc_count; + } +} + +static void skip_whitespace(TSLexer *lexer) { + while (lexer->lookahead != '\0' && lexer->lookahead != '\n' && + iswspace(lexer->lookahead)) + lexer->advance(lexer, true); +} + +static bool scan_marker(scanner_state *state, TSLexer *lexer) { + skip_whitespace(lexer); + + if (lexer->lookahead != '<') + return false; + lexer->advance(lexer, false); + + if (lexer->lookahead != '<') + return false; + lexer->advance(lexer, false); + + bool stripping = false; + if (lexer->lookahead == '-') { + stripping = true; + lexer->advance(lexer, false); + } + + int32_t quote = 0; + if (lexer->lookahead == '"' || lexer->lookahead == '\'') { + quote = lexer->lookahead; + lexer->advance(lexer, false); + } + + // Reserve a reasonable amount of space for the heredoc delimiter string. + // Most heredocs (like EOF, EOT, EOS, FILE, etc.) are pretty short so we'll + // usually only need a few bytes. We're also limited to less than 1024 bytes + // by tree-sitter since our state has to fit in + // TREE_SITTER_SERIALIZATION_BUFFER_SIZE. + const unsigned int del_space = 512; + char delimiter[del_space]; + + // We start recording the actual string at position 1 since we store whether + // it's a stripping heredoc in the first position (with either a dash or a + // space). + unsigned del_idx = 1; + + while (lexer->lookahead != '\0' && + (quote ? lexer->lookahead != quote : !iswspace(lexer->lookahead))) { + if (lexer->lookahead == '\\') { + lexer->advance(lexer, false); + + if (lexer->lookahead == '\0') { + return false; + } + } + + if (del_idx > 0) { + delimiter[del_idx++] = lexer->lookahead; + } + lexer->advance(lexer, false); + + // If we run out of space, stop recording the delimiter but keep + // advancing the lexer to ensure that we at least parse the marker + // correctly. Reserve two bytes: one for the strip indicator and + // one for the terminating null byte. + if (del_idx >= del_space - 2) { + del_idx = 0; + } + } + + if (quote) { + if (lexer->lookahead != quote) { + return false; + } + lexer->advance(lexer, false); + } + + if (del_idx == 0) { + lexer->result_symbol = HEREDOC_MARKER; + return true; + } + + delimiter[0] = stripping ? '-' : ' '; + delimiter[del_idx] = '\0'; + + // We copy the delimiter string to the heap here since we can't store our + // stack-allocated string in our state (which is stored on the heap). + char *del_copy = malloc(del_idx + 1); + memcpy(del_copy, delimiter, del_idx + 1); + + if (state->heredoc_count == 0) { + state->heredoc_count = 1; + state->heredocs[0] = del_copy; + state->stripping_heredoc = stripping; + } else if (state->heredoc_count >= MAX_HEREDOCS) { + free(del_copy); + } else { + state->heredocs[state->heredoc_count++] = del_copy; + } + + lexer->result_symbol = HEREDOC_MARKER; + return true; +} + +static bool scan_content(scanner_state *state, TSLexer *lexer, + const bool *valid_symbols) { + if (state->heredoc_count == 0) { + state->in_heredoc = false; + return false; + } + + state->in_heredoc = true; + + if (state->stripping_heredoc) { + skip_whitespace(lexer); + } + + if (valid_symbols[HEREDOC_END]) { + unsigned delim_idx = 1; + // Look for the current heredoc delimiter. + while (state->heredocs[0][delim_idx] != '\0' && + lexer->lookahead != '\0' && + lexer->lookahead == state->heredocs[0][delim_idx]) { + lexer->advance(lexer, false); + delim_idx++; + } + + // Check if the entire string matched. + if (state->heredocs[0][delim_idx] == '\0') { + lexer->result_symbol = HEREDOC_END; + + // Shift the first heredoc off the list. + free(state->heredocs[0]); + + for (unsigned i = 1; i < state->heredoc_count; i++) { + state->heredocs[i - 1] = state->heredocs[i]; + } + state->heredocs[state->heredoc_count - 1] = NULL; + state->heredoc_count--; + + if (state->heredoc_count > 0) { + state->stripping_heredoc = state->heredocs[0][0] == '-'; + } else { + state->in_heredoc = false; + } + + return true; + } + } + + if (!valid_symbols[HEREDOC_LINE]) + return false; + + lexer->result_symbol = HEREDOC_LINE; + + for (;;) { + switch (lexer->lookahead) { + case '\0': + if (lexer->eof(lexer)) { + state->in_heredoc = false; + return true; + } + lexer->advance(lexer, false); + break; + + case '\n': + return true; + + default: + lexer->advance(lexer, false); + } + } +} + +bool tree_sitter_dockerfile_external_scanner_scan(void *payload, TSLexer *lexer, + const bool *valid_symbols) { + scanner_state *state = payload; + + if (valid_symbols[ERROR_SENTINEL]) { + if (state->in_heredoc) { + return scan_content(state, lexer, valid_symbols); + } else { + return scan_marker(state, lexer); + } + } + + // HEREDOC_NL only matches a linebreak if there are open heredocs. This is + // necessary to avoid a conflict in the grammar since a normal line break + // could either be the start of a heredoc or the end of an instruction. + if (valid_symbols[HEREDOC_NL]) { + if (state->heredoc_count > 0 && lexer->lookahead == '\n') { + lexer->result_symbol = HEREDOC_NL; + lexer->advance(lexer, false); + return true; + } + } + + if (valid_symbols[HEREDOC_MARKER]) { + return scan_marker(state, lexer); + } + + if (valid_symbols[HEREDOC_LINE] || valid_symbols[HEREDOC_END]) { + return scan_content(state, lexer, valid_symbols); + } + + return false; +} diff --git a/src/tree_sitter/alloc.h b/src/tree_sitter/alloc.h new file mode 100644 index 0000000..1f4466d --- /dev/null +++ b/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); +extern void *(*ts_current_calloc)(size_t, size_t); +extern void *(*ts_current_realloc)(void *, size_t); +extern void (*ts_current_free)(void *); + +#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/src/tree_sitter/array.h b/src/tree_sitter/array.h new file mode 100644 index 0000000..15a3b23 --- /dev/null +++ b/src/tree_sitter/array.h @@ -0,0 +1,290 @@ +#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(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(default : 4101) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_ARRAY_H_ diff --git a/src/tree_sitter/parser.h b/src/tree_sitter/parser.h index 2b14ac1..17f0e94 100644 --- a/src/tree_sitter/parser.h +++ b/src/tree_sitter/parser.h @@ -13,9 +13,8 @@ extern "C" { #define ts_builtin_sym_end 0 #define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024 -typedef uint16_t TSStateId; - #ifndef TREE_SITTER_API_H_ +typedef uint16_t TSStateId; typedef uint16_t TSSymbol; typedef uint16_t TSFieldId; typedef struct TSLanguage TSLanguage; @@ -87,6 +86,11 @@ typedef union { } entry; } TSParseActionEntry; +typedef struct { + int32_t start; + int32_t end; +} TSCharacterRange; + struct TSLanguage { uint32_t version; uint32_t symbol_count; @@ -126,13 +130,38 @@ struct TSLanguage { const TSStateId *primary_state_ids; }; +static inline bool set_contains(TSCharacterRange *ranges, uint32_t len, int32_t lookahead) { + uint32_t index = 0; + uint32_t size = len - index; + while (size > 1) { + uint32_t half_size = size / 2; + uint32_t mid_index = index + half_size; + TSCharacterRange *range = &ranges[mid_index]; + if (lookahead >= range->start && lookahead <= range->end) { + return true; + } else if (lookahead > range->end) { + index = mid_index; + } + size -= half_size; + } + 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; \ @@ -148,6 +177,17 @@ struct TSLanguage { 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; \ @@ -166,7 +206,7 @@ struct TSLanguage { * Parse Table Macros */ -#define SMALL_STATE(id) id - LARGE_STATE_COUNT +#define SMALL_STATE(id) ((id) - LARGE_STATE_COUNT) #define STATE(id) id @@ -176,7 +216,7 @@ struct TSLanguage { {{ \ .shift = { \ .type = TSParseActionTypeShift, \ - .state = state_value \ + .state = (state_value) \ } \ }} @@ -184,7 +224,7 @@ struct TSLanguage { {{ \ .shift = { \ .type = TSParseActionTypeShift, \ - .state = state_value, \ + .state = (state_value), \ .repetition = true \ } \ }} @@ -197,14 +237,15 @@ struct TSLanguage { } \ }} -#define REDUCE(symbol_val, child_count_val, ...) \ - {{ \ - .reduce = { \ - .type = TSParseActionTypeReduce, \ - .symbol = symbol_val, \ - .child_count = child_count_val, \ - __VA_ARGS__ \ - }, \ +#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() \ diff --git a/corpus/add.txt b/test/corpus/add.txt similarity index 100% rename from corpus/add.txt rename to test/corpus/add.txt diff --git a/corpus/arg.txt b/test/corpus/arg.txt similarity index 100% rename from corpus/arg.txt rename to test/corpus/arg.txt diff --git a/corpus/cmd.txt b/test/corpus/cmd.txt similarity index 100% rename from corpus/cmd.txt rename to test/corpus/cmd.txt diff --git a/corpus/combo.txt b/test/corpus/combo.txt similarity index 100% rename from corpus/combo.txt rename to test/corpus/combo.txt diff --git a/corpus/comment.txt b/test/corpus/comment.txt similarity index 100% rename from corpus/comment.txt rename to test/corpus/comment.txt diff --git a/corpus/copy.txt b/test/corpus/copy.txt similarity index 100% rename from corpus/copy.txt rename to test/corpus/copy.txt diff --git a/corpus/cross_build.txt b/test/corpus/cross_build.txt similarity index 100% rename from corpus/cross_build.txt rename to test/corpus/cross_build.txt diff --git a/corpus/entrypoint.txt b/test/corpus/entrypoint.txt similarity index 100% rename from corpus/entrypoint.txt rename to test/corpus/entrypoint.txt diff --git a/corpus/env.txt b/test/corpus/env.txt similarity index 100% rename from corpus/env.txt rename to test/corpus/env.txt diff --git a/corpus/expose.txt b/test/corpus/expose.txt similarity index 100% rename from corpus/expose.txt rename to test/corpus/expose.txt diff --git a/corpus/from.txt b/test/corpus/from.txt similarity index 100% rename from corpus/from.txt rename to test/corpus/from.txt diff --git a/corpus/healthcheck.txt b/test/corpus/healthcheck.txt similarity index 100% rename from corpus/healthcheck.txt rename to test/corpus/healthcheck.txt diff --git a/test/corpus/heredoc.txt b/test/corpus/heredoc.txt new file mode 100644 index 0000000..46aa1f9 --- /dev/null +++ b/test/corpus/heredoc.txt @@ -0,0 +1,435 @@ +================== +Basic heredoc +================== + +FROM busybox AS build + +RUN <> /dest +whoami >> /dest +EOF + +FROM scratch +COPY --from=build /dest /dest + +--- + +(source_file + (from_instruction + (image_spec + (image_name)) + (image_alias)) + (run_instruction + (shell_command + (shell_fragment + (heredoc_marker))) + (heredoc_block + (heredoc_line) + (heredoc_line) + (heredoc_end))) + (from_instruction + (image_spec + (image_name))) + (copy_instruction + (param) + (path) + (path))) + +================== +Basic heredoc with space after marker +================== + +FROM busybox AS build + +RUN <> /dest +whoami >> /dest +EOF + +FROM scratch +COPY --from=build /dest /dest + +--- + +(source_file + (from_instruction + (image_spec + (image_name)) + (image_alias)) + (run_instruction + (shell_command + (shell_fragment + (heredoc_marker))) + (heredoc_block + (heredoc_line) + (heredoc_line) + (heredoc_end))) + (from_instruction + (image_spec + (image_name))) + (copy_instruction + (param) + (path) + (path))) + +================== +Run heredoc +================== + +FROM busybox AS build + +SHELL ["/bin/awk"] +RUN < "/dest" +} +EOF + +FROM scratch +COPY --from=build /dest /dest + +--- + +(source_file + (from_instruction + (image_spec + (image_name)) + (image_alias)) + (shell_instruction + (json_string_array + (json_string))) + (run_instruction + (shell_command + (shell_fragment + (heredoc_marker))) + (heredoc_block + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_end))) + (from_instruction + (image_spec + (image_name))) + (copy_instruction + (param) + (path) + (path))) + +================== +Run heredoc with shebang +================== + +FROM busybox AS build + +RUN <> "/dest" + print "world" >> "/dest" +} +EOF + +FROM scratch +COPY --from=build /dest /dest + +--- + +(source_file + (from_instruction + (image_spec + (image_name)) + (image_alias)) + (run_instruction + (shell_command + (shell_fragment + (heredoc_marker))) + (heredoc_block + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_end))) + (from_instruction + (image_spec + (image_name))) + (copy_instruction + (param) + (path) + (path))) + +================== +Run complex heredoc +================== + +FROM busybox AS build + +WORKDIR /dest + +RUN cat < ./out1; \ + cat < ./out2 +hello WORLD +EOF1 +HELLO world +EOF2 + +RUN < 0) + print tolower(line) > "./fd3" + while ((getline line < "/proc/self/fd/4") > 0) + print toupper(line) > "./fd4" +} +EOF +hello WORLD +IN1 +HELLO world +IN2 + +FROM scratch +COPY --from=build /dest / + +--- + +(source_file + (from_instruction + (image_spec + (image_name)) + (image_alias)) + (workdir_instruction + (path)) + (run_instruction + (shell_command + (shell_fragment + (heredoc_marker)) + (line_continuation) + (shell_fragment + (heredoc_marker))) + (heredoc_block + (heredoc_line) + (heredoc_end)) + (heredoc_block + (heredoc_line) + (heredoc_end))) + (run_instruction + (shell_command + (shell_fragment + (heredoc_marker) + (heredoc_marker) + (heredoc_marker))) + (heredoc_block + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_line) + (heredoc_end)) + (heredoc_block + (heredoc_line) + (heredoc_end)) + (heredoc_block + (heredoc_line) + (heredoc_end))) + (from_instruction + (image_spec + (image_name))) + (copy_instruction + (param) + (path) + (path))) + +================================= +Copy with heredoc +================================= + +FROM busybox AS build + +RUN adduser -D user +WORKDIR /dest + +COPY <> perms && \ + stat -c "%04a" /permfiles/rw >> perms && \ + stat -c "%U:%G" /permfiles/owned >> perms + +FROM scratch +COPY --from=build /dest / + +--- + +(source_file + (from_instruction + (image_spec + (image_name)) + (image_alias)) + (run_instruction + (shell_command + (shell_fragment))) + (workdir_instruction + (path)) + (copy_instruction + (path + (heredoc_marker)) + (path) + (heredoc_block + (heredoc_line) + (heredoc_end))) + (copy_instruction + (path + (heredoc_marker)) + (path + (heredoc_marker)) + (path) + (heredoc_block + (heredoc_line) + (heredoc_end)) + (heredoc_block + (heredoc_line) + (heredoc_end))) + (run_instruction + (shell_command + (shell_fragment))) + (copy_instruction + (param) + (path + (heredoc_marker)) + (path) + (heredoc_block + (heredoc_line) + (heredoc_end))) + (copy_instruction + (param) + (path + (heredoc_marker)) + (path) + (heredoc_block + (heredoc_line) + (heredoc_end))) + (copy_instruction + (param) + (path + (heredoc_marker)) + (path) + (heredoc_block + (heredoc_line) + (heredoc_end))) + (run_instruction + (shell_command + (shell_fragment) + (line_continuation) + (shell_fragment) + (line_continuation) + (shell_fragment))) + (from_instruction + (image_spec + (image_name))) + (copy_instruction + (param) + (path) + (path))) + +================== +Heredoc with special symbols +================== + +FROM scratch + +COPY <