diff --git a/Cargo.lock b/Cargo.lock index 392610e..25b4d21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -83,124 +83,6 @@ dependencies = [ "windows-sys", ] -[[package]] -name = "async-attributes" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "async-channel" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" -dependencies = [ - "concurrent-queue", - "event-listener", - "futures-core", -] - -[[package]] -name = "async-executor" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0" -dependencies = [ - "async-lock", - "async-task", - "concurrent-queue", - "fastrand 2.0.1", - "futures-lite", - "slab", -] - -[[package]] -name = "async-global-executor" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776" -dependencies = [ - "async-channel", - "async-executor", - "async-io", - "async-lock", - "blocking", - "futures-lite", - "once_cell", -] - -[[package]] -name = "async-io" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" -dependencies = [ - "async-lock", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite", - "log", - "parking", - "polling", - "rustix 0.37.27", - "slab", - "socket2 0.4.9", - "waker-fn", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener", -] - -[[package]] -name = "async-std" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" -dependencies = [ - "async-attributes", - "async-channel", - "async-global-executor", - "async-io", - "async-lock", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "4.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" - -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - [[package]] name = "autocfg" version = "1.1.0" @@ -240,22 +122,6 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" -[[package]] -name = "blocking" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c36a4d0d48574b3dd360b4b7d95cc651d2b6557b6402848a27d4b228a473e2a" -dependencies = [ - "async-channel", - "async-lock", - "async-task", - "fastrand 2.0.1", - "futures-io", - "futures-lite", - "piper", - "tracing", -] - [[package]] name = "bumpalo" version = "3.14.0" @@ -353,15 +219,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "concurrent-queue" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "core-foundation" version = "0.9.3" @@ -459,10 +316,9 @@ dependencies = [ [[package]] name = "dust-lang" -version = "0.3.5" +version = "0.3.7" dependencies = [ "ansi_term", - "async-std", "cc", "clap", "comfy-table", @@ -536,21 +392,6 @@ dependencies = [ "str-buf", ] -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - [[package]] name = "fastrand" version = "2.0.1" @@ -564,7 +405,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef033ed5e9bad94e55838ca0ca906db0e043f517adda0c8b79c7a8c66c93c1b5" dependencies = [ "cfg-if", - "rustix 0.38.17", + "rustix", "windows-sys", ] @@ -619,21 +460,6 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - [[package]] name = "futures-sink" version = "0.3.28" @@ -693,18 +519,6 @@ dependencies = [ "url", ] -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - [[package]] name = "h2" version = "0.3.21" @@ -858,26 +672,6 @@ dependencies = [ "hashbrown 0.14.1", ] -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys", -] - [[package]] name = "ipnet" version = "2.8.0" @@ -908,15 +702,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - [[package]] name = "lazy_static" version = "1.4.0" @@ -969,12 +754,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - [[package]] name = "linux-raw-sys" version = "0.4.8" @@ -996,9 +775,6 @@ name = "log" version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" -dependencies = [ - "value-bag", -] [[package]] name = "memchr" @@ -1149,12 +925,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "parking" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" - [[package]] name = "parking_lot" version = "0.12.1" @@ -1196,39 +966,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" -[[package]] -name = "piper" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" -dependencies = [ - "atomic-waker", - "fastrand 2.0.1", - "futures-io", -] - [[package]] name = "pkg-config" version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys", -] - [[package]] name = "ppv-lite86" version = "0.2.17" @@ -1395,20 +1138,6 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys", -] - [[package]] name = "rustix" version = "0.38.17" @@ -1418,7 +1147,7 @@ dependencies = [ "bitflags 2.4.0", "errno", "libc", - "linux-raw-sys 0.4.8", + "linux-raw-sys", "windows-sys", ] @@ -1705,9 +1434,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ "cfg-if", - "fastrand 2.0.1", + "fastrand", "redox_syscall", - "rustix 0.38.17", + "rustix", "windows-sys", ] @@ -1892,24 +1621,12 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" -[[package]] -name = "value-bag" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a72e1902dde2bd6441347de2b70b7f5d59bf157c6c62f0c44572607a1d55bbe" - [[package]] name = "vcpkg" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" -[[package]] -name = "waker-fn" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" - [[package]] name = "want" version = "0.3.1" diff --git a/Cargo.toml b/Cargo.toml index d30cac9..3a4c359 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,6 @@ opt-level = 3 [dependencies] ansi_term = "0.12.1" -async-std = { version = "1.12.0", features = ["attributes"] } clap = { version = "4.4.4", features = ["derive"] } comfy-table = "7.0.1" csv = "1.2.2" diff --git a/src/abstract_tree/built_in_function.rs b/src/abstract_tree/built_in_function.rs deleted file mode 100644 index 6542f56..0000000 --- a/src/abstract_tree/built_in_function.rs +++ /dev/null @@ -1,650 +0,0 @@ -use std::{ - env::current_dir, - fs::{copy, metadata, read_dir, read_to_string, remove_file, write, File}, - io::Write, - path::PathBuf, - process::Command, -}; - -use rand::{random, thread_rng, Rng}; -use reqwest::blocking::get; -use serde::{Deserialize, Serialize}; -use tree_sitter::Node; - -use crate::{AbstractTree, Error, Expression, List, Map, Result, Table, Type, Value}; - -#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] -pub enum BuiltInFunction { - // General - Assert(Vec), - AssertEqual(Vec), - Download(Expression), - Context, - Help(Option), - Length(Expression), - Output(Vec), - OutputError(Vec), - Type(Expression), - Workdir, - - // Filesystem - Append(Vec), - Metadata(Expression), - Move(Vec), - Read(Option), - Remove(Expression), - Write(Vec), - - // Format conversion - FromJson(Expression), - ToJson(Expression), - ToString(Expression), - ToFloat(Expression), - - // Command - Bash(Vec), - Fish(Vec), - Raw(Vec), - Sh(Vec), - Zsh(Vec), - - // Random - Random(Vec), - RandomBoolean, - RandomInteger, - RandomFloat, - - // Table - Columns(Expression), - Rows(Expression), - - // List - Reverse(Expression, Option<(Expression, Expression)>), -} - -impl AbstractTree for BuiltInFunction { - fn from_syntax_node(source: &str, node: Node) -> Result { - debug_assert_eq!("built_in_function", node.kind()); - - fn parse_expressions(source: &str, node: Node) -> Result> { - let mut expressions = Vec::new(); - - for index in 1..node.child_count() { - let child_node = node.child(index).unwrap(); - - if child_node.kind() == "expression" { - let expression = Expression::from_syntax_node(source, child_node)?; - - expressions.push(expression); - } - } - - Ok(expressions) - } - - let tool_node = node.child(0).unwrap(); - let tool = match tool_node.kind() { - "assert" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Assert(expressions) - } - "assert_equal" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::AssertEqual(expressions) - } - "context" => BuiltInFunction::Context, - "download" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::Download(expression) - } - "help" => { - let child_node = node.child(1).unwrap(); - let expression = if child_node.is_named() { - Some(Expression::from_syntax_node(source, child_node)?) - } else { - None - }; - - BuiltInFunction::Help(expression) - } - "length" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::Length(expression) - } - "output" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Output(expressions) - } - "output_error" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::OutputError(expressions) - } - "type" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::Type(expression) - } - "workdir" => BuiltInFunction::Workdir, - "append" => { - let expressions = parse_expressions(source, node)?; - - Error::expect_tool_argument_amount("append", 2, expressions.len())?; - - BuiltInFunction::Append(expressions) - } - "metadata" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::Metadata(expression) - } - "move" => { - let expressions = parse_expressions(source, node)?; - - Error::expect_tool_argument_amount("move", 2, expressions.len())?; - - BuiltInFunction::Move(expressions) - } - "read" => { - let expression = if let Some(node) = node.child(1) { - Some(Expression::from_syntax_node(source, node)?) - } else { - None - }; - - BuiltInFunction::Read(expression) - } - "remove" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::Remove(expression) - } - "write" => { - let expressions = parse_expressions(source, node)?; - - Error::expect_tool_argument_amount("write", 2, expressions.len())?; - - BuiltInFunction::Write(expressions) - } - "from_json" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::FromJson(expression) - } - "to_json" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::ToJson(expression) - } - "to_string" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::ToString(expression) - } - "to_float" => { - let expression_node = node.child(1).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::ToFloat(expression) - } - "bash" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Bash(expressions) - } - "fish" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Fish(expressions) - } - "raw" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Raw(expressions) - } - "sh" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Sh(expressions) - } - "zsh" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Zsh(expressions) - } - "random" => { - let expressions = parse_expressions(source, node)?; - - BuiltInFunction::Random(expressions) - } - "random_boolean" => BuiltInFunction::RandomBoolean, - "random_float" => BuiltInFunction::RandomFloat, - "random_integer" => BuiltInFunction::RandomInteger, - "columns" => { - let expression_node = node.child(2).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::Columns(expression) - } - "rows" => { - let expression_node = node.child(2).unwrap(); - let expression = Expression::from_syntax_node(source, expression_node)?; - - BuiltInFunction::Rows(expression) - } - "reverse" => { - let list_node = node.child(2).unwrap(); - let list_expression = Expression::from_syntax_node(source, list_node)?; - - let slice_range_nodes = - if let (Some(start_node), Some(end_node)) = (node.child(3), node.child(4)) { - let start = Expression::from_syntax_node(source, start_node)?; - let end = Expression::from_syntax_node(source, end_node)?; - - Some((start, end)) - } else { - None - }; - - BuiltInFunction::Reverse(list_expression, slice_range_nodes) - } - _ => { - return Err(Error::UnexpectedSyntaxNode { - expected: "built-in function", - actual: tool_node.kind(), - location: tool_node.start_position(), - relevant_source: source[tool_node.byte_range()].to_string(), - }) - } - }; - - Ok(tool) - } - - fn run(&self, source: &str, context: &mut Map) -> Result { - match self { - BuiltInFunction::Assert(expressions) => { - for expression in expressions { - let value = expression.run(source, context)?; - - if value.as_boolean()? { - continue; - } else { - return Err(Error::AssertFailed); - } - } - - Ok(Value::Empty) - } - BuiltInFunction::AssertEqual(expressions) => { - let mut prev_value = None; - - for expression in expressions { - let value = expression.run(source, context)?; - - if let Some(prev_value) = &prev_value { - if &value == prev_value { - continue; - } else { - return Err(Error::AssertEqualFailed { - expected: prev_value.clone(), - actual: value, - }); - } - } - - prev_value = Some(value); - } - - Ok(Value::Empty) - } - BuiltInFunction::Context => Ok(Value::Map(context.clone())), - BuiltInFunction::Download(expression) => { - let value = expression.run(source, context)?; - let url = value.as_string()?; - let data = get(url)?.text()?; - - Ok(Value::String(data)) - } - BuiltInFunction::Length(expression) => { - let value = expression.run(source, context)?; - let length = match value { - Value::List(list) => list.items().len(), - Value::Map(map) => map.variables()?.len(), - Value::Table(table) => table.len(), - Value::String(string) => string.chars().count(), - Value::Function(_) => todo!(), - Value::Float(_) => todo!(), - Value::Integer(_) => todo!(), - Value::Boolean(_) => todo!(), - Value::Empty => todo!(), - }; - - Ok(Value::Integer(length as i64)) - } - BuiltInFunction::Help(_expression) => { - let mut help_table = - Table::new(vec!["tool".to_string(), "description".to_string()]); - - help_table.insert(vec![ - Value::String("help".to_string()), - Value::String("Get info on tools.".to_string()), - ])?; - - Ok(Value::Table(help_table)) - } - BuiltInFunction::Output(expressions) => { - for expression in expressions { - let value = expression.run(source, context)?; - - println!("{value}"); - } - - Ok(Value::Empty) - } - BuiltInFunction::OutputError(expressions) => { - for expression in expressions { - let value = expression.run(source, context)?; - - eprintln!("{value}"); - } - - Ok(Value::Empty) - } - BuiltInFunction::Type(expression) => { - let run_expression = expression.run(source, context); - let value_type = if let Ok(value) = run_expression { - value.r#type() - } else if let Err(Error::VariableIdentifierNotFound(_)) = run_expression { - Type::Any - } else { - return run_expression; - }; - - Ok(Value::String(value_type.to_string())) - } - BuiltInFunction::Workdir => { - let workdir = current_dir()?.to_string_lossy().to_string(); - - Ok(Value::String(workdir)) - } - BuiltInFunction::Append(expressions) => { - let path_value = expressions[0].run(source, context)?; - let path = path_value.as_string()?; - let data = expressions[1].run(source, context)?.to_string(); - let mut file = File::options().append(true).open(path)?; - - file.write(data.as_bytes())?; - - Ok(Value::Empty) - } - BuiltInFunction::Metadata(expression) => { - let path_value = expression.run(source, context)?; - let path = path_value.as_string()?; - let metadata = metadata(path)?; - let file_type = if metadata.is_dir() { - "dir".to_string() - } else if metadata.is_file() { - "file".to_string() - } else if metadata.is_symlink() { - "link".to_string() - } else { - "unknown".to_string() - }; - let size = metadata.len() as i64; - let created = metadata.created()?.elapsed()?.as_secs() as i64; - let modified = metadata.modified()?.elapsed()?.as_secs() as i64; - let accessed = metadata.accessed()?.elapsed()?.as_secs() as i64; - let metadata_output = Map::new(); - - { - let mut metadata_variables = metadata_output.variables_mut()?; - - metadata_variables.insert("type".to_string(), Value::String(file_type)); - metadata_variables.insert("size".to_string(), Value::Integer(size)); - metadata_variables.insert("created".to_string(), Value::Integer(created)); - metadata_variables.insert("modified".to_string(), Value::Integer(modified)); - metadata_variables.insert("accessed".to_string(), Value::Integer(accessed)); - } - - Ok(Value::Map(metadata_output)) - } - BuiltInFunction::Move(expressions) => { - let from_value = expressions[0].run(source, context)?; - let from = from_value.as_string()?; - let to_value = expressions[1].run(source, context)?; - let to = to_value.as_string()?; - - copy(from, to)?; - remove_file(from)?; - - Ok(Value::Empty) - } - BuiltInFunction::Read(expression) => { - let path = if let Some(expression) = expression { - let path_value = expression.run(source, context)?; - - PathBuf::from(path_value.as_string()?) - } else { - PathBuf::from(".") - }; - let content = if path.is_dir() { - let dir = read_dir(&path)?; - let mut contents = Vec::new(); - - for file in dir { - let file = file?; - let file_path = file.path().to_string_lossy().to_string(); - - contents.push(Value::String(file_path)); - } - - Value::List(List::with_items(contents)) - } else { - Value::String(read_to_string(path)?) - }; - - Ok(content) - } - BuiltInFunction::Remove(expression) => { - let path_value = expression.run(source, context)?; - let path = PathBuf::from(path_value.as_string()?); - - remove_file(path)?; - - Ok(Value::Empty) - } - BuiltInFunction::Write(expressions) => { - let path_value = expressions[0].run(source, context)?; - let path = path_value.as_string()?; - let data_value = expressions[1].run(source, context)?; - let data = data_value.as_string()?; - - write(path, data)?; - - Ok(Value::Empty) - } - BuiltInFunction::FromJson(expression) => { - let json_value = expression.run(source, context)?; - let json = json_value.as_string()?; - let value = serde_json::from_str(json)?; - - Ok(value) - } - BuiltInFunction::ToJson(expression) => { - let value = expression.run(source, context)?; - let json = serde_json::to_string(&value)?; - - Ok(Value::String(json)) - } - BuiltInFunction::ToString(expression) => { - let value = expression.run(source, context)?; - let string = value.to_string(); - - Ok(Value::String(string)) - } - BuiltInFunction::ToFloat(expression) => { - let value = expression.run(source, context)?; - let float = match value { - Value::String(string) => string.parse()?, - Value::Float(float) => float, - Value::Integer(integer) => integer as f64, - _ => return Err(Error::ExpectedNumberOrString { actual: value }), - }; - - Ok(Value::Float(float)) - } - BuiltInFunction::Bash(expressions) => { - let mut command = Command::new("bash"); - - for expression in expressions { - let value = expression.run(source, context)?; - let command_input = value.as_string()?; - - command.arg(command_input); - } - - let output = command.spawn()?.wait_with_output()?.stdout; - - Ok(Value::String(String::from_utf8(output)?)) - } - BuiltInFunction::Fish(expressions) => { - let mut command = Command::new("fish"); - - for expression in expressions { - let value = expression.run(source, context)?; - let command_input = value.as_string()?; - - command.arg(command_input); - } - - let output = command.spawn()?.wait_with_output()?.stdout; - - Ok(Value::String(String::from_utf8(output)?)) - } - BuiltInFunction::Raw(expressions) => { - let raw_command = expressions[0].run(source, context)?; - let mut command = Command::new(raw_command.as_string()?); - - for expression in &expressions[1..] { - let value = expression.run(source, context)?; - let command_input = value.as_string()?; - - command.arg(command_input); - } - - let output = command.spawn()?.wait_with_output()?.stdout; - - Ok(Value::String(String::from_utf8(output)?)) - } - BuiltInFunction::Sh(expressions) => { - let mut command = Command::new("sh"); - - for expression in expressions { - let value = expression.run(source, context)?; - let command_input = value.as_string()?; - - command.arg(command_input); - } - - let output = command.spawn()?.wait_with_output()?.stdout; - - Ok(Value::String(String::from_utf8(output)?)) - } - BuiltInFunction::Zsh(expressions) => { - let mut command = Command::new("zsh"); - - for expression in expressions { - let value = expression.run(source, context)?; - let command_input = value.as_string()?; - - command.arg(command_input); - } - - let output = command.spawn()?.wait_with_output()?.stdout; - - Ok(Value::String(String::from_utf8(output)?)) - } - BuiltInFunction::Random(expressions) => { - if expressions.len() == 1 { - let value = expressions[0].run(source, context)?; - let list = value.as_list()?.items(); - - if list.len() == 1 { - return Ok(list.first().cloned().unwrap()); - } - - let range = 0..list.len(); - let random_index = thread_rng().gen_range(range); - let random_value = list.get(random_index).ok_or(Error::ExpectedList { - actual: value.clone(), - })?; - - return Ok(random_value.clone()); - } - - let range = 0..expressions.len(); - let random_index = thread_rng().gen_range(range); - let random_expression = expressions.get(random_index).unwrap(); - let value = random_expression.run(source, context)?; - - Ok(value) - } - BuiltInFunction::RandomBoolean => Ok(Value::Boolean(random())), - BuiltInFunction::RandomFloat => Ok(Value::Float(random())), - BuiltInFunction::RandomInteger => Ok(Value::Integer(random())), - BuiltInFunction::Columns(expression) => { - let column_names = expression - .run(source, context)? - .as_table()? - .headers() - .iter() - .cloned() - .map(Value::String) - .collect(); - - Ok(Value::List(List::with_items(column_names))) - } - BuiltInFunction::Rows(expression) => { - let rows = expression - .run(source, context)? - .as_table()? - .rows() - .iter() - .cloned() - .map(|row| Value::List(List::with_items(row))) - .collect(); - - Ok(Value::List(List::with_items(rows))) - } - BuiltInFunction::Reverse(list_expression, slice_range) => { - let expression_run = list_expression.run(source, context)?; - let list = expression_run.as_list()?; - - if let Some((start, end)) = slice_range { - let start = start.run(source, context)?.as_integer()? as usize; - let end = end.run(source, context)?.as_integer()? as usize; - - list.items_mut()[start..end].reverse() - } else { - list.items_mut().reverse() - }; - - Ok(Value::List(list.clone())) - } - } - } -} diff --git a/src/abstract_tree/expression.rs b/src/abstract_tree/expression.rs index 2c5bbe4..011fe32 100644 --- a/src/abstract_tree/expression.rs +++ b/src/abstract_tree/expression.rs @@ -2,8 +2,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; use crate::{ - value_node::ValueNode, AbstractTree, BuiltInFunction, Error, Identifier, Index, Map, Result, - Value, Yield, + value_node::ValueNode, AbstractTree, Error, Identifier, Index, Map, Result, Value, Yield, }; use super::{function_call::FunctionCall, logic::Logic, math::Math}; @@ -16,7 +15,6 @@ pub enum Expression { Math(Box), Logic(Box), FunctionCall(Box), - Tool(Box), Yield(Box), } @@ -39,7 +37,6 @@ impl AbstractTree for Expression { "function_call" => { Expression::FunctionCall(Box::new(FunctionCall::from_syntax_node(source, child)?)) } - "tool" => Expression::Tool(Box::new(BuiltInFunction::from_syntax_node(source, child)?)), "yield" => Expression::Yield(Box::new(Yield::from_syntax_node(source, child)?)), _ => { return Err(Error::UnexpectedSyntaxNode { @@ -61,7 +58,6 @@ impl AbstractTree for Expression { Expression::Math(math) => math.run(source, context), Expression::Logic(logic) => logic.run(source, context), Expression::FunctionCall(function_call) => function_call.run(source, context), - Expression::Tool(tool) => tool.run(source, context), Expression::Index(index) => index.run(source, context), Expression::Yield(r#yield) => r#yield.run(source, context), } diff --git a/src/abstract_tree/function_call.rs b/src/abstract_tree/function_call.rs index d8e0dc9..b5d7f02 100644 --- a/src/abstract_tree/function_call.rs +++ b/src/abstract_tree/function_call.rs @@ -1,24 +1,32 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, BuiltInFunction, Error, Map, Result, Value}; +use crate::{AbstractTree, Error, Map, Result, Value, BUILT_IN_FUNCTIONS}; use super::expression::Expression; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] -pub enum FunctionCall { - BuiltIn(Box), - ContextDefined { - name: Expression, - arguments: Vec, - }, +pub struct FunctionCall { + function: Expression, + arguments: Vec, +} + +impl FunctionCall { + pub fn new(function: Expression, arguments: Vec) -> Self { + Self { + function, + arguments, + } + } } impl AbstractTree for FunctionCall { fn from_syntax_node(source: &str, node: Node) -> Result { debug_assert_eq!("function_call", node.kind()); - let function_node = node.child(1).unwrap(); + let expression_node = node.child(1).unwrap(); + let function = Expression::from_syntax_node(source, expression_node)?; + let mut arguments = Vec::new(); for index in 2..node.child_count() - 1 { @@ -31,39 +39,43 @@ impl AbstractTree for FunctionCall { } } - let function_call = if function_node.kind() == "built_in_function" { - let function = BuiltInFunction::from_syntax_node(source, function_node)?; - - FunctionCall::BuiltIn(Box::new(function)) - } else { - let name = Expression::from_syntax_node(source, function_node)?; - - FunctionCall::ContextDefined { name, arguments } - }; - - Ok(function_call) + Ok(FunctionCall { + function, + arguments, + }) } fn run(&self, source: &str, context: &mut Map) -> Result { - let (name, arguments) = match self { - FunctionCall::BuiltIn(function) => return function.run(source, context), - FunctionCall::ContextDefined { name, arguments } => (name, arguments), - }; + let function = if let Expression::Identifier(identifier) = &self.function { + let key = identifier.inner(); - let function = if let Expression::Identifier(identifier) = name { - if let Some(value) = context.variables()?.get(identifier.inner()) { + for built_in_function in BUILT_IN_FUNCTIONS { + if key == built_in_function.name() { + let mut arguments = Vec::with_capacity(self.arguments.len()); + + for expression in &self.arguments { + let value = expression.run(source, context)?; + + arguments.push(value); + } + + return built_in_function.run(&arguments); + } + } + + if let Some(value) = context.variables()?.get(key) { value.as_function().cloned() } else { return Err(Error::FunctionIdentifierNotFound(identifier.clone())); } } else { - let name_run = name.run(source, context)?; + let expression_run = self.function.run(source, context)?; - name_run.as_function().cloned() + expression_run.as_function().cloned() }?; let mut function_context = Map::clone_from(context)?; - let parameter_expression_pairs = function.parameters().iter().zip(arguments.iter()); + let parameter_expression_pairs = function.parameters().iter().zip(self.arguments.iter()); for ((identifier, r#type), expression) in parameter_expression_pairs { let key = identifier.clone().take_inner(); diff --git a/src/abstract_tree/mod.rs b/src/abstract_tree/mod.rs index 909af4d..79035ad 100644 --- a/src/abstract_tree/mod.rs +++ b/src/abstract_tree/mod.rs @@ -8,7 +8,6 @@ pub mod assignment; pub mod block; -pub mod built_in_function; pub mod expression; pub mod filter; pub mod find; @@ -33,10 +32,10 @@ pub mod r#while; pub mod r#yield; pub use { - assignment::*, block::*, built_in_function::*, expression::*, filter::*, find::*, - function_call::*, identifier::*, if_else::*, index::*, index_assignment::IndexAssignment, - insert::*, logic::*, math::*, r#for::*, r#match::*, r#type::*, r#use::*, r#while::*, - r#yield::*, remove::*, select::*, statement::*, transform::*, value_node::*, + assignment::*, block::*, expression::*, filter::*, find::*, function_call::*, identifier::*, + if_else::*, index::*, index_assignment::IndexAssignment, insert::*, logic::*, math::*, + r#for::*, r#match::*, r#type::*, r#use::*, r#while::*, r#yield::*, remove::*, select::*, + statement::*, transform::*, value_node::*, }; use tree_sitter::Node; diff --git a/src/abstract_tree/yield.rs b/src/abstract_tree/yield.rs index 6bdc6cf..073a2be 100644 --- a/src/abstract_tree/yield.rs +++ b/src/abstract_tree/yield.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, BuiltInFunction, Expression, FunctionCall, Result, Value}; +use crate::{AbstractTree, Expression, FunctionCall, Result, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Yield { @@ -14,6 +14,8 @@ impl AbstractTree for Yield { let input = Expression::from_syntax_node(source, input_node)?; let function_node = node.child(3).unwrap(); + let function = Expression::from_syntax_node(source, function_node)?; + let mut arguments = Vec::new(); arguments.push(input); @@ -28,15 +30,7 @@ impl AbstractTree for Yield { } } - let call = if function_node.kind() == "built_in_function" { - let function = BuiltInFunction::from_syntax_node(source, function_node)?; - - FunctionCall::BuiltIn(Box::new(function)) - } else { - let name = Expression::from_syntax_node(source, function_node)?; - - FunctionCall::ContextDefined { name, arguments } - }; + let call = FunctionCall::new(function, arguments); Ok(Yield { call }) } diff --git a/src/built_in_functions/fs.rs b/src/built_in_functions/fs.rs new file mode 100644 index 0000000..94b2dbd --- /dev/null +++ b/src/built_in_functions/fs.rs @@ -0,0 +1,87 @@ +use std::{ + fs::{read_dir, read_to_string, write, File}, + io::Write as IoWrite, + path::PathBuf, +}; + +use crate::{BuiltInFunction, List, Map, Result, Value}; + +pub struct Read; + +impl BuiltInFunction for Read { + fn name(&self) -> &'static str { + "read" + } + + fn run(&self, arguments: &[Value]) -> Result { + let path_string = arguments.first().unwrap_or(&Value::Empty).as_string()?; + let path = PathBuf::from(path_string); + + if path.is_dir() { + let files = List::new(); + + for entry in read_dir(&path)? { + let entry = entry?; + let file_data = Map::new(); + + { + let mut file_data_variables = file_data.variables_mut()?; + let name = entry.file_name().to_string_lossy().to_string(); + let metadata = entry.metadata()?; + let created = metadata.created()?.elapsed()?.as_secs() as i64; + let modified = metadata.modified()?.elapsed()?.as_secs() as i64; + + file_data_variables.insert("name".to_string(), Value::String(name)); + file_data_variables.insert("created".to_string(), Value::Integer(created)); + file_data_variables.insert("modified".to_string(), Value::Integer(modified)); + } + + files.items_mut().push(Value::Map(file_data)); + } + + return Ok(Value::List(files)); + } + + let file_content = read_to_string(path)?; + + Ok(Value::String(file_content)) + } +} + +pub struct Write; + +impl BuiltInFunction for Write { + fn name(&self) -> &'static str { + "write" + } + + fn run(&self, arguments: &[Value]) -> Result { + let file_content = arguments.first().unwrap_or(&Value::Empty).as_string()?; + let path = arguments.get(1).unwrap_or(&Value::Empty).as_string()?; + + write(path, file_content)?; + + Ok(Value::Empty) + } +} + +pub struct Append; + +impl BuiltInFunction for Append { + fn name(&self) -> &'static str { + "append" + } + + fn run(&self, arguments: &[Value]) -> Result { + let file_content = arguments.first().unwrap_or(&Value::Empty).as_string()?; + let path = arguments.get(1).unwrap_or(&Value::Empty).as_string()?; + + File::options() + .append(true) + .create(true) + .open(path)? + .write_all(file_content.as_bytes())?; + + Ok(Value::Empty) + } +} diff --git a/src/built_in_functions/mod.rs b/src/built_in_functions/mod.rs new file mode 100644 index 0000000..f3112d1 --- /dev/null +++ b/src/built_in_functions/mod.rs @@ -0,0 +1,12 @@ +use crate::{Result, Value}; + +mod fs; +mod output; + +pub const BUILT_IN_FUNCTIONS: [&dyn BuiltInFunction; 4] = + [&output::Output, &fs::Read, &fs::Write, &fs::Append]; + +pub trait BuiltInFunction { + fn name(&self) -> &'static str; + fn run(&self, arguments: &[Value]) -> Result; +} diff --git a/src/built_in_functions/output.rs b/src/built_in_functions/output.rs new file mode 100644 index 0000000..c0083cd --- /dev/null +++ b/src/built_in_functions/output.rs @@ -0,0 +1,17 @@ +use crate::{BuiltInFunction, Result, Value}; + +pub struct Output; + +impl BuiltInFunction for Output { + fn name(&self) -> &'static str { + "output" + } + + fn run(&self, arguments: &[Value]) -> Result { + for argument in arguments { + println!("{argument}"); + } + + Ok(Value::Empty) + } +} diff --git a/src/lib.rs b/src/lib.rs index e2b7fea..4db9f6f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,12 +6,14 @@ pub use crate::{ abstract_tree::*, + built_in_functions::{BuiltInFunction, BUILT_IN_FUNCTIONS}, error::*, evaluator::*, value::{function::Function, list::List, map::Map, table::Table, Value}, }; mod abstract_tree; +pub mod built_in_functions; mod error; mod evaluator; mod value; diff --git a/tree-sitter-dust/grammar.js b/tree-sitter-dust/grammar.js index 13a7079..eb7632a 100644 --- a/tree-sitter-dust/grammar.js +++ b/tree-sitter-dust/grammar.js @@ -286,79 +286,18 @@ module.exports = grammar({ function_call: $ => prec.right(1, seq( '(', - choice( - $.built_in_function, - $._context_defined_function, - ), - ')', - )), - - _context_defined_function: $ => prec.right(1, seq( $.expression, optional($._expression_list), - )), - - built_in_function: $ => prec.right(seq( - $._built_in_function_name, - optional($._expression_list), + ')', )), yield: $ => prec.left(seq( $.expression, '->', '(', - choice( - $.built_in_function, - $._context_defined_function, - ), + $.expression, + optional($._expression_list), ')', )), - - _built_in_function_name: $ => choice( - // General - 'assert', - 'assert_equal', - 'context', - 'download', - 'help', - 'length', - 'output', - 'output_error', - 'type', - - // Filesystem - 'append', - 'metadata', - 'move', - 'read', - 'workdir', - 'write', - - // Format conversion - 'from_json', - 'to_json', - 'to_string', - 'to_float', - - // Command - 'bash', - 'fish', - 'raw', - 'sh', - 'zsh', - - // Random - 'random', - 'random_boolean', - 'random_float', - 'random_integer', - - // Tables - 'columns', - 'rows', - - // Lists - 'reverse', - ), } }); diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index 72369c7..f26cc0e 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -256,10 +256,6 @@ { "type": "SYMBOL", "name": "map" - }, - { - "type": "SYMBOL", - "name": "future" } ] }, @@ -486,7 +482,7 @@ { "type": "REPEAT", "content": { - "type": "PREC_RIGHT", + "type": "PREC_LEFT", "value": 0, "content": { "type": "SEQ", @@ -520,43 +516,41 @@ "map": { "type": "SEQ", "members": [ - { - "type": "STRING", - "value": "map" - }, - { - "type": "SYMBOL", - "name": "block" - } - ] - }, - "future": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "async" - }, - { - "type": "SYMBOL", - "name": "block" - } - ] - }, - "await": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "await" - }, { "type": "STRING", "value": "{" }, { - "type": "SYMBOL", - "name": "_expression_list" + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "SYMBOL", + "name": "statement" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "BLANK" + } + ] + } + ] + } }, { "type": "STRING", @@ -1236,32 +1230,6 @@ "type": "STRING", "value": "(" }, - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "built_in_function" - }, - { - "type": "SYMBOL", - "name": "_context_defined_function" - } - ] - }, - { - "type": "STRING", - "value": ")" - } - ] - } - }, - "_context_defined_function": { - "type": "PREC_RIGHT", - "value": 1, - "content": { - "type": "SEQ", - "members": [ { "type": "SYMBOL", "name": "expression" @@ -1277,31 +1245,10 @@ "type": "BLANK" } ] - } - ] - } - }, - "built_in_function": { - "type": "PREC_RIGHT", - "value": 0, - "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "_built_in_function_name" }, { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "_expression_list" - }, - { - "type": "BLANK" - } - ] + "type": "STRING", + "value": ")" } ] } @@ -1324,16 +1271,19 @@ "type": "STRING", "value": "(" }, + { + "type": "SYMBOL", + "name": "expression" + }, { "type": "CHOICE", "members": [ { "type": "SYMBOL", - "name": "built_in_function" + "name": "_expression_list" }, { - "type": "SYMBOL", - "name": "_context_defined_function" + "type": "BLANK" } ] }, @@ -1343,135 +1293,6 @@ } ] } - }, - "_built_in_function_name": { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "assert" - }, - { - "type": "STRING", - "value": "assert_equal" - }, - { - "type": "STRING", - "value": "context" - }, - { - "type": "STRING", - "value": "download" - }, - { - "type": "STRING", - "value": "help" - }, - { - "type": "STRING", - "value": "length" - }, - { - "type": "STRING", - "value": "output" - }, - { - "type": "STRING", - "value": "output_error" - }, - { - "type": "STRING", - "value": "type" - }, - { - "type": "STRING", - "value": "append" - }, - { - "type": "STRING", - "value": "metadata" - }, - { - "type": "STRING", - "value": "move" - }, - { - "type": "STRING", - "value": "read" - }, - { - "type": "STRING", - "value": "workdir" - }, - { - "type": "STRING", - "value": "write" - }, - { - "type": "STRING", - "value": "from_json" - }, - { - "type": "STRING", - "value": "to_json" - }, - { - "type": "STRING", - "value": "to_string" - }, - { - "type": "STRING", - "value": "to_float" - }, - { - "type": "STRING", - "value": "bash" - }, - { - "type": "STRING", - "value": "fish" - }, - { - "type": "STRING", - "value": "raw" - }, - { - "type": "STRING", - "value": "sh" - }, - { - "type": "STRING", - "value": "zsh" - }, - { - "type": "STRING", - "value": "random" - }, - { - "type": "STRING", - "value": "random_boolean" - }, - { - "type": "STRING", - "value": "random_float" - }, - { - "type": "STRING", - "value": "random_integer" - }, - { - "type": "STRING", - "value": "columns" - }, - { - "type": "STRING", - "value": "rows" - }, - { - "type": "STRING", - "value": "reverse" - } - ] } }, "extras": [ diff --git a/tree-sitter-dust/src/node-types.json b/tree-sitter-dust/src/node-types.json index 1e47c97..c6cdfef 100644 --- a/tree-sitter-dust/src/node-types.json +++ b/tree-sitter-dust/src/node-types.json @@ -70,21 +70,6 @@ "named": true, "fields": {} }, - { - "type": "built_in_function", - "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "expression", - "named": true - } - ] - } - }, { "type": "else", "named": true, @@ -212,10 +197,6 @@ "multiple": true, "required": true, "types": [ - { - "type": "built_in_function", - "named": true - }, { "type": "expression", "named": true @@ -678,10 +659,6 @@ "multiple": true, "required": true, "types": [ - { - "type": "built_in_function", - "named": true - }, { "type": "expression", "named": true @@ -793,18 +770,6 @@ "type": "any", "named": false }, - { - "type": "append", - "named": false - }, - { - "type": "assert", - "named": false - }, - { - "type": "assert_equal", - "named": false - }, { "type": "async", "named": false @@ -813,26 +778,10 @@ "type": "async for", "named": false }, - { - "type": "bash", - "named": false - }, { "type": "bool", "named": false }, - { - "type": "columns", - "named": false - }, - { - "type": "context", - "named": false - }, - { - "type": "download", - "named": false - }, { "type": "else", "named": false @@ -845,10 +794,6 @@ "type": "false", "named": false }, - { - "type": "fish", - "named": false - }, { "type": "float", "named": true @@ -865,14 +810,6 @@ "type": "from", "named": false }, - { - "type": "from_json", - "named": false - }, - { - "type": "help", - "named": false - }, { "type": "identifier", "named": true @@ -901,10 +838,6 @@ "type": "into", "named": false }, - { - "type": "length", - "named": false - }, { "type": "list", "named": false @@ -917,66 +850,14 @@ "type": "match", "named": false }, - { - "type": "metadata", - "named": false - }, - { - "type": "move", - "named": false - }, - { - "type": "output", - "named": false - }, - { - "type": "output_error", - "named": false - }, - { - "type": "random", - "named": false - }, - { - "type": "random_boolean", - "named": false - }, - { - "type": "random_float", - "named": false - }, - { - "type": "random_integer", - "named": false - }, - { - "type": "raw", - "named": false - }, - { - "type": "read", - "named": false - }, { "type": "return", "named": false }, - { - "type": "reverse", - "named": false - }, - { - "type": "rows", - "named": false - }, { "type": "select", "named": false }, - { - "type": "sh", - "named": false - }, { "type": "str", "named": false @@ -989,26 +870,10 @@ "type": "table", "named": false }, - { - "type": "to_float", - "named": false - }, - { - "type": "to_json", - "named": false - }, - { - "type": "to_string", - "named": false - }, { "type": "true", "named": false }, - { - "type": "type", - "named": false - }, { "type": "use", "named": false @@ -1017,18 +882,6 @@ "type": "while", "named": false }, - { - "type": "workdir", - "named": false - }, - { - "type": "write", - "named": false - }, - { - "type": "zsh", - "named": false - }, { "type": "{", "named": false diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index f794852..bd9139b 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -6,14 +6,14 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 377 +#define STATE_COUNT 385 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 137 +#define SYMBOL_COUNT 103 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 91 +#define TOKEN_COUNT 60 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 4 -#define MAX_ALIAS_SEQUENCE_LENGTH 5 +#define MAX_ALIAS_SEQUENCE_LENGTH 6 #define PRODUCTION_ID_COUNT 3 enum { @@ -76,83 +76,49 @@ enum { anon_sym_map = 57, anon_sym_str = 58, anon_sym_DASH_GT = 59, - anon_sym_assert = 60, - anon_sym_assert_equal = 61, - anon_sym_context = 62, - anon_sym_download = 63, - anon_sym_help = 64, - anon_sym_length = 65, - anon_sym_output = 66, - anon_sym_output_error = 67, - anon_sym_type = 68, - anon_sym_append = 69, - anon_sym_metadata = 70, - anon_sym_move = 71, - anon_sym_read = 72, - anon_sym_workdir = 73, - anon_sym_write = 74, - anon_sym_from_json = 75, - anon_sym_to_json = 76, - anon_sym_to_string = 77, - anon_sym_to_float = 78, - anon_sym_bash = 79, - anon_sym_fish = 80, - anon_sym_raw = 81, - anon_sym_sh = 82, - anon_sym_zsh = 83, - anon_sym_random = 84, - anon_sym_random_boolean = 85, - anon_sym_random_float = 86, - anon_sym_random_integer = 87, - anon_sym_columns = 88, - anon_sym_rows = 89, - anon_sym_reverse = 90, - sym_root = 91, - sym_block = 92, - sym_statement = 93, - sym_expression = 94, - sym__expression_kind = 95, - aux_sym__expression_list = 96, - sym_value = 97, - sym_boolean = 98, - sym_list = 99, - sym_map = 100, - sym_index = 101, - sym_math = 102, - sym_math_operator = 103, - sym_logic = 104, - sym_logic_operator = 105, - sym_assignment = 106, - sym_index_assignment = 107, - sym_assignment_operator = 108, - sym_if_else = 109, - sym_if = 110, - sym_else_if = 111, - sym_else = 112, - sym_match = 113, - sym_while = 114, - sym_for = 115, - sym_select = 116, - sym_insert = 117, - sym_identifier_list = 118, - sym_table = 119, - sym_return = 120, - sym_use = 121, - sym_type = 122, - sym_function = 123, - sym_parameter = 124, - sym_function_call = 125, - sym__context_defined_function = 126, - sym_built_in_function = 127, - sym_yield = 128, - sym__built_in_function_name = 129, - aux_sym_root_repeat1 = 130, - aux_sym_list_repeat1 = 131, - aux_sym_map_repeat1 = 132, - aux_sym_if_else_repeat1 = 133, - aux_sym_match_repeat1 = 134, - aux_sym_identifier_list_repeat1 = 135, - aux_sym_function_repeat1 = 136, + sym_root = 60, + sym_block = 61, + sym_statement = 62, + sym_expression = 63, + sym__expression_kind = 64, + aux_sym__expression_list = 65, + sym_value = 66, + sym_boolean = 67, + sym_list = 68, + sym_map = 69, + sym_index = 70, + sym_math = 71, + sym_math_operator = 72, + sym_logic = 73, + sym_logic_operator = 74, + sym_assignment = 75, + sym_index_assignment = 76, + sym_assignment_operator = 77, + sym_if_else = 78, + sym_if = 79, + sym_else_if = 80, + sym_else = 81, + sym_match = 82, + sym_while = 83, + sym_for = 84, + sym_select = 85, + sym_insert = 86, + sym_identifier_list = 87, + sym_table = 88, + sym_return = 89, + sym_use = 90, + sym_type = 91, + sym_function = 92, + sym_parameter = 93, + sym_function_call = 94, + sym_yield = 95, + aux_sym_root_repeat1 = 96, + aux_sym_list_repeat1 = 97, + aux_sym_map_repeat1 = 98, + aux_sym_if_else_repeat1 = 99, + aux_sym_match_repeat1 = 100, + aux_sym_identifier_list_repeat1 = 101, + aux_sym_function_repeat1 = 102, }; static const char * const ts_symbol_names[] = { @@ -216,37 +182,6 @@ static const char * const ts_symbol_names[] = { [anon_sym_map] = "map", [anon_sym_str] = "str", [anon_sym_DASH_GT] = "->", - [anon_sym_assert] = "assert", - [anon_sym_assert_equal] = "assert_equal", - [anon_sym_context] = "context", - [anon_sym_download] = "download", - [anon_sym_help] = "help", - [anon_sym_length] = "length", - [anon_sym_output] = "output", - [anon_sym_output_error] = "output_error", - [anon_sym_type] = "type", - [anon_sym_append] = "append", - [anon_sym_metadata] = "metadata", - [anon_sym_move] = "move", - [anon_sym_read] = "read", - [anon_sym_workdir] = "workdir", - [anon_sym_write] = "write", - [anon_sym_from_json] = "from_json", - [anon_sym_to_json] = "to_json", - [anon_sym_to_string] = "to_string", - [anon_sym_to_float] = "to_float", - [anon_sym_bash] = "bash", - [anon_sym_fish] = "fish", - [anon_sym_raw] = "raw", - [anon_sym_sh] = "sh", - [anon_sym_zsh] = "zsh", - [anon_sym_random] = "random", - [anon_sym_random_boolean] = "random_boolean", - [anon_sym_random_float] = "random_float", - [anon_sym_random_integer] = "random_integer", - [anon_sym_columns] = "columns", - [anon_sym_rows] = "rows", - [anon_sym_reverse] = "reverse", [sym_root] = "root", [sym_block] = "block", [sym_statement] = "statement", @@ -282,10 +217,7 @@ static const char * const ts_symbol_names[] = { [sym_function] = "function", [sym_parameter] = "parameter", [sym_function_call] = "function_call", - [sym__context_defined_function] = "_context_defined_function", - [sym_built_in_function] = "built_in_function", [sym_yield] = "yield", - [sym__built_in_function_name] = "_built_in_function_name", [aux_sym_root_repeat1] = "root_repeat1", [aux_sym_list_repeat1] = "list_repeat1", [aux_sym_map_repeat1] = "map_repeat1", @@ -356,37 +288,6 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_map] = anon_sym_map, [anon_sym_str] = anon_sym_str, [anon_sym_DASH_GT] = anon_sym_DASH_GT, - [anon_sym_assert] = anon_sym_assert, - [anon_sym_assert_equal] = anon_sym_assert_equal, - [anon_sym_context] = anon_sym_context, - [anon_sym_download] = anon_sym_download, - [anon_sym_help] = anon_sym_help, - [anon_sym_length] = anon_sym_length, - [anon_sym_output] = anon_sym_output, - [anon_sym_output_error] = anon_sym_output_error, - [anon_sym_type] = anon_sym_type, - [anon_sym_append] = anon_sym_append, - [anon_sym_metadata] = anon_sym_metadata, - [anon_sym_move] = anon_sym_move, - [anon_sym_read] = anon_sym_read, - [anon_sym_workdir] = anon_sym_workdir, - [anon_sym_write] = anon_sym_write, - [anon_sym_from_json] = anon_sym_from_json, - [anon_sym_to_json] = anon_sym_to_json, - [anon_sym_to_string] = anon_sym_to_string, - [anon_sym_to_float] = anon_sym_to_float, - [anon_sym_bash] = anon_sym_bash, - [anon_sym_fish] = anon_sym_fish, - [anon_sym_raw] = anon_sym_raw, - [anon_sym_sh] = anon_sym_sh, - [anon_sym_zsh] = anon_sym_zsh, - [anon_sym_random] = anon_sym_random, - [anon_sym_random_boolean] = anon_sym_random_boolean, - [anon_sym_random_float] = anon_sym_random_float, - [anon_sym_random_integer] = anon_sym_random_integer, - [anon_sym_columns] = anon_sym_columns, - [anon_sym_rows] = anon_sym_rows, - [anon_sym_reverse] = anon_sym_reverse, [sym_root] = sym_root, [sym_block] = sym_block, [sym_statement] = sym_statement, @@ -422,10 +323,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_function] = sym_function, [sym_parameter] = sym_parameter, [sym_function_call] = sym_function_call, - [sym__context_defined_function] = sym__context_defined_function, - [sym_built_in_function] = sym_built_in_function, [sym_yield] = sym_yield, - [sym__built_in_function_name] = sym__built_in_function_name, [aux_sym_root_repeat1] = aux_sym_root_repeat1, [aux_sym_list_repeat1] = aux_sym_list_repeat1, [aux_sym_map_repeat1] = aux_sym_map_repeat1, @@ -676,130 +574,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_assert] = { - .visible = true, - .named = false, - }, - [anon_sym_assert_equal] = { - .visible = true, - .named = false, - }, - [anon_sym_context] = { - .visible = true, - .named = false, - }, - [anon_sym_download] = { - .visible = true, - .named = false, - }, - [anon_sym_help] = { - .visible = true, - .named = false, - }, - [anon_sym_length] = { - .visible = true, - .named = false, - }, - [anon_sym_output] = { - .visible = true, - .named = false, - }, - [anon_sym_output_error] = { - .visible = true, - .named = false, - }, - [anon_sym_type] = { - .visible = true, - .named = false, - }, - [anon_sym_append] = { - .visible = true, - .named = false, - }, - [anon_sym_metadata] = { - .visible = true, - .named = false, - }, - [anon_sym_move] = { - .visible = true, - .named = false, - }, - [anon_sym_read] = { - .visible = true, - .named = false, - }, - [anon_sym_workdir] = { - .visible = true, - .named = false, - }, - [anon_sym_write] = { - .visible = true, - .named = false, - }, - [anon_sym_from_json] = { - .visible = true, - .named = false, - }, - [anon_sym_to_json] = { - .visible = true, - .named = false, - }, - [anon_sym_to_string] = { - .visible = true, - .named = false, - }, - [anon_sym_to_float] = { - .visible = true, - .named = false, - }, - [anon_sym_bash] = { - .visible = true, - .named = false, - }, - [anon_sym_fish] = { - .visible = true, - .named = false, - }, - [anon_sym_raw] = { - .visible = true, - .named = false, - }, - [anon_sym_sh] = { - .visible = true, - .named = false, - }, - [anon_sym_zsh] = { - .visible = true, - .named = false, - }, - [anon_sym_random] = { - .visible = true, - .named = false, - }, - [anon_sym_random_boolean] = { - .visible = true, - .named = false, - }, - [anon_sym_random_float] = { - .visible = true, - .named = false, - }, - [anon_sym_random_integer] = { - .visible = true, - .named = false, - }, - [anon_sym_columns] = { - .visible = true, - .named = false, - }, - [anon_sym_rows] = { - .visible = true, - .named = false, - }, - [anon_sym_reverse] = { - .visible = true, - .named = false, - }, [sym_root] = { .visible = true, .named = true, @@ -940,22 +714,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym__context_defined_function] = { - .visible = false, - .named = true, - }, - [sym_built_in_function] = { - .visible = true, - .named = true, - }, [sym_yield] = { .visible = true, .named = true, }, - [sym__built_in_function_name] = { - .visible = false, - .named = true, - }, [aux_sym_root_repeat1] = { .visible = false, .named = false, @@ -1031,173 +793,173 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [1] = 1, [2] = 2, [3] = 3, - [4] = 3, - [5] = 2, - [6] = 3, - [7] = 2, + [4] = 2, + [5] = 5, + [6] = 5, + [7] = 7, [8] = 8, - [9] = 9, - [10] = 8, - [11] = 11, - [12] = 11, - [13] = 11, - [14] = 14, - [15] = 11, - [16] = 14, - [17] = 14, - [18] = 11, - [19] = 14, - [20] = 14, - [21] = 14, - [22] = 11, - [23] = 14, - [24] = 11, - [25] = 25, - [26] = 26, - [27] = 26, - [28] = 26, - [29] = 29, - [30] = 29, - [31] = 26, - [32] = 29, - [33] = 29, - [34] = 26, - [35] = 29, - [36] = 29, - [37] = 26, - [38] = 29, - [39] = 26, - [40] = 40, - [41] = 41, + [9] = 7, + [10] = 5, + [11] = 7, + [12] = 7, + [13] = 5, + [14] = 5, + [15] = 7, + [16] = 5, + [17] = 7, + [18] = 5, + [19] = 7, + [20] = 20, + [21] = 21, + [22] = 21, + [23] = 21, + [24] = 20, + [25] = 20, + [26] = 21, + [27] = 20, + [28] = 21, + [29] = 21, + [30] = 20, + [31] = 21, + [32] = 20, + [33] = 20, + [34] = 34, + [35] = 35, + [36] = 36, + [37] = 36, + [38] = 38, + [39] = 39, + [40] = 39, + [41] = 38, [42] = 42, [43] = 43, [44] = 44, - [45] = 41, - [46] = 42, - [47] = 43, - [48] = 48, + [45] = 44, + [46] = 46, + [47] = 47, + [48] = 42, [49] = 49, - [50] = 50, - [51] = 51, - [52] = 52, - [53] = 52, + [50] = 47, + [51] = 46, + [52] = 43, + [53] = 53, [54] = 54, - [55] = 51, - [56] = 48, - [57] = 49, - [58] = 50, + [55] = 55, + [56] = 56, + [57] = 57, + [58] = 58, [59] = 59, [60] = 60, [61] = 61, - [62] = 62, + [62] = 61, [63] = 63, [64] = 64, [65] = 65, [66] = 66, [67] = 67, [68] = 68, - [69] = 69, + [69] = 61, [70] = 70, [71] = 71, [72] = 72, [73] = 73, - [74] = 74, + [74] = 55, [75] = 75, - [76] = 76, + [76] = 55, [77] = 77, [78] = 78, - [79] = 78, - [80] = 80, + [79] = 79, + [80] = 79, [81] = 81, - [82] = 80, - [83] = 83, + [82] = 82, + [83] = 82, [84] = 84, [85] = 85, - [86] = 51, - [87] = 48, - [88] = 49, - [89] = 52, - [90] = 63, - [91] = 50, - [92] = 60, - [93] = 52, - [94] = 51, - [95] = 49, - [96] = 50, - [97] = 48, - [98] = 62, - [99] = 76, - [100] = 100, - [101] = 73, - [102] = 71, - [103] = 65, - [104] = 67, - [105] = 105, - [106] = 74, - [107] = 75, - [108] = 72, - [109] = 59, + [86] = 86, + [87] = 68, + [88] = 47, + [89] = 43, + [90] = 46, + [91] = 44, + [92] = 42, + [93] = 44, + [94] = 58, + [95] = 42, + [96] = 47, + [97] = 46, + [98] = 43, + [99] = 70, + [100] = 63, + [101] = 54, + [102] = 53, + [103] = 71, + [104] = 59, + [105] = 64, + [106] = 65, + [107] = 67, + [108] = 108, + [109] = 73, [110] = 66, - [111] = 61, - [112] = 70, - [113] = 113, + [111] = 77, + [112] = 72, + [113] = 57, [114] = 114, - [115] = 84, - [116] = 85, + [115] = 60, + [116] = 116, [117] = 117, - [118] = 50, - [119] = 52, - [120] = 120, - [121] = 51, - [122] = 48, - [123] = 49, - [124] = 52, - [125] = 120, - [126] = 120, - [127] = 127, - [128] = 73, - [129] = 59, - [130] = 66, - [131] = 65, - [132] = 132, - [133] = 133, - [134] = 134, - [135] = 70, - [136] = 136, - [137] = 67, - [138] = 138, - [139] = 139, - [140] = 71, - [141] = 132, - [142] = 60, - [143] = 72, - [144] = 144, - [145] = 76, - [146] = 61, - [147] = 75, - [148] = 62, - [149] = 74, - [150] = 50, - [151] = 132, - [152] = 152, - [153] = 152, - [154] = 63, - [155] = 49, - [156] = 152, - [157] = 48, - [158] = 51, - [159] = 63, - [160] = 60, - [161] = 60, - [162] = 63, - [163] = 77, - [164] = 164, - [165] = 165, - [166] = 166, - [167] = 167, - [168] = 168, - [169] = 169, - [170] = 170, + [118] = 86, + [119] = 119, + [120] = 85, + [121] = 44, + [122] = 122, + [123] = 122, + [124] = 43, + [125] = 42, + [126] = 122, + [127] = 44, + [128] = 46, + [129] = 47, + [130] = 130, + [131] = 131, + [132] = 71, + [133] = 70, + [134] = 53, + [135] = 64, + [136] = 65, + [137] = 137, + [138] = 130, + [139] = 47, + [140] = 73, + [141] = 141, + [142] = 66, + [143] = 67, + [144] = 54, + [145] = 145, + [146] = 146, + [147] = 59, + [148] = 57, + [149] = 141, + [150] = 77, + [151] = 63, + [152] = 137, + [153] = 58, + [154] = 72, + [155] = 131, + [156] = 60, + [157] = 131, + [158] = 158, + [159] = 141, + [160] = 137, + [161] = 161, + [162] = 42, + [163] = 68, + [164] = 43, + [165] = 46, + [166] = 130, + [167] = 58, + [168] = 68, + [169] = 58, + [170] = 68, [171] = 171, [172] = 172, [173] = 173, @@ -1205,205 +967,213 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [175] = 175, [176] = 176, [177] = 177, - [178] = 54, - [179] = 176, - [180] = 175, - [181] = 181, - [182] = 171, - [183] = 172, + [178] = 178, + [179] = 179, + [180] = 180, + [181] = 180, + [182] = 182, + [183] = 183, [184] = 184, - [185] = 177, - [186] = 176, - [187] = 165, - [188] = 173, - [189] = 177, - [190] = 175, - [191] = 164, - [192] = 177, - [193] = 171, - [194] = 172, - [195] = 172, - [196] = 171, - [197] = 197, - [198] = 176, - [199] = 171, - [200] = 172, - [201] = 174, + [185] = 183, + [186] = 179, + [187] = 178, + [188] = 78, + [189] = 180, + [190] = 178, + [191] = 184, + [192] = 192, + [193] = 183, + [194] = 179, + [195] = 182, + [196] = 192, + [197] = 49, + [198] = 179, + [199] = 199, + [200] = 200, + [201] = 201, [202] = 202, - [203] = 176, - [204] = 177, - [205] = 176, - [206] = 177, - [207] = 172, - [208] = 171, - [209] = 209, - [210] = 171, - [211] = 172, - [212] = 176, - [213] = 170, - [214] = 168, - [215] = 167, - [216] = 177, - [217] = 181, - [218] = 176, - [219] = 219, - [220] = 220, - [221] = 175, - [222] = 222, - [223] = 177, - [224] = 172, - [225] = 171, - [226] = 60, - [227] = 63, - [228] = 228, - [229] = 229, - [230] = 209, - [231] = 231, - [232] = 232, - [233] = 64, - [234] = 80, - [235] = 52, - [236] = 49, - [237] = 48, - [238] = 51, - [239] = 52, - [240] = 80, - [241] = 50, - [242] = 242, - [243] = 81, - [244] = 83, - [245] = 48, - [246] = 246, - [247] = 247, - [248] = 248, - [249] = 51, - [250] = 248, - [251] = 49, - [252] = 247, + [203] = 203, + [204] = 184, + [205] = 180, + [206] = 206, + [207] = 183, + [208] = 180, + [209] = 179, + [210] = 178, + [211] = 211, + [212] = 183, + [213] = 183, + [214] = 214, + [215] = 179, + [216] = 178, + [217] = 183, + [218] = 218, + [219] = 175, + [220] = 180, + [221] = 58, + [222] = 203, + [223] = 180, + [224] = 184, + [225] = 225, + [226] = 180, + [227] = 227, + [228] = 211, + [229] = 183, + [230] = 179, + [231] = 179, + [232] = 178, + [233] = 178, + [234] = 178, + [235] = 174, + [236] = 173, + [237] = 203, + [238] = 202, + [239] = 206, + [240] = 240, + [241] = 176, + [242] = 211, + [243] = 243, + [244] = 68, + [245] = 245, + [246] = 177, + [247] = 56, + [248] = 44, + [249] = 44, + [250] = 47, + [251] = 82, + [252] = 46, [253] = 253, - [254] = 50, - [255] = 253, - [256] = 246, - [257] = 257, - [258] = 257, - [259] = 60, - [260] = 63, - [261] = 197, - [262] = 262, + [254] = 81, + [255] = 84, + [256] = 43, + [257] = 42, + [258] = 82, + [259] = 259, + [260] = 42, + [261] = 261, + [262] = 47, [263] = 263, - [264] = 264, - [265] = 265, - [266] = 266, + [264] = 261, + [265] = 43, + [266] = 46, [267] = 267, - [268] = 114, - [269] = 113, - [270] = 117, + [268] = 267, + [269] = 259, + [270] = 263, [271] = 271, - [272] = 272, - [273] = 139, - [274] = 127, - [275] = 275, - [276] = 275, + [272] = 271, + [273] = 201, + [274] = 68, + [275] = 58, + [276] = 276, [277] = 277, - [278] = 275, - [279] = 277, - [280] = 275, - [281] = 277, - [282] = 277, - [283] = 219, + [278] = 278, + [279] = 279, + [280] = 280, + [281] = 281, + [282] = 116, + [283] = 117, [284] = 284, [285] = 285, - [286] = 286, - [287] = 287, - [288] = 202, - [289] = 166, - [290] = 165, - [291] = 232, - [292] = 184, - [293] = 169, - [294] = 286, - [295] = 284, - [296] = 222, - [297] = 220, - [298] = 284, - [299] = 228, - [300] = 229, - [301] = 165, - [302] = 285, - [303] = 286, - [304] = 286, - [305] = 231, - [306] = 284, - [307] = 307, - [308] = 308, - [309] = 308, - [310] = 310, - [311] = 311, - [312] = 310, - [313] = 313, - [314] = 314, - [315] = 315, - [316] = 316, - [317] = 317, - [318] = 316, - [319] = 319, - [320] = 315, + [286] = 119, + [287] = 145, + [288] = 161, + [289] = 289, + [290] = 290, + [291] = 289, + [292] = 290, + [293] = 289, + [294] = 290, + [295] = 289, + [296] = 290, + [297] = 297, + [298] = 298, + [299] = 299, + [300] = 299, + [301] = 298, + [302] = 182, + [303] = 182, + [304] = 199, + [305] = 200, + [306] = 214, + [307] = 172, + [308] = 171, + [309] = 227, + [310] = 240, + [311] = 243, + [312] = 312, + [313] = 299, + [314] = 299, + [315] = 245, + [316] = 312, + [317] = 225, + [318] = 218, + [319] = 312, + [320] = 312, [321] = 321, - [322] = 316, + [322] = 321, [323] = 323, - [324] = 314, - [325] = 314, + [324] = 324, + [325] = 325, [326] = 326, - [327] = 316, - [328] = 314, - [329] = 310, - [330] = 313, - [331] = 308, + [327] = 327, + [328] = 328, + [329] = 325, + [330] = 327, + [331] = 331, [332] = 332, - [333] = 333, + [333] = 331, [334] = 332, - [335] = 332, - [336] = 332, - [337] = 337, - [338] = 338, + [335] = 321, + [336] = 336, + [337] = 327, + [338] = 332, [339] = 339, - [340] = 332, - [341] = 332, - [342] = 333, - [343] = 332, - [344] = 344, - [345] = 332, + [340] = 340, + [341] = 326, + [342] = 342, + [343] = 331, + [344] = 321, + [345] = 331, [346] = 346, - [347] = 347, - [348] = 348, + [347] = 346, + [348] = 346, [349] = 349, - [350] = 350, + [350] = 346, [351] = 349, - [352] = 349, - [353] = 349, - [354] = 349, + [352] = 346, + [353] = 353, + [354] = 346, [355] = 355, - [356] = 350, + [356] = 356, [357] = 357, - [358] = 358, - [359] = 347, + [358] = 346, + [359] = 346, [360] = 360, [361] = 361, - [362] = 348, - [363] = 358, - [364] = 349, + [362] = 361, + [363] = 361, + [364] = 361, [365] = 365, - [366] = 355, + [366] = 366, [367] = 367, - [368] = 346, - [369] = 350, - [370] = 357, - [371] = 349, - [372] = 360, - [373] = 373, - [374] = 365, - [375] = 365, - [376] = 348, + [368] = 368, + [369] = 369, + [370] = 368, + [371] = 366, + [372] = 361, + [373] = 361, + [374] = 361, + [375] = 375, + [376] = 376, + [377] = 367, + [378] = 360, + [379] = 379, + [380] = 380, + [381] = 375, + [382] = 369, + [383] = 367, + [384] = 365, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1429,7 +1199,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); if (lookahead == ':') ADVANCE(57); if (lookahead == ';') ADVANCE(34); - if (lookahead == '<') ADVANCE(75); + if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(56); if (lookahead == '>') ADVANCE(73); if (lookahead == '[') ADVANCE(52); @@ -1438,7 +1208,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'a') ADVANCE(45); if (lookahead == 'e') ADVANCE(43); if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(84); + if (lookahead == '|') ADVANCE(83); if (lookahead == '}') ADVANCE(33); if (lookahead == '\t' || lookahead == '\n' || @@ -1465,14 +1235,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); if (lookahead == ':') ADVANCE(57); if (lookahead == ';') ADVANCE(34); - if (lookahead == '<') ADVANCE(75); + if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(13); if (lookahead == '>') ADVANCE(73); if (lookahead == '[') ADVANCE(52); if (lookahead == ']') ADVANCE(53); if (lookahead == '`') ADVANCE(15); if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(84); + if (lookahead == '|') ADVANCE(83); if (lookahead == '}') ADVANCE(33); if (lookahead == '\t' || lookahead == '\n' || @@ -1494,7 +1264,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '/') ADVANCE(66); if (lookahead == ':') ADVANCE(57); if (lookahead == ';') ADVANCE(34); - if (lookahead == '<') ADVANCE(75); + if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(56); if (lookahead == '>') ADVANCE(73); if (lookahead == '{') ADVANCE(32); @@ -1521,7 +1291,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '/') ADVANCE(66); if (lookahead == ':') ADVANCE(57); if (lookahead == ';') ADVANCE(34); - if (lookahead == '<') ADVANCE(75); + if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(55); if (lookahead == '>') ADVANCE(73); if (lookahead == '{') ADVANCE(32); @@ -1548,7 +1318,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '/') ADVANCE(66); if (lookahead == ':') ADVANCE(57); if (lookahead == ';') ADVANCE(34); - if (lookahead == '<') ADVANCE(75); + if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(14); if (lookahead == '>') ADVANCE(73); if (lookahead == 'e') ADVANCE(43); @@ -1574,7 +1344,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '.') ADVANCE(10); if (lookahead == '/') ADVANCE(66); if (lookahead == ':') ADVANCE(57); - if (lookahead == '<') ADVANCE(75); + if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(14); if (lookahead == '>') ADVANCE(73); if (lookahead == '{') ADVANCE(32); @@ -1598,13 +1368,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '-') ADVANCE(24); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); if (lookahead == ';') ADVANCE(34); - if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(54); if (lookahead == '[') ADVANCE(52); if (lookahead == ']') ADVANCE(53); if (lookahead == '`') ADVANCE(15); if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(83); + if (lookahead == '|') ADVANCE(82); if (lookahead == '}') ADVANCE(33); if (lookahead == '\t' || lookahead == '\n' || @@ -1631,14 +1400,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '=') ADVANCE(69); END_STATE(); case 12: - if (lookahead == '=') ADVANCE(78); + if (lookahead == '=') ADVANCE(77); END_STATE(); case 13: if (lookahead == '=') ADVANCE(68); END_STATE(); case 14: if (lookahead == '=') ADVANCE(68); - if (lookahead == '>') ADVANCE(81); + if (lookahead == '>') ADVANCE(80); END_STATE(); case 15: if (lookahead == '`') ADVANCE(51); @@ -1648,7 +1417,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'f') ADVANCE(19); END_STATE(); case 17: - if (lookahead == 'f') ADVANCE(80); + if (lookahead == 'f') ADVANCE(79); END_STATE(); case 18: if (lookahead == 'i') ADVANCE(17); @@ -1657,7 +1426,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'o') ADVANCE(20); END_STATE(); case 20: - if (lookahead == 'r') ADVANCE(82); + if (lookahead == 'r') ADVANCE(81); END_STATE(); case 21: if (lookahead == '|') ADVANCE(31); @@ -1673,7 +1442,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 24: if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); - if (lookahead == '=') ADVANCE(79); + if (lookahead == '=') ADVANCE(78); END_STATE(); case 25: if (('0' <= lookahead && lookahead <= '9')) ADVANCE(50); @@ -1695,14 +1464,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); if (lookahead == ':') ADVANCE(57); if (lookahead == ';') ADVANCE(34); - if (lookahead == '<') ADVANCE(75); + if (lookahead == '<') ADVANCE(74); if (lookahead == '=') ADVANCE(55); if (lookahead == '>') ADVANCE(73); if (lookahead == '[') ADVANCE(52); if (lookahead == '`') ADVANCE(15); if (lookahead == 'a') ADVANCE(45); if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(84); + if (lookahead == '|') ADVANCE(83); if (lookahead == '}') ADVANCE(33); if (lookahead == '\t' || lookahead == '\n' || @@ -1727,7 +1496,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '`') ADVANCE(15); if (lookahead == 'a') ADVANCE(45); if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(83); + if (lookahead == '|') ADVANCE(82); if (lookahead == '}') ADVANCE(33); if (lookahead == '\t' || lookahead == '\n' || @@ -1750,7 +1519,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'a') ADVANCE(45); if (lookahead == 'e') ADVANCE(43); if (lookahead == '{') ADVANCE(32); - if (lookahead == '|') ADVANCE(83); + if (lookahead == '|') ADVANCE(82); if (lookahead == '}') ADVANCE(33); if (lookahead == '\t' || lookahead == '\n' || @@ -1900,7 +1669,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 56: ACCEPT_TOKEN(anon_sym_EQ); if (lookahead == '=') ADVANCE(68); - if (lookahead == '>') ADVANCE(81); + if (lookahead == '>') ADVANCE(80); END_STATE(); case 57: ACCEPT_TOKEN(anon_sym_COLON); @@ -1913,27 +1682,27 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 60: ACCEPT_TOKEN(anon_sym_PLUS); - if (lookahead == '=') ADVANCE(78); + if (lookahead == '=') ADVANCE(77); END_STATE(); case 61: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '=') ADVANCE(79); - if (lookahead == '>') ADVANCE(85); + if (lookahead == '=') ADVANCE(78); + if (lookahead == '>') ADVANCE(84); END_STATE(); case 62: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '>') ADVANCE(85); + if (lookahead == '>') ADVANCE(84); END_STATE(); case 63: ACCEPT_TOKEN(anon_sym_DASH); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); - if (lookahead == '=') ADVANCE(79); - if (lookahead == '>') ADVANCE(85); + if (lookahead == '=') ADVANCE(78); + if (lookahead == '>') ADVANCE(84); END_STATE(); case 64: ACCEPT_TOKEN(anon_sym_DASH); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); - if (lookahead == '>') ADVANCE(85); + if (lookahead == '>') ADVANCE(84); END_STATE(); case 65: ACCEPT_TOKEN(anon_sym_STAR); @@ -1961,44 +1730,41 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 73: ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '=') ADVANCE(76); + if (lookahead == '=') ADVANCE(75); END_STATE(); case 74: ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '=') ADVANCE(76); END_STATE(); case 75: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '=') ADVANCE(77); - END_STATE(); - case 76: ACCEPT_TOKEN(anon_sym_GT_EQ); END_STATE(); - case 77: + case 76: ACCEPT_TOKEN(anon_sym_LT_EQ); END_STATE(); - case 78: + case 77: ACCEPT_TOKEN(anon_sym_PLUS_EQ); END_STATE(); - case 79: + case 78: ACCEPT_TOKEN(anon_sym_DASH_EQ); END_STATE(); - case 80: + case 79: ACCEPT_TOKEN(anon_sym_elseif); END_STATE(); - case 81: + case 80: ACCEPT_TOKEN(anon_sym_EQ_GT); END_STATE(); - case 82: + case 81: ACCEPT_TOKEN(anon_sym_asyncfor); END_STATE(); + case 82: + ACCEPT_TOKEN(anon_sym_PIPE); + END_STATE(); case 83: - ACCEPT_TOKEN(anon_sym_PIPE); - END_STATE(); - case 84: ACCEPT_TOKEN(anon_sym_PIPE); if (lookahead == '|') ADVANCE(71); END_STATE(); - case 85: + case 84: ACCEPT_TOKEN(anon_sym_DASH_GT); END_STATE(); default: @@ -2013,729 +1779,257 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { case 0: if (lookahead == 'a') ADVANCE(1); if (lookahead == 'b') ADVANCE(2); - if (lookahead == 'c') ADVANCE(3); - if (lookahead == 'd') ADVANCE(4); - if (lookahead == 'e') ADVANCE(5); - if (lookahead == 'f') ADVANCE(6); - if (lookahead == 'h') ADVANCE(7); - if (lookahead == 'i') ADVANCE(8); - if (lookahead == 'l') ADVANCE(9); - if (lookahead == 'm') ADVANCE(10); - if (lookahead == 'o') ADVANCE(11); - if (lookahead == 'r') ADVANCE(12); - if (lookahead == 's') ADVANCE(13); - if (lookahead == 't') ADVANCE(14); - if (lookahead == 'u') ADVANCE(15); - if (lookahead == 'w') ADVANCE(16); - if (lookahead == 'z') ADVANCE(17); + if (lookahead == 'e') ADVANCE(3); + if (lookahead == 'f') ADVANCE(4); + if (lookahead == 'i') ADVANCE(5); + if (lookahead == 'l') ADVANCE(6); + if (lookahead == 'm') ADVANCE(7); + if (lookahead == 'r') ADVANCE(8); + if (lookahead == 's') ADVANCE(9); + if (lookahead == 't') ADVANCE(10); + if (lookahead == 'u') ADVANCE(11); + if (lookahead == 'w') ADVANCE(12); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) END_STATE(); case 1: - if (lookahead == 'n') ADVANCE(18); - if (lookahead == 'p') ADVANCE(19); - if (lookahead == 's') ADVANCE(20); + if (lookahead == 'n') ADVANCE(13); + if (lookahead == 's') ADVANCE(14); END_STATE(); case 2: - if (lookahead == 'a') ADVANCE(21); - if (lookahead == 'o') ADVANCE(22); + if (lookahead == 'o') ADVANCE(15); END_STATE(); case 3: - if (lookahead == 'o') ADVANCE(23); + if (lookahead == 'l') ADVANCE(16); END_STATE(); case 4: - if (lookahead == 'o') ADVANCE(24); + if (lookahead == 'a') ADVANCE(17); + if (lookahead == 'n') ADVANCE(18); + if (lookahead == 'o') ADVANCE(19); + if (lookahead == 'r') ADVANCE(20); END_STATE(); case 5: - if (lookahead == 'l') ADVANCE(25); + if (lookahead == 'f') ADVANCE(21); + if (lookahead == 'n') ADVANCE(22); END_STATE(); case 6: - if (lookahead == 'a') ADVANCE(26); - if (lookahead == 'i') ADVANCE(27); - if (lookahead == 'n') ADVANCE(28); - if (lookahead == 'o') ADVANCE(29); - if (lookahead == 'r') ADVANCE(30); + if (lookahead == 'i') ADVANCE(23); END_STATE(); case 7: - if (lookahead == 'e') ADVANCE(31); + if (lookahead == 'a') ADVANCE(24); END_STATE(); case 8: - if (lookahead == 'f') ADVANCE(32); - if (lookahead == 'n') ADVANCE(33); + if (lookahead == 'e') ADVANCE(25); END_STATE(); case 9: - if (lookahead == 'e') ADVANCE(34); - if (lookahead == 'i') ADVANCE(35); + if (lookahead == 'e') ADVANCE(26); + if (lookahead == 't') ADVANCE(27); END_STATE(); case 10: - if (lookahead == 'a') ADVANCE(36); - if (lookahead == 'e') ADVANCE(37); - if (lookahead == 'o') ADVANCE(38); + if (lookahead == 'a') ADVANCE(28); + if (lookahead == 'r') ADVANCE(29); END_STATE(); case 11: - if (lookahead == 'u') ADVANCE(39); + if (lookahead == 's') ADVANCE(30); END_STATE(); case 12: - if (lookahead == 'a') ADVANCE(40); - if (lookahead == 'e') ADVANCE(41); - if (lookahead == 'o') ADVANCE(42); + if (lookahead == 'h') ADVANCE(31); END_STATE(); case 13: - if (lookahead == 'e') ADVANCE(43); - if (lookahead == 'h') ADVANCE(44); - if (lookahead == 't') ADVANCE(45); + if (lookahead == 'y') ADVANCE(32); END_STATE(); case 14: - if (lookahead == 'a') ADVANCE(46); - if (lookahead == 'o') ADVANCE(47); - if (lookahead == 'r') ADVANCE(48); - if (lookahead == 'y') ADVANCE(49); + if (lookahead == 'y') ADVANCE(33); END_STATE(); case 15: - if (lookahead == 's') ADVANCE(50); + if (lookahead == 'o') ADVANCE(34); END_STATE(); case 16: - if (lookahead == 'h') ADVANCE(51); - if (lookahead == 'o') ADVANCE(52); - if (lookahead == 'r') ADVANCE(53); + if (lookahead == 's') ADVANCE(35); END_STATE(); case 17: - if (lookahead == 's') ADVANCE(54); + if (lookahead == 'l') ADVANCE(36); END_STATE(); case 18: - if (lookahead == 'y') ADVANCE(55); - END_STATE(); - case 19: - if (lookahead == 'p') ADVANCE(56); - END_STATE(); - case 20: - if (lookahead == 's') ADVANCE(57); - if (lookahead == 'y') ADVANCE(58); - END_STATE(); - case 21: - if (lookahead == 's') ADVANCE(59); - END_STATE(); - case 22: - if (lookahead == 'o') ADVANCE(60); - END_STATE(); - case 23: - if (lookahead == 'l') ADVANCE(61); - if (lookahead == 'n') ADVANCE(62); - END_STATE(); - case 24: - if (lookahead == 'w') ADVANCE(63); - END_STATE(); - case 25: - if (lookahead == 's') ADVANCE(64); - END_STATE(); - case 26: - if (lookahead == 'l') ADVANCE(65); - END_STATE(); - case 27: - if (lookahead == 's') ADVANCE(66); - END_STATE(); - case 28: ACCEPT_TOKEN(anon_sym_fn); END_STATE(); - case 29: - if (lookahead == 'r') ADVANCE(67); + case 19: + if (lookahead == 'r') ADVANCE(37); END_STATE(); - case 30: - if (lookahead == 'o') ADVANCE(68); + case 20: + if (lookahead == 'o') ADVANCE(38); END_STATE(); - case 31: - if (lookahead == 'l') ADVANCE(69); - END_STATE(); - case 32: + case 21: ACCEPT_TOKEN(anon_sym_if); END_STATE(); - case 33: + case 22: ACCEPT_TOKEN(anon_sym_in); - if (lookahead == 's') ADVANCE(70); - if (lookahead == 't') ADVANCE(71); + if (lookahead == 's') ADVANCE(39); + if (lookahead == 't') ADVANCE(40); END_STATE(); - case 34: - if (lookahead == 'n') ADVANCE(72); + case 23: + if (lookahead == 's') ADVANCE(41); END_STATE(); - case 35: - if (lookahead == 's') ADVANCE(73); + case 24: + if (lookahead == 'p') ADVANCE(42); + if (lookahead == 't') ADVANCE(43); END_STATE(); - case 36: - if (lookahead == 'p') ADVANCE(74); - if (lookahead == 't') ADVANCE(75); + case 25: + if (lookahead == 't') ADVANCE(44); END_STATE(); - case 37: - if (lookahead == 't') ADVANCE(76); + case 26: + if (lookahead == 'l') ADVANCE(45); END_STATE(); - case 38: - if (lookahead == 'v') ADVANCE(77); + case 27: + if (lookahead == 'r') ADVANCE(46); END_STATE(); - case 39: - if (lookahead == 't') ADVANCE(78); + case 28: + if (lookahead == 'b') ADVANCE(47); END_STATE(); - case 40: - if (lookahead == 'n') ADVANCE(79); - if (lookahead == 'w') ADVANCE(80); + case 29: + if (lookahead == 'u') ADVANCE(48); END_STATE(); - case 41: - if (lookahead == 'a') ADVANCE(81); - if (lookahead == 't') ADVANCE(82); - if (lookahead == 'v') ADVANCE(83); + case 30: + if (lookahead == 'e') ADVANCE(49); END_STATE(); - case 42: - if (lookahead == 'w') ADVANCE(84); + case 31: + if (lookahead == 'i') ADVANCE(50); END_STATE(); - case 43: - if (lookahead == 'l') ADVANCE(85); - END_STATE(); - case 44: - ACCEPT_TOKEN(anon_sym_sh); - END_STATE(); - case 45: - if (lookahead == 'r') ADVANCE(86); - END_STATE(); - case 46: - if (lookahead == 'b') ADVANCE(87); - END_STATE(); - case 47: - if (lookahead == '_') ADVANCE(88); - END_STATE(); - case 48: - if (lookahead == 'u') ADVANCE(89); - END_STATE(); - case 49: - if (lookahead == 'p') ADVANCE(90); - END_STATE(); - case 50: - if (lookahead == 'e') ADVANCE(91); - END_STATE(); - case 51: - if (lookahead == 'i') ADVANCE(92); - END_STATE(); - case 52: - if (lookahead == 'r') ADVANCE(93); - END_STATE(); - case 53: - if (lookahead == 'i') ADVANCE(94); - END_STATE(); - case 54: - if (lookahead == 'h') ADVANCE(95); - END_STATE(); - case 55: + case 32: ACCEPT_TOKEN(anon_sym_any); END_STATE(); - case 56: - if (lookahead == 'e') ADVANCE(96); + case 33: + if (lookahead == 'n') ADVANCE(51); END_STATE(); - case 57: - if (lookahead == 'e') ADVANCE(97); + case 34: + if (lookahead == 'l') ADVANCE(52); END_STATE(); - case 58: - if (lookahead == 'n') ADVANCE(98); + case 35: + if (lookahead == 'e') ADVANCE(53); END_STATE(); - case 59: - if (lookahead == 'h') ADVANCE(99); + case 36: + if (lookahead == 's') ADVANCE(54); END_STATE(); - case 60: - if (lookahead == 'l') ADVANCE(100); - END_STATE(); - case 61: - if (lookahead == 'u') ADVANCE(101); - END_STATE(); - case 62: - if (lookahead == 't') ADVANCE(102); - END_STATE(); - case 63: - if (lookahead == 'n') ADVANCE(103); - END_STATE(); - case 64: - if (lookahead == 'e') ADVANCE(104); - END_STATE(); - case 65: - if (lookahead == 's') ADVANCE(105); - END_STATE(); - case 66: - if (lookahead == 'h') ADVANCE(106); - END_STATE(); - case 67: + case 37: ACCEPT_TOKEN(anon_sym_for); END_STATE(); - case 68: - if (lookahead == 'm') ADVANCE(107); + case 38: + if (lookahead == 'm') ADVANCE(55); END_STATE(); - case 69: - if (lookahead == 'p') ADVANCE(108); + case 39: + if (lookahead == 'e') ADVANCE(56); END_STATE(); - case 70: - if (lookahead == 'e') ADVANCE(109); - END_STATE(); - case 71: + case 40: ACCEPT_TOKEN(anon_sym_int); - if (lookahead == 'o') ADVANCE(110); + if (lookahead == 'o') ADVANCE(57); END_STATE(); - case 72: - if (lookahead == 'g') ADVANCE(111); + case 41: + if (lookahead == 't') ADVANCE(58); END_STATE(); - case 73: - if (lookahead == 't') ADVANCE(112); - END_STATE(); - case 74: + case 42: ACCEPT_TOKEN(anon_sym_map); END_STATE(); - case 75: - if (lookahead == 'c') ADVANCE(113); + case 43: + if (lookahead == 'c') ADVANCE(59); END_STATE(); - case 76: - if (lookahead == 'a') ADVANCE(114); + case 44: + if (lookahead == 'u') ADVANCE(60); END_STATE(); - case 77: - if (lookahead == 'e') ADVANCE(115); + case 45: + if (lookahead == 'e') ADVANCE(61); END_STATE(); - case 78: - if (lookahead == 'p') ADVANCE(116); - END_STATE(); - case 79: - if (lookahead == 'd') ADVANCE(117); - END_STATE(); - case 80: - ACCEPT_TOKEN(anon_sym_raw); - END_STATE(); - case 81: - if (lookahead == 'd') ADVANCE(118); - END_STATE(); - case 82: - if (lookahead == 'u') ADVANCE(119); - END_STATE(); - case 83: - if (lookahead == 'e') ADVANCE(120); - END_STATE(); - case 84: - if (lookahead == 's') ADVANCE(121); - END_STATE(); - case 85: - if (lookahead == 'e') ADVANCE(122); - END_STATE(); - case 86: + case 46: ACCEPT_TOKEN(anon_sym_str); END_STATE(); - case 87: - if (lookahead == 'l') ADVANCE(123); + case 47: + if (lookahead == 'l') ADVANCE(62); END_STATE(); - case 88: - if (lookahead == 'f') ADVANCE(124); - if (lookahead == 'j') ADVANCE(125); - if (lookahead == 's') ADVANCE(126); + case 48: + if (lookahead == 'e') ADVANCE(63); END_STATE(); - case 89: - if (lookahead == 'e') ADVANCE(127); - END_STATE(); - case 90: - if (lookahead == 'e') ADVANCE(128); - END_STATE(); - case 91: + case 49: ACCEPT_TOKEN(anon_sym_use); END_STATE(); - case 92: - if (lookahead == 'l') ADVANCE(129); + case 50: + if (lookahead == 'l') ADVANCE(64); END_STATE(); - case 93: - if (lookahead == 'k') ADVANCE(130); + case 51: + if (lookahead == 'c') ADVANCE(65); END_STATE(); - case 94: - if (lookahead == 't') ADVANCE(131); - END_STATE(); - case 95: - ACCEPT_TOKEN(anon_sym_zsh); - END_STATE(); - case 96: - if (lookahead == 'n') ADVANCE(132); - END_STATE(); - case 97: - if (lookahead == 'r') ADVANCE(133); - END_STATE(); - case 98: - if (lookahead == 'c') ADVANCE(134); - END_STATE(); - case 99: - ACCEPT_TOKEN(anon_sym_bash); - END_STATE(); - case 100: + case 52: ACCEPT_TOKEN(anon_sym_bool); END_STATE(); - case 101: - if (lookahead == 'm') ADVANCE(135); - END_STATE(); - case 102: - if (lookahead == 'e') ADVANCE(136); - END_STATE(); - case 103: - if (lookahead == 'l') ADVANCE(137); - END_STATE(); - case 104: + case 53: ACCEPT_TOKEN(anon_sym_else); END_STATE(); - case 105: - if (lookahead == 'e') ADVANCE(138); + case 54: + if (lookahead == 'e') ADVANCE(66); END_STATE(); - case 106: - ACCEPT_TOKEN(anon_sym_fish); - END_STATE(); - case 107: + case 55: ACCEPT_TOKEN(anon_sym_from); - if (lookahead == '_') ADVANCE(139); END_STATE(); - case 108: - ACCEPT_TOKEN(anon_sym_help); + case 56: + if (lookahead == 'r') ADVANCE(67); END_STATE(); - case 109: - if (lookahead == 'r') ADVANCE(140); - END_STATE(); - case 110: + case 57: ACCEPT_TOKEN(anon_sym_into); END_STATE(); - case 111: - if (lookahead == 't') ADVANCE(141); - END_STATE(); - case 112: + case 58: ACCEPT_TOKEN(anon_sym_list); END_STATE(); - case 113: - if (lookahead == 'h') ADVANCE(142); + case 59: + if (lookahead == 'h') ADVANCE(68); END_STATE(); - case 114: - if (lookahead == 'd') ADVANCE(143); + case 60: + if (lookahead == 'r') ADVANCE(69); END_STATE(); - case 115: - ACCEPT_TOKEN(anon_sym_move); + case 61: + if (lookahead == 'c') ADVANCE(70); END_STATE(); - case 116: - if (lookahead == 'u') ADVANCE(144); + case 62: + if (lookahead == 'e') ADVANCE(71); END_STATE(); - case 117: - if (lookahead == 'o') ADVANCE(145); - END_STATE(); - case 118: - ACCEPT_TOKEN(anon_sym_read); - END_STATE(); - case 119: - if (lookahead == 'r') ADVANCE(146); - END_STATE(); - case 120: - if (lookahead == 'r') ADVANCE(147); - END_STATE(); - case 121: - ACCEPT_TOKEN(anon_sym_rows); - END_STATE(); - case 122: - if (lookahead == 'c') ADVANCE(148); - END_STATE(); - case 123: - if (lookahead == 'e') ADVANCE(149); - END_STATE(); - case 124: - if (lookahead == 'l') ADVANCE(150); - END_STATE(); - case 125: - if (lookahead == 's') ADVANCE(151); - END_STATE(); - case 126: - if (lookahead == 't') ADVANCE(152); - END_STATE(); - case 127: + case 63: ACCEPT_TOKEN(anon_sym_true); END_STATE(); - case 128: - ACCEPT_TOKEN(anon_sym_type); + case 64: + if (lookahead == 'e') ADVANCE(72); END_STATE(); - case 129: - if (lookahead == 'e') ADVANCE(153); - END_STATE(); - case 130: - if (lookahead == 'd') ADVANCE(154); - END_STATE(); - case 131: - if (lookahead == 'e') ADVANCE(155); - END_STATE(); - case 132: - if (lookahead == 'd') ADVANCE(156); - END_STATE(); - case 133: - if (lookahead == 't') ADVANCE(157); - END_STATE(); - case 134: + case 65: ACCEPT_TOKEN(anon_sym_async); END_STATE(); - case 135: - if (lookahead == 'n') ADVANCE(158); - END_STATE(); - case 136: - if (lookahead == 'x') ADVANCE(159); - END_STATE(); - case 137: - if (lookahead == 'o') ADVANCE(160); - END_STATE(); - case 138: + case 66: ACCEPT_TOKEN(anon_sym_false); END_STATE(); - case 139: - if (lookahead == 'j') ADVANCE(161); + case 67: + if (lookahead == 't') ADVANCE(73); END_STATE(); - case 140: - if (lookahead == 't') ADVANCE(162); - END_STATE(); - case 141: - if (lookahead == 'h') ADVANCE(163); - END_STATE(); - case 142: + case 68: ACCEPT_TOKEN(anon_sym_match); END_STATE(); - case 143: - if (lookahead == 'a') ADVANCE(164); + case 69: + if (lookahead == 'n') ADVANCE(74); END_STATE(); - case 144: - if (lookahead == 't') ADVANCE(165); + case 70: + if (lookahead == 't') ADVANCE(75); END_STATE(); - case 145: - if (lookahead == 'm') ADVANCE(166); - END_STATE(); - case 146: - if (lookahead == 'n') ADVANCE(167); - END_STATE(); - case 147: - if (lookahead == 's') ADVANCE(168); - END_STATE(); - case 148: - if (lookahead == 't') ADVANCE(169); - END_STATE(); - case 149: + case 71: ACCEPT_TOKEN(anon_sym_table); END_STATE(); - case 150: - if (lookahead == 'o') ADVANCE(170); - END_STATE(); - case 151: - if (lookahead == 'o') ADVANCE(171); - END_STATE(); - case 152: - if (lookahead == 'r') ADVANCE(172); - END_STATE(); - case 153: + case 72: ACCEPT_TOKEN(anon_sym_while); END_STATE(); - case 154: - if (lookahead == 'i') ADVANCE(173); - END_STATE(); - case 155: - ACCEPT_TOKEN(anon_sym_write); - END_STATE(); - case 156: - ACCEPT_TOKEN(anon_sym_append); - END_STATE(); - case 157: - ACCEPT_TOKEN(anon_sym_assert); - if (lookahead == '_') ADVANCE(174); - END_STATE(); - case 158: - if (lookahead == 's') ADVANCE(175); - END_STATE(); - case 159: - if (lookahead == 't') ADVANCE(176); - END_STATE(); - case 160: - if (lookahead == 'a') ADVANCE(177); - END_STATE(); - case 161: - if (lookahead == 's') ADVANCE(178); - END_STATE(); - case 162: + case 73: ACCEPT_TOKEN(anon_sym_insert); END_STATE(); - case 163: - ACCEPT_TOKEN(anon_sym_length); - END_STATE(); - case 164: - if (lookahead == 't') ADVANCE(179); - END_STATE(); - case 165: - ACCEPT_TOKEN(anon_sym_output); - if (lookahead == '_') ADVANCE(180); - END_STATE(); - case 166: - ACCEPT_TOKEN(anon_sym_random); - if (lookahead == '_') ADVANCE(181); - END_STATE(); - case 167: + case 74: ACCEPT_TOKEN(anon_sym_return); END_STATE(); - case 168: - if (lookahead == 'e') ADVANCE(182); - END_STATE(); - case 169: + case 75: ACCEPT_TOKEN(anon_sym_select); END_STATE(); - case 170: - if (lookahead == 'a') ADVANCE(183); - END_STATE(); - case 171: - if (lookahead == 'n') ADVANCE(184); - END_STATE(); - case 172: - if (lookahead == 'i') ADVANCE(185); - END_STATE(); - case 173: - if (lookahead == 'r') ADVANCE(186); - END_STATE(); - case 174: - if (lookahead == 'e') ADVANCE(187); - END_STATE(); - case 175: - ACCEPT_TOKEN(anon_sym_columns); - END_STATE(); - case 176: - ACCEPT_TOKEN(anon_sym_context); - END_STATE(); - case 177: - if (lookahead == 'd') ADVANCE(188); - END_STATE(); - case 178: - if (lookahead == 'o') ADVANCE(189); - END_STATE(); - case 179: - if (lookahead == 'a') ADVANCE(190); - END_STATE(); - case 180: - if (lookahead == 'e') ADVANCE(191); - END_STATE(); - case 181: - if (lookahead == 'b') ADVANCE(192); - if (lookahead == 'f') ADVANCE(193); - if (lookahead == 'i') ADVANCE(194); - END_STATE(); - case 182: - ACCEPT_TOKEN(anon_sym_reverse); - END_STATE(); - case 183: - if (lookahead == 't') ADVANCE(195); - END_STATE(); - case 184: - ACCEPT_TOKEN(anon_sym_to_json); - END_STATE(); - case 185: - if (lookahead == 'n') ADVANCE(196); - END_STATE(); - case 186: - ACCEPT_TOKEN(anon_sym_workdir); - END_STATE(); - case 187: - if (lookahead == 'q') ADVANCE(197); - END_STATE(); - case 188: - ACCEPT_TOKEN(anon_sym_download); - END_STATE(); - case 189: - if (lookahead == 'n') ADVANCE(198); - END_STATE(); - case 190: - ACCEPT_TOKEN(anon_sym_metadata); - END_STATE(); - case 191: - if (lookahead == 'r') ADVANCE(199); - END_STATE(); - case 192: - if (lookahead == 'o') ADVANCE(200); - END_STATE(); - case 193: - if (lookahead == 'l') ADVANCE(201); - END_STATE(); - case 194: - if (lookahead == 'n') ADVANCE(202); - END_STATE(); - case 195: - ACCEPT_TOKEN(anon_sym_to_float); - END_STATE(); - case 196: - if (lookahead == 'g') ADVANCE(203); - END_STATE(); - case 197: - if (lookahead == 'u') ADVANCE(204); - END_STATE(); - case 198: - ACCEPT_TOKEN(anon_sym_from_json); - END_STATE(); - case 199: - if (lookahead == 'r') ADVANCE(205); - END_STATE(); - case 200: - if (lookahead == 'o') ADVANCE(206); - END_STATE(); - case 201: - if (lookahead == 'o') ADVANCE(207); - END_STATE(); - case 202: - if (lookahead == 't') ADVANCE(208); - END_STATE(); - case 203: - ACCEPT_TOKEN(anon_sym_to_string); - END_STATE(); - case 204: - if (lookahead == 'a') ADVANCE(209); - END_STATE(); - case 205: - if (lookahead == 'o') ADVANCE(210); - END_STATE(); - case 206: - if (lookahead == 'l') ADVANCE(211); - END_STATE(); - case 207: - if (lookahead == 'a') ADVANCE(212); - END_STATE(); - case 208: - if (lookahead == 'e') ADVANCE(213); - END_STATE(); - case 209: - if (lookahead == 'l') ADVANCE(214); - END_STATE(); - case 210: - if (lookahead == 'r') ADVANCE(215); - END_STATE(); - case 211: - if (lookahead == 'e') ADVANCE(216); - END_STATE(); - case 212: - if (lookahead == 't') ADVANCE(217); - END_STATE(); - case 213: - if (lookahead == 'g') ADVANCE(218); - END_STATE(); - case 214: - ACCEPT_TOKEN(anon_sym_assert_equal); - END_STATE(); - case 215: - ACCEPT_TOKEN(anon_sym_output_error); - END_STATE(); - case 216: - if (lookahead == 'a') ADVANCE(219); - END_STATE(); - case 217: - ACCEPT_TOKEN(anon_sym_random_float); - END_STATE(); - case 218: - if (lookahead == 'e') ADVANCE(220); - END_STATE(); - case 219: - if (lookahead == 'n') ADVANCE(221); - END_STATE(); - case 220: - if (lookahead == 'r') ADVANCE(222); - END_STATE(); - case 221: - ACCEPT_TOKEN(anon_sym_random_boolean); - END_STATE(); - case 222: - ACCEPT_TOKEN(anon_sym_random_integer); - END_STATE(); default: return false; } @@ -2744,12 +2038,12 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, [1] = {.lex_state = 27}, - [2] = {.lex_state = 6}, - [3] = {.lex_state = 6}, - [4] = {.lex_state = 6}, - [5] = {.lex_state = 6}, - [6] = {.lex_state = 6}, - [7] = {.lex_state = 6}, + [2] = {.lex_state = 27}, + [3] = {.lex_state = 27}, + [4] = {.lex_state = 27}, + [5] = {.lex_state = 27}, + [6] = {.lex_state = 27}, + [7] = {.lex_state = 27}, [8] = {.lex_state = 27}, [9] = {.lex_state = 27}, [10] = {.lex_state = 27}, @@ -2784,12 +2078,12 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [39] = {.lex_state = 27}, [40] = {.lex_state = 27}, [41] = {.lex_state = 27}, - [42] = {.lex_state = 27}, - [43] = {.lex_state = 27}, - [44] = {.lex_state = 27}, - [45] = {.lex_state = 27}, - [46] = {.lex_state = 27}, - [47] = {.lex_state = 27}, + [42] = {.lex_state = 26}, + [43] = {.lex_state = 26}, + [44] = {.lex_state = 26}, + [45] = {.lex_state = 26}, + [46] = {.lex_state = 26}, + [47] = {.lex_state = 26}, [48] = {.lex_state = 26}, [49] = {.lex_state = 26}, [50] = {.lex_state = 26}, @@ -2797,14 +2091,14 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [52] = {.lex_state = 26}, [53] = {.lex_state = 26}, [54] = {.lex_state = 26}, - [55] = {.lex_state = 26}, + [55] = {.lex_state = 1}, [56] = {.lex_state = 26}, [57] = {.lex_state = 26}, [58] = {.lex_state = 26}, [59] = {.lex_state = 26}, [60] = {.lex_state = 26}, - [61] = {.lex_state = 26}, - [62] = {.lex_state = 26}, + [61] = {.lex_state = 1}, + [62] = {.lex_state = 1}, [63] = {.lex_state = 26}, [64] = {.lex_state = 26}, [65] = {.lex_state = 26}, @@ -2816,19 +2110,19 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [71] = {.lex_state = 26}, [72] = {.lex_state = 26}, [73] = {.lex_state = 26}, - [74] = {.lex_state = 26}, + [74] = {.lex_state = 1}, [75] = {.lex_state = 26}, - [76] = {.lex_state = 26}, + [76] = {.lex_state = 1}, [77] = {.lex_state = 26}, - [78] = {.lex_state = 1}, + [78] = {.lex_state = 26}, [79] = {.lex_state = 1}, - [80] = {.lex_state = 26}, + [80] = {.lex_state = 1}, [81] = {.lex_state = 26}, [82] = {.lex_state = 26}, [83] = {.lex_state = 26}, - [84] = {.lex_state = 27}, + [84] = {.lex_state = 26}, [85] = {.lex_state = 27}, - [86] = {.lex_state = 1}, + [86] = {.lex_state = 27}, [87] = {.lex_state = 1}, [88] = {.lex_state = 1}, [89] = {.lex_state = 1}, @@ -2855,96 +2149,96 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [110] = {.lex_state = 1}, [111] = {.lex_state = 1}, [112] = {.lex_state = 1}, - [113] = {.lex_state = 28}, - [114] = {.lex_state = 28}, - [115] = {.lex_state = 6}, - [116] = {.lex_state = 6}, + [113] = {.lex_state = 1}, + [114] = {.lex_state = 1}, + [115] = {.lex_state = 1}, + [116] = {.lex_state = 28}, [117] = {.lex_state = 28}, - [118] = {.lex_state = 3}, - [119] = {.lex_state = 3}, - [120] = {.lex_state = 1}, + [118] = {.lex_state = 6}, + [119] = {.lex_state = 28}, + [120] = {.lex_state = 6}, [121] = {.lex_state = 3}, - [122] = {.lex_state = 3}, - [123] = {.lex_state = 3}, + [122] = {.lex_state = 1}, + [123] = {.lex_state = 1}, [124] = {.lex_state = 3}, - [125] = {.lex_state = 1}, + [125] = {.lex_state = 3}, [126] = {.lex_state = 1}, - [127] = {.lex_state = 28}, - [128] = {.lex_state = 2}, - [129] = {.lex_state = 2}, - [130] = {.lex_state = 2}, - [131] = {.lex_state = 2}, - [132] = {.lex_state = 6}, - [133] = {.lex_state = 6}, - [134] = {.lex_state = 6}, + [127] = {.lex_state = 3}, + [128] = {.lex_state = 3}, + [129] = {.lex_state = 3}, + [130] = {.lex_state = 6}, + [131] = {.lex_state = 6}, + [132] = {.lex_state = 2}, + [133] = {.lex_state = 2}, + [134] = {.lex_state = 2}, [135] = {.lex_state = 2}, - [136] = {.lex_state = 6}, - [137] = {.lex_state = 2}, + [136] = {.lex_state = 2}, + [137] = {.lex_state = 6}, [138] = {.lex_state = 6}, - [139] = {.lex_state = 28}, + [139] = {.lex_state = 3}, [140] = {.lex_state = 2}, [141] = {.lex_state = 6}, - [142] = {.lex_state = 28}, + [142] = {.lex_state = 2}, [143] = {.lex_state = 2}, - [144] = {.lex_state = 6}, - [145] = {.lex_state = 2}, - [146] = {.lex_state = 2}, + [144] = {.lex_state = 2}, + [145] = {.lex_state = 28}, + [146] = {.lex_state = 6}, [147] = {.lex_state = 2}, [148] = {.lex_state = 2}, - [149] = {.lex_state = 2}, - [150] = {.lex_state = 3}, - [151] = {.lex_state = 6}, + [149] = {.lex_state = 6}, + [150] = {.lex_state = 2}, + [151] = {.lex_state = 2}, [152] = {.lex_state = 6}, - [153] = {.lex_state = 6}, - [154] = {.lex_state = 28}, - [155] = {.lex_state = 3}, - [156] = {.lex_state = 6}, - [157] = {.lex_state = 3}, - [158] = {.lex_state = 3}, - [159] = {.lex_state = 4}, - [160] = {.lex_state = 3}, - [161] = {.lex_state = 4}, + [153] = {.lex_state = 28}, + [154] = {.lex_state = 2}, + [155] = {.lex_state = 6}, + [156] = {.lex_state = 2}, + [157] = {.lex_state = 6}, + [158] = {.lex_state = 6}, + [159] = {.lex_state = 6}, + [160] = {.lex_state = 6}, + [161] = {.lex_state = 28}, [162] = {.lex_state = 3}, - [163] = {.lex_state = 3}, - [164] = {.lex_state = 6}, - [165] = {.lex_state = 27}, - [166] = {.lex_state = 27}, - [167] = {.lex_state = 6}, - [168] = {.lex_state = 6}, - [169] = {.lex_state = 27}, - [170] = {.lex_state = 6}, - [171] = {.lex_state = 6}, - [172] = {.lex_state = 6}, + [163] = {.lex_state = 28}, + [164] = {.lex_state = 3}, + [165] = {.lex_state = 3}, + [166] = {.lex_state = 6}, + [167] = {.lex_state = 3}, + [168] = {.lex_state = 3}, + [169] = {.lex_state = 4}, + [170] = {.lex_state = 4}, + [171] = {.lex_state = 27}, + [172] = {.lex_state = 27}, [173] = {.lex_state = 6}, [174] = {.lex_state = 6}, [175] = {.lex_state = 6}, [176] = {.lex_state = 6}, [177] = {.lex_state = 6}, - [178] = {.lex_state = 3}, + [178] = {.lex_state = 6}, [179] = {.lex_state = 6}, [180] = {.lex_state = 6}, [181] = {.lex_state = 6}, - [182] = {.lex_state = 6}, + [182] = {.lex_state = 27}, [183] = {.lex_state = 6}, - [184] = {.lex_state = 27}, + [184] = {.lex_state = 6}, [185] = {.lex_state = 6}, [186] = {.lex_state = 6}, - [187] = {.lex_state = 27}, - [188] = {.lex_state = 6}, + [187] = {.lex_state = 6}, + [188] = {.lex_state = 3}, [189] = {.lex_state = 6}, [190] = {.lex_state = 6}, [191] = {.lex_state = 6}, [192] = {.lex_state = 6}, [193] = {.lex_state = 6}, [194] = {.lex_state = 6}, - [195] = {.lex_state = 6}, + [195] = {.lex_state = 27}, [196] = {.lex_state = 6}, - [197] = {.lex_state = 27}, + [197] = {.lex_state = 3}, [198] = {.lex_state = 6}, - [199] = {.lex_state = 6}, - [200] = {.lex_state = 6}, - [201] = {.lex_state = 6}, - [202] = {.lex_state = 27}, + [199] = {.lex_state = 27}, + [200] = {.lex_state = 27}, + [201] = {.lex_state = 27}, + [202] = {.lex_state = 6}, [203] = {.lex_state = 6}, [204] = {.lex_state = 6}, [205] = {.lex_state = 6}, @@ -2956,67 +2250,67 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [211] = {.lex_state = 6}, [212] = {.lex_state = 6}, [213] = {.lex_state = 6}, - [214] = {.lex_state = 6}, + [214] = {.lex_state = 27}, [215] = {.lex_state = 6}, [216] = {.lex_state = 6}, [217] = {.lex_state = 6}, - [218] = {.lex_state = 6}, - [219] = {.lex_state = 27}, - [220] = {.lex_state = 27}, - [221] = {.lex_state = 6}, - [222] = {.lex_state = 27}, + [218] = {.lex_state = 27}, + [219] = {.lex_state = 6}, + [220] = {.lex_state = 6}, + [221] = {.lex_state = 27}, + [222] = {.lex_state = 6}, [223] = {.lex_state = 6}, [224] = {.lex_state = 6}, - [225] = {.lex_state = 6}, - [226] = {.lex_state = 27}, + [225] = {.lex_state = 27}, + [226] = {.lex_state = 6}, [227] = {.lex_state = 27}, - [228] = {.lex_state = 27}, - [229] = {.lex_state = 27}, + [228] = {.lex_state = 6}, + [229] = {.lex_state = 6}, [230] = {.lex_state = 6}, - [231] = {.lex_state = 27}, - [232] = {.lex_state = 27}, - [233] = {.lex_state = 3}, - [234] = {.lex_state = 3}, - [235] = {.lex_state = 5}, - [236] = {.lex_state = 5}, - [237] = {.lex_state = 5}, - [238] = {.lex_state = 5}, - [239] = {.lex_state = 5}, - [240] = {.lex_state = 3}, - [241] = {.lex_state = 5}, - [242] = {.lex_state = 27}, - [243] = {.lex_state = 3}, - [244] = {.lex_state = 3}, - [245] = {.lex_state = 5}, - [246] = {.lex_state = 3}, + [231] = {.lex_state = 6}, + [232] = {.lex_state = 6}, + [233] = {.lex_state = 6}, + [234] = {.lex_state = 6}, + [235] = {.lex_state = 6}, + [236] = {.lex_state = 6}, + [237] = {.lex_state = 6}, + [238] = {.lex_state = 6}, + [239] = {.lex_state = 6}, + [240] = {.lex_state = 27}, + [241] = {.lex_state = 6}, + [242] = {.lex_state = 6}, + [243] = {.lex_state = 27}, + [244] = {.lex_state = 27}, + [245] = {.lex_state = 27}, + [246] = {.lex_state = 6}, [247] = {.lex_state = 3}, - [248] = {.lex_state = 3}, + [248] = {.lex_state = 5}, [249] = {.lex_state = 5}, - [250] = {.lex_state = 3}, - [251] = {.lex_state = 5}, - [252] = {.lex_state = 3}, - [253] = {.lex_state = 3}, - [254] = {.lex_state = 5}, + [250] = {.lex_state = 5}, + [251] = {.lex_state = 3}, + [252] = {.lex_state = 5}, + [253] = {.lex_state = 27}, + [254] = {.lex_state = 3}, [255] = {.lex_state = 3}, - [256] = {.lex_state = 3}, - [257] = {.lex_state = 4}, - [258] = {.lex_state = 4}, - [259] = {.lex_state = 6}, - [260] = {.lex_state = 6}, - [261] = {.lex_state = 6}, - [262] = {.lex_state = 6}, - [263] = {.lex_state = 6}, - [264] = {.lex_state = 6}, - [265] = {.lex_state = 6}, - [266] = {.lex_state = 6}, - [267] = {.lex_state = 6}, - [268] = {.lex_state = 4}, - [269] = {.lex_state = 4}, - [270] = {.lex_state = 4}, - [271] = {.lex_state = 6}, - [272] = {.lex_state = 6}, - [273] = {.lex_state = 4}, - [274] = {.lex_state = 4}, + [256] = {.lex_state = 5}, + [257] = {.lex_state = 5}, + [258] = {.lex_state = 3}, + [259] = {.lex_state = 3}, + [260] = {.lex_state = 5}, + [261] = {.lex_state = 3}, + [262] = {.lex_state = 5}, + [263] = {.lex_state = 3}, + [264] = {.lex_state = 3}, + [265] = {.lex_state = 5}, + [266] = {.lex_state = 5}, + [267] = {.lex_state = 3}, + [268] = {.lex_state = 3}, + [269] = {.lex_state = 3}, + [270] = {.lex_state = 3}, + [271] = {.lex_state = 4}, + [272] = {.lex_state = 4}, + [273] = {.lex_state = 6}, + [274] = {.lex_state = 6}, [275] = {.lex_state = 6}, [276] = {.lex_state = 6}, [277] = {.lex_state = 6}, @@ -3024,101 +2318,109 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [279] = {.lex_state = 6}, [280] = {.lex_state = 6}, [281] = {.lex_state = 6}, - [282] = {.lex_state = 6}, - [283] = {.lex_state = 6}, - [284] = {.lex_state = 6}, - [285] = {.lex_state = 27}, - [286] = {.lex_state = 6}, - [287] = {.lex_state = 6}, - [288] = {.lex_state = 6}, - [289] = {.lex_state = 6}, - [290] = {.lex_state = 6}, - [291] = {.lex_state = 6}, - [292] = {.lex_state = 6}, - [293] = {.lex_state = 6}, - [294] = {.lex_state = 6}, - [295] = {.lex_state = 6}, - [296] = {.lex_state = 6}, + [282] = {.lex_state = 4}, + [283] = {.lex_state = 4}, + [284] = {.lex_state = 1}, + [285] = {.lex_state = 6}, + [286] = {.lex_state = 4}, + [287] = {.lex_state = 4}, + [288] = {.lex_state = 4}, + [289] = {.lex_state = 1}, + [290] = {.lex_state = 1}, + [291] = {.lex_state = 1}, + [292] = {.lex_state = 1}, + [293] = {.lex_state = 1}, + [294] = {.lex_state = 1}, + [295] = {.lex_state = 1}, + [296] = {.lex_state = 1}, [297] = {.lex_state = 6}, - [298] = {.lex_state = 6}, + [298] = {.lex_state = 27}, [299] = {.lex_state = 6}, [300] = {.lex_state = 6}, - [301] = {.lex_state = 6}, - [302] = {.lex_state = 27}, - [303] = {.lex_state = 6}, - [304] = {.lex_state = 6}, - [305] = {.lex_state = 6}, - [306] = {.lex_state = 6}, - [307] = {.lex_state = 6}, - [308] = {.lex_state = 6}, - [309] = {.lex_state = 6}, - [310] = {.lex_state = 6}, - [311] = {.lex_state = 6}, + [301] = {.lex_state = 27}, + [302] = {.lex_state = 1}, + [303] = {.lex_state = 1}, + [304] = {.lex_state = 1}, + [305] = {.lex_state = 1}, + [306] = {.lex_state = 1}, + [307] = {.lex_state = 1}, + [308] = {.lex_state = 1}, + [309] = {.lex_state = 1}, + [310] = {.lex_state = 1}, + [311] = {.lex_state = 1}, [312] = {.lex_state = 6}, [313] = {.lex_state = 6}, [314] = {.lex_state = 6}, - [315] = {.lex_state = 6}, + [315] = {.lex_state = 1}, [316] = {.lex_state = 6}, - [317] = {.lex_state = 6}, - [318] = {.lex_state = 6}, + [317] = {.lex_state = 1}, + [318] = {.lex_state = 1}, [319] = {.lex_state = 6}, [320] = {.lex_state = 6}, - [321] = {.lex_state = 6}, - [322] = {.lex_state = 6}, + [321] = {.lex_state = 1}, + [322] = {.lex_state = 1}, [323] = {.lex_state = 6}, [324] = {.lex_state = 6}, - [325] = {.lex_state = 6}, - [326] = {.lex_state = 6}, - [327] = {.lex_state = 6}, - [328] = {.lex_state = 6}, - [329] = {.lex_state = 6}, - [330] = {.lex_state = 6}, - [331] = {.lex_state = 6}, - [332] = {.lex_state = 27}, - [333] = {.lex_state = 27}, - [334] = {.lex_state = 27}, - [335] = {.lex_state = 27}, - [336] = {.lex_state = 27}, - [337] = {.lex_state = 0}, - [338] = {.lex_state = 6}, + [325] = {.lex_state = 1}, + [326] = {.lex_state = 1}, + [327] = {.lex_state = 1}, + [328] = {.lex_state = 1}, + [329] = {.lex_state = 1}, + [330] = {.lex_state = 1}, + [331] = {.lex_state = 1}, + [332] = {.lex_state = 1}, + [333] = {.lex_state = 1}, + [334] = {.lex_state = 1}, + [335] = {.lex_state = 1}, + [336] = {.lex_state = 6}, + [337] = {.lex_state = 1}, + [338] = {.lex_state = 1}, [339] = {.lex_state = 6}, - [340] = {.lex_state = 27}, - [341] = {.lex_state = 27}, - [342] = {.lex_state = 27}, - [343] = {.lex_state = 27}, - [344] = {.lex_state = 6}, - [345] = {.lex_state = 27}, - [346] = {.lex_state = 6}, - [347] = {.lex_state = 6}, - [348] = {.lex_state = 0}, - [349] = {.lex_state = 0}, - [350] = {.lex_state = 0}, - [351] = {.lex_state = 0}, - [352] = {.lex_state = 0}, - [353] = {.lex_state = 0}, - [354] = {.lex_state = 0}, + [340] = {.lex_state = 1}, + [341] = {.lex_state = 1}, + [342] = {.lex_state = 6}, + [343] = {.lex_state = 1}, + [344] = {.lex_state = 1}, + [345] = {.lex_state = 1}, + [346] = {.lex_state = 27}, + [347] = {.lex_state = 27}, + [348] = {.lex_state = 27}, + [349] = {.lex_state = 27}, + [350] = {.lex_state = 27}, + [351] = {.lex_state = 27}, + [352] = {.lex_state = 27}, + [353] = {.lex_state = 1}, + [354] = {.lex_state = 27}, [355] = {.lex_state = 6}, - [356] = {.lex_state = 0}, - [357] = {.lex_state = 6}, - [358] = {.lex_state = 6}, - [359] = {.lex_state = 6}, + [356] = {.lex_state = 6}, + [357] = {.lex_state = 0}, + [358] = {.lex_state = 27}, + [359] = {.lex_state = 27}, [360] = {.lex_state = 0}, - [361] = {.lex_state = 27}, + [361] = {.lex_state = 0}, [362] = {.lex_state = 0}, - [363] = {.lex_state = 6}, + [363] = {.lex_state = 0}, [364] = {.lex_state = 0}, - [365] = {.lex_state = 0}, - [366] = {.lex_state = 6}, - [367] = {.lex_state = 27}, - [368] = {.lex_state = 6}, - [369] = {.lex_state = 0}, - [370] = {.lex_state = 6}, - [371] = {.lex_state = 0}, + [365] = {.lex_state = 1}, + [366] = {.lex_state = 1}, + [367] = {.lex_state = 0}, + [368] = {.lex_state = 1}, + [369] = {.lex_state = 1}, + [370] = {.lex_state = 1}, + [371] = {.lex_state = 1}, [372] = {.lex_state = 0}, [373] = {.lex_state = 0}, [374] = {.lex_state = 0}, - [375] = {.lex_state = 0}, + [375] = {.lex_state = 1}, [376] = {.lex_state = 0}, + [377] = {.lex_state = 0}, + [378] = {.lex_state = 0}, + [379] = {.lex_state = 27}, + [380] = {.lex_state = 27}, + [381] = {.lex_state = 1}, + [382] = {.lex_state = 1}, + [383] = {.lex_state = 0}, + [384] = {.lex_state = 1}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -3183,67 +2485,36 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_map] = ACTIONS(1), [anon_sym_str] = ACTIONS(1), [anon_sym_DASH_GT] = ACTIONS(1), - [anon_sym_assert] = ACTIONS(1), - [anon_sym_assert_equal] = ACTIONS(1), - [anon_sym_context] = ACTIONS(1), - [anon_sym_download] = ACTIONS(1), - [anon_sym_help] = ACTIONS(1), - [anon_sym_length] = ACTIONS(1), - [anon_sym_output] = ACTIONS(1), - [anon_sym_output_error] = ACTIONS(1), - [anon_sym_type] = ACTIONS(1), - [anon_sym_append] = ACTIONS(1), - [anon_sym_metadata] = ACTIONS(1), - [anon_sym_move] = ACTIONS(1), - [anon_sym_read] = ACTIONS(1), - [anon_sym_workdir] = ACTIONS(1), - [anon_sym_write] = ACTIONS(1), - [anon_sym_from_json] = ACTIONS(1), - [anon_sym_to_json] = ACTIONS(1), - [anon_sym_to_string] = ACTIONS(1), - [anon_sym_to_float] = ACTIONS(1), - [anon_sym_bash] = ACTIONS(1), - [anon_sym_fish] = ACTIONS(1), - [anon_sym_raw] = ACTIONS(1), - [anon_sym_sh] = ACTIONS(1), - [anon_sym_zsh] = ACTIONS(1), - [anon_sym_random] = ACTIONS(1), - [anon_sym_random_boolean] = ACTIONS(1), - [anon_sym_random_float] = ACTIONS(1), - [anon_sym_random_integer] = ACTIONS(1), - [anon_sym_columns] = ACTIONS(1), - [anon_sym_rows] = ACTIONS(1), - [anon_sym_reverse] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(373), - [sym_block] = STATE(187), - [sym_statement] = STATE(25), - [sym_expression] = STATE(80), - [sym__expression_kind] = STATE(61), - [sym_value] = STATE(61), - [sym_boolean] = STATE(62), - [sym_list] = STATE(62), - [sym_map] = STATE(62), - [sym_index] = STATE(64), - [sym_math] = STATE(61), - [sym_logic] = STATE(61), - [sym_assignment] = STATE(187), - [sym_index_assignment] = STATE(187), - [sym_if_else] = STATE(187), - [sym_if] = STATE(113), - [sym_match] = STATE(187), - [sym_while] = STATE(187), - [sym_for] = STATE(187), - [sym_select] = STATE(187), - [sym_insert] = STATE(187), - [sym_table] = STATE(62), - [sym_return] = STATE(187), - [sym_use] = STATE(187), - [sym_function] = STATE(62), - [sym_function_call] = STATE(61), - [sym_yield] = STATE(61), - [aux_sym_root_repeat1] = STATE(25), + [sym_root] = STATE(376), + [sym_block] = STATE(182), + [sym_statement] = STATE(8), + [sym_expression] = STATE(82), + [sym__expression_kind] = STATE(77), + [sym_value] = STATE(77), + [sym_boolean] = STATE(70), + [sym_list] = STATE(70), + [sym_map] = STATE(70), + [sym_index] = STATE(56), + [sym_math] = STATE(77), + [sym_logic] = STATE(77), + [sym_assignment] = STATE(182), + [sym_index_assignment] = STATE(182), + [sym_if_else] = STATE(182), + [sym_if] = STATE(117), + [sym_match] = STATE(182), + [sym_while] = STATE(182), + [sym_for] = STATE(182), + [sym_select] = STATE(182), + [sym_insert] = STATE(182), + [sym_table] = STATE(70), + [sym_return] = STATE(182), + [sym_use] = STATE(182), + [sym_function] = STATE(70), + [sym_function_call] = STATE(77), + [sym_yield] = STATE(77), + [aux_sym_root_repeat1] = STATE(8), [sym_identifier] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -3270,463 +2541,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }; static const uint16_t ts_small_parse_table[] = { - [0] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(69), 1, - sym_expression, - STATE(134), 1, - sym__built_in_function_name, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(362), 2, - sym__context_defined_function, - sym_built_in_function, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(61), 31, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_context, - anon_sym_download, - anon_sym_help, - anon_sym_length, - anon_sym_output, - anon_sym_output_error, - anon_sym_type, - anon_sym_append, - anon_sym_metadata, - anon_sym_move, - anon_sym_read, - anon_sym_workdir, - anon_sym_write, - anon_sym_from_json, - anon_sym_to_json, - anon_sym_to_string, - anon_sym_to_float, - anon_sym_bash, - anon_sym_fish, - anon_sym_raw, - anon_sym_sh, - anon_sym_zsh, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_columns, - anon_sym_rows, - anon_sym_reverse, - [92] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(63), 1, - sym_identifier, - STATE(69), 1, - sym_expression, - STATE(134), 1, - sym__built_in_function_name, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(374), 2, - sym__context_defined_function, - sym_built_in_function, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(126), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(61), 31, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_context, - anon_sym_download, - anon_sym_help, - anon_sym_length, - anon_sym_output, - anon_sym_output_error, - anon_sym_type, - anon_sym_append, - anon_sym_metadata, - anon_sym_move, - anon_sym_read, - anon_sym_workdir, - anon_sym_write, - anon_sym_from_json, - anon_sym_to_json, - anon_sym_to_string, - anon_sym_to_float, - anon_sym_bash, - anon_sym_fish, - anon_sym_raw, - anon_sym_sh, - anon_sym_zsh, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_columns, - anon_sym_rows, - anon_sym_reverse, - [184] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(65), 1, - sym_identifier, - STATE(69), 1, - sym_expression, - STATE(134), 1, - sym__built_in_function_name, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(375), 2, - sym__context_defined_function, - sym_built_in_function, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(120), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(61), 31, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_context, - anon_sym_download, - anon_sym_help, - anon_sym_length, - anon_sym_output, - anon_sym_output_error, - anon_sym_type, - anon_sym_append, - anon_sym_metadata, - anon_sym_move, - anon_sym_read, - anon_sym_workdir, - anon_sym_write, - anon_sym_from_json, - anon_sym_to_json, - anon_sym_to_string, - anon_sym_to_float, - anon_sym_bash, - anon_sym_fish, - anon_sym_raw, - anon_sym_sh, - anon_sym_zsh, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_columns, - anon_sym_rows, - anon_sym_reverse, - [276] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(69), 1, - sym_expression, - STATE(134), 1, - sym__built_in_function_name, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(376), 2, - sym__context_defined_function, - sym_built_in_function, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(61), 31, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_context, - anon_sym_download, - anon_sym_help, - anon_sym_length, - anon_sym_output, - anon_sym_output_error, - anon_sym_type, - anon_sym_append, - anon_sym_metadata, - anon_sym_move, - anon_sym_read, - anon_sym_workdir, - anon_sym_write, - anon_sym_from_json, - anon_sym_to_json, - anon_sym_to_string, - anon_sym_to_float, - anon_sym_bash, - anon_sym_fish, - anon_sym_raw, - anon_sym_sh, - anon_sym_zsh, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_columns, - anon_sym_rows, - anon_sym_reverse, - [368] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(67), 1, - sym_identifier, - STATE(69), 1, - sym_expression, - STATE(134), 1, - sym__built_in_function_name, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(365), 2, - sym__context_defined_function, - sym_built_in_function, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(125), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(61), 31, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_context, - anon_sym_download, - anon_sym_help, - anon_sym_length, - anon_sym_output, - anon_sym_output_error, - anon_sym_type, - anon_sym_append, - anon_sym_metadata, - anon_sym_move, - anon_sym_read, - anon_sym_workdir, - anon_sym_write, - anon_sym_from_json, - anon_sym_to_json, - anon_sym_to_string, - anon_sym_to_float, - anon_sym_bash, - anon_sym_fish, - anon_sym_raw, - anon_sym_sh, - anon_sym_zsh, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_columns, - anon_sym_rows, - anon_sym_reverse, - [460] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(69), 1, - sym_expression, - STATE(134), 1, - sym__built_in_function_name, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(348), 2, - sym__context_defined_function, - sym_built_in_function, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(61), 31, - anon_sym_assert, - anon_sym_assert_equal, - anon_sym_context, - anon_sym_download, - anon_sym_help, - anon_sym_length, - anon_sym_output, - anon_sym_output_error, - anon_sym_type, - anon_sym_append, - anon_sym_metadata, - anon_sym_move, - anon_sym_read, - anon_sym_workdir, - anon_sym_write, - anon_sym_from_json, - anon_sym_to_json, - anon_sym_to_string, - anon_sym_to_float, - anon_sym_bash, - anon_sym_fish, - anon_sym_raw, - anon_sym_sh, - anon_sym_zsh, - anon_sym_random, - anon_sym_random_boolean, - anon_sym_random_float, - anon_sym_random_integer, - anon_sym_columns, - anon_sym_rows, - anon_sym_reverse, - [552] = 29, + [0] = 29, ACTIONS(3), 1, sym__comment, ACTIONS(7), 1, @@ -3761,17 +2576,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - ACTIONS(69), 1, + ACTIONS(43), 1, sym_identifier, - ACTIONS(71), 1, + ACTIONS(45), 1, anon_sym_RBRACE, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, - STATE(308), 1, + STATE(337), 1, aux_sym_map_repeat1, ACTIONS(15), 2, sym_float, @@ -3779,23 +2594,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(23), 2, + STATE(7), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -3807,75 +2622,75 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [662] = 28, + [110] = 28, ACTIONS(3), 1, sym__comment, - ACTIONS(75), 1, + ACTIONS(49), 1, sym_identifier, - ACTIONS(78), 1, + ACTIONS(52), 1, anon_sym_async, - ACTIONS(81), 1, + ACTIONS(55), 1, anon_sym_LBRACE, - ACTIONS(84), 1, + ACTIONS(58), 1, anon_sym_LPAREN, - ACTIONS(87), 1, + ACTIONS(61), 1, sym_integer, - ACTIONS(96), 1, + ACTIONS(70), 1, anon_sym_LBRACK, - ACTIONS(99), 1, + ACTIONS(73), 1, anon_sym_if, - ACTIONS(102), 1, + ACTIONS(76), 1, anon_sym_match, - ACTIONS(105), 1, + ACTIONS(79), 1, anon_sym_while, - ACTIONS(108), 1, + ACTIONS(82), 1, anon_sym_for, - ACTIONS(111), 1, + ACTIONS(85), 1, anon_sym_asyncfor, - ACTIONS(114), 1, + ACTIONS(88), 1, anon_sym_select, - ACTIONS(117), 1, + ACTIONS(91), 1, anon_sym_insert, - ACTIONS(120), 1, + ACTIONS(94), 1, anon_sym_PIPE, - ACTIONS(123), 1, + ACTIONS(97), 1, anon_sym_table, - ACTIONS(126), 1, + ACTIONS(100), 1, anon_sym_return, - ACTIONS(129), 1, + ACTIONS(103), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, - ACTIONS(73), 2, + ACTIONS(47), 2, ts_builtin_sym_end, anon_sym_RBRACE, - ACTIONS(90), 2, + ACTIONS(64), 2, sym_float, sym_string, - ACTIONS(93), 2, + ACTIONS(67), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, + STATE(3), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -3887,7 +2702,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [770] = 29, + [218] = 29, ACTIONS(3), 1, sym__comment, ACTIONS(7), 1, @@ -3922,17 +2737,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - ACTIONS(69), 1, + ACTIONS(43), 1, sym_identifier, - ACTIONS(132), 1, + ACTIONS(106), 1, anon_sym_RBRACE, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, - STATE(331), 1, + STATE(330), 1, aux_sym_map_repeat1, ACTIONS(15), 2, sym_float, @@ -3940,23 +2755,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(19), 2, + STATE(15), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -3968,7 +2783,1034 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [880] = 28, + [328] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(108), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [435] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(110), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [542] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(112), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [649] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(114), 1, + ts_builtin_sym_end, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [756] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(116), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [863] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(118), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [970] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(120), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [1077] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(122), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [1184] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(124), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [1291] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(126), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [1398] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(128), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [1505] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(130), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [1612] = 28, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + ACTIONS(132), 1, + anon_sym_RBRACE, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(3), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [1719] = 28, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -4007,11 +3849,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(134), 1, anon_sym_RBRACE, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4019,23 +3861,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, + STATE(3), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -4047,7 +3889,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [987] = 28, + [1826] = 28, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -4086,11 +3928,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(136), 1, anon_sym_RBRACE, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4098,23 +3940,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, + STATE(3), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -4126,7 +3968,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [1094] = 28, + [1933] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -4163,13 +4005,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - ACTIONS(138), 1, - anon_sym_RBRACE, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4177,23 +4017,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, + STATE(6), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -4205,7 +4045,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [1201] = 28, + [2037] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -4242,1575 +4082,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - ACTIONS(140), 1, - anon_sym_RBRACE, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [1308] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(142), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [1415] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(144), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [1522] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(146), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [1629] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(148), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [1736] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(150), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [1843] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(152), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [1950] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(154), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2057] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(156), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2164] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(158), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2271] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(160), 1, - anon_sym_RBRACE, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2378] = 28, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - ACTIONS(162), 1, - ts_builtin_sym_end, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(9), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2485] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(13), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2589] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(18), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2693] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(22), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2797] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(21), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [2901] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(20), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [3005] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(24), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [3109] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(16), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [3213] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, - sym_if, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(23), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(187), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [3317] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(5), 1, - sym_identifier, - ACTIONS(7), 1, - anon_sym_async, - ACTIONS(9), 1, - anon_sym_LBRACE, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(21), 1, - anon_sym_if, - ACTIONS(23), 1, - anon_sym_match, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - anon_sym_for, - ACTIONS(29), 1, - anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_select, - ACTIONS(33), 1, - anon_sym_insert, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(39), 1, - anon_sym_return, - ACTIONS(41), 1, - anon_sym_use, - STATE(64), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -5821,20 +4097,20 @@ static const uint16_t ts_small_parse_table[] = { STATE(11), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -5846,7 +4122,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [3421] = 27, + [2141] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -5883,11 +4159,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -5898,20 +4174,20 @@ static const uint16_t ts_small_parse_table[] = { STATE(17), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -5923,7 +4199,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [3525] = 27, + [2245] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -5960,11 +4236,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -5975,20 +4251,20 @@ static const uint16_t ts_small_parse_table[] = { STATE(19), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6000,7 +4276,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [3629] = 27, + [2349] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -6037,11 +4313,165 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(13), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [2453] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, + sym_if, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(18), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(182), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [2557] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + STATE(56), 1, + sym_index, + STATE(82), 1, + sym_expression, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -6052,20 +4482,20 @@ static const uint16_t ts_small_parse_table[] = { STATE(12), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6077,7 +4507,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [3733] = 27, + [2661] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -6114,11 +4544,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -6126,23 +4556,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(14), 2, + STATE(10), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6154,7 +4584,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [3837] = 27, + [2765] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -6191,11 +4621,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, - STATE(80), 1, + STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -6206,20 +4636,20 @@ static const uint16_t ts_small_parse_table[] = { STATE(15), 2, sym_statement, aux_sym_root_repeat1, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(187), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6231,83 +4661,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [3941] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(164), 1, - sym_identifier, - ACTIONS(166), 1, - anon_sym_async, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(180), 1, - anon_sym_if, - ACTIONS(182), 1, - anon_sym_match, - ACTIONS(184), 1, - anon_sym_while, - ACTIONS(186), 1, - anon_sym_for, - ACTIONS(188), 1, - anon_sym_asyncfor, - ACTIONS(190), 1, - anon_sym_select, - ACTIONS(192), 1, - anon_sym_insert, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(198), 1, - anon_sym_return, - ACTIONS(200), 1, - anon_sym_use, - STATE(233), 1, - sym_index, - STATE(240), 1, - sym_expression, - STATE(269), 1, - sym_if, - STATE(321), 1, - sym_statement, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(301), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [4044] = 27, + [2869] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -6344,34 +4698,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, - STATE(169), 1, - sym_statement, ACTIONS(15), 2, sym_float, sym_string, ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(62), 5, + STATE(7), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(165), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6383,7 +4738,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [4147] = 27, + [2973] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -6420,34 +4775,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, - STATE(231), 1, - sym_statement, ACTIONS(15), 2, sym_float, sym_string, ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(62), 5, + STATE(5), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(165), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6459,7 +4815,7 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [4250] = 27, + [3077] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(5), 1, @@ -6496,34 +4852,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(41), 1, anon_sym_use, - STATE(64), 1, + STATE(56), 1, sym_index, STATE(82), 1, sym_expression, - STATE(113), 1, + STATE(117), 1, sym_if, - STATE(219), 1, - sym_statement, ACTIONS(15), 2, sym_float, sym_string, ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(62), 5, + STATE(9), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(165), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6535,71 +4892,72 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [4353] = 27, + [3181] = 27, ACTIONS(3), 1, sym__comment, - ACTIONS(164), 1, + ACTIONS(5), 1, sym_identifier, - ACTIONS(166), 1, + ACTIONS(7), 1, anon_sym_async, - ACTIONS(168), 1, + ACTIONS(9), 1, anon_sym_LBRACE, - ACTIONS(170), 1, + ACTIONS(11), 1, anon_sym_LPAREN, - ACTIONS(172), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(178), 1, + ACTIONS(19), 1, anon_sym_LBRACK, - ACTIONS(180), 1, + ACTIONS(21), 1, anon_sym_if, - ACTIONS(182), 1, + ACTIONS(23), 1, anon_sym_match, - ACTIONS(184), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(186), 1, + ACTIONS(27), 1, anon_sym_for, - ACTIONS(188), 1, + ACTIONS(29), 1, anon_sym_asyncfor, - ACTIONS(190), 1, + ACTIONS(31), 1, anon_sym_select, - ACTIONS(192), 1, + ACTIONS(33), 1, anon_sym_insert, - ACTIONS(194), 1, + ACTIONS(35), 1, anon_sym_PIPE, - ACTIONS(196), 1, + ACTIONS(37), 1, anon_sym_table, - ACTIONS(198), 1, + ACTIONS(39), 1, anon_sym_return, - ACTIONS(200), 1, + ACTIONS(41), 1, anon_sym_use, - STATE(233), 1, + STATE(56), 1, sym_index, - STATE(240), 1, + STATE(82), 1, sym_expression, - STATE(269), 1, + STATE(117), 1, sym_if, - STATE(321), 1, - sym_statement, - ACTIONS(174), 2, + ACTIONS(15), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(148), 5, + STATE(16), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(146), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(301), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6611,147 +4969,72 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [4456] = 27, + [3285] = 27, ACTIONS(3), 1, sym__comment, - ACTIONS(164), 1, + ACTIONS(5), 1, sym_identifier, - ACTIONS(166), 1, + ACTIONS(7), 1, anon_sym_async, - ACTIONS(168), 1, + ACTIONS(9), 1, anon_sym_LBRACE, - ACTIONS(170), 1, + ACTIONS(11), 1, anon_sym_LPAREN, - ACTIONS(172), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(178), 1, + ACTIONS(19), 1, anon_sym_LBRACK, - ACTIONS(180), 1, + ACTIONS(21), 1, anon_sym_if, - ACTIONS(182), 1, + ACTIONS(23), 1, anon_sym_match, - ACTIONS(184), 1, + ACTIONS(25), 1, anon_sym_while, - ACTIONS(186), 1, + ACTIONS(27), 1, anon_sym_for, - ACTIONS(188), 1, + ACTIONS(29), 1, anon_sym_asyncfor, - ACTIONS(190), 1, + ACTIONS(31), 1, anon_sym_select, - ACTIONS(192), 1, + ACTIONS(33), 1, anon_sym_insert, - ACTIONS(194), 1, + ACTIONS(35), 1, anon_sym_PIPE, - ACTIONS(196), 1, + ACTIONS(37), 1, anon_sym_table, - ACTIONS(198), 1, + ACTIONS(39), 1, anon_sym_return, - ACTIONS(200), 1, + ACTIONS(41), 1, anon_sym_use, - STATE(233), 1, + STATE(56), 1, sym_index, - STATE(234), 1, + STATE(82), 1, sym_expression, - STATE(269), 1, + STATE(117), 1, sym_if, - STATE(293), 1, - sym_statement, - ACTIONS(174), 2, + ACTIONS(15), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(290), 11, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_select, - sym_insert, - sym_return, - sym_use, - [4559] = 27, - ACTIONS(3), 1, - sym__comment, - ACTIONS(164), 1, - sym_identifier, - ACTIONS(166), 1, - anon_sym_async, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(180), 1, - anon_sym_if, - ACTIONS(182), 1, - anon_sym_match, - ACTIONS(184), 1, - anon_sym_while, - ACTIONS(186), 1, - anon_sym_for, - ACTIONS(188), 1, - anon_sym_asyncfor, - ACTIONS(190), 1, - anon_sym_select, - ACTIONS(192), 1, - anon_sym_insert, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(198), 1, - anon_sym_return, - ACTIONS(200), 1, - anon_sym_use, - STATE(233), 1, - sym_index, - STATE(234), 1, - sym_expression, - STATE(269), 1, - sym_if, - STATE(305), 1, + STATE(14), 2, sym_statement, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, + aux_sym_root_repeat1, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(146), 6, + STATE(77), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(290), 11, + STATE(182), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6763,71 +5046,71 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [4662] = 27, + [3389] = 27, ACTIONS(3), 1, sym__comment, - ACTIONS(164), 1, + ACTIONS(138), 1, sym_identifier, - ACTIONS(166), 1, + ACTIONS(140), 1, anon_sym_async, - ACTIONS(168), 1, + ACTIONS(142), 1, anon_sym_LBRACE, - ACTIONS(170), 1, + ACTIONS(144), 1, anon_sym_LPAREN, - ACTIONS(172), 1, + ACTIONS(146), 1, sym_integer, - ACTIONS(178), 1, + ACTIONS(152), 1, anon_sym_LBRACK, - ACTIONS(180), 1, + ACTIONS(154), 1, anon_sym_if, - ACTIONS(182), 1, + ACTIONS(156), 1, anon_sym_match, - ACTIONS(184), 1, + ACTIONS(158), 1, anon_sym_while, - ACTIONS(186), 1, + ACTIONS(160), 1, anon_sym_for, - ACTIONS(188), 1, + ACTIONS(162), 1, anon_sym_asyncfor, - ACTIONS(190), 1, + ACTIONS(164), 1, anon_sym_select, - ACTIONS(192), 1, + ACTIONS(166), 1, anon_sym_insert, - ACTIONS(194), 1, + ACTIONS(168), 1, anon_sym_PIPE, - ACTIONS(196), 1, + ACTIONS(170), 1, anon_sym_table, - ACTIONS(198), 1, + ACTIONS(172), 1, anon_sym_return, - ACTIONS(200), 1, + ACTIONS(174), 1, anon_sym_use, - STATE(233), 1, + STATE(247), 1, sym_index, - STATE(234), 1, + STATE(258), 1, sym_expression, - STATE(269), 1, - sym_if, STATE(283), 1, + sym_if, + STATE(328), 1, sym_statement, - ACTIONS(174), 2, + ACTIONS(148), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(150), 2, anon_sym_true, anon_sym_false, - STATE(148), 5, + STATE(133), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(146), 6, + STATE(150), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(290), 11, + STATE(303), 11, sym_block, sym_assignment, sym_index_assignment, @@ -6839,16 +5122,606 @@ static const uint16_t ts_small_parse_table[] = { sym_insert, sym_return, sym_use, - [4765] = 6, + [3492] = 27, ACTIONS(3), 1, sym__comment, - ACTIONS(206), 1, + ACTIONS(138), 1, + sym_identifier, + ACTIONS(140), 1, + anon_sym_async, + ACTIONS(142), 1, + anon_sym_LBRACE, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_if, + ACTIONS(156), 1, + anon_sym_match, + ACTIONS(158), 1, + anon_sym_while, + ACTIONS(160), 1, + anon_sym_for, + ACTIONS(162), 1, + anon_sym_asyncfor, + ACTIONS(164), 1, + anon_sym_select, + ACTIONS(166), 1, + anon_sym_insert, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(172), 1, + anon_sym_return, + ACTIONS(174), 1, + anon_sym_use, + STATE(247), 1, + sym_index, + STATE(258), 1, + sym_expression, + STATE(283), 1, + sym_if, + STATE(328), 1, + sym_statement, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(303), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [3595] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + STATE(56), 1, + sym_index, + STATE(83), 1, + sym_expression, + STATE(117), 1, + sym_if, + STATE(243), 1, + sym_statement, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(195), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [3698] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(138), 1, + sym_identifier, + ACTIONS(140), 1, + anon_sym_async, + ACTIONS(142), 1, + anon_sym_LBRACE, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_if, + ACTIONS(156), 1, + anon_sym_match, + ACTIONS(158), 1, + anon_sym_while, + ACTIONS(160), 1, + anon_sym_for, + ACTIONS(162), 1, + anon_sym_asyncfor, + ACTIONS(164), 1, + anon_sym_select, + ACTIONS(166), 1, + anon_sym_insert, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(172), 1, + anon_sym_return, + ACTIONS(174), 1, + anon_sym_use, + STATE(247), 1, + sym_index, + STATE(251), 1, + sym_expression, + STATE(283), 1, + sym_if, + STATE(311), 1, + sym_statement, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(302), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [3801] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + STATE(56), 1, + sym_index, + STATE(83), 1, + sym_expression, + STATE(117), 1, + sym_if, + STATE(214), 1, + sym_statement, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(195), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [3904] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(5), 1, + sym_identifier, + ACTIONS(7), 1, + anon_sym_async, + ACTIONS(9), 1, + anon_sym_LBRACE, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_match, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + anon_sym_for, + ACTIONS(29), 1, + anon_sym_asyncfor, + ACTIONS(31), 1, + anon_sym_select, + ACTIONS(33), 1, + anon_sym_insert, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(39), 1, + anon_sym_return, + ACTIONS(41), 1, + anon_sym_use, + STATE(56), 1, + sym_index, + STATE(83), 1, + sym_expression, + STATE(117), 1, + sym_if, + STATE(227), 1, + sym_statement, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(195), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [4007] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(138), 1, + sym_identifier, + ACTIONS(140), 1, + anon_sym_async, + ACTIONS(142), 1, + anon_sym_LBRACE, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_if, + ACTIONS(156), 1, + anon_sym_match, + ACTIONS(158), 1, + anon_sym_while, + ACTIONS(160), 1, + anon_sym_for, + ACTIONS(162), 1, + anon_sym_asyncfor, + ACTIONS(164), 1, + anon_sym_select, + ACTIONS(166), 1, + anon_sym_insert, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(172), 1, + anon_sym_return, + ACTIONS(174), 1, + anon_sym_use, + STATE(247), 1, + sym_index, + STATE(251), 1, + sym_expression, + STATE(283), 1, + sym_if, + STATE(309), 1, + sym_statement, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(302), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [4110] = 27, + ACTIONS(3), 1, + sym__comment, + ACTIONS(138), 1, + sym_identifier, + ACTIONS(140), 1, + anon_sym_async, + ACTIONS(142), 1, + anon_sym_LBRACE, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_if, + ACTIONS(156), 1, + anon_sym_match, + ACTIONS(158), 1, + anon_sym_while, + ACTIONS(160), 1, + anon_sym_for, + ACTIONS(162), 1, + anon_sym_asyncfor, + ACTIONS(164), 1, + anon_sym_select, + ACTIONS(166), 1, + anon_sym_insert, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(172), 1, + anon_sym_return, + ACTIONS(174), 1, + anon_sym_use, + STATE(247), 1, + sym_index, + STATE(251), 1, + sym_expression, + STATE(283), 1, + sym_if, + STATE(306), 1, + sym_statement, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(302), 11, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_select, + sym_insert, + sym_return, + sym_use, + [4213] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(180), 1, anon_sym_COLON, - STATE(210), 1, - sym_logic_operator, - STATE(211), 1, + ACTIONS(190), 1, + anon_sym_DASH_GT, + STATE(186), 1, sym_math_operator, - ACTIONS(204), 20, + STATE(187), 1, + sym_logic_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(176), 12, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + ACTIONS(178), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [4282] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(180), 1, + anon_sym_COLON, + STATE(186), 1, + sym_math_operator, + STATE(187), 1, + sym_logic_operator, + ACTIONS(194), 20, anon_sym_async, sym_identifier, sym_integer, @@ -6869,7 +5742,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(202), 22, + ACTIONS(192), 22, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6892,35 +5765,140 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4824] = 11, + [4341] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(206), 1, - anon_sym_COLON, - ACTIONS(220), 1, - anon_sym_DASH_GT, - STATE(210), 1, - sym_logic_operator, - STATE(211), 1, + STATE(186), 1, sym_math_operator, - ACTIONS(212), 2, + STATE(187), 1, + sym_logic_operator, + ACTIONS(198), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(218), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 3, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(196), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(208), 12, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4398] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(200), 1, + anon_sym_DOT_DOT, + STATE(186), 1, + sym_math_operator, + STATE(187), 1, + sym_logic_operator, + ACTIONS(198), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(196), 22, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4457] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(180), 1, + anon_sym_COLON, + ACTIONS(190), 1, + anon_sym_DASH_GT, + STATE(186), 1, + sym_math_operator, + STATE(187), 1, + sym_logic_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(202), 12, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6933,7 +5911,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_asyncfor, - ACTIONS(210), 16, + ACTIONS(204), 16, anon_sym_async, sym_identifier, sym_integer, @@ -6950,13 +5928,332 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [4893] = 5, + [4526] = 5, ACTIONS(3), 1, sym__comment, - STATE(210), 1, - sym_logic_operator, - STATE(211), 1, + STATE(186), 1, sym_math_operator, + STATE(187), 1, + sym_logic_operator, + ACTIONS(208), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(206), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4583] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(190), 1, + anon_sym_DASH_GT, + ACTIONS(210), 1, + anon_sym_COLON, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(176), 11, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + ACTIONS(178), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [4651] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(216), 1, + anon_sym_EQ, + ACTIONS(218), 1, + anon_sym_LT, + STATE(36), 1, + sym_assignment_operator, + STATE(298), 1, + sym_type, + ACTIONS(220), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(214), 18, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(212), 20, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4713] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(208), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(206), 22, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4769] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(190), 1, + anon_sym_DASH_GT, + ACTIONS(210), 1, + anon_sym_COLON, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(202), 11, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + ACTIONS(204), 16, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [4837] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(210), 1, + anon_sym_COLON, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(194), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(192), 21, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4895] = 3, + ACTIONS(3), 1, + sym__comment, ACTIONS(224), 20, anon_sym_async, sym_identifier, @@ -7002,54 +6299,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4950] = 11, + [4946] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(206), 1, - anon_sym_COLON, - ACTIONS(220), 1, - anon_sym_DASH_GT, - STATE(210), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(212), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(226), 12, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - ACTIONS(228), 16, + ACTIONS(228), 20, anon_sym_async, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, anon_sym_if, anon_sym_match, anon_sym_while, @@ -7060,924 +6323,84 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [5019] = 6, + ACTIONS(226), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [4997] = 23, ACTIONS(3), 1, sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, ACTIONS(234), 1, - anon_sym_DOT_DOT, - STATE(210), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(232), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(230), 22, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5078] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(210), 1, - sym_logic_operator, - STATE(211), 1, - sym_math_operator, - ACTIONS(232), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(230), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5135] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(240), 1, - anon_sym_EQ, - ACTIONS(242), 1, - anon_sym_LT, - STATE(41), 1, - sym_assignment_operator, - STATE(285), 1, - sym_type, - ACTIONS(244), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(238), 18, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(236), 20, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5197] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(220), 1, - anon_sym_DASH_GT, - ACTIONS(246), 1, - anon_sym_COLON, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(212), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(226), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - ACTIONS(228), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [5265] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(246), 1, - anon_sym_COLON, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(204), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(202), 21, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5323] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(220), 1, - anon_sym_DASH_GT, - ACTIONS(246), 1, - anon_sym_COLON, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(212), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(208), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - ACTIONS(210), 16, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [5391] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(224), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(222), 22, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5447] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(250), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(248), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5498] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(254), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(252), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5549] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(258), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(256), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5600] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(262), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(260), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5651] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(266), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(264), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5702] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(240), 1, - anon_sym_EQ, - STATE(42), 1, - sym_assignment_operator, - ACTIONS(244), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(238), 19, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(236), 20, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5759] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(270), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(268), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5810] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(274), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(272), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5861] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 20, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(276), 23, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5912] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(242), 1, - anon_sym_LT, - ACTIONS(280), 1, - anon_sym_EQ, - STATE(41), 1, - sym_assignment_operator, - STATE(285), 1, - sym_type, - ACTIONS(244), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(238), 18, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(236), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_asyncfor, - anon_sym_DASH_GT, - [5973] = 23, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(282), 1, + ACTIONS(236), 1, anon_sym_RPAREN, - ACTIONS(284), 1, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(246), 1, anon_sym_COLON, - ACTIONS(286), 1, + ACTIONS(248), 1, anon_sym_PIPE, - ACTIONS(288), 1, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(252), 1, anon_sym_DASH_GT, - STATE(105), 1, + STATE(114), 1, sym_expression, - STATE(136), 1, + STATE(152), 1, aux_sym__expression_list, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, + STATE(178), 1, sym_logic_operator, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(218), 2, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(98), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, @@ -7992,7 +6415,578 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [6064] = 3, + [5088] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(216), 1, + anon_sym_EQ, + STATE(39), 1, + sym_assignment_operator, + ACTIONS(220), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(214), 19, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(212), 20, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5145] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(256), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(254), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5196] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(260), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(258), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5247] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(264), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(262), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5298] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(268), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(266), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5349] = 23, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(248), 1, + anon_sym_PIPE, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(270), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(130), 1, + aux_sym__expression_list, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [5440] = 23, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(248), 1, + anon_sym_PIPE, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(272), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [5531] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(276), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(274), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5582] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(280), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(278), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5633] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(284), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(282), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5684] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(288), 20, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(286), 23, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [5735] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(292), 20, @@ -8040,7 +7034,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6115] = 3, + [5786] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(296), 20, @@ -8088,10 +7082,78 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6166] = 3, + [5837] = 23, ACTIONS(3), 1, sym__comment, - ACTIONS(300), 20, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(248), 1, + anon_sym_PIPE, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(298), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(166), 1, + aux_sym__expression_list, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [5928] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(302), 20, anon_sym_async, sym_identifier, sym_integer, @@ -8112,7 +7174,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(298), 23, + ACTIONS(300), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -8136,10 +7198,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6217] = 3, + [5979] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(304), 20, + ACTIONS(306), 20, anon_sym_async, sym_identifier, sym_integer, @@ -8160,7 +7222,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(302), 23, + ACTIONS(304), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -8184,10 +7246,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6268] = 3, + [6030] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(308), 20, + ACTIONS(310), 20, anon_sym_async, sym_identifier, sym_integer, @@ -8208,7 +7270,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(306), 23, + ACTIONS(308), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -8232,10 +7294,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6319] = 3, + [6081] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(312), 20, + ACTIONS(314), 20, anon_sym_async, sym_identifier, sym_integer, @@ -8256,7 +7318,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(310), 23, + ACTIONS(312), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -8280,10 +7342,199 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6370] = 3, + [6132] = 23, ACTIONS(3), 1, sym__comment, - ACTIONS(316), 20, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(248), 1, + anon_sym_PIPE, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(316), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(137), 1, + aux_sym__expression_list, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [6223] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(218), 1, + anon_sym_LT, + ACTIONS(318), 1, + anon_sym_EQ, + STATE(36), 1, + sym_assignment_operator, + STATE(298), 1, + sym_type, + ACTIONS(220), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(214), 18, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(212), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_asyncfor, + anon_sym_DASH_GT, + [6284] = 23, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(248), 1, + anon_sym_PIPE, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(320), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(160), 1, + aux_sym__expression_list, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [6375] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(324), 20, anon_sym_async, sym_identifier, sym_integer, @@ -8304,7 +7555,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(314), 23, + ACTIONS(322), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -8328,41 +7579,41 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6421] = 14, + [6426] = 14, ACTIONS(3), 1, sym__comment, ACTIONS(7), 1, anon_sym_async, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(220), 1, + ACTIONS(190), 1, anon_sym_DASH_GT, - ACTIONS(246), 1, + ACTIONS(210), 1, anon_sym_COLON, - ACTIONS(322), 1, + ACTIONS(330), 1, anon_sym_LBRACE, - STATE(166), 1, + STATE(199), 1, sym_block, - STATE(224), 1, + STATE(230), 1, sym_math_operator, - STATE(225), 1, + STATE(234), 1, sym_logic_operator, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(318), 8, + ACTIONS(326), 8, ts_builtin_sym_end, anon_sym_RBRACE, anon_sym_SEMI, @@ -8371,7 +7622,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(320), 14, + ACTIONS(328), 14, sym_identifier, sym_integer, anon_sym_true, @@ -8386,65 +7637,394 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [6493] = 22, + [6498] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(170), 1, + ACTIONS(144), 1, anon_sym_LPAREN, - ACTIONS(172), 1, + ACTIONS(146), 1, sym_integer, - ACTIONS(178), 1, + ACTIONS(152), 1, anon_sym_LBRACK, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(284), 1, + ACTIONS(246), 1, anon_sym_COLON, - ACTIONS(288), 1, + ACTIONS(252), 1, anon_sym_DASH_GT, - ACTIONS(324), 1, + ACTIONS(332), 1, sym_identifier, - ACTIONS(326), 1, + ACTIONS(334), 1, anon_sym_LBRACE, - ACTIONS(328), 1, + ACTIONS(336), 1, anon_sym_PIPE, - ACTIONS(330), 1, + ACTIONS(338), 1, + anon_sym_table, + STATE(118), 1, + aux_sym_match_repeat1, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + STATE(271), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [6586] = 22, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(336), 1, + anon_sym_PIPE, + ACTIONS(338), 1, + anon_sym_table, + STATE(86), 1, + aux_sym_match_repeat1, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + STATE(272), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [6674] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(190), 1, + anon_sym_DASH_GT, + ACTIONS(210), 1, + anon_sym_COLON, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(340), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(342), 15, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [6739] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(190), 1, + anon_sym_DASH_GT, + ACTIONS(210), 1, + anon_sym_COLON, + ACTIONS(348), 1, + anon_sym_SEMI, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(344), 8, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(346), 15, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [6806] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(190), 1, + anon_sym_DASH_GT, + ACTIONS(210), 1, + anon_sym_COLON, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(344), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(346), 15, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [6871] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(190), 1, + anon_sym_DASH_GT, + ACTIONS(210), 1, + anon_sym_COLON, + STATE(230), 1, + sym_math_operator, + STATE(234), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(350), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + ACTIONS(352), 15, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [6936] = 16, + ACTIONS(3), 1, + sym__comment, + ACTIONS(356), 1, + sym_identifier, + ACTIONS(361), 1, + anon_sym_LBRACE, + ACTIONS(364), 1, + anon_sym_LPAREN, + ACTIONS(367), 1, + sym_integer, + ACTIONS(376), 1, + anon_sym_LBRACK, + ACTIONS(379), 1, + anon_sym_PIPE, + ACTIONS(382), 1, anon_sym_table, STATE(85), 1, aux_sym_match_repeat1, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - STATE(257), 1, + STATE(272), 1, sym_expression, - ACTIONS(174), 2, + ACTIONS(370), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(373), 2, anon_sym_true, anon_sym_false, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(148), 5, + ACTIONS(354), 4, + ts_builtin_sym_end, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_asyncfor, + STATE(133), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - STATE(146), 7, + STATE(150), 7, sym__expression_kind, sym_value, sym_index, @@ -8452,65 +8032,55 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [6581] = 22, + ACTIONS(359), 9, + anon_sym_async, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_return, + anon_sym_use, + [7008] = 16, ACTIONS(3), 1, sym__comment, - ACTIONS(170), 1, + ACTIONS(144), 1, anon_sym_LPAREN, - ACTIONS(172), 1, + ACTIONS(146), 1, sym_integer, - ACTIONS(178), 1, + ACTIONS(152), 1, anon_sym_LBRACK, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(284), 1, - anon_sym_COLON, - ACTIONS(288), 1, - anon_sym_DASH_GT, - ACTIONS(324), 1, + ACTIONS(332), 1, sym_identifier, - ACTIONS(326), 1, + ACTIONS(334), 1, anon_sym_LBRACE, - ACTIONS(328), 1, - anon_sym_PIPE, - ACTIONS(330), 1, + ACTIONS(338), 1, anon_sym_table, - STATE(116), 1, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(85), 1, aux_sym_match_repeat1, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - STATE(258), 1, + STATE(272), 1, sym_expression, - ACTIONS(174), 2, + ACTIONS(148), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(150), 2, anon_sym_true, anon_sym_false, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(148), 5, + ACTIONS(385), 4, + ts_builtin_sym_end, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_asyncfor, + STATE(133), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - STATE(146), 7, + STATE(150), 7, sym__expression_kind, sym_value, sym_index, @@ -8518,408 +8088,41 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [6669] = 12, + ACTIONS(387), 9, + anon_sym_async, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_return, + anon_sym_use, + [7080] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(296), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, anon_sym_DASH, - ACTIONS(220), 1, - anon_sym_DASH_GT, - ACTIONS(246), 1, - anon_sym_COLON, - ACTIONS(336), 1, - anon_sym_SEMI, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(218), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(332), 8, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(334), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, anon_sym_PIPE, anon_sym_table, - anon_sym_return, - anon_sym_use, - [6736] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(220), 1, - anon_sym_DASH_GT, - ACTIONS(246), 1, - anon_sym_COLON, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(338), 9, - ts_builtin_sym_end, + ACTIONS(294), 23, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(340), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [6801] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(220), 1, - anon_sym_DASH_GT, - ACTIONS(246), 1, - anon_sym_COLON, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(332), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(334), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [6866] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(220), 1, - anon_sym_DASH_GT, - ACTIONS(246), 1, - anon_sym_COLON, - STATE(224), 1, - sym_math_operator, - STATE(225), 1, - sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(342), 9, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - ACTIONS(344), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [6931] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(348), 1, - sym_identifier, - ACTIONS(353), 1, - anon_sym_LBRACE, - ACTIONS(356), 1, - anon_sym_LPAREN, - ACTIONS(359), 1, - sym_integer, - ACTIONS(368), 1, - anon_sym_LBRACK, - ACTIONS(371), 1, - anon_sym_PIPE, - ACTIONS(374), 1, - anon_sym_table, - STATE(84), 1, - aux_sym_match_repeat1, - STATE(257), 1, - sym_expression, - ACTIONS(362), 2, - sym_float, - sym_string, - ACTIONS(365), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(346), 4, - ts_builtin_sym_end, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_asyncfor, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(351), 9, - anon_sym_async, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_return, - anon_sym_use, - [7003] = 16, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(84), 1, - aux_sym_match_repeat1, - STATE(257), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(377), 4, - ts_builtin_sym_end, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_asyncfor, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - ACTIONS(379), 9, - anon_sym_async, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_return, - anon_sym_use, - [7075] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(288), 1, - anon_sym_DASH_GT, - ACTIONS(383), 1, - anon_sym_COLON, - STATE(199), 1, - sym_logic_operator, - STATE(200), 1, - sym_math_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(228), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(226), 9, - anon_sym_LBRACE, - anon_sym_LPAREN, anon_sym_RPAREN, anon_sym_COMMA, sym_float, sym_string, anon_sym_LBRACK, anon_sym_RBRACK, - anon_sym_DOT_DOT, - [7131] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(383), 1, anon_sym_COLON, - STATE(199), 1, - sym_logic_operator, - STATE(200), 1, - sym_math_operator, - ACTIONS(204), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(202), 20, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_DOT_DOT, anon_sym_PLUS, anon_sym_STAR, @@ -8932,61 +8135,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7177] = 11, + [7120] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(288), 1, - anon_sym_DASH_GT, - ACTIONS(383), 1, - anon_sym_COLON, - STATE(199), 1, - sym_logic_operator, - STATE(200), 1, + STATE(215), 1, sym_math_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(210), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, + STATE(216), 1, + sym_logic_operator, ACTIONS(208), 9, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_DOT_DOT, - [7233] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(385), 1, - anon_sym_DOT_DOT, - STATE(199), 1, - sym_logic_operator, - STATE(200), 1, - sym_math_operator, - ACTIONS(232), 9, sym_identifier, sym_integer, anon_sym_true, @@ -8996,7 +8152,217 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(230), 20, + ACTIONS(206), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7164] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(391), 1, + anon_sym_COLON, + STATE(215), 1, + sym_math_operator, + STATE(216), 1, + sym_logic_operator, + ACTIONS(194), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(192), 20, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7210] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(391), 1, + anon_sym_COLON, + STATE(215), 1, + sym_math_operator, + STATE(216), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(204), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(202), 9, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DOT_DOT, + [7266] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(215), 1, + sym_math_operator, + STATE(216), 1, + sym_logic_operator, + ACTIONS(198), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(196), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7310] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(391), 1, + anon_sym_COLON, + STATE(215), 1, + sym_math_operator, + STATE(216), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(178), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(176), 9, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_DOT_DOT, + [7366] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(393), 1, + anon_sym_DOT_DOT, + STATE(215), 1, + sym_math_operator, + STATE(216), 1, + sym_logic_operator, + ACTIONS(198), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(196), 20, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -9017,10 +8383,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7279] = 3, + [7412] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(266), 9, + ACTIONS(260), 9, sym_identifier, sym_integer, anon_sym_true, @@ -9030,7 +8396,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(264), 23, + ACTIONS(258), 23, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9054,13 +8420,279 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7319] = 5, + [7452] = 11, ACTIONS(3), 1, sym__comment, - STATE(199), 1, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(252), 1, + anon_sym_DASH_GT, + STATE(178), 1, sym_logic_operator, - STATE(200), 1, + STATE(179), 1, sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(178), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(176), 8, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + [7507] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(208), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(206), 20, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7550] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(252), 1, + anon_sym_DASH_GT, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(204), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(202), 8, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + [7605] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(246), 1, + anon_sym_COLON, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(194), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(192), 19, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7650] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(302), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(300), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7688] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(276), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(274), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7726] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(228), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(226), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [7764] = 3, + ACTIONS(3), 1, + sym__comment, ACTIONS(224), 9, sym_identifier, sym_integer, @@ -9093,10 +8725,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7363] = 3, + [7802] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(254), 9, + ACTIONS(306), 9, sym_identifier, sym_integer, anon_sym_true, @@ -9106,48 +8738,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(252), 23, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [7403] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(199), 1, - sym_logic_operator, - STATE(200), 1, - sym_math_operator, - ACTIONS(232), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(230), 21, + ACTIONS(304), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -9169,102 +8760,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7447] = 11, + [7840] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(284), 1, - anon_sym_COLON, - ACTIONS(288), 1, - anon_sym_DASH_GT, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(228), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(226), 8, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - [7502] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(284), 1, - anon_sym_COLON, - ACTIONS(288), 1, - anon_sym_DASH_GT, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(210), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(208), 8, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - [7557] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - ACTIONS(224), 9, + ACTIONS(264), 9, sym_identifier, sym_integer, anon_sym_true, @@ -9274,80 +8773,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(222), 20, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [7600] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(284), 1, - anon_sym_COLON, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - ACTIONS(204), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(202), 19, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [7645] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(262), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(260), 21, + ACTIONS(262), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -9369,10 +8795,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7683] = 3, + [7878] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(316), 9, + ACTIONS(280), 9, sym_identifier, sym_integer, anon_sym_true, @@ -9382,7 +8808,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(314), 21, + ACTIONS(278), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -9404,54 +8830,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7721] = 12, + [7916] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(284), 1, - anon_sym_COLON, - ACTIONS(288), 1, - anon_sym_DASH_GT, - ACTIONS(391), 1, - anon_sym_COMMA, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(387), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(389), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - [7777] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(304), 9, + ACTIONS(284), 9, sym_identifier, sym_integer, anon_sym_true, @@ -9461,7 +8843,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(302), 21, + ACTIONS(282), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -9483,366 +8865,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7815] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(296), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(294), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [7853] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(270), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(268), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [7891] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(276), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [7929] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(284), 1, - anon_sym_COLON, - ACTIONS(288), 1, - anon_sym_DASH_GT, - ACTIONS(397), 1, - anon_sym_COMMA, - STATE(195), 1, - sym_math_operator, - STATE(196), 1, - sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(393), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(395), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - [7985] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(308), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(306), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8023] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(310), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8061] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(300), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(298), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8099] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(250), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(248), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8137] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(274), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(272), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8175] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(258), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(256), 21, - anon_sym_LBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8213] = 3, + [7954] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(292), 9, @@ -9877,54 +8900,314 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [8251] = 7, + [7992] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(403), 1, - anon_sym_elseif, - ACTIONS(405), 1, - anon_sym_else, - STATE(232), 1, - sym_else, - STATE(114), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(399), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(401), 14, - anon_sym_async, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(252), 1, + anon_sym_DASH_GT, + ACTIONS(399), 1, + anon_sym_COMMA, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(395), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, + anon_sym_PIPE, anon_sym_table, - anon_sym_return, - anon_sym_use, - [8296] = 7, + ACTIONS(397), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + [8048] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(403), 1, - anon_sym_elseif, + ACTIONS(314), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(312), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8086] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(288), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(286), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8124] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(324), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(322), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8162] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(310), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(308), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8200] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(256), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(254), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8238] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(246), 1, + anon_sym_COLON, + ACTIONS(252), 1, + anon_sym_DASH_GT, ACTIONS(405), 1, + anon_sym_COMMA, + STATE(178), 1, + sym_logic_operator, + STATE(179), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(401), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(403), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + [8294] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(268), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(266), 21, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8332] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(411), 1, + anon_sym_elseif, + ACTIONS(413), 1, anon_sym_else, - STATE(228), 1, + STATE(172), 1, sym_else, - STATE(117), 2, + STATE(119), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(407), 10, @@ -9953,105 +9236,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [8341] = 15, + [8377] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(348), 1, - sym_identifier, - ACTIONS(353), 1, - anon_sym_LBRACE, - ACTIONS(356), 1, - anon_sym_LPAREN, - ACTIONS(359), 1, - sym_integer, - ACTIONS(368), 1, - anon_sym_LBRACK, - ACTIONS(371), 1, - anon_sym_PIPE, - ACTIONS(374), 1, - anon_sym_table, - STATE(115), 1, - aux_sym_match_repeat1, - STATE(258), 1, - sym_expression, - ACTIONS(362), 2, - sym_float, - sym_string, - ACTIONS(365), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(346), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8401] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(115), 1, - aux_sym_match_repeat1, - STATE(258), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(377), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8461] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(415), 1, + ACTIONS(411), 1, anon_sym_elseif, - STATE(117), 2, + ACTIONS(413), 1, + anon_sym_else, + STATE(245), 1, + sym_else, + STATE(116), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(411), 10, + ACTIONS(415), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -10062,7 +9259,86 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(413), 15, + ACTIONS(417), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [8422] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(120), 1, + aux_sym_match_repeat1, + STATE(271), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(385), 3, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8482] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(423), 1, + anon_sym_elseif, + STATE(119), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(419), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(421), 15, anon_sym_async, sym_identifier, sym_integer, @@ -10078,13 +9354,519 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [8501] = 5, + [8522] = 15, ACTIONS(3), 1, sym__comment, - STATE(171), 1, - sym_logic_operator, - STATE(172), 1, + ACTIONS(356), 1, + sym_identifier, + ACTIONS(361), 1, + anon_sym_LBRACE, + ACTIONS(364), 1, + anon_sym_LPAREN, + ACTIONS(367), 1, + sym_integer, + ACTIONS(376), 1, + anon_sym_LBRACK, + ACTIONS(379), 1, + anon_sym_PIPE, + ACTIONS(382), 1, + anon_sym_table, + STATE(120), 1, + aux_sym_match_repeat1, + STATE(271), 1, + sym_expression, + ACTIONS(370), 2, + sym_float, + sym_string, + ACTIONS(373), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(354), 3, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8582] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(194), 1, sym_math_operator, + STATE(232), 1, + sym_logic_operator, + ACTIONS(198), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(196), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [8621] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(426), 1, + anon_sym_RPAREN, + ACTIONS(324), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(322), 17, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8658] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(428), 1, + anon_sym_RPAREN, + ACTIONS(324), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(322), 17, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8695] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(430), 1, + anon_sym_COLON, + STATE(194), 1, + sym_math_operator, + STATE(232), 1, + sym_logic_operator, + ACTIONS(194), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(192), 17, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [8736] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(430), 1, + anon_sym_COLON, + ACTIONS(432), 1, + anon_sym_DASH_GT, + STATE(194), 1, + sym_math_operator, + STATE(232), 1, + sym_logic_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(178), 3, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(176), 7, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [8787] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(434), 1, + anon_sym_RPAREN, + ACTIONS(324), 9, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(322), 17, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_COLON, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [8824] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(436), 1, + anon_sym_DOT_DOT, + STATE(194), 1, + sym_math_operator, + STATE(232), 1, + sym_logic_operator, + ACTIONS(198), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(196), 17, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [8865] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(430), 1, + anon_sym_COLON, + ACTIONS(432), 1, + anon_sym_DASH_GT, + STATE(194), 1, + sym_math_operator, + STATE(232), 1, + sym_logic_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(204), 3, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(202), 7, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [8916] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(194), 1, + sym_math_operator, + STATE(232), 1, + sym_logic_operator, + ACTIONS(208), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(206), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [8955] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(438), 1, + anon_sym_RPAREN, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(114), 1, + sym_expression, + STATE(158), 1, + aux_sym__expression_list, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9013] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(442), 1, + anon_sym_RBRACK, + STATE(108), 1, + sym_expression, + STATE(141), 1, + aux_sym_list_repeat1, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9071] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(306), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(304), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9105] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(302), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(300), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9139] = 3, + ACTIONS(3), 1, + sym__comment, ACTIONS(224), 7, anon_sym_async, sym_identifier, @@ -10093,7 +9875,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(222), 18, + ACTIONS(222), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10111,15 +9893,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, + anon_sym_EQ_GT, anon_sym_DASH_GT, - [8540] = 5, + [9173] = 3, ACTIONS(3), 1, sym__comment, - STATE(171), 1, - sym_logic_operator, - STATE(172), 1, - sym_math_operator, - ACTIONS(232), 7, + ACTIONS(280), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -10127,7 +9906,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(230), 18, + ACTIONS(278), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10145,165 +9924,133 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, + anon_sym_EQ_GT, anon_sym_DASH_GT, - [8579] = 4, + [9207] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(418), 1, - anon_sym_RPAREN, - ACTIONS(258), 9, + ACTIONS(284), 7, + anon_sym_async, sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, + anon_sym_EQ, + anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(256), 17, + ACTIONS(282), 19, anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9241] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(444), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(158), 1, + aux_sym__expression_list, + ACTIONS(240), 2, sym_float, sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9299] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8616] = 11, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(446), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(158), 1, + aux_sym__expression_list, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9357] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(420), 1, - anon_sym_COLON, - ACTIONS(422), 1, - anon_sym_DASH_GT, - STATE(171), 1, + STATE(190), 1, sym_logic_operator, - STATE(172), 1, + STATE(198), 1, sym_math_operator, - ACTIONS(212), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(228), 3, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(226), 7, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [8667] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(420), 1, - anon_sym_COLON, - STATE(171), 1, - sym_logic_operator, - STATE(172), 1, - sym_math_operator, - ACTIONS(204), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(202), 17, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [8708] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(420), 1, - anon_sym_COLON, - ACTIONS(422), 1, - anon_sym_DASH_GT, - STATE(171), 1, - sym_logic_operator, - STATE(172), 1, - sym_math_operator, - ACTIONS(212), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(210), 3, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - ACTIONS(214), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, ACTIONS(208), 7, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [8759] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(424), 1, - anon_sym_DOT_DOT, - STATE(171), 1, - sym_logic_operator, - STATE(172), 1, - sym_math_operator, - ACTIONS(232), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -10311,7 +10058,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(230), 17, + ACTIONS(206), 17, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10329,107 +10076,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - [8800] = 4, + [9395] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(426), 1, - anon_sym_RPAREN, - ACTIONS(258), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(256), 17, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8837] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(428), 1, - anon_sym_RPAREN, - ACTIONS(258), 9, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(256), 17, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [8874] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(430), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_elseif, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(432), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [8908] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(304), 7, + ACTIONS(314), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -10437,7 +10087,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(302), 19, + ACTIONS(312), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10457,129 +10107,36 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [8942] = 3, + [9429] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(250), 7, - anon_sym_async, + ACTIONS(230), 1, sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(248), 19, + ACTIONS(232), 1, anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [8976] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(274), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(272), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9010] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(270), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(268), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9044] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, + ACTIONS(234), 1, anon_sym_LPAREN, - ACTIONS(49), 1, + ACTIONS(238), 1, sym_integer, - ACTIONS(55), 1, + ACTIONS(244), 1, anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, + ACTIONS(250), 1, anon_sym_table, - ACTIONS(434), 1, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(448), 1, anon_sym_RBRACK, - STATE(100), 1, + STATE(108), 1, sym_expression, - STATE(152), 1, + STATE(146), 1, aux_sym_list_repeat1, - ACTIONS(51), 2, + ACTIONS(240), 2, sym_float, sym_string, - ACTIONS(53), 2, + ACTIONS(242), 2, anon_sym_true, anon_sym_false, - STATE(98), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, @@ -10593,93 +10150,38 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [9102] = 15, + [9487] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(43), 1, + ACTIONS(288), 7, + anon_sym_async, sym_identifier, - ACTIONS(45), 1, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(286), 19, anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(436), 1, - anon_sym_RPAREN, - STATE(105), 1, - sym_expression, - STATE(138), 1, - aux_sym__expression_list, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9160] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(438), 1, - anon_sym_RPAREN, - STATE(105), 1, - sym_expression, - STATE(133), 1, - aux_sym__expression_list, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9218] = 3, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9521] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(292), 7, @@ -10710,53 +10212,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [9252] = 15, + [9555] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(440), 1, - anon_sym_RPAREN, - STATE(105), 1, - sym_expression, - STATE(138), 1, - aux_sym__expression_list, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9310] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 7, + ACTIONS(228), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -10764,7 +10223,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(276), 19, + ACTIONS(226), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -10784,53 +10243,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [9344] = 15, + [9589] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(442), 1, - sym_identifier, - ACTIONS(445), 1, - anon_sym_LBRACE, - ACTIONS(448), 1, - anon_sym_LPAREN, - ACTIONS(451), 1, - anon_sym_RPAREN, - ACTIONS(453), 1, - sym_integer, - ACTIONS(462), 1, - anon_sym_LBRACK, - ACTIONS(465), 1, - anon_sym_PIPE, - ACTIONS(468), 1, - anon_sym_table, - STATE(105), 1, - sym_expression, - STATE(138), 1, - aux_sym__expression_list, - ACTIONS(456), 2, - sym_float, - sym_string, - ACTIONS(459), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9402] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(471), 11, + ACTIONS(450), 11, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -10842,7 +10258,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(473), 15, + ACTIONS(452), 15, anon_sym_async, sym_identifier, sym_integer, @@ -10858,7 +10274,815 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [9436] = 3, + [9623] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(454), 1, + sym_identifier, + ACTIONS(457), 1, + anon_sym_LBRACE, + ACTIONS(460), 1, + anon_sym_LPAREN, + ACTIONS(463), 1, + sym_integer, + ACTIONS(472), 1, + anon_sym_LBRACK, + ACTIONS(475), 1, + anon_sym_RBRACK, + ACTIONS(477), 1, + anon_sym_PIPE, + ACTIONS(480), 1, + anon_sym_table, + STATE(108), 1, + sym_expression, + STATE(146), 1, + aux_sym_list_repeat1, + ACTIONS(466), 2, + sym_float, + sym_string, + ACTIONS(469), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9681] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(264), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(262), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9715] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(256), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(254), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9749] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(483), 1, + anon_sym_RBRACK, + STATE(108), 1, + sym_expression, + STATE(146), 1, + aux_sym_list_repeat1, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9807] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(324), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(322), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9841] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(276), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(274), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9875] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(485), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(158), 1, + aux_sym__expression_list, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9933] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(258), 11, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_elseif, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(260), 15, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [9967] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(310), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(308), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [10001] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(487), 1, + anon_sym_RBRACK, + STATE(108), 1, + sym_expression, + STATE(159), 1, + aux_sym_list_repeat1, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10059] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(268), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(266), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [10093] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(489), 1, + anon_sym_RBRACK, + STATE(108), 1, + sym_expression, + STATE(149), 1, + aux_sym_list_repeat1, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10151] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(491), 1, + sym_identifier, + ACTIONS(494), 1, + anon_sym_LBRACE, + ACTIONS(497), 1, + anon_sym_LPAREN, + ACTIONS(500), 1, + anon_sym_RPAREN, + ACTIONS(502), 1, + sym_integer, + ACTIONS(511), 1, + anon_sym_LBRACK, + ACTIONS(514), 1, + anon_sym_PIPE, + ACTIONS(517), 1, + anon_sym_table, + STATE(114), 1, + sym_expression, + STATE(158), 1, + aux_sym__expression_list, + ACTIONS(505), 2, + sym_float, + sym_string, + ACTIONS(508), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10209] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(520), 1, + anon_sym_RBRACK, + STATE(108), 1, + sym_expression, + STATE(146), 1, + aux_sym_list_repeat1, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10267] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(522), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(158), 1, + aux_sym__expression_list, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10325] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(524), 11, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_elseif, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(526), 15, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [10359] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(528), 1, + anon_sym_COLON, + STATE(190), 1, + sym_logic_operator, + STATE(198), 1, + sym_math_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(178), 3, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(176), 6, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [10409] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(294), 11, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_elseif, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(296), 15, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_else, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [10443] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(528), 1, + anon_sym_COLON, + STATE(190), 1, + sym_logic_operator, + STATE(198), 1, + sym_math_operator, + ACTIONS(194), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(192), 16, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [10483] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(528), 1, + anon_sym_COLON, + STATE(190), 1, + sym_logic_operator, + STATE(198), 1, + sym_math_operator, + ACTIONS(182), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(204), 3, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + ACTIONS(202), 6, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [10533] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(530), 1, + anon_sym_RPAREN, + STATE(114), 1, + sym_expression, + STATE(158), 1, + aux_sym__expression_list, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10591] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(260), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(258), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [10624] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(296), 7, @@ -10869,688 +11093,66 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, + ACTIONS(294), 18, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [10657] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(260), 6, + anon_sym_async, + sym_identifier, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_else, + ACTIONS(258), 19, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_elseif, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [10690] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(296), 6, + anon_sym_async, + sym_identifier, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_else, ACTIONS(294), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9470] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(475), 1, - anon_sym_RBRACK, - STATE(100), 1, - sym_expression, - STATE(156), 1, - aux_sym_list_repeat1, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9528] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(252), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_elseif, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(254), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [9562] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(300), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(298), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9596] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(477), 1, - sym_identifier, - ACTIONS(480), 1, - anon_sym_LBRACE, - ACTIONS(483), 1, - anon_sym_LPAREN, - ACTIONS(486), 1, - sym_integer, - ACTIONS(495), 1, - anon_sym_LBRACK, - ACTIONS(498), 1, - anon_sym_RBRACK, - ACTIONS(500), 1, - anon_sym_PIPE, - ACTIONS(503), 1, - anon_sym_table, - STATE(100), 1, - sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(489), 2, - sym_float, - sym_string, - ACTIONS(492), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9654] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(316), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(314), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9688] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(258), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(256), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9722] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(312), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(310), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9756] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(262), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(260), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9790] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(308), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(306), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [9824] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(224), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(222), 17, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [9862] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(506), 1, - anon_sym_RBRACK, - STATE(100), 1, - sym_expression, - STATE(153), 1, - aux_sym_list_repeat1, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9920] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(508), 1, - anon_sym_RBRACK, - STATE(100), 1, - sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9978] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(510), 1, - anon_sym_RBRACK, - STATE(100), 1, - sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10036] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(264), 11, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_elseif, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(266), 15, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_else, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [10070] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(512), 1, - anon_sym_COLON, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(212), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(210), 3, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - ACTIONS(214), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(208), 6, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [10120] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - ACTIONS(514), 1, - anon_sym_RBRACK, - STATE(100), 1, - sym_expression, - STATE(144), 1, - aux_sym_list_repeat1, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10178] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(512), 1, - anon_sym_COLON, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(204), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(202), 16, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [10218] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(512), 1, - anon_sym_COLON, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(212), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(228), 3, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - ACTIONS(226), 6, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [10268] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(266), 6, - anon_sym_async, - sym_identifier, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_else, - ACTIONS(264), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -11570,882 +11172,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, anon_sym_EQ_GT, anon_sym_DASH_GT, - [10301] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(254), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(252), 18, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [10334] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(254), 6, - anon_sym_async, - sym_identifier, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_else, - ACTIONS(252), 19, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_elseif, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [10367] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(266), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(264), 18, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [10400] = 14, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - anon_sym_async, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(320), 1, - sym_identifier, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(512), 1, - anon_sym_COLON, - ACTIONS(516), 1, - anon_sym_LBRACE, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - STATE(289), 1, - sym_block, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(318), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [10454] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(253), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10506] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(332), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(334), 14, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [10538] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(518), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(520), 14, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [10570] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(248), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10622] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(78), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10674] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(522), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(524), 14, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [10706] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(247), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10758] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(526), 1, - anon_sym_table, - STATE(123), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10810] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(526), 1, - anon_sym_table, - STATE(122), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10862] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - STATE(163), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10914] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - STATE(243), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10966] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(58), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11018] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(526), 1, - anon_sym_table, - STATE(121), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11070] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(526), 1, - anon_sym_table, - STATE(119), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11122] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(240), 1, - anon_sym_EQ, - ACTIONS(242), 1, - anon_sym_LT, - STATE(45), 1, - sym_assignment_operator, - STATE(302), 1, - sym_type, - ACTIONS(244), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(238), 3, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - ACTIONS(236), 15, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_COLON, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_DASH_GT, - [11164] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(94), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11216] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - STATE(150), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11268] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(83), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11320] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - STATE(155), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11372] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - STATE(157), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11424] = 3, + [10723] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(532), 10, @@ -12474,100 +11201,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [11456] = 13, + [10755] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(526), 1, - anon_sym_table, - STATE(124), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11508] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - STATE(158), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11560] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(336), 1, - anon_sym_SEMI, - ACTIONS(332), 9, + ACTIONS(536), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(334), 14, + ACTIONS(538), 14, anon_sym_async, sym_identifier, sym_integer, @@ -12582,7 +11230,388 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [11594] = 13, + [10787] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + STATE(188), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10839] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + STATE(255), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10891] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(259), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10943] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(79), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10995] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(267), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11047] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(97), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11099] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(98), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11151] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(540), 1, + anon_sym_table, + STATE(93), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11203] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(389), 1, + anon_sym_PIPE, + ACTIONS(542), 1, + anon_sym_table, + STATE(249), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11255] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(348), 1, + anon_sym_SEMI, + ACTIONS(344), 9, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(346), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [11289] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -12593,13 +11622,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, ACTIONS(35), 1, anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(528), 1, + ACTIONS(544), 1, sym_identifier, - ACTIONS(530), 1, + ACTIONS(546), 1, anon_sym_LBRACE, - STATE(77), 1, + ACTIONS(548), 1, + anon_sym_table, + STATE(42), 1, sym_expression, ACTIONS(15), 2, sym_float, @@ -12607,13 +11636,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 7, + STATE(77), 7, sym__expression_kind, sym_value, sym_index, @@ -12621,116 +11650,38 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [11646] = 13, + [11341] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, + ACTIONS(144), 1, anon_sym_LPAREN, - ACTIONS(49), 1, + ACTIONS(146), 1, sym_integer, - ACTIONS(55), 1, + ACTIONS(152), 1, anon_sym_LBRACK, - ACTIONS(57), 1, + ACTIONS(168), 1, anon_sym_PIPE, - ACTIONS(536), 1, - anon_sym_table, - STATE(89), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11698] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(96), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11750] = 13, - ACTIONS(3), 1, - sym__comment, ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(255), 1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + STATE(139), 1, sym_expression, - ACTIONS(174), 2, + ACTIONS(148), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(150), 2, anon_sym_true, anon_sym_false, - STATE(148), 5, + STATE(133), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(146), 7, + STATE(150), 7, sym__expression_kind, sym_value, sym_index, @@ -12738,188 +11689,32 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [11802] = 13, + [11393] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(43), 1, + ACTIONS(230), 1, sym_identifier, - ACTIONS(45), 1, + ACTIONS(232), 1, anon_sym_LBRACE, - ACTIONS(47), 1, + ACTIONS(234), 1, anon_sym_LPAREN, - ACTIONS(49), 1, + ACTIONS(238), 1, sym_integer, - ACTIONS(55), 1, + ACTIONS(244), 1, anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(536), 1, + ACTIONS(250), 1, anon_sym_table, - STATE(93), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11854] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(381), 1, + ACTIONS(440), 1, anon_sym_PIPE, - ACTIONS(538), 1, - anon_sym_table, - STATE(236), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11906] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(381), 1, - anon_sym_PIPE, - ACTIONS(538), 1, - anon_sym_table, - STATE(237), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11958] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(97), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12010] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, STATE(95), 1, sym_expression, - ACTIONS(51), 2, + ACTIONS(240), 2, sym_float, sym_string, - ACTIONS(53), 2, + ACTIONS(242), 2, anon_sym_true, anon_sym_false, - STATE(98), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, @@ -12933,67 +11728,195 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12062] = 3, + [11445] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(540), 10, - ts_builtin_sym_end, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, anon_sym_LBRACE, + ACTIONS(548), 1, + anon_sym_table, + STATE(43), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11497] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + ACTIONS(548), 1, + anon_sym_table, + STATE(46), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11549] = 14, + ACTIONS(3), 1, + sym__comment, + ACTIONS(140), 1, + anon_sym_async, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(328), 1, + sym_identifier, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(528), 1, + anon_sym_COLON, + ACTIONS(550), 1, + anon_sym_LBRACE, + STATE(190), 1, + sym_logic_operator, + STATE(198), 1, + sym_math_operator, + STATE(304), 1, + sym_block, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(326), 3, anon_sym_RBRACE, anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(542), 14, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [12094] = 13, + anon_sym_COMMA, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [11603] = 13, ACTIONS(3), 1, sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(540), 1, + anon_sym_table, + STATE(91), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11655] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(381), 1, - anon_sym_PIPE, - ACTIONS(538), 1, anon_sym_table, - STATE(238), 1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + STATE(165), 1, sym_expression, - ACTIONS(174), 2, + ACTIONS(148), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(150), 2, anon_sym_true, anon_sym_false, - STATE(148), 5, + STATE(133), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(146), 7, + STATE(150), 7, sym__expression_kind, sym_value, sym_index, @@ -13001,32 +11924,32 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12146] = 13, + [11707] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(43), 1, + ACTIONS(230), 1, sym_identifier, - ACTIONS(45), 1, + ACTIONS(232), 1, anon_sym_LBRACE, - ACTIONS(47), 1, + ACTIONS(234), 1, anon_sym_LPAREN, - ACTIONS(49), 1, + ACTIONS(238), 1, sym_integer, - ACTIONS(55), 1, + ACTIONS(244), 1, anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(536), 1, + ACTIONS(250), 1, anon_sym_table, - STATE(88), 1, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(96), 1, sym_expression, - ACTIONS(51), 2, + ACTIONS(240), 2, sym_float, sym_string, - ACTIONS(53), 2, + ACTIONS(242), 2, anon_sym_true, anon_sym_false, - STATE(98), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, @@ -13040,46 +11963,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12198] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(536), 1, - anon_sym_table, - STATE(87), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12250] = 13, + [11759] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -13092,9 +11976,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE, ACTIONS(37), 1, anon_sym_table, - ACTIONS(528), 1, + ACTIONS(544), 1, sym_identifier, - ACTIONS(530), 1, + ACTIONS(546), 1, anon_sym_LBRACE, STATE(81), 1, sym_expression, @@ -13104,13 +11988,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(62), 5, + STATE(70), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(61), 7, + STATE(77), 7, sym__expression_kind, sym_value, sym_index, @@ -13118,10 +12002,88 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12302] = 3, + [11811] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(544), 10, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(552), 1, + anon_sym_table, + STATE(125), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11863] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(552), 1, + anon_sym_table, + STATE(124), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11915] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(344), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -13132,7 +12094,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(546), 14, + ACTIONS(346), 14, anon_sym_async, sym_identifier, sym_integer, @@ -13147,116 +12109,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [12334] = 13, + [11947] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, + ACTIONS(144), 1, anon_sym_LPAREN, - ACTIONS(49), 1, + ACTIONS(146), 1, sym_integer, - ACTIONS(55), 1, + ACTIONS(152), 1, anon_sym_LBRACK, - ACTIONS(57), 1, + ACTIONS(168), 1, anon_sym_PIPE, - ACTIONS(536), 1, - anon_sym_table, - STATE(86), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12386] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - ACTIONS(548), 1, - anon_sym_table, - STATE(53), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12438] = 13, - ACTIONS(3), 1, - sym__comment, ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(249), 1, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + STATE(254), 1, sym_expression, - ACTIONS(174), 2, + ACTIONS(148), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(150), 2, anon_sym_true, anon_sym_false, - STATE(148), 5, + STATE(133), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(146), 7, + STATE(150), 7, sym__expression_kind, sym_value, sym_index, @@ -13264,543 +12148,80 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12490] = 13, + [11999] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(381), 1, - anon_sym_PIPE, - ACTIONS(538), 1, - anon_sym_table, - STATE(239), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12542] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(245), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12594] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(251), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12646] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(256), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12698] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - ACTIONS(548), 1, - anon_sym_table, - STATE(49), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12750] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - ACTIONS(548), 1, - anon_sym_table, - STATE(48), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12802] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - ACTIONS(548), 1, - anon_sym_table, - STATE(51), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12854] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(252), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12906] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(43), 1, - sym_identifier, - ACTIONS(45), 1, - anon_sym_LBRACE, - ACTIONS(47), 1, - anon_sym_LPAREN, - ACTIONS(49), 1, - sym_integer, - ACTIONS(55), 1, - anon_sym_LBRACK, - ACTIONS(57), 1, - anon_sym_PIPE, - ACTIONS(59), 1, - anon_sym_table, - STATE(79), 1, - sym_expression, - ACTIONS(51), 2, - sym_float, - sym_string, - ACTIONS(53), 2, - anon_sym_true, - anon_sym_false, - STATE(98), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(111), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12958] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(250), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13010] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(381), 1, - anon_sym_PIPE, - ACTIONS(538), 1, - anon_sym_table, - STATE(235), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13062] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_PIPE, - ACTIONS(196), 1, - anon_sym_table, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - STATE(244), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13114] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(55), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13166] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(550), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, + ACTIONS(216), 1, + anon_sym_EQ, + ACTIONS(218), 1, + anon_sym_LT, + STATE(37), 1, + sym_assignment_operator, + STATE(301), 1, + sym_type, + ACTIONS(220), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(214), 3, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + ACTIONS(212), 15, anon_sym_RBRACE, anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_COLON, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_DASH_GT, + [12041] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + STATE(164), 1, + sym_expression, + ACTIONS(148), 2, sym_float, sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(552), 14, - anon_sym_async, - sym_identifier, - sym_integer, + ACTIONS(150), 2, anon_sym_true, anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [13198] = 3, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12093] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(554), 10, @@ -13829,46 +12250,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13230] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, - anon_sym_LBRACK, - ACTIONS(324), 1, - sym_identifier, - ACTIONS(326), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_table, - ACTIONS(381), 1, - anon_sym_PIPE, - STATE(254), 1, - sym_expression, - ACTIONS(174), 2, - sym_float, - sym_string, - ACTIONS(176), 2, - anon_sym_true, - anon_sym_false, - STATE(148), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(146), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13282] = 3, + [12125] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(558), 10, @@ -13897,182 +12279,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13314] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - ACTIONS(548), 1, - anon_sym_table, - STATE(52), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13366] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(56), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13418] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(35), 1, - anon_sym_PIPE, - ACTIONS(37), 1, - anon_sym_table, - ACTIONS(528), 1, - sym_identifier, - ACTIONS(530), 1, - anon_sym_LBRACE, - STATE(57), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(62), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(61), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [13470] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(252), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(254), 14, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [13502] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(264), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(266), 14, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [13534] = 3, + [12157] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(562), 10, @@ -14101,67 +12308,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13566] = 3, + [12189] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(566), 10, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(144), 1, anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_asyncfor, - anon_sym_PIPE, - ACTIONS(568), 14, - anon_sym_async, - sym_identifier, + ACTIONS(146), 1, sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_if, - anon_sym_match, - anon_sym_while, - anon_sym_for, - anon_sym_select, - anon_sym_insert, - anon_sym_table, - anon_sym_return, - anon_sym_use, - [13598] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(172), 1, - sym_integer, - ACTIONS(178), 1, + ACTIONS(152), 1, anon_sym_LBRACK, - ACTIONS(324), 1, + ACTIONS(332), 1, sym_identifier, - ACTIONS(326), 1, + ACTIONS(334), 1, anon_sym_LBRACE, - ACTIONS(330), 1, + ACTIONS(338), 1, anon_sym_table, - ACTIONS(381), 1, + ACTIONS(389), 1, anon_sym_PIPE, - STATE(246), 1, + STATE(263), 1, sym_expression, - ACTIONS(174), 2, + ACTIONS(148), 2, sym_float, sym_string, - ACTIONS(176), 2, + ACTIONS(150), 2, anon_sym_true, anon_sym_false, - STATE(148), 5, + STATE(133), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(146), 7, + STATE(150), 7, sym__expression_kind, sym_value, sym_index, @@ -14169,10 +12347,439 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [13650] = 3, + [12241] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(570), 10, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(566), 1, + sym_identifier, + STATE(55), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(126), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12293] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + STATE(50), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12345] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(552), 1, + anon_sym_table, + STATE(127), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12397] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(264), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12449] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(260), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12501] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(389), 1, + anon_sym_PIPE, + ACTIONS(542), 1, + anon_sym_table, + STATE(248), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12553] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(265), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12605] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(266), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12657] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(69), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12709] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(170), 1, + anon_sym_table, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + STATE(162), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12761] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(540), 1, + anon_sym_table, + STATE(92), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12813] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(568), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -14183,7 +12790,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(572), 14, + ACTIONS(570), 14, anon_sym_async, sym_identifier, sym_integer, @@ -14198,7 +12805,1107 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13682] = 3, + [12845] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(540), 1, + anon_sym_table, + STATE(89), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12897] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(540), 1, + anon_sym_table, + STATE(90), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12949] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + STATE(48), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13001] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(572), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(574), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [13033] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(269), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13085] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + ACTIONS(548), 1, + anon_sym_table, + STATE(44), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13137] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(258), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(260), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [13169] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(576), 1, + sym_identifier, + STATE(76), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(122), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13221] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(552), 1, + anon_sym_table, + STATE(121), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13273] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(262), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13325] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(578), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(580), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [13357] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + ACTIONS(548), 1, + anon_sym_table, + STATE(45), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13409] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(582), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(584), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [13441] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(62), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13493] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(389), 1, + anon_sym_PIPE, + ACTIONS(542), 1, + anon_sym_table, + STATE(257), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13545] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + STATE(52), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13597] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(389), 1, + anon_sym_PIPE, + ACTIONS(542), 1, + anon_sym_table, + STATE(256), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13649] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(168), 1, + anon_sym_PIPE, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(552), 1, + anon_sym_table, + STATE(128), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13701] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(389), 1, + anon_sym_PIPE, + ACTIONS(542), 1, + anon_sym_table, + STATE(252), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13753] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + STATE(51), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13805] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + STATE(84), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13857] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(35), 1, + anon_sym_PIPE, + ACTIONS(37), 1, + anon_sym_table, + ACTIONS(544), 1, + sym_identifier, + ACTIONS(546), 1, + anon_sym_LBRACE, + STATE(78), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(70), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(77), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13909] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + ACTIONS(586), 1, + sym_identifier, + STATE(74), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(123), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [13961] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(270), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [14013] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(261), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [14065] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(588), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(590), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [14097] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(80), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [14149] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(234), 1, + anon_sym_LPAREN, + ACTIONS(238), 1, + sym_integer, + ACTIONS(244), 1, + anon_sym_LBRACK, + ACTIONS(250), 1, + anon_sym_table, + ACTIONS(440), 1, + anon_sym_PIPE, + STATE(61), 1, + sym_expression, + ACTIONS(240), 2, + sym_float, + sym_string, + ACTIONS(242), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(111), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [14201] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(592), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(594), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [14233] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(294), 10, + ts_builtin_sym_end, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(296), 14, + anon_sym_async, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_select, + anon_sym_insert, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [14265] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(407), 10, @@ -14227,22 +13934,61 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13714] = 6, + [14297] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(240), 1, + ACTIONS(144), 1, + anon_sym_LPAREN, + ACTIONS(146), 1, + sym_integer, + ACTIONS(152), 1, + anon_sym_LBRACK, + ACTIONS(332), 1, + sym_identifier, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + anon_sym_table, + ACTIONS(389), 1, + anon_sym_PIPE, + STATE(268), 1, + sym_expression, + ACTIONS(148), 2, + sym_float, + sym_string, + ACTIONS(150), 2, + anon_sym_true, + anon_sym_false, + STATE(133), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(150), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [14349] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(216), 1, anon_sym_EQ, - STATE(46), 1, + STATE(40), 1, sym_assignment_operator, - ACTIONS(244), 2, + ACTIONS(220), 2, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - ACTIONS(238), 4, + ACTIONS(214), 4, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(236), 15, + ACTIONS(212), 15, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -14258,257 +14004,161 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [13751] = 10, + [14386] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(512), 1, - anon_sym_COLON, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, + ACTIONS(596), 1, + anon_sym_DOT_DOT, + STATE(231), 1, sym_math_operator, - ACTIONS(218), 2, + STATE(233), 1, + sym_logic_operator, + ACTIONS(198), 3, + anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(196), 15, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_COLON, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(332), 4, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [14421] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(231), 1, + sym_math_operator, + STATE(233), 1, + sym_logic_operator, + ACTIONS(198), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(196), 16, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [14454] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(231), 1, + sym_math_operator, + STATE(233), 1, + sym_logic_operator, + ACTIONS(208), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(206), 16, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_COLON, + anon_sym_DOT_DOT, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [14487] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(528), 1, + anon_sym_COLON, + STATE(190), 1, + sym_logic_operator, + STATE(198), 1, + sym_math_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(344), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [13794] = 5, + [14530] = 10, ACTIONS(3), 1, sym__comment, - STATE(193), 1, - sym_logic_operator, - STATE(194), 1, - sym_math_operator, - ACTIONS(232), 3, + ACTIONS(182), 1, anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(598), 1, + anon_sym_COLON, + STATE(231), 1, + sym_math_operator, + STATE(233), 1, + sym_logic_operator, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(230), 16, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [13827] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(574), 1, - anon_sym_COLON, - STATE(193), 1, - sym_logic_operator, - STATE(194), 1, - sym_math_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(208), 4, + ACTIONS(202), 4, anon_sym_async, anon_sym_LBRACE, anon_sym_DOT_DOT, anon_sym_EQ_GT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [13870] = 6, + [14573] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(574), 1, - anon_sym_COLON, - STATE(193), 1, - sym_logic_operator, - STATE(194), 1, - sym_math_operator, - ACTIONS(204), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(202), 15, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [13905] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(574), 1, - anon_sym_COLON, - STATE(193), 1, - sym_logic_operator, - STATE(194), 1, - sym_math_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(226), 4, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_DOT_DOT, - anon_sym_EQ_GT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [13948] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(576), 1, - anon_sym_DOT_DOT, - STATE(193), 1, - sym_logic_operator, - STATE(194), 1, - sym_math_operator, - ACTIONS(232), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(230), 15, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [13983] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(512), 1, - anon_sym_COLON, - ACTIONS(578), 1, - anon_sym_SEMI, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(332), 3, - anon_sym_RBRACE, - anon_sym_COMMA, - sym_identifier, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [14028] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(193), 1, - sym_logic_operator, - STATE(194), 1, - sym_math_operator, - ACTIONS(224), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(222), 16, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_COLON, - anon_sym_DOT_DOT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [14061] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(582), 7, + ACTIONS(602), 7, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, @@ -14516,7 +14166,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(580), 14, + ACTIONS(600), 14, anon_sym_async, sym_identifier, sym_integer, @@ -14531,88 +14181,89 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [14090] = 10, + [14602] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(512), 1, + ACTIONS(528), 1, anon_sym_COLON, - STATE(182), 1, + STATE(190), 1, sym_logic_operator, - STATE(183), 1, + STATE(198), 1, sym_math_operator, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(338), 4, + ACTIONS(340), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14133] = 10, + [14645] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(512), 1, + ACTIONS(528), 1, anon_sym_COLON, - STATE(182), 1, + STATE(190), 1, sym_logic_operator, - STATE(183), 1, + STATE(198), 1, sym_math_operator, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(342), 4, + ACTIONS(350), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14176] = 6, + [14688] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(584), 1, + ACTIONS(598), 1, anon_sym_COLON, - STATE(207), 1, + STATE(231), 1, sym_math_operator, - STATE(208), 1, + STATE(233), 1, sym_logic_operator, - ACTIONS(204), 3, + ACTIONS(194), 3, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(202), 14, + ACTIONS(192), 15, anon_sym_async, anon_sym_LBRACE, + anon_sym_DOT_DOT, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, @@ -14625,439 +14276,534 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [14210] = 12, + [14723] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(584), 1, + ACTIONS(598), 1, anon_sym_COLON, - ACTIONS(586), 1, - anon_sym_async, - ACTIONS(588), 1, - anon_sym_LBRACE, - STATE(127), 1, - sym_block, - STATE(207), 1, + STATE(231), 1, sym_math_operator, - STATE(208), 1, + STATE(233), 1, sym_logic_operator, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(176), 4, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_DOT_DOT, + anon_sym_EQ_GT, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14256] = 12, + [14766] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(322), 1, - anon_sym_LBRACE, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(584), 1, + ACTIONS(528), 1, anon_sym_COLON, - ACTIONS(590), 1, - anon_sym_async, - STATE(184), 1, - sym_block, - STATE(207), 1, - sym_math_operator, - STATE(208), 1, + ACTIONS(604), 1, + anon_sym_SEMI, + STATE(190), 1, sym_logic_operator, - ACTIONS(218), 2, + STATE(198), 1, + sym_math_operator, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(344), 3, + anon_sym_RBRACE, + anon_sym_COMMA, + sym_identifier, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14302] = 12, + [14811] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(584), 1, - anon_sym_COLON, - ACTIONS(586), 1, + ACTIONS(606), 1, anon_sym_async, - ACTIONS(588), 1, + ACTIONS(608), 1, anon_sym_LBRACE, - STATE(139), 1, - sym_block, - STATE(207), 1, + ACTIONS(610), 1, + anon_sym_COLON, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, - ACTIONS(218), 2, + STATE(287), 1, + sym_block, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14348] = 10, + [14857] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(584), 1, + ACTIONS(610), 1, anon_sym_COLON, - STATE(207), 1, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(226), 3, + ACTIONS(176), 3, anon_sym_async, anon_sym_LBRACE, anon_sym_EQ_GT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14390] = 12, + [14899] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(584), 1, - anon_sym_COLON, - ACTIONS(592), 1, - anon_sym_async, - ACTIONS(594), 1, + ACTIONS(330), 1, anon_sym_LBRACE, - STATE(207), 1, - sym_math_operator, - STATE(208), 1, - sym_logic_operator, - STATE(273), 1, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(610), 1, + anon_sym_COLON, + ACTIONS(612), 1, + anon_sym_async, + STATE(200), 1, sym_block, - ACTIONS(218), 2, + STATE(209), 1, + sym_math_operator, + STATE(210), 1, + sym_logic_operator, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14436] = 10, + [14945] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(584), 1, - anon_sym_COLON, - STATE(207), 1, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, - ACTIONS(218), 2, - anon_sym_GT, - anon_sym_LT, ACTIONS(208), 3, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_EQ_GT, - ACTIONS(214), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(216), 6, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - [14478] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(516), 1, - anon_sym_LBRACE, - ACTIONS(584), 1, - anon_sym_COLON, - ACTIONS(596), 1, - anon_sym_async, - STATE(207), 1, - sym_math_operator, - STATE(208), 1, - sym_logic_operator, - STATE(292), 1, - sym_block, - ACTIONS(218), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(206), 15, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_COLON, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14524] = 12, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [14977] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(516), 1, - anon_sym_LBRACE, - ACTIONS(584), 1, - anon_sym_COLON, - ACTIONS(596), 1, + ACTIONS(606), 1, anon_sym_async, - STATE(207), 1, + ACTIONS(608), 1, + anon_sym_LBRACE, + ACTIONS(610), 1, + anon_sym_COLON, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, STATE(288), 1, sym_block, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14570] = 5, + [15023] = 12, ACTIONS(3), 1, sym__comment, - STATE(207), 1, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(550), 1, + anon_sym_LBRACE, + ACTIONS(610), 1, + anon_sym_COLON, + ACTIONS(614), 1, + anon_sym_async, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, - ACTIONS(224), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(222), 15, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_COLON, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_GT_EQ, - anon_sym_LT_EQ, - anon_sym_EQ_GT, - anon_sym_DASH_GT, - [14602] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(322), 1, - anon_sym_LBRACE, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(584), 1, - anon_sym_COLON, - ACTIONS(590), 1, - anon_sym_async, - STATE(202), 1, + STATE(305), 1, sym_block, - STATE(207), 1, - sym_math_operator, - STATE(208), 1, - sym_logic_operator, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14648] = 12, + [15069] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, - anon_sym_DASH, - ACTIONS(422), 1, - anon_sym_DASH_GT, - ACTIONS(584), 1, + ACTIONS(610), 1, anon_sym_COLON, - ACTIONS(592), 1, + STATE(209), 1, + sym_math_operator, + STATE(210), 1, + sym_logic_operator, + ACTIONS(194), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(192), 14, anon_sym_async, - ACTIONS(594), 1, anon_sym_LBRACE, - STATE(207), 1, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [15103] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(610), 1, + anon_sym_COLON, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, - STATE(274), 1, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(202), 3, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_EQ_GT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [15145] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(550), 1, + anon_sym_LBRACE, + ACTIONS(610), 1, + anon_sym_COLON, + ACTIONS(614), 1, + anon_sym_async, + STATE(209), 1, + sym_math_operator, + STATE(210), 1, + sym_logic_operator, + STATE(310), 1, sym_block, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14694] = 10, + [15191] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(330), 1, + anon_sym_LBRACE, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(584), 1, + ACTIONS(610), 1, anon_sym_COLON, - ACTIONS(598), 1, - anon_sym_EQ_GT, - STATE(207), 1, + ACTIONS(612), 1, + anon_sym_async, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, - ACTIONS(218), 2, + STATE(240), 1, + sym_block, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14734] = 10, + [15237] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(212), 1, + ACTIONS(182), 1, anon_sym_DASH, - ACTIONS(422), 1, + ACTIONS(432), 1, anon_sym_DASH_GT, - ACTIONS(584), 1, + ACTIONS(610), 1, anon_sym_COLON, - ACTIONS(600), 1, - anon_sym_EQ_GT, - STATE(207), 1, + ACTIONS(616), 1, + anon_sym_async, + ACTIONS(618), 1, + anon_sym_LBRACE, + STATE(145), 1, + sym_block, + STATE(209), 1, sym_math_operator, - STATE(208), 1, + STATE(210), 1, sym_logic_operator, - ACTIONS(218), 2, + ACTIONS(188), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(214), 4, + ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - ACTIONS(216), 6, + ACTIONS(186), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14774] = 3, + [15283] = 12, ACTIONS(3), 1, sym__comment, - ACTIONS(254), 5, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(610), 1, + anon_sym_COLON, + ACTIONS(616), 1, + anon_sym_async, + ACTIONS(618), 1, + anon_sym_LBRACE, + STATE(161), 1, + sym_block, + STATE(209), 1, + sym_math_operator, + STATE(210), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [15329] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(610), 1, + anon_sym_COLON, + ACTIONS(620), 1, + anon_sym_EQ_GT, + STATE(209), 1, + sym_math_operator, + STATE(210), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [15369] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_DASH, + ACTIONS(432), 1, + anon_sym_DASH_GT, + ACTIONS(610), 1, + anon_sym_COLON, + ACTIONS(622), 1, + anon_sym_EQ_GT, + STATE(209), 1, + sym_math_operator, + STATE(210), 1, + sym_logic_operator, + ACTIONS(188), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(186), 6, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_GT_EQ, + anon_sym_LT_EQ, + [15409] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(564), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(252), 9, + ACTIONS(562), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -15067,16 +14813,16 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14796] = 3, + [15431] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(266), 5, + ACTIONS(296), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(264), 9, + ACTIONS(294), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -15086,16 +14832,16 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14818] = 3, + [15453] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(542), 5, + ACTIONS(260), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(540), 9, + ACTIONS(258), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -15105,33 +14851,33 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14840] = 3, + [15475] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(602), 5, + ACTIONS(624), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, + anon_sym_from, anon_sym_table, - ACTIONS(498), 7, + ACTIONS(626), 6, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, - anon_sym_RBRACK, anon_sym_PIPE, - [14860] = 3, + [15495] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(604), 5, + ACTIONS(628), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(451), 7, + ACTIONS(500), 7, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -15139,140 +14885,112 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14880] = 3, + [15515] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(606), 6, + ACTIONS(630), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_from, anon_sym_table, - ACTIONS(608), 6, + ACTIONS(632), 6, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14900] = 3, + [15535] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(610), 6, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_from, - anon_sym_table, - ACTIONS(612), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_PIPE, - [14920] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(614), 5, + ACTIONS(634), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(616), 6, + ACTIONS(475), 7, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, + anon_sym_RBRACK, anon_sym_PIPE, - [14939] = 3, + [15555] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(618), 5, + ACTIONS(636), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(620), 6, + ACTIONS(638), 6, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14958] = 7, + [15574] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(640), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_table, + ACTIONS(642), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_PIPE, + [15593] = 7, ACTIONS(3), 1, sym__comment, ACTIONS(409), 1, sym_identifier, - ACTIONS(622), 1, + ACTIONS(644), 1, anon_sym_elseif, - ACTIONS(624), 1, + ACTIONS(646), 1, anon_sym_else, - STATE(299), 1, + STATE(307), 1, sym_else, - STATE(270), 2, + STATE(286), 2, sym_else_if, aux_sym_if_else_repeat1, ACTIONS(407), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [14983] = 7, + [15618] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(401), 1, + ACTIONS(417), 1, sym_identifier, - ACTIONS(622), 1, + ACTIONS(644), 1, anon_sym_elseif, - ACTIONS(624), 1, + ACTIONS(646), 1, anon_sym_else, - STATE(291), 1, + STATE(315), 1, sym_else, - STATE(268), 2, + STATE(282), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(399), 3, + ACTIONS(415), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [15008] = 5, + [15643] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(626), 1, - anon_sym_elseif, - ACTIONS(413), 2, - sym_identifier, - anon_sym_else, - STATE(270), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(411), 3, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - [15028] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(629), 2, - anon_sym_async, - sym_identifier, - ACTIONS(631), 6, - anon_sym_LBRACE, - anon_sym_COMMA, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_PIPE, - [15044] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(633), 8, + ACTIONS(648), 8, anon_sym_table, anon_sym_any, anon_sym_bool, @@ -15281,256 +14999,226 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_list, anon_sym_map, anon_sym_str, - [15058] = 3, + [15657] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(473), 2, + ACTIONS(650), 2, + anon_sym_async, sym_identifier, - anon_sym_else, - ACTIONS(471), 4, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(652), 6, + anon_sym_LBRACE, anon_sym_COMMA, - anon_sym_elseif, - [15072] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(432), 2, - sym_identifier, - anon_sym_else, - ACTIONS(430), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_elseif, - [15086] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(516), 1, - anon_sym_LBRACE, - ACTIONS(596), 1, - anon_sym_async, - ACTIONS(635), 1, - anon_sym_LT, - STATE(102), 1, - sym_block, - STATE(318), 1, - sym_type, - [15105] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(592), 1, - anon_sym_async, - ACTIONS(594), 1, - anon_sym_LBRACE, - ACTIONS(635), 1, - anon_sym_LT, - STATE(140), 1, - sym_block, - STATE(327), 1, - sym_type, - [15124] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(516), 1, - anon_sym_LBRACE, - ACTIONS(596), 1, - anon_sym_async, - ACTIONS(635), 1, - anon_sym_LT, - STATE(103), 1, - sym_block, - STATE(314), 1, - sym_type, - [15143] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(635), 1, - anon_sym_LT, - ACTIONS(637), 1, - anon_sym_async, - ACTIONS(639), 1, - anon_sym_LBRACE, - STATE(140), 1, - sym_block, - STATE(322), 1, - sym_type, - [15162] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(635), 1, - anon_sym_LT, - ACTIONS(637), 1, - anon_sym_async, - ACTIONS(639), 1, - anon_sym_LBRACE, - STATE(131), 1, - sym_block, - STATE(324), 1, - sym_type, - [15181] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(635), 1, - anon_sym_LT, - ACTIONS(641), 1, - anon_sym_async, - ACTIONS(643), 1, - anon_sym_LBRACE, - STATE(71), 1, - sym_block, - STATE(316), 1, - sym_type, - [15200] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(635), 1, - anon_sym_LT, - ACTIONS(641), 1, - anon_sym_async, - ACTIONS(643), 1, - anon_sym_LBRACE, - STATE(65), 1, - sym_block, - STATE(325), 1, - sym_type, - [15219] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(592), 1, - anon_sym_async, - ACTIONS(594), 1, - anon_sym_LBRACE, - ACTIONS(635), 1, - anon_sym_LT, - STATE(131), 1, - sym_block, - STATE(328), 1, - sym_type, - [15238] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(550), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [15248] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(645), 1, - sym_identifier, - ACTIONS(647), 1, - anon_sym_PIPE, - STATE(287), 2, - sym_parameter, - aux_sym_function_repeat1, - [15262] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(43), 1, - sym_assignment_operator, - ACTIONS(244), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [15274] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(645), 1, - sym_identifier, - ACTIONS(649), 1, anon_sym_PIPE, - STATE(284), 2, - sym_parameter, - aux_sym_function_repeat1, - [15288] = 4, + [15673] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(651), 1, - sym_identifier, ACTIONS(654), 1, + anon_sym_elseif, + ACTIONS(421), 2, + sym_identifier, + anon_sym_else, + STATE(286), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(419), 3, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + [15693] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(452), 2, + sym_identifier, + anon_sym_else, + ACTIONS(450), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_elseif, + [15707] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(526), 2, + sym_identifier, + anon_sym_else, + ACTIONS(524), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_elseif, + [15721] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(657), 1, + anon_sym_async, + ACTIONS(659), 1, + anon_sym_LBRACE, + ACTIONS(661), 1, + anon_sym_LT, + STATE(151), 1, + sym_block, + STATE(343), 1, + sym_type, + [15740] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(661), 1, + anon_sym_LT, + ACTIONS(663), 1, + anon_sym_async, + ACTIONS(665), 1, + anon_sym_LBRACE, + STATE(59), 1, + sym_block, + STATE(335), 1, + sym_type, + [15759] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(550), 1, + anon_sym_LBRACE, + ACTIONS(614), 1, + anon_sym_async, + ACTIONS(661), 1, + anon_sym_LT, + STATE(100), 1, + sym_block, + STATE(333), 1, + sym_type, + [15778] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(657), 1, + anon_sym_async, + ACTIONS(659), 1, + anon_sym_LBRACE, + ACTIONS(661), 1, + anon_sym_LT, + STATE(147), 1, + sym_block, + STATE(344), 1, + sym_type, + [15797] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(606), 1, + anon_sym_async, + ACTIONS(608), 1, + anon_sym_LBRACE, + ACTIONS(661), 1, + anon_sym_LT, + STATE(151), 1, + sym_block, + STATE(345), 1, + sym_type, + [15816] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(550), 1, + anon_sym_LBRACE, + ACTIONS(614), 1, + anon_sym_async, + ACTIONS(661), 1, + anon_sym_LT, + STATE(104), 1, + sym_block, + STATE(321), 1, + sym_type, + [15835] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(661), 1, + anon_sym_LT, + ACTIONS(663), 1, + anon_sym_async, + ACTIONS(665), 1, + anon_sym_LBRACE, + STATE(63), 1, + sym_block, + STATE(331), 1, + sym_type, + [15854] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(606), 1, + anon_sym_async, + ACTIONS(608), 1, + anon_sym_LBRACE, + ACTIONS(661), 1, + anon_sym_LT, + STATE(147), 1, + sym_block, + STATE(322), 1, + sym_type, + [15873] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(667), 1, + sym_identifier, + ACTIONS(670), 1, anon_sym_PIPE, - STATE(287), 2, + STATE(297), 2, sym_parameter, aux_sym_function_repeat1, - [15302] = 2, + [15887] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(544), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [15312] = 2, + STATE(38), 1, + sym_assignment_operator, + ACTIONS(220), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [15899] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(518), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, + ACTIONS(672), 1, sym_identifier, - [15322] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(332), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [15332] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(407), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [15342] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(532), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [15352] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(522), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [15362] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(645), 1, - sym_identifier, - ACTIONS(656), 1, + ACTIONS(674), 1, anon_sym_PIPE, - STATE(295), 2, + STATE(319), 2, sym_parameter, aux_sym_function_repeat1, - [15376] = 4, + [15913] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(645), 1, + ACTIONS(672), 1, sym_identifier, - ACTIONS(658), 1, + ACTIONS(676), 1, anon_sym_PIPE, - STATE(287), 2, + STATE(320), 2, sym_parameter, aux_sym_function_repeat1, - [15390] = 2, + [15927] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(558), 4, + STATE(41), 1, + sym_assignment_operator, + ACTIONS(220), 3, + anon_sym_EQ, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [15939] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(344), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [15400] = 2, + [15949] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(604), 1, + anon_sym_SEMI, + ACTIONS(344), 3, + anon_sym_RBRACE, + anon_sym_COMMA, + sym_identifier, + [15961] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(554), 4, @@ -15538,1305 +15226,1346 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [15410] = 4, + [15971] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(645), 1, - sym_identifier, - ACTIONS(660), 1, - anon_sym_PIPE, - STATE(287), 2, - sym_parameter, - aux_sym_function_repeat1, - [15424] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(562), 4, + ACTIONS(558), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [15434] = 2, + [15981] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(566), 4, + ACTIONS(568), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [15444] = 3, + [15991] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(578), 1, - anon_sym_SEMI, - ACTIONS(332), 3, - anon_sym_RBRACE, - anon_sym_COMMA, - sym_identifier, - [15456] = 3, - ACTIONS(3), 1, - sym__comment, - STATE(47), 1, - sym_assignment_operator, - ACTIONS(244), 3, - anon_sym_EQ, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [15468] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(645), 1, - sym_identifier, - ACTIONS(662), 1, - anon_sym_PIPE, - STATE(298), 2, - sym_parameter, - aux_sym_function_repeat1, - [15482] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(645), 1, - sym_identifier, - ACTIONS(664), 1, - anon_sym_PIPE, - STATE(306), 2, - sym_parameter, - aux_sym_function_repeat1, - [15496] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(570), 4, + ACTIONS(536), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [15506] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(645), 1, - sym_identifier, - ACTIONS(666), 1, - anon_sym_PIPE, - STATE(287), 2, - sym_parameter, - aux_sym_function_repeat1, - [15520] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(668), 1, - sym_identifier, - ACTIONS(671), 1, - anon_sym_PIPE, - STATE(307), 1, - aux_sym_identifier_list_repeat1, - [15533] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(673), 1, - sym_identifier, - ACTIONS(675), 1, - anon_sym_RBRACE, - STATE(323), 1, - aux_sym_map_repeat1, - [15546] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(673), 1, - sym_identifier, - ACTIONS(677), 1, - anon_sym_RBRACE, - STATE(323), 1, - aux_sym_map_repeat1, - [15559] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(132), 1, - anon_sym_RBRACE, - ACTIONS(673), 1, - sym_identifier, - STATE(331), 1, - aux_sym_map_repeat1, - [15572] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(679), 1, - sym_identifier, - ACTIONS(681), 1, - anon_sym_PIPE, - STATE(307), 1, - aux_sym_identifier_list_repeat1, - [15585] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(71), 1, - anon_sym_RBRACE, - ACTIONS(673), 1, - sym_identifier, - STATE(308), 1, - aux_sym_map_repeat1, - [15598] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(516), 1, - anon_sym_LBRACE, - ACTIONS(596), 1, - anon_sym_async, - STATE(300), 1, - sym_block, - [15611] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(516), 1, - anon_sym_LBRACE, - ACTIONS(596), 1, - anon_sym_async, - STATE(102), 1, - sym_block, - [15624] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(683), 1, - anon_sym_async, - ACTIONS(685), 1, - anon_sym_LBRACE, - STATE(261), 1, - sym_block, - [15637] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(641), 1, - anon_sym_async, - ACTIONS(643), 1, - anon_sym_LBRACE, - STATE(73), 1, - sym_block, - [15650] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(689), 1, - anon_sym_COMMA, - ACTIONS(687), 2, - sym_identifier, - anon_sym_PIPE, - [15661] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(516), 1, - anon_sym_LBRACE, - ACTIONS(596), 1, - anon_sym_async, - STATE(101), 1, - sym_block, - [15674] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(679), 1, - sym_identifier, - ACTIONS(691), 1, - anon_sym_PIPE, - STATE(311), 1, - aux_sym_identifier_list_repeat1, - [15687] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(322), 1, - anon_sym_LBRACE, - ACTIONS(590), 1, - anon_sym_async, - STATE(197), 1, - sym_block, - [15700] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(695), 1, - anon_sym_COMMA, - ACTIONS(693), 2, - anon_sym_RBRACE, - sym_identifier, - [15711] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(637), 1, - anon_sym_async, - ACTIONS(639), 1, - anon_sym_LBRACE, - STATE(128), 1, - sym_block, - [15724] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(697), 1, - sym_identifier, - ACTIONS(700), 1, - anon_sym_RBRACE, - STATE(323), 1, - aux_sym_map_repeat1, - [15737] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(637), 1, - anon_sym_async, - ACTIONS(639), 1, - anon_sym_LBRACE, - STATE(140), 1, - sym_block, - [15750] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(641), 1, - anon_sym_async, - ACTIONS(643), 1, - anon_sym_LBRACE, - STATE(71), 1, - sym_block, - [15763] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(704), 1, - anon_sym_COMMA, - ACTIONS(702), 2, - sym_identifier, - anon_sym_PIPE, - [15774] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(592), 1, - anon_sym_async, - ACTIONS(594), 1, - anon_sym_LBRACE, - STATE(128), 1, - sym_block, - [15787] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(592), 1, - anon_sym_async, - ACTIONS(594), 1, - anon_sym_LBRACE, - STATE(140), 1, - sym_block, - [15800] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(673), 1, - sym_identifier, - ACTIONS(706), 1, - anon_sym_RBRACE, - STATE(309), 1, - aux_sym_map_repeat1, - [15813] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(322), 1, - anon_sym_LBRACE, - ACTIONS(590), 1, - anon_sym_async, - STATE(229), 1, - sym_block, - [15826] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(673), 1, - sym_identifier, - ACTIONS(708), 1, - anon_sym_RBRACE, - STATE(323), 1, - aux_sym_map_repeat1, - [15839] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(198), 1, - sym_identifier_list, - [15849] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(363), 1, - sym_identifier_list, - [15859] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(179), 1, - sym_identifier_list, - [15869] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(176), 1, - sym_identifier_list, - [15879] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(205), 1, - sym_identifier_list, - [15889] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(635), 1, - anon_sym_LT, - STATE(326), 1, - sym_type, - [15899] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(712), 2, - sym_identifier, - anon_sym_PIPE, - [15907] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(714), 2, - anon_sym_RBRACE, - sym_identifier, - [15915] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(212), 1, - sym_identifier_list, - [15925] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(186), 1, - sym_identifier_list, - [15935] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(358), 1, - sym_identifier_list, - [15945] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(218), 1, - sym_identifier_list, - [15955] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(671), 2, - sym_identifier, - anon_sym_PIPE, - [15963] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(203), 1, - sym_identifier_list, - [15973] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(716), 1, - sym_identifier, - [15980] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(718), 1, - sym_identifier, - [15987] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(720), 1, - anon_sym_RPAREN, - [15994] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(722), 1, - anon_sym_LBRACE, [16001] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(724), 1, - anon_sym_LPAREN, - [16008] = 2, + ACTIONS(532), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [16011] = 2, ACTIONS(3), 1, sym__comment, + ACTIONS(582), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [16021] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(588), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [16031] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(592), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [16041] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(672), 1, + sym_identifier, + ACTIONS(678), 1, + anon_sym_PIPE, + STATE(297), 2, + sym_parameter, + aux_sym_function_repeat1, + [16055] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(672), 1, + sym_identifier, + ACTIONS(680), 1, + anon_sym_PIPE, + STATE(312), 2, + sym_parameter, + aux_sym_function_repeat1, + [16069] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(672), 1, + sym_identifier, + ACTIONS(682), 1, + anon_sym_PIPE, + STATE(316), 2, + sym_parameter, + aux_sym_function_repeat1, + [16083] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(407), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [16093] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(672), 1, + sym_identifier, + ACTIONS(684), 1, + anon_sym_PIPE, + STATE(297), 2, + sym_parameter, + aux_sym_function_repeat1, + [16107] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(578), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [16117] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(572), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [16127] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(672), 1, + sym_identifier, + ACTIONS(686), 1, + anon_sym_PIPE, + STATE(297), 2, + sym_parameter, + aux_sym_function_repeat1, + [16141] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(672), 1, + sym_identifier, + ACTIONS(688), 1, + anon_sym_PIPE, + STATE(297), 2, + sym_parameter, + aux_sym_function_repeat1, + [16155] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(550), 1, + anon_sym_LBRACE, + ACTIONS(614), 1, + anon_sym_async, + STATE(102), 1, + sym_block, + [16168] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(606), 1, + anon_sym_async, + ACTIONS(608), 1, + anon_sym_LBRACE, + STATE(134), 1, + sym_block, + [16181] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(690), 1, + sym_identifier, + ACTIONS(693), 1, + anon_sym_PIPE, + STATE(323), 1, + aux_sym_identifier_list_repeat1, + [16194] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(695), 1, + sym_identifier, + ACTIONS(697), 1, + anon_sym_PIPE, + STATE(336), 1, + aux_sym_identifier_list_repeat1, + [16207] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(330), 1, + anon_sym_LBRACE, + ACTIONS(612), 1, + anon_sym_async, + STATE(201), 1, + sym_block, + [16220] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(550), 1, + anon_sym_LBRACE, + ACTIONS(614), 1, + anon_sym_async, + STATE(308), 1, + sym_block, + [16233] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(699), 1, + sym_identifier, + ACTIONS(701), 1, + anon_sym_RBRACE, + STATE(340), 1, + aux_sym_map_repeat1, + [16246] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(705), 1, + anon_sym_COMMA, + ACTIONS(703), 2, + anon_sym_RBRACE, + sym_identifier, + [16257] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(707), 1, + anon_sym_async, + ACTIONS(709), 1, + anon_sym_LBRACE, + STATE(273), 1, + sym_block, + [16270] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(699), 1, + sym_identifier, + ACTIONS(711), 1, + anon_sym_RBRACE, + STATE(340), 1, + aux_sym_map_repeat1, + [16283] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(663), 1, + anon_sym_async, + ACTIONS(665), 1, + anon_sym_LBRACE, + STATE(59), 1, + sym_block, + [16296] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(45), 1, + anon_sym_RBRACE, + ACTIONS(699), 1, + sym_identifier, + STATE(337), 1, + aux_sym_map_repeat1, + [16309] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(550), 1, + anon_sym_LBRACE, + ACTIONS(614), 1, + anon_sym_async, + STATE(104), 1, + sym_block, + [16322] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(699), 1, + sym_identifier, + ACTIONS(713), 1, + anon_sym_RBRACE, + STATE(327), 1, + aux_sym_map_repeat1, + [16335] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(663), 1, + anon_sym_async, + ACTIONS(665), 1, + anon_sym_LBRACE, + STATE(53), 1, + sym_block, + [16348] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(695), 1, + sym_identifier, + ACTIONS(715), 1, + anon_sym_PIPE, + STATE(323), 1, + aux_sym_identifier_list_repeat1, + [16361] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(699), 1, + sym_identifier, + ACTIONS(717), 1, + anon_sym_RBRACE, + STATE(340), 1, + aux_sym_map_repeat1, + [16374] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(106), 1, + anon_sym_RBRACE, + ACTIONS(699), 1, + sym_identifier, + STATE(330), 1, + aux_sym_map_repeat1, + [16387] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(721), 1, + anon_sym_COMMA, + ACTIONS(719), 2, + sym_identifier, + anon_sym_PIPE, + [16398] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(723), 1, + sym_identifier, ACTIONS(726), 1, - anon_sym_LBRACE, - [16015] = 2, + anon_sym_RBRACE, + STATE(340), 1, + aux_sym_map_repeat1, + [16411] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(728), 1, + ACTIONS(330), 1, anon_sym_LBRACE, - [16022] = 2, + ACTIONS(612), 1, + anon_sym_async, + STATE(171), 1, + sym_block, + [16424] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(730), 1, + anon_sym_COMMA, + ACTIONS(728), 2, + sym_identifier, + anon_sym_PIPE, + [16435] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(657), 1, + anon_sym_async, + ACTIONS(659), 1, anon_sym_LBRACE, - [16029] = 2, + STATE(147), 1, + sym_block, + [16448] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(657), 1, + anon_sym_async, + ACTIONS(659), 1, + anon_sym_LBRACE, + STATE(134), 1, + sym_block, + [16461] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(606), 1, + anon_sym_async, + ACTIONS(608), 1, + anon_sym_LBRACE, + STATE(147), 1, + sym_block, + [16474] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(732), 1, - anon_sym_LBRACE, - [16036] = 2, + anon_sym_PIPE, + STATE(207), 1, + sym_identifier_list, + [16484] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(734), 1, - anon_sym_into, - [16043] = 2, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(185), 1, + sym_identifier_list, + [16494] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(736), 1, - anon_sym_LPAREN, - [16050] = 2, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(183), 1, + sym_identifier_list, + [16504] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(369), 1, + sym_identifier_list, + [16514] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(193), 1, + sym_identifier_list, + [16524] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(382), 1, + sym_identifier_list, + [16534] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(217), 1, + sym_identifier_list, + [16544] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(734), 2, + anon_sym_RBRACE, + sym_identifier, + [16552] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(212), 1, + sym_identifier_list, + [16562] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(736), 2, + sym_identifier, + anon_sym_PIPE, + [16570] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(693), 2, + sym_identifier, + anon_sym_PIPE, + [16578] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(661), 1, + anon_sym_LT, + STATE(342), 1, + sym_type, + [16588] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(213), 1, + sym_identifier_list, + [16598] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(732), 1, + anon_sym_PIPE, + STATE(229), 1, + sym_identifier_list, + [16608] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(738), 1, - anon_sym_in, - [16057] = 2, + sym_string, + [16615] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(740), 1, - anon_sym_from, - [16064] = 2, + anon_sym_LBRACE, + [16622] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(742), 1, - sym_identifier, - [16071] = 2, + anon_sym_LBRACE, + [16629] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(744), 1, - sym_string, - [16078] = 2, + anon_sym_LBRACE, + [16636] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(746), 1, - anon_sym_GT, - [16085] = 2, + anon_sym_LBRACE, + [16643] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(748), 1, - anon_sym_RPAREN, - [16092] = 2, + sym_identifier, + [16650] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(750), 1, - anon_sym_from, - [16099] = 2, + anon_sym_in, + [16657] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(752), 1, - anon_sym_LBRACE, - [16106] = 2, + anon_sym_LPAREN, + [16664] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(754), 1, - anon_sym_RPAREN, - [16113] = 2, + sym_identifier, + [16671] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(756), 1, - anon_sym_into, - [16120] = 2, + anon_sym_from, + [16678] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(758), 1, - anon_sym_EQ, - [16127] = 2, + sym_identifier, + [16685] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(760), 1, - sym_identifier, - [16134] = 2, + anon_sym_in, + [16692] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(762), 1, - anon_sym_LPAREN, - [16141] = 2, + anon_sym_LBRACE, + [16699] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(764), 1, - anon_sym_in, - [16148] = 2, + anon_sym_LBRACE, + [16706] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(766), 1, anon_sym_LBRACE, - [16155] = 2, + [16713] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(768), 1, - sym_string, - [16162] = 2, + anon_sym_into, + [16720] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(770), 1, ts_builtin_sym_end, - [16169] = 2, + [16727] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(772), 1, - anon_sym_RPAREN, - [16176] = 2, + anon_sym_LPAREN, + [16734] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(774), 1, - anon_sym_RPAREN, - [16183] = 2, + sym_string, + [16741] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(776), 1, - anon_sym_RPAREN, + anon_sym_GT, + [16748] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(778), 1, + anon_sym_EQ, + [16755] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(780), 1, + anon_sym_into, + [16762] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(782), 1, + anon_sym_from, + [16769] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(784), 1, + anon_sym_LPAREN, + [16776] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(786), 1, + sym_identifier, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 92, - [SMALL_STATE(4)] = 184, - [SMALL_STATE(5)] = 276, - [SMALL_STATE(6)] = 368, - [SMALL_STATE(7)] = 460, - [SMALL_STATE(8)] = 552, - [SMALL_STATE(9)] = 662, - [SMALL_STATE(10)] = 770, - [SMALL_STATE(11)] = 880, - [SMALL_STATE(12)] = 987, - [SMALL_STATE(13)] = 1094, - [SMALL_STATE(14)] = 1201, - [SMALL_STATE(15)] = 1308, - [SMALL_STATE(16)] = 1415, - [SMALL_STATE(17)] = 1522, - [SMALL_STATE(18)] = 1629, - [SMALL_STATE(19)] = 1736, - [SMALL_STATE(20)] = 1843, - [SMALL_STATE(21)] = 1950, - [SMALL_STATE(22)] = 2057, - [SMALL_STATE(23)] = 2164, - [SMALL_STATE(24)] = 2271, - [SMALL_STATE(25)] = 2378, - [SMALL_STATE(26)] = 2485, - [SMALL_STATE(27)] = 2589, - [SMALL_STATE(28)] = 2693, - [SMALL_STATE(29)] = 2797, - [SMALL_STATE(30)] = 2901, - [SMALL_STATE(31)] = 3005, - [SMALL_STATE(32)] = 3109, - [SMALL_STATE(33)] = 3213, - [SMALL_STATE(34)] = 3317, - [SMALL_STATE(35)] = 3421, - [SMALL_STATE(36)] = 3525, - [SMALL_STATE(37)] = 3629, - [SMALL_STATE(38)] = 3733, - [SMALL_STATE(39)] = 3837, - [SMALL_STATE(40)] = 3941, - [SMALL_STATE(41)] = 4044, - [SMALL_STATE(42)] = 4147, - [SMALL_STATE(43)] = 4250, - [SMALL_STATE(44)] = 4353, - [SMALL_STATE(45)] = 4456, - [SMALL_STATE(46)] = 4559, - [SMALL_STATE(47)] = 4662, - [SMALL_STATE(48)] = 4765, - [SMALL_STATE(49)] = 4824, - [SMALL_STATE(50)] = 4893, - [SMALL_STATE(51)] = 4950, - [SMALL_STATE(52)] = 5019, - [SMALL_STATE(53)] = 5078, - [SMALL_STATE(54)] = 5135, - [SMALL_STATE(55)] = 5197, - [SMALL_STATE(56)] = 5265, - [SMALL_STATE(57)] = 5323, - [SMALL_STATE(58)] = 5391, - [SMALL_STATE(59)] = 5447, - [SMALL_STATE(60)] = 5498, - [SMALL_STATE(61)] = 5549, - [SMALL_STATE(62)] = 5600, - [SMALL_STATE(63)] = 5651, - [SMALL_STATE(64)] = 5702, - [SMALL_STATE(65)] = 5759, - [SMALL_STATE(66)] = 5810, - [SMALL_STATE(67)] = 5861, - [SMALL_STATE(68)] = 5912, - [SMALL_STATE(69)] = 5973, - [SMALL_STATE(70)] = 6064, - [SMALL_STATE(71)] = 6115, - [SMALL_STATE(72)] = 6166, - [SMALL_STATE(73)] = 6217, - [SMALL_STATE(74)] = 6268, - [SMALL_STATE(75)] = 6319, - [SMALL_STATE(76)] = 6370, - [SMALL_STATE(77)] = 6421, - [SMALL_STATE(78)] = 6493, - [SMALL_STATE(79)] = 6581, - [SMALL_STATE(80)] = 6669, - [SMALL_STATE(81)] = 6736, - [SMALL_STATE(82)] = 6801, - [SMALL_STATE(83)] = 6866, - [SMALL_STATE(84)] = 6931, - [SMALL_STATE(85)] = 7003, - [SMALL_STATE(86)] = 7075, - [SMALL_STATE(87)] = 7131, - [SMALL_STATE(88)] = 7177, - [SMALL_STATE(89)] = 7233, - [SMALL_STATE(90)] = 7279, - [SMALL_STATE(91)] = 7319, - [SMALL_STATE(92)] = 7363, - [SMALL_STATE(93)] = 7403, - [SMALL_STATE(94)] = 7447, - [SMALL_STATE(95)] = 7502, - [SMALL_STATE(96)] = 7557, - [SMALL_STATE(97)] = 7600, - [SMALL_STATE(98)] = 7645, - [SMALL_STATE(99)] = 7683, - [SMALL_STATE(100)] = 7721, - [SMALL_STATE(101)] = 7777, - [SMALL_STATE(102)] = 7815, - [SMALL_STATE(103)] = 7853, - [SMALL_STATE(104)] = 7891, - [SMALL_STATE(105)] = 7929, - [SMALL_STATE(106)] = 7985, - [SMALL_STATE(107)] = 8023, - [SMALL_STATE(108)] = 8061, - [SMALL_STATE(109)] = 8099, - [SMALL_STATE(110)] = 8137, - [SMALL_STATE(111)] = 8175, - [SMALL_STATE(112)] = 8213, - [SMALL_STATE(113)] = 8251, - [SMALL_STATE(114)] = 8296, - [SMALL_STATE(115)] = 8341, - [SMALL_STATE(116)] = 8401, - [SMALL_STATE(117)] = 8461, - [SMALL_STATE(118)] = 8501, - [SMALL_STATE(119)] = 8540, - [SMALL_STATE(120)] = 8579, - [SMALL_STATE(121)] = 8616, - [SMALL_STATE(122)] = 8667, - [SMALL_STATE(123)] = 8708, - [SMALL_STATE(124)] = 8759, - [SMALL_STATE(125)] = 8800, - [SMALL_STATE(126)] = 8837, - [SMALL_STATE(127)] = 8874, - [SMALL_STATE(128)] = 8908, - [SMALL_STATE(129)] = 8942, - [SMALL_STATE(130)] = 8976, - [SMALL_STATE(131)] = 9010, - [SMALL_STATE(132)] = 9044, - [SMALL_STATE(133)] = 9102, - [SMALL_STATE(134)] = 9160, - [SMALL_STATE(135)] = 9218, - [SMALL_STATE(136)] = 9252, - [SMALL_STATE(137)] = 9310, - [SMALL_STATE(138)] = 9344, - [SMALL_STATE(139)] = 9402, - [SMALL_STATE(140)] = 9436, - [SMALL_STATE(141)] = 9470, - [SMALL_STATE(142)] = 9528, - [SMALL_STATE(143)] = 9562, - [SMALL_STATE(144)] = 9596, - [SMALL_STATE(145)] = 9654, - [SMALL_STATE(146)] = 9688, - [SMALL_STATE(147)] = 9722, - [SMALL_STATE(148)] = 9756, - [SMALL_STATE(149)] = 9790, - [SMALL_STATE(150)] = 9824, - [SMALL_STATE(151)] = 9862, - [SMALL_STATE(152)] = 9920, - [SMALL_STATE(153)] = 9978, - [SMALL_STATE(154)] = 10036, - [SMALL_STATE(155)] = 10070, - [SMALL_STATE(156)] = 10120, - [SMALL_STATE(157)] = 10178, - [SMALL_STATE(158)] = 10218, - [SMALL_STATE(159)] = 10268, - [SMALL_STATE(160)] = 10301, - [SMALL_STATE(161)] = 10334, - [SMALL_STATE(162)] = 10367, - [SMALL_STATE(163)] = 10400, - [SMALL_STATE(164)] = 10454, - [SMALL_STATE(165)] = 10506, - [SMALL_STATE(166)] = 10538, - [SMALL_STATE(167)] = 10570, - [SMALL_STATE(168)] = 10622, - [SMALL_STATE(169)] = 10674, - [SMALL_STATE(170)] = 10706, - [SMALL_STATE(171)] = 10758, - [SMALL_STATE(172)] = 10810, - [SMALL_STATE(173)] = 10862, - [SMALL_STATE(174)] = 10914, - [SMALL_STATE(175)] = 10966, - [SMALL_STATE(176)] = 11018, - [SMALL_STATE(177)] = 11070, - [SMALL_STATE(178)] = 11122, - [SMALL_STATE(179)] = 11164, - [SMALL_STATE(180)] = 11216, - [SMALL_STATE(181)] = 11268, - [SMALL_STATE(182)] = 11320, - [SMALL_STATE(183)] = 11372, - [SMALL_STATE(184)] = 11424, - [SMALL_STATE(185)] = 11456, - [SMALL_STATE(186)] = 11508, - [SMALL_STATE(187)] = 11560, - [SMALL_STATE(188)] = 11594, - [SMALL_STATE(189)] = 11646, - [SMALL_STATE(190)] = 11698, - [SMALL_STATE(191)] = 11750, - [SMALL_STATE(192)] = 11802, - [SMALL_STATE(193)] = 11854, - [SMALL_STATE(194)] = 11906, - [SMALL_STATE(195)] = 11958, - [SMALL_STATE(196)] = 12010, - [SMALL_STATE(197)] = 12062, - [SMALL_STATE(198)] = 12094, - [SMALL_STATE(199)] = 12146, - [SMALL_STATE(200)] = 12198, - [SMALL_STATE(201)] = 12250, - [SMALL_STATE(202)] = 12302, - [SMALL_STATE(203)] = 12334, - [SMALL_STATE(204)] = 12386, - [SMALL_STATE(205)] = 12438, - [SMALL_STATE(206)] = 12490, - [SMALL_STATE(207)] = 12542, - [SMALL_STATE(208)] = 12594, - [SMALL_STATE(209)] = 12646, - [SMALL_STATE(210)] = 12698, - [SMALL_STATE(211)] = 12750, - [SMALL_STATE(212)] = 12802, - [SMALL_STATE(213)] = 12854, - [SMALL_STATE(214)] = 12906, - [SMALL_STATE(215)] = 12958, - [SMALL_STATE(216)] = 13010, - [SMALL_STATE(217)] = 13062, - [SMALL_STATE(218)] = 13114, - [SMALL_STATE(219)] = 13166, - [SMALL_STATE(220)] = 13198, - [SMALL_STATE(221)] = 13230, - [SMALL_STATE(222)] = 13282, - [SMALL_STATE(223)] = 13314, - [SMALL_STATE(224)] = 13366, - [SMALL_STATE(225)] = 13418, - [SMALL_STATE(226)] = 13470, - [SMALL_STATE(227)] = 13502, - [SMALL_STATE(228)] = 13534, - [SMALL_STATE(229)] = 13566, - [SMALL_STATE(230)] = 13598, - [SMALL_STATE(231)] = 13650, - [SMALL_STATE(232)] = 13682, - [SMALL_STATE(233)] = 13714, - [SMALL_STATE(234)] = 13751, - [SMALL_STATE(235)] = 13794, - [SMALL_STATE(236)] = 13827, - [SMALL_STATE(237)] = 13870, - [SMALL_STATE(238)] = 13905, - [SMALL_STATE(239)] = 13948, - [SMALL_STATE(240)] = 13983, - [SMALL_STATE(241)] = 14028, - [SMALL_STATE(242)] = 14061, - [SMALL_STATE(243)] = 14090, - [SMALL_STATE(244)] = 14133, - [SMALL_STATE(245)] = 14176, - [SMALL_STATE(246)] = 14210, - [SMALL_STATE(247)] = 14256, - [SMALL_STATE(248)] = 14302, - [SMALL_STATE(249)] = 14348, - [SMALL_STATE(250)] = 14390, - [SMALL_STATE(251)] = 14436, - [SMALL_STATE(252)] = 14478, - [SMALL_STATE(253)] = 14524, - [SMALL_STATE(254)] = 14570, - [SMALL_STATE(255)] = 14602, - [SMALL_STATE(256)] = 14648, - [SMALL_STATE(257)] = 14694, - [SMALL_STATE(258)] = 14734, - [SMALL_STATE(259)] = 14774, - [SMALL_STATE(260)] = 14796, - [SMALL_STATE(261)] = 14818, - [SMALL_STATE(262)] = 14840, - [SMALL_STATE(263)] = 14860, - [SMALL_STATE(264)] = 14880, - [SMALL_STATE(265)] = 14900, - [SMALL_STATE(266)] = 14920, - [SMALL_STATE(267)] = 14939, - [SMALL_STATE(268)] = 14958, - [SMALL_STATE(269)] = 14983, - [SMALL_STATE(270)] = 15008, - [SMALL_STATE(271)] = 15028, - [SMALL_STATE(272)] = 15044, - [SMALL_STATE(273)] = 15058, - [SMALL_STATE(274)] = 15072, - [SMALL_STATE(275)] = 15086, - [SMALL_STATE(276)] = 15105, - [SMALL_STATE(277)] = 15124, - [SMALL_STATE(278)] = 15143, - [SMALL_STATE(279)] = 15162, - [SMALL_STATE(280)] = 15181, - [SMALL_STATE(281)] = 15200, - [SMALL_STATE(282)] = 15219, - [SMALL_STATE(283)] = 15238, - [SMALL_STATE(284)] = 15248, - [SMALL_STATE(285)] = 15262, - [SMALL_STATE(286)] = 15274, - [SMALL_STATE(287)] = 15288, - [SMALL_STATE(288)] = 15302, - [SMALL_STATE(289)] = 15312, - [SMALL_STATE(290)] = 15322, - [SMALL_STATE(291)] = 15332, - [SMALL_STATE(292)] = 15342, - [SMALL_STATE(293)] = 15352, - [SMALL_STATE(294)] = 15362, - [SMALL_STATE(295)] = 15376, - [SMALL_STATE(296)] = 15390, - [SMALL_STATE(297)] = 15400, - [SMALL_STATE(298)] = 15410, - [SMALL_STATE(299)] = 15424, - [SMALL_STATE(300)] = 15434, - [SMALL_STATE(301)] = 15444, - [SMALL_STATE(302)] = 15456, - [SMALL_STATE(303)] = 15468, - [SMALL_STATE(304)] = 15482, - [SMALL_STATE(305)] = 15496, - [SMALL_STATE(306)] = 15506, - [SMALL_STATE(307)] = 15520, - [SMALL_STATE(308)] = 15533, - [SMALL_STATE(309)] = 15546, - [SMALL_STATE(310)] = 15559, - [SMALL_STATE(311)] = 15572, - [SMALL_STATE(312)] = 15585, - [SMALL_STATE(313)] = 15598, - [SMALL_STATE(314)] = 15611, - [SMALL_STATE(315)] = 15624, - [SMALL_STATE(316)] = 15637, - [SMALL_STATE(317)] = 15650, - [SMALL_STATE(318)] = 15661, - [SMALL_STATE(319)] = 15674, - [SMALL_STATE(320)] = 15687, - [SMALL_STATE(321)] = 15700, - [SMALL_STATE(322)] = 15711, - [SMALL_STATE(323)] = 15724, - [SMALL_STATE(324)] = 15737, - [SMALL_STATE(325)] = 15750, - [SMALL_STATE(326)] = 15763, - [SMALL_STATE(327)] = 15774, - [SMALL_STATE(328)] = 15787, - [SMALL_STATE(329)] = 15800, - [SMALL_STATE(330)] = 15813, - [SMALL_STATE(331)] = 15826, - [SMALL_STATE(332)] = 15839, - [SMALL_STATE(333)] = 15849, - [SMALL_STATE(334)] = 15859, - [SMALL_STATE(335)] = 15869, - [SMALL_STATE(336)] = 15879, - [SMALL_STATE(337)] = 15889, - [SMALL_STATE(338)] = 15899, - [SMALL_STATE(339)] = 15907, - [SMALL_STATE(340)] = 15915, - [SMALL_STATE(341)] = 15925, - [SMALL_STATE(342)] = 15935, - [SMALL_STATE(343)] = 15945, - [SMALL_STATE(344)] = 15955, - [SMALL_STATE(345)] = 15963, - [SMALL_STATE(346)] = 15973, - [SMALL_STATE(347)] = 15980, - [SMALL_STATE(348)] = 15987, - [SMALL_STATE(349)] = 15994, - [SMALL_STATE(350)] = 16001, - [SMALL_STATE(351)] = 16008, - [SMALL_STATE(352)] = 16015, - [SMALL_STATE(353)] = 16022, - [SMALL_STATE(354)] = 16029, - [SMALL_STATE(355)] = 16036, - [SMALL_STATE(356)] = 16043, - [SMALL_STATE(357)] = 16050, - [SMALL_STATE(358)] = 16057, - [SMALL_STATE(359)] = 16064, - [SMALL_STATE(360)] = 16071, - [SMALL_STATE(361)] = 16078, - [SMALL_STATE(362)] = 16085, - [SMALL_STATE(363)] = 16092, - [SMALL_STATE(364)] = 16099, - [SMALL_STATE(365)] = 16106, - [SMALL_STATE(366)] = 16113, - [SMALL_STATE(367)] = 16120, - [SMALL_STATE(368)] = 16127, - [SMALL_STATE(369)] = 16134, - [SMALL_STATE(370)] = 16141, - [SMALL_STATE(371)] = 16148, - [SMALL_STATE(372)] = 16155, - [SMALL_STATE(373)] = 16162, - [SMALL_STATE(374)] = 16169, - [SMALL_STATE(375)] = 16176, - [SMALL_STATE(376)] = 16183, + [SMALL_STATE(3)] = 110, + [SMALL_STATE(4)] = 218, + [SMALL_STATE(5)] = 328, + [SMALL_STATE(6)] = 435, + [SMALL_STATE(7)] = 542, + [SMALL_STATE(8)] = 649, + [SMALL_STATE(9)] = 756, + [SMALL_STATE(10)] = 863, + [SMALL_STATE(11)] = 970, + [SMALL_STATE(12)] = 1077, + [SMALL_STATE(13)] = 1184, + [SMALL_STATE(14)] = 1291, + [SMALL_STATE(15)] = 1398, + [SMALL_STATE(16)] = 1505, + [SMALL_STATE(17)] = 1612, + [SMALL_STATE(18)] = 1719, + [SMALL_STATE(19)] = 1826, + [SMALL_STATE(20)] = 1933, + [SMALL_STATE(21)] = 2037, + [SMALL_STATE(22)] = 2141, + [SMALL_STATE(23)] = 2245, + [SMALL_STATE(24)] = 2349, + [SMALL_STATE(25)] = 2453, + [SMALL_STATE(26)] = 2557, + [SMALL_STATE(27)] = 2661, + [SMALL_STATE(28)] = 2765, + [SMALL_STATE(29)] = 2869, + [SMALL_STATE(30)] = 2973, + [SMALL_STATE(31)] = 3077, + [SMALL_STATE(32)] = 3181, + [SMALL_STATE(33)] = 3285, + [SMALL_STATE(34)] = 3389, + [SMALL_STATE(35)] = 3492, + [SMALL_STATE(36)] = 3595, + [SMALL_STATE(37)] = 3698, + [SMALL_STATE(38)] = 3801, + [SMALL_STATE(39)] = 3904, + [SMALL_STATE(40)] = 4007, + [SMALL_STATE(41)] = 4110, + [SMALL_STATE(42)] = 4213, + [SMALL_STATE(43)] = 4282, + [SMALL_STATE(44)] = 4341, + [SMALL_STATE(45)] = 4398, + [SMALL_STATE(46)] = 4457, + [SMALL_STATE(47)] = 4526, + [SMALL_STATE(48)] = 4583, + [SMALL_STATE(49)] = 4651, + [SMALL_STATE(50)] = 4713, + [SMALL_STATE(51)] = 4769, + [SMALL_STATE(52)] = 4837, + [SMALL_STATE(53)] = 4895, + [SMALL_STATE(54)] = 4946, + [SMALL_STATE(55)] = 4997, + [SMALL_STATE(56)] = 5088, + [SMALL_STATE(57)] = 5145, + [SMALL_STATE(58)] = 5196, + [SMALL_STATE(59)] = 5247, + [SMALL_STATE(60)] = 5298, + [SMALL_STATE(61)] = 5349, + [SMALL_STATE(62)] = 5440, + [SMALL_STATE(63)] = 5531, + [SMALL_STATE(64)] = 5582, + [SMALL_STATE(65)] = 5633, + [SMALL_STATE(66)] = 5684, + [SMALL_STATE(67)] = 5735, + [SMALL_STATE(68)] = 5786, + [SMALL_STATE(69)] = 5837, + [SMALL_STATE(70)] = 5928, + [SMALL_STATE(71)] = 5979, + [SMALL_STATE(72)] = 6030, + [SMALL_STATE(73)] = 6081, + [SMALL_STATE(74)] = 6132, + [SMALL_STATE(75)] = 6223, + [SMALL_STATE(76)] = 6284, + [SMALL_STATE(77)] = 6375, + [SMALL_STATE(78)] = 6426, + [SMALL_STATE(79)] = 6498, + [SMALL_STATE(80)] = 6586, + [SMALL_STATE(81)] = 6674, + [SMALL_STATE(82)] = 6739, + [SMALL_STATE(83)] = 6806, + [SMALL_STATE(84)] = 6871, + [SMALL_STATE(85)] = 6936, + [SMALL_STATE(86)] = 7008, + [SMALL_STATE(87)] = 7080, + [SMALL_STATE(88)] = 7120, + [SMALL_STATE(89)] = 7164, + [SMALL_STATE(90)] = 7210, + [SMALL_STATE(91)] = 7266, + [SMALL_STATE(92)] = 7310, + [SMALL_STATE(93)] = 7366, + [SMALL_STATE(94)] = 7412, + [SMALL_STATE(95)] = 7452, + [SMALL_STATE(96)] = 7507, + [SMALL_STATE(97)] = 7550, + [SMALL_STATE(98)] = 7605, + [SMALL_STATE(99)] = 7650, + [SMALL_STATE(100)] = 7688, + [SMALL_STATE(101)] = 7726, + [SMALL_STATE(102)] = 7764, + [SMALL_STATE(103)] = 7802, + [SMALL_STATE(104)] = 7840, + [SMALL_STATE(105)] = 7878, + [SMALL_STATE(106)] = 7916, + [SMALL_STATE(107)] = 7954, + [SMALL_STATE(108)] = 7992, + [SMALL_STATE(109)] = 8048, + [SMALL_STATE(110)] = 8086, + [SMALL_STATE(111)] = 8124, + [SMALL_STATE(112)] = 8162, + [SMALL_STATE(113)] = 8200, + [SMALL_STATE(114)] = 8238, + [SMALL_STATE(115)] = 8294, + [SMALL_STATE(116)] = 8332, + [SMALL_STATE(117)] = 8377, + [SMALL_STATE(118)] = 8422, + [SMALL_STATE(119)] = 8482, + [SMALL_STATE(120)] = 8522, + [SMALL_STATE(121)] = 8582, + [SMALL_STATE(122)] = 8621, + [SMALL_STATE(123)] = 8658, + [SMALL_STATE(124)] = 8695, + [SMALL_STATE(125)] = 8736, + [SMALL_STATE(126)] = 8787, + [SMALL_STATE(127)] = 8824, + [SMALL_STATE(128)] = 8865, + [SMALL_STATE(129)] = 8916, + [SMALL_STATE(130)] = 8955, + [SMALL_STATE(131)] = 9013, + [SMALL_STATE(132)] = 9071, + [SMALL_STATE(133)] = 9105, + [SMALL_STATE(134)] = 9139, + [SMALL_STATE(135)] = 9173, + [SMALL_STATE(136)] = 9207, + [SMALL_STATE(137)] = 9241, + [SMALL_STATE(138)] = 9299, + [SMALL_STATE(139)] = 9357, + [SMALL_STATE(140)] = 9395, + [SMALL_STATE(141)] = 9429, + [SMALL_STATE(142)] = 9487, + [SMALL_STATE(143)] = 9521, + [SMALL_STATE(144)] = 9555, + [SMALL_STATE(145)] = 9589, + [SMALL_STATE(146)] = 9623, + [SMALL_STATE(147)] = 9681, + [SMALL_STATE(148)] = 9715, + [SMALL_STATE(149)] = 9749, + [SMALL_STATE(150)] = 9807, + [SMALL_STATE(151)] = 9841, + [SMALL_STATE(152)] = 9875, + [SMALL_STATE(153)] = 9933, + [SMALL_STATE(154)] = 9967, + [SMALL_STATE(155)] = 10001, + [SMALL_STATE(156)] = 10059, + [SMALL_STATE(157)] = 10093, + [SMALL_STATE(158)] = 10151, + [SMALL_STATE(159)] = 10209, + [SMALL_STATE(160)] = 10267, + [SMALL_STATE(161)] = 10325, + [SMALL_STATE(162)] = 10359, + [SMALL_STATE(163)] = 10409, + [SMALL_STATE(164)] = 10443, + [SMALL_STATE(165)] = 10483, + [SMALL_STATE(166)] = 10533, + [SMALL_STATE(167)] = 10591, + [SMALL_STATE(168)] = 10624, + [SMALL_STATE(169)] = 10657, + [SMALL_STATE(170)] = 10690, + [SMALL_STATE(171)] = 10723, + [SMALL_STATE(172)] = 10755, + [SMALL_STATE(173)] = 10787, + [SMALL_STATE(174)] = 10839, + [SMALL_STATE(175)] = 10891, + [SMALL_STATE(176)] = 10943, + [SMALL_STATE(177)] = 10995, + [SMALL_STATE(178)] = 11047, + [SMALL_STATE(179)] = 11099, + [SMALL_STATE(180)] = 11151, + [SMALL_STATE(181)] = 11203, + [SMALL_STATE(182)] = 11255, + [SMALL_STATE(183)] = 11289, + [SMALL_STATE(184)] = 11341, + [SMALL_STATE(185)] = 11393, + [SMALL_STATE(186)] = 11445, + [SMALL_STATE(187)] = 11497, + [SMALL_STATE(188)] = 11549, + [SMALL_STATE(189)] = 11603, + [SMALL_STATE(190)] = 11655, + [SMALL_STATE(191)] = 11707, + [SMALL_STATE(192)] = 11759, + [SMALL_STATE(193)] = 11811, + [SMALL_STATE(194)] = 11863, + [SMALL_STATE(195)] = 11915, + [SMALL_STATE(196)] = 11947, + [SMALL_STATE(197)] = 11999, + [SMALL_STATE(198)] = 12041, + [SMALL_STATE(199)] = 12093, + [SMALL_STATE(200)] = 12125, + [SMALL_STATE(201)] = 12157, + [SMALL_STATE(202)] = 12189, + [SMALL_STATE(203)] = 12241, + [SMALL_STATE(204)] = 12293, + [SMALL_STATE(205)] = 12345, + [SMALL_STATE(206)] = 12397, + [SMALL_STATE(207)] = 12449, + [SMALL_STATE(208)] = 12501, + [SMALL_STATE(209)] = 12553, + [SMALL_STATE(210)] = 12605, + [SMALL_STATE(211)] = 12657, + [SMALL_STATE(212)] = 12709, + [SMALL_STATE(213)] = 12761, + [SMALL_STATE(214)] = 12813, + [SMALL_STATE(215)] = 12845, + [SMALL_STATE(216)] = 12897, + [SMALL_STATE(217)] = 12949, + [SMALL_STATE(218)] = 13001, + [SMALL_STATE(219)] = 13033, + [SMALL_STATE(220)] = 13085, + [SMALL_STATE(221)] = 13137, + [SMALL_STATE(222)] = 13169, + [SMALL_STATE(223)] = 13221, + [SMALL_STATE(224)] = 13273, + [SMALL_STATE(225)] = 13325, + [SMALL_STATE(226)] = 13357, + [SMALL_STATE(227)] = 13409, + [SMALL_STATE(228)] = 13441, + [SMALL_STATE(229)] = 13493, + [SMALL_STATE(230)] = 13545, + [SMALL_STATE(231)] = 13597, + [SMALL_STATE(232)] = 13649, + [SMALL_STATE(233)] = 13701, + [SMALL_STATE(234)] = 13753, + [SMALL_STATE(235)] = 13805, + [SMALL_STATE(236)] = 13857, + [SMALL_STATE(237)] = 13909, + [SMALL_STATE(238)] = 13961, + [SMALL_STATE(239)] = 14013, + [SMALL_STATE(240)] = 14065, + [SMALL_STATE(241)] = 14097, + [SMALL_STATE(242)] = 14149, + [SMALL_STATE(243)] = 14201, + [SMALL_STATE(244)] = 14233, + [SMALL_STATE(245)] = 14265, + [SMALL_STATE(246)] = 14297, + [SMALL_STATE(247)] = 14349, + [SMALL_STATE(248)] = 14386, + [SMALL_STATE(249)] = 14421, + [SMALL_STATE(250)] = 14454, + [SMALL_STATE(251)] = 14487, + [SMALL_STATE(252)] = 14530, + [SMALL_STATE(253)] = 14573, + [SMALL_STATE(254)] = 14602, + [SMALL_STATE(255)] = 14645, + [SMALL_STATE(256)] = 14688, + [SMALL_STATE(257)] = 14723, + [SMALL_STATE(258)] = 14766, + [SMALL_STATE(259)] = 14811, + [SMALL_STATE(260)] = 14857, + [SMALL_STATE(261)] = 14899, + [SMALL_STATE(262)] = 14945, + [SMALL_STATE(263)] = 14977, + [SMALL_STATE(264)] = 15023, + [SMALL_STATE(265)] = 15069, + [SMALL_STATE(266)] = 15103, + [SMALL_STATE(267)] = 15145, + [SMALL_STATE(268)] = 15191, + [SMALL_STATE(269)] = 15237, + [SMALL_STATE(270)] = 15283, + [SMALL_STATE(271)] = 15329, + [SMALL_STATE(272)] = 15369, + [SMALL_STATE(273)] = 15409, + [SMALL_STATE(274)] = 15431, + [SMALL_STATE(275)] = 15453, + [SMALL_STATE(276)] = 15475, + [SMALL_STATE(277)] = 15495, + [SMALL_STATE(278)] = 15515, + [SMALL_STATE(279)] = 15535, + [SMALL_STATE(280)] = 15555, + [SMALL_STATE(281)] = 15574, + [SMALL_STATE(282)] = 15593, + [SMALL_STATE(283)] = 15618, + [SMALL_STATE(284)] = 15643, + [SMALL_STATE(285)] = 15657, + [SMALL_STATE(286)] = 15673, + [SMALL_STATE(287)] = 15693, + [SMALL_STATE(288)] = 15707, + [SMALL_STATE(289)] = 15721, + [SMALL_STATE(290)] = 15740, + [SMALL_STATE(291)] = 15759, + [SMALL_STATE(292)] = 15778, + [SMALL_STATE(293)] = 15797, + [SMALL_STATE(294)] = 15816, + [SMALL_STATE(295)] = 15835, + [SMALL_STATE(296)] = 15854, + [SMALL_STATE(297)] = 15873, + [SMALL_STATE(298)] = 15887, + [SMALL_STATE(299)] = 15899, + [SMALL_STATE(300)] = 15913, + [SMALL_STATE(301)] = 15927, + [SMALL_STATE(302)] = 15939, + [SMALL_STATE(303)] = 15949, + [SMALL_STATE(304)] = 15961, + [SMALL_STATE(305)] = 15971, + [SMALL_STATE(306)] = 15981, + [SMALL_STATE(307)] = 15991, + [SMALL_STATE(308)] = 16001, + [SMALL_STATE(309)] = 16011, + [SMALL_STATE(310)] = 16021, + [SMALL_STATE(311)] = 16031, + [SMALL_STATE(312)] = 16041, + [SMALL_STATE(313)] = 16055, + [SMALL_STATE(314)] = 16069, + [SMALL_STATE(315)] = 16083, + [SMALL_STATE(316)] = 16093, + [SMALL_STATE(317)] = 16107, + [SMALL_STATE(318)] = 16117, + [SMALL_STATE(319)] = 16127, + [SMALL_STATE(320)] = 16141, + [SMALL_STATE(321)] = 16155, + [SMALL_STATE(322)] = 16168, + [SMALL_STATE(323)] = 16181, + [SMALL_STATE(324)] = 16194, + [SMALL_STATE(325)] = 16207, + [SMALL_STATE(326)] = 16220, + [SMALL_STATE(327)] = 16233, + [SMALL_STATE(328)] = 16246, + [SMALL_STATE(329)] = 16257, + [SMALL_STATE(330)] = 16270, + [SMALL_STATE(331)] = 16283, + [SMALL_STATE(332)] = 16296, + [SMALL_STATE(333)] = 16309, + [SMALL_STATE(334)] = 16322, + [SMALL_STATE(335)] = 16335, + [SMALL_STATE(336)] = 16348, + [SMALL_STATE(337)] = 16361, + [SMALL_STATE(338)] = 16374, + [SMALL_STATE(339)] = 16387, + [SMALL_STATE(340)] = 16398, + [SMALL_STATE(341)] = 16411, + [SMALL_STATE(342)] = 16424, + [SMALL_STATE(343)] = 16435, + [SMALL_STATE(344)] = 16448, + [SMALL_STATE(345)] = 16461, + [SMALL_STATE(346)] = 16474, + [SMALL_STATE(347)] = 16484, + [SMALL_STATE(348)] = 16494, + [SMALL_STATE(349)] = 16504, + [SMALL_STATE(350)] = 16514, + [SMALL_STATE(351)] = 16524, + [SMALL_STATE(352)] = 16534, + [SMALL_STATE(353)] = 16544, + [SMALL_STATE(354)] = 16552, + [SMALL_STATE(355)] = 16562, + [SMALL_STATE(356)] = 16570, + [SMALL_STATE(357)] = 16578, + [SMALL_STATE(358)] = 16588, + [SMALL_STATE(359)] = 16598, + [SMALL_STATE(360)] = 16608, + [SMALL_STATE(361)] = 16615, + [SMALL_STATE(362)] = 16622, + [SMALL_STATE(363)] = 16629, + [SMALL_STATE(364)] = 16636, + [SMALL_STATE(365)] = 16643, + [SMALL_STATE(366)] = 16650, + [SMALL_STATE(367)] = 16657, + [SMALL_STATE(368)] = 16664, + [SMALL_STATE(369)] = 16671, + [SMALL_STATE(370)] = 16678, + [SMALL_STATE(371)] = 16685, + [SMALL_STATE(372)] = 16692, + [SMALL_STATE(373)] = 16699, + [SMALL_STATE(374)] = 16706, + [SMALL_STATE(375)] = 16713, + [SMALL_STATE(376)] = 16720, + [SMALL_STATE(377)] = 16727, + [SMALL_STATE(378)] = 16734, + [SMALL_STATE(379)] = 16741, + [SMALL_STATE(380)] = 16748, + [SMALL_STATE(381)] = 16755, + [SMALL_STATE(382)] = 16762, + [SMALL_STATE(383)] = 16769, + [SMALL_STATE(384)] = 16776, }; 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_EXTRA(), - [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(364), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(168), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(368), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(342), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(366), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), - [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(181), - [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(360), - [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), - [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), - [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), - [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), - [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304), - [59] = {.entry = {.count = 1, .reusable = false}}, SHIFT(334), - [61] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), - [63] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), - [65] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), - [67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125), - [69] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), - [71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(54), - [78] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(364), - [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(8), - [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(3), - [87] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(62), - [90] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(62), - [93] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(70), - [96] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(141), - [99] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(167), - [102] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(168), - [105] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(170), - [108] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(368), - [111] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(368), - [114] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(342), - [117] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(366), - [120] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(303), - [123] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(343), - [126] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(181), - [129] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(360), - [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), - [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), - [150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), - [160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(178), - [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(351), - [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), - [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), - [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135), - [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215), - [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(214), - [184] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213), - [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(346), - [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346), - [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333), - [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(355), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), - [196] = {.entry = {.count = 1, .reusable = false}}, SHIFT(341), - [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217), - [200] = {.entry = {.count = 1, .reusable = false}}, SHIFT(372), - [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [212] = {.entry = {.count = 1, .reusable = false}}, SHIFT(266), - [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), - [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), - [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(267), - [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), - [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), - [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), - [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 3), - [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 3), - [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), - [238] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), - [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(242), - [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(272), - [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), - [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [250] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), - [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), - [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [262] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), - [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), - [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 3), - [270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 3), - [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [278] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [280] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), - [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__context_defined_function, 1), - [284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [286] = {.entry = {.count = 1, .reusable = false}}, SHIFT(304), - [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(369), - [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), - [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), - [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), - [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), - [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), - [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), - [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), - [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [324] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), - [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), - [328] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286), - [330] = {.entry = {.count = 1, .reusable = false}}, SHIFT(336), - [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), - [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), - [340] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), - [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), - [344] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), - [348] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(146), - [351] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), - [353] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(310), - [356] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(4), - [359] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(148), - [362] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(148), - [365] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(135), - [368] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(151), - [371] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(286), - [374] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(336), - [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 3), - [379] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 3), - [381] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286), - [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), - [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), - [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), - [393] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), - [395] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), - [399] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [401] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [405] = {.entry = {.count = 1, .reusable = false}}, SHIFT(330), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(374), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(219), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(241), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(246), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(384), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(384), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(349), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(381), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(352), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(192), + [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(378), + [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [47] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [49] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(49), + [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(374), + [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(2), + [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(203), + [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(70), + [64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(70), + [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(71), + [70] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(131), + [73] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(219), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(241), + [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(246), + [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(384), + [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(384), + [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(349), + [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(381), + [94] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(299), + [97] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(352), + [100] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(192), + [103] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(378), + [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), + [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), + [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), + [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [138] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197), + [140] = {.entry = {.count = 1, .reusable = false}}, SHIFT(373), + [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), + [146] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), + [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [150] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132), + [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [154] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175), + [156] = {.entry = {.count = 1, .reusable = false}}, SHIFT(176), + [158] = {.entry = {.count = 1, .reusable = false}}, SHIFT(177), + [160] = {.entry = {.count = 1, .reusable = false}}, SHIFT(365), + [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(365), + [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(351), + [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(375), + [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300), + [170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(354), + [172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), + [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(360), + [176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 3), + [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 3), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), + [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(281), + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(280), + [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377), + [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), + [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226), + [212] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), + [214] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), + [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253), + [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(284), + [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 5), + [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 5), + [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), + [232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334), + [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), + [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), + [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(314), + [250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(347), + [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383), + [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), + [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), + [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 3), + [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 3), + [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), + [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), + [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), + [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), + [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), + [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), + [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [306] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [310] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [318] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 4), + [328] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 4), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [332] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), + [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), + [336] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313), + [338] = {.entry = {.count = 1, .reusable = false}}, SHIFT(346), + [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), + [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), + [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [346] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225), + [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert, 4), + [352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_insert, 4), + [354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), + [356] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(150), + [359] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), + [361] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(338), + [364] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(237), + [367] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(133), + [370] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(133), + [373] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(132), + [376] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(157), + [379] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(313), + [382] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(346), + [385] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 3), + [387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 3), + [389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), + [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), + [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), + [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), + [401] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), + [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), + [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), [407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), [409] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [411] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), - [413] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [415] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(230), - [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(350), - [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), + [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [413] = {.entry = {.count = 1, .reusable = false}}, SHIFT(341), + [415] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [417] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [419] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), + [421] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [423] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(238), [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), - [432] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), - [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_built_in_function, 2), - [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_built_in_function, 1), - [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__context_defined_function, 2), - [442] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(111), - [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(329), - [448] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(6), - [451] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), - [453] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(98), - [456] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(98), - [459] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(112), - [462] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(132), - [465] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(304), - [468] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(334), - [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), - [473] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), - [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [477] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(111), - [480] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(329), - [483] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(6), - [486] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(98), - [489] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(98), - [492] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(112), - [495] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(132), - [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [500] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(304), - [503] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(334), - [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [518] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 5), - [520] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 5), - [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 1), - [524] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3, .production_id = 1), - [526] = {.entry = {.count = 1, .reusable = false}}, SHIFT(335), - [528] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), - [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), - [534] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), - [536] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345), - [538] = {.entry = {.count = 1, .reusable = false}}, SHIFT(332), - [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), - [546] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), - [548] = {.entry = {.count = 1, .reusable = false}}, SHIFT(340), - [550] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4, .production_id = 2), - [552] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4, .production_id = 2), - [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), - [556] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), - [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), - [560] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), - [562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), - [564] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), - [566] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), - [568] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), - [570] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), - [572] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), - [574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), - [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), - [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), - [580] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), - [582] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), - [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [586] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371), - [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364), - [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), - [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351), - [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), - [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [602] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [604] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), - [606] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 2), - [608] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 2), - [610] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 3), - [612] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 3), - [614] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [616] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [618] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [620] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [622] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), - [624] = {.entry = {.count = 1, .reusable = false}}, SHIFT(313), - [626] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(209), - [629] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 3), - [631] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), - [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361), - [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), - [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353), - [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349), - [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337), - [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), - [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), - [651] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(337), - [654] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), - [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), - [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), - [660] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), - [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), - [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), - [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), - [668] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(317), - [671] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), - [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367), - [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), - [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), - [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), - [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [687] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 1), - [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), - [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), - [693] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367), + [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), + [452] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), + [454] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(111), + [457] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(334), + [460] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(222), + [463] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(99), + [466] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(99), + [469] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(103), + [472] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(155), + [475] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [477] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(314), + [480] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(347), + [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [491] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(111), + [494] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(334), + [497] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(222), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), + [502] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(99), + [505] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(99), + [508] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(103), + [511] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(155), + [514] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(314), + [517] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(347), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [524] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), + [526] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), + [534] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), + [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [540] = {.entry = {.count = 1, .reusable = false}}, SHIFT(358), + [542] = {.entry = {.count = 1, .reusable = false}}, SHIFT(359), + [544] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), + [548] = {.entry = {.count = 1, .reusable = false}}, SHIFT(348), + [550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [552] = {.entry = {.count = 1, .reusable = false}}, SHIFT(350), + [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select, 5), + [556] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_select, 5), + [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), + [560] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), + [562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [564] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [566] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), + [568] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4, .production_id = 2), + [570] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4, .production_id = 2), + [572] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), + [574] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), + [576] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122), + [578] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), + [580] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), + [582] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), + [584] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), + [586] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123), + [588] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), + [590] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), + [592] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 1), + [594] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3, .production_id = 1), + [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), + [600] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), + [602] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), + [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), + [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(362), + [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(374), + [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373), + [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361), + [618] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [620] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), + [622] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), + [624] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 3), + [626] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 3), + [628] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), + [630] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 2), + [632] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 2), + [634] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [636] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [638] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [640] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [642] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [644] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [646] = {.entry = {.count = 1, .reusable = false}}, SHIFT(326), + [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(379), + [650] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 3), + [652] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), + [654] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(202), + [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363), + [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), + [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372), + [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [667] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), SHIFT_REPEAT(357), + [670] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_repeat1, 2), + [672] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357), + [674] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295), + [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [678] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), + [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293), + [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291), + [684] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294), + [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [688] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292), + [690] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(339), + [693] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), - [697] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(367), - [700] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [702] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 2), - [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), - [706] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [708] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), - [712] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 3), - [714] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), - [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370), - [718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347), - [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), - [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), - [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), - [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), - [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359), - [758] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357), - [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [764] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), - [766] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), + [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), + [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(380), + [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [703] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353), + [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364), + [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [719] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 1), + [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), + [723] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(380), + [726] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [728] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 2), + [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355), + [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [734] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), + [736] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 3), + [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318), + [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366), + [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), + [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), + [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [758] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), + [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [764] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [766] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370), [770] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), + [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), + [776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368), + [782] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [786] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371), }; #ifdef __cplusplus