From 081d349783a32abd7e6bdecab33b92e6040b6a67 Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 29 Nov 2023 20:59:58 -0500 Subject: [PATCH] Continue type check implementation --- examples/fibonacci.ds | 2 +- scripts/build_debug.fish | 8 + scripts/build_release.fish | 8 + src/abstract_tree/assignment.rs | 18 +- src/abstract_tree/block.rs | 4 +- src/abstract_tree/expression.rs | 5 +- src/abstract_tree/for.rs | 8 +- src/abstract_tree/function_call.rs | 4 +- src/abstract_tree/identifier.rs | 6 +- src/abstract_tree/if_else.rs | 4 +- src/abstract_tree/index.rs | 6 +- src/abstract_tree/index_assignment.rs | 6 +- src/abstract_tree/logic.rs | 6 +- src/abstract_tree/match.rs | 4 +- src/abstract_tree/math.rs | 6 +- src/abstract_tree/mod.rs | 4 +- src/abstract_tree/statement.rs | 4 +- src/abstract_tree/type_defintion.rs | 276 +- src/abstract_tree/use.rs | 6 +- src/abstract_tree/value_node.rs | 22 +- src/abstract_tree/while.rs | 4 +- src/abstract_tree/yield.rs | 4 +- src/error.rs | 4 +- src/main.rs | 2 +- src/value/function.rs | 6 +- src/value/mod.rs | 24 +- std/list_functions.ds | 20 - tree-sitter-dust/src/grammar.json | 21 +- tree-sitter-dust/src/parser.c | 14154 ++++++++++++------------ 29 files changed, 7453 insertions(+), 7193 deletions(-) create mode 100755 scripts/build_debug.fish create mode 100755 scripts/build_release.fish delete mode 100644 std/list_functions.ds diff --git a/examples/fibonacci.ds b/examples/fibonacci.ds index 62948fd..2cd99a8 100644 --- a/examples/fibonacci.ds +++ b/examples/fibonacci.ds @@ -1,4 +1,4 @@ -fib = |i | { +fib int> = |i| { if i <= 1 { 1 } else { diff --git a/scripts/build_debug.fish b/scripts/build_debug.fish new file mode 100755 index 0000000..133ba25 --- /dev/null +++ b/scripts/build_debug.fish @@ -0,0 +1,8 @@ +#!/usr/bin/fish +# Build the project in debug mode. + +cd tree-sitter-dust/ +tree-sitter generate --debug-build --no-bindings + +cd .. +cargo build diff --git a/scripts/build_release.fish b/scripts/build_release.fish new file mode 100755 index 0000000..c6f61da --- /dev/null +++ b/scripts/build_release.fish @@ -0,0 +1,8 @@ +#!/bin/fish +# Build the project in debug mode. + +cd tree-sitter-dust/ +tree-sitter generate --no-bindings + +cd .. +cargo build --release diff --git a/src/abstract_tree/assignment.rs b/src/abstract_tree/assignment.rs index fd3b676..d5caeeb 100644 --- a/src/abstract_tree/assignment.rs +++ b/src/abstract_tree/assignment.rs @@ -1,12 +1,12 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Identifier, Map, Result, Statement, TypeDefinition, Value}; +use crate::{AbstractTree, Error, Identifier, Map, Result, Statement, Type, TypeDefintion, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Assignment { identifier: Identifier, - r#type: Option, + type_definition: Option, operator: AssignmentOperator, statement: Statement, } @@ -26,8 +26,8 @@ impl AbstractTree for Assignment { let identifier = Identifier::from_syntax_node(source, identifier_node)?; let type_node = node.child_by_field_name("type"); - let r#type = if let Some(type_node) = type_node { - Some(TypeDefinition::from_syntax_node(source, type_node)?) + let type_definition = if let Some(type_node) = type_node { + Some(TypeDefintion::from_syntax_node(source, type_node)?) } else { None }; @@ -56,7 +56,7 @@ impl AbstractTree for Assignment { Ok(Assignment { identifier, - r#type, + type_definition, operator, statement, }) @@ -66,6 +66,10 @@ impl AbstractTree for Assignment { let key = self.identifier.inner(); let value = self.statement.run(source, context)?; + if let Some(type_definition) = &self.type_definition { + type_definition.check(&value, context)?; + } + let new_value = match self.operator { AssignmentOperator::PlusEqual => { if let Some(mut previous_value) = context.variables()?.get(key).cloned() { @@ -91,7 +95,7 @@ impl AbstractTree for Assignment { Ok(Value::Empty) } - fn expected_type(&self, _context: &Map) -> Result { - Ok(TypeDefinition::Empty) + fn expected_type(&self, _context: &Map) -> Result { + Ok(Type::Empty) } } diff --git a/src/abstract_tree/block.rs b/src/abstract_tree/block.rs index 65b17e5..782e686 100644 --- a/src/abstract_tree/block.rs +++ b/src/abstract_tree/block.rs @@ -4,7 +4,7 @@ use rayon::prelude::*; use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Map, Result, Statement, TypeDefinition, Value}; +use crate::{AbstractTree, Error, Map, Result, Statement, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Block { @@ -82,7 +82,7 @@ impl AbstractTree for Block { } } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.statements.last().unwrap().expected_type(context) } } diff --git a/src/abstract_tree/expression.rs b/src/abstract_tree/expression.rs index ed635b8..0a71239 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, Error, Identifier, Index, Map, Result, TypeDefinition, - Value, Yield, + value_node::ValueNode, AbstractTree, Error, Identifier, Index, Map, Result, Type, Value, Yield, }; use super::{function_call::FunctionCall, logic::Logic, math::Math}; @@ -64,7 +63,7 @@ impl AbstractTree for Expression { } } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { match self { Expression::Value(value_node) => value_node.expected_type(context), Expression::Identifier(identifier) => identifier.expected_type(context), diff --git a/src/abstract_tree/for.rs b/src/abstract_tree/for.rs index e01e5eb..5ea21d3 100644 --- a/src/abstract_tree/for.rs +++ b/src/abstract_tree/for.rs @@ -2,9 +2,7 @@ use rayon::prelude::*; use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{ - AbstractTree, Block, Error, Expression, Identifier, Map, Result, TypeDefinition, Value, -}; +use crate::{AbstractTree, Block, Error, Expression, Identifier, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct For { @@ -79,7 +77,7 @@ impl AbstractTree for For { Ok(Value::Empty) } - fn expected_type(&self, _context: &Map) -> Result { - Ok(TypeDefinition::Empty) + fn expected_type(&self, _context: &Map) -> Result { + Ok(Type::Empty) } } diff --git a/src/abstract_tree/function_call.rs b/src/abstract_tree/function_call.rs index 5c83527..766a830 100644 --- a/src/abstract_tree/function_call.rs +++ b/src/abstract_tree/function_call.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Map, Result, TypeDefinition, Value, BUILT_IN_FUNCTIONS}; +use crate::{AbstractTree, Error, Map, Result, Type, Value, BUILT_IN_FUNCTIONS}; use super::expression::Expression; @@ -87,7 +87,7 @@ impl AbstractTree for FunctionCall { function.run(source, &mut function_context) } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.function.expected_type(context) } } diff --git a/src/abstract_tree/identifier.rs b/src/abstract_tree/identifier.rs index d4fc9ef..ab9784a 100644 --- a/src/abstract_tree/identifier.rs +++ b/src/abstract_tree/identifier.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Error, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Identifier(String); @@ -37,11 +37,11 @@ impl AbstractTree for Identifier { } } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { if let Some(value) = context.variables()?.get(&self.0) { Ok(value.r#type(context)?) } else { - Ok(TypeDefinition::Empty) + Ok(Type::Empty) } } } diff --git a/src/abstract_tree/if_else.rs b/src/abstract_tree/if_else.rs index 1df79e2..fe01548 100644 --- a/src/abstract_tree/if_else.rs +++ b/src/abstract_tree/if_else.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Block, Expression, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Block, Expression, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct IfElse { @@ -81,7 +81,7 @@ impl AbstractTree for IfElse { } } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.if_block.expected_type(context) } } diff --git a/src/abstract_tree/index.rs b/src/abstract_tree/index.rs index ac72c02..8e68c60 100644 --- a/src/abstract_tree/index.rs +++ b/src/abstract_tree/index.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Expression, List, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Error, Expression, List, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Index { @@ -74,7 +74,7 @@ impl AbstractTree for Index { } } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.collection.expected_type(context) } } @@ -100,7 +100,7 @@ mod tests { #[test] fn evaluate_complex_index() { - let test = evaluate("x = [1 2 3]; y = || { 0 } x:((y))").unwrap(); + let test = evaluate("x = [1 2 3]; y = || { 0 } x:((y))").unwrap(); assert_eq!(Value::Integer(1), test); } diff --git a/src/abstract_tree/index_assignment.rs b/src/abstract_tree/index_assignment.rs index 4d16c26..b887432 100644 --- a/src/abstract_tree/index_assignment.rs +++ b/src/abstract_tree/index_assignment.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Index, Map, Result, Statement, TypeDefinition, Value}; +use crate::{AbstractTree, Error, Index, Map, Result, Statement, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct IndexAssignment { @@ -91,7 +91,7 @@ impl AbstractTree for IndexAssignment { Ok(Value::Empty) } - fn expected_type(&self, _context: &Map) -> Result { - Ok(TypeDefinition::Empty) + fn expected_type(&self, _context: &Map) -> Result { + Ok(Type::Empty) } } diff --git a/src/abstract_tree/logic.rs b/src/abstract_tree/logic.rs index aac26b8..1699f48 100644 --- a/src/abstract_tree/logic.rs +++ b/src/abstract_tree/logic.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Expression, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Error, Expression, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Logic { @@ -74,8 +74,8 @@ impl AbstractTree for Logic { Ok(Value::Boolean(result)) } - fn expected_type(&self, _context: &Map) -> Result { - Ok(TypeDefinition::Boolean) + fn expected_type(&self, _context: &Map) -> Result { + Ok(Type::Boolean) } } diff --git a/src/abstract_tree/match.rs b/src/abstract_tree/match.rs index 2c668c4..16b4133 100644 --- a/src/abstract_tree/match.rs +++ b/src/abstract_tree/match.rs @@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Match {} @@ -20,7 +20,7 @@ impl AbstractTree for Match { todo!() } - fn expected_type(&self, _context: &Map) -> Result { + fn expected_type(&self, _context: &Map) -> Result { todo!() } } diff --git a/src/abstract_tree/math.rs b/src/abstract_tree/math.rs index 8b5472b..b8f131f 100644 --- a/src/abstract_tree/math.rs +++ b/src/abstract_tree/math.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Error, Expression, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Error, Expression, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Math { @@ -56,8 +56,8 @@ impl AbstractTree for Math { Ok(value) } - fn expected_type(&self, _context: &Map) -> Result { - Ok(TypeDefinition::Number) + fn expected_type(&self, _context: &Map) -> Result { + Ok(Type::Number) } } diff --git a/src/abstract_tree/mod.rs b/src/abstract_tree/mod.rs index 35136de..eb299e5 100644 --- a/src/abstract_tree/mod.rs +++ b/src/abstract_tree/mod.rs @@ -66,7 +66,7 @@ impl AbstractTree for Root { Ok(value) } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.statements.last().unwrap().expected_type(context) } } @@ -88,5 +88,5 @@ pub trait AbstractTree: Sized { /// Execute dust code by traversing the tree. fn run(&self, source: &str, context: &Map) -> Result; - fn expected_type(&self, context: &Map) -> Result; + fn expected_type(&self, context: &Map) -> Result; } diff --git a/src/abstract_tree/statement.rs b/src/abstract_tree/statement.rs index 8c51d1b..d1b2c69 100644 --- a/src/abstract_tree/statement.rs +++ b/src/abstract_tree/statement.rs @@ -3,7 +3,7 @@ use tree_sitter::Node; use crate::{ AbstractTree, Assignment, Block, Error, Expression, For, IfElse, IndexAssignment, Map, Match, - Result, TypeDefinition, Use, Value, While, + Result, Type, Use, Value, While, }; /// Abstract representation of a statement. @@ -82,7 +82,7 @@ impl AbstractTree for Statement { } } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { match self { Statement::Assignment(assignment) => assignment.expected_type(context), Statement::Return(expression) => expression.expected_type(context), diff --git a/src/abstract_tree/type_defintion.rs b/src/abstract_tree/type_defintion.rs index d307627..3c614ae 100644 --- a/src/abstract_tree/type_defintion.rs +++ b/src/abstract_tree/type_defintion.rs @@ -6,129 +6,171 @@ use tree_sitter::Node; use crate::{AbstractTree, Error, Map, Result, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] -pub enum TypeDefinition { +pub struct TypeDefintion { + r#type: Type, +} + +impl AbstractTree for TypeDefintion { + fn from_syntax_node(source: &str, node: Node) -> Result { + Error::expect_syntax_node(source, "type_definition", node)?; + + let type_node = node.child(1).unwrap(); + let r#type = Type::from_syntax_node(source, type_node)?; + + Ok(TypeDefintion { r#type }) + } + + fn run(&self, source: &str, context: &Map) -> Result { + self.r#type.run(source, context) + } + + fn expected_type(&self, context: &Map) -> Result { + self.r#type.expected_type(context) + } +} + +#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] +pub enum Type { Any, Boolean, Empty, Float, Function { - parameter_types: Vec, - return_type: Box, + parameter_types: Vec, + return_type: Box, }, Integer, - List(Box), + List(Box), Map, Number, String, Table, } -impl TypeDefinition { - // pub fn check(&self, value: &Value) -> Result<()> { - // match (self, value.r#type()?) { - // (Type::Any, _) - // | (Type::Boolean, Type::Boolean) - // | (Type::Empty, Type::Empty) - // | (Type::Float, Type::Float) - // | (Type::Integer, Type::Integer) - // | (Type::Map, Type::Map) - // | (Type::Number, Type::Number) - // | (Type::Number, Type::Integer) - // | (Type::Number, Type::Float) - // | (Type::Integer, Type::Number) - // | (Type::Float, Type::Number) - // | (Type::String, Type::String) - // | (Type::Table, Type::Table) => Ok(()), - // (Type::List(expected), Type::List(actual)) => { - // if expected != &actual { - // Err(Error::TypeCheck { - // expected: Type::List(expected.clone()), - // actual: value.clone(), - // }) - // } else { - // Ok(()) - // } - // } - // ( - // Type::Function { - // parameter_types: left_parameters, - // return_type: left_return, - // }, - // Type::Function { - // parameter_types: right_parameters, - // return_type: right_return, - // }, - // ) => { - // if left_parameters != &right_parameters || left_return != &right_return { - // Err(Error::TypeCheck { - // expected: Type::Function { - // parameter_types: left_parameters.clone(), - // return_type: left_return.clone(), - // }, - // actual: value.clone(), - // }) - // } else { - // Ok(()) - // } - // } - // (Type::Boolean, _) => Err(Error::TypeCheck { - // expected: Type::Boolean, - // actual: value.clone(), - // }), - // (Type::Empty, _) => Err(Error::TypeCheck { - // expected: Type::Empty, - // actual: value.clone(), - // }), - // (Type::Float, _) => Err(Error::TypeCheck { - // expected: Type::Float, - // actual: value.clone(), - // }), - // (expected, _) => Err(Error::TypeCheck { - // expected: expected.clone(), - // actual: value.clone(), - // }), - // (Type::Integer, _) => Err(Error::TypeCheck { - // expected: Type::Integer, - // actual: value.clone(), - // }), - // (expected, _) => Err(Error::TypeCheck { - // expected: expected.clone(), - // actual: value.clone(), - // }), - // (Type::Map, _) => Err(Error::TypeCheck { - // expected: Type::Map, - // actual: value.clone(), - // }), - // (Type::String, _) => Err(Error::TypeCheck { - // expected: Type::String, - // actual: value.clone(), - // }), - // (Type::Table, _) => Err(Error::TypeCheck { - // expected: Type::Table, - // actual: value.clone(), - // }), - // } - // } +impl TypeDefintion { + pub fn check(&self, value: &Value, context: &Map) -> Result<()> { + match (&self.r#type, value) { + (Type::Any, _) + | (Type::Boolean, Value::Boolean(_)) + | (Type::Empty, Value::Empty) + | (Type::Float, Value::Float(_)) + | (Type::Integer, Value::Integer(_)) + | (Type::Map, Value::Map(_)) + | (Type::Number, Value::Integer(_)) + | (Type::Number, Value::Float(_)) + | (Type::String, Value::String(_)) + | (Type::Table, Value::Table(_)) => Ok(()), + (Type::List(_), Value::List(list)) => { + if let Some(first) = list.items().first() { + self.check(first, context) + } else { + Ok(()) + } + } + ( + Type::Function { + parameter_types, + return_type, + }, + Value::Function(function), + ) => { + let parameter_type_count = parameter_types.len(); + let parameter_count = function.parameters().len(); + + if parameter_type_count != parameter_count + || return_type.as_ref() != &function.body().expected_type(context)? + { + return Err(Error::TypeCheck { + expected: self.r#type.clone(), + actual: value.clone(), + }); + } + + Ok(()) + } + (Type::Boolean, _) => Err(Error::TypeCheck { + expected: Type::Boolean, + actual: value.clone(), + }), + (Type::Empty, _) => Err(Error::TypeCheck { + expected: Type::Empty, + actual: value.clone(), + }), + (Type::Float, _) => Err(Error::TypeCheck { + expected: Type::Float, + actual: value.clone(), + }), + (Type::Function { .. }, _) => Err(Error::TypeCheck { + expected: self.r#type.clone(), + actual: value.clone(), + }), + (Type::Integer, _) => Err(Error::TypeCheck { + expected: Type::Integer, + actual: value.clone(), + }), + (Type::List(_), _) => Err(Error::TypeCheck { + expected: self.r#type.clone(), + actual: value.clone(), + }), + (Type::Map, _) => Err(Error::TypeCheck { + expected: Type::Map, + actual: value.clone(), + }), + (Type::Number, _) => Err(Error::TypeCheck { + expected: Type::Number, + actual: value.clone(), + }), + (Type::String, _) => Err(Error::TypeCheck { + expected: Type::String, + actual: value.clone(), + }), + (Type::Table, _) => Err(Error::TypeCheck { + expected: Type::Table, + actual: value.clone(), + }), + } + } } -impl AbstractTree for TypeDefinition { +impl AbstractTree for Type { fn from_syntax_node(source: &str, node: Node) -> Result { - Error::expect_syntax_node(source, "type_definition", node)?; + Error::expect_syntax_node(source, "type", node)?; - let type_node = node.child(1).unwrap(); - let type_symbol = &source[type_node.byte_range()]; + let type_node = node.child(0).unwrap(); - let r#type = match type_symbol { - "any" => TypeDefinition::Any, - "bool" => TypeDefinition::Boolean, - "float" => TypeDefinition::Float, + let r#type = match type_node.kind() { + "any" => Type::Any, + "bool" => Type::Boolean, + "float" => Type::Float, "fn" => { - todo!() + let child_count = node.child_count(); + let mut parameter_types = Vec::new(); + + for index in 1..child_count - 2 { + let parameter_type_node = node.child(index).unwrap(); + let parameter_type = Type::from_syntax_node(source, parameter_type_node)?; + + parameter_types.push(parameter_type); + } + + let return_type_node = node.child(child_count - 1).unwrap(); + let return_type = Type::from_syntax_node(source, return_type_node)?; + + Type::Function { + parameter_types, + return_type: Box::new(return_type), + } } - "int" => TypeDefinition::Integer, - "map" => TypeDefinition::Map, - "str" => TypeDefinition::String, - "table" => TypeDefinition::Table, + "int" => Type::Integer, + "list" => { + let item_type_node = node.child(1).unwrap(); + let item_type = Type::from_syntax_node(source, item_type_node)?; + + Type::List(Box::new(item_type)) + } + "map" => Type::Map, + "str" => Type::String, + "table" => Type::Table, _ => { return Err(Error::UnexpectedSyntaxNode { expected: "any, bool, float, fn, int, list, map, str or table", @@ -146,25 +188,25 @@ impl AbstractTree for TypeDefinition { Ok(Value::Empty) } - fn expected_type(&self, _context: &Map) -> Result { - Ok(TypeDefinition::Empty) + fn expected_type(&self, _context: &Map) -> Result { + Ok(Type::Empty) } } -impl Display for TypeDefinition { +impl Display for Type { fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { match self { - TypeDefinition::Any => write!(f, "any"), - TypeDefinition::Boolean => write!(f, "bool"), - TypeDefinition::Empty => write!(f, "empty"), - TypeDefinition::Float => write!(f, "float"), - TypeDefinition::Function { .. } => write!(f, "function"), - TypeDefinition::Integer => write!(f, "integer"), - TypeDefinition::List(_) => write!(f, "list"), - TypeDefinition::Map => write!(f, "map"), - TypeDefinition::Number => write!(f, "number"), - TypeDefinition::String => write!(f, "string"), - TypeDefinition::Table => write!(f, "table"), + Type::Any => write!(f, "any"), + Type::Boolean => write!(f, "bool"), + Type::Empty => write!(f, "empty"), + Type::Float => write!(f, "float"), + Type::Function { .. } => write!(f, "function"), + Type::Integer => write!(f, "integer"), + Type::List(_) => write!(f, "list"), + Type::Map => write!(f, "map"), + Type::Number => write!(f, "number"), + Type::String => write!(f, "string"), + Type::Table => write!(f, "table"), } } } diff --git a/src/abstract_tree/use.rs b/src/abstract_tree/use.rs index 5c8d8c4..dd114e3 100644 --- a/src/abstract_tree/use.rs +++ b/src/abstract_tree/use.rs @@ -2,7 +2,7 @@ use std::fs::read_to_string; use serde::{Deserialize, Serialize}; -use crate::{evaluate_with_context, AbstractTree, Error, Map, Result, TypeDefinition, Value}; +use crate::{evaluate_with_context, AbstractTree, Error, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Use { @@ -30,7 +30,7 @@ impl AbstractTree for Use { Ok(Value::Map(file_context)) } - fn expected_type(&self, _context: &Map) -> Result { - Ok(TypeDefinition::Map) + fn expected_type(&self, _context: &Map) -> Result { + Ok(Type::Map) } } diff --git a/src/abstract_tree/value_node.rs b/src/abstract_tree/value_node.rs index 74519f9..5dbce5b 100644 --- a/src/abstract_tree/value_node.rs +++ b/src/abstract_tree/value_node.rs @@ -5,7 +5,7 @@ use tree_sitter::Node; use crate::{ AbstractTree, Error, Expression, Function, Identifier, List, Map, Result, Statement, Table, - TypeDefinition, Value, + Type, Value, }; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] @@ -177,27 +177,27 @@ impl AbstractTree for ValueNode { Ok(value) } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { let r#type = match self { - ValueNode::Boolean(_) => TypeDefinition::Boolean, - ValueNode::Float(_) => TypeDefinition::Float, - ValueNode::Integer(_) => TypeDefinition::Integer, - ValueNode::String(_) => TypeDefinition::String, + ValueNode::Boolean(_) => Type::Boolean, + ValueNode::Float(_) => Type::Float, + ValueNode::Integer(_) => Type::Integer, + ValueNode::String(_) => Type::String, ValueNode::List(expressions) => { let first_expression_type = if let Some(first) = expressions.first() { first.expected_type(context)? } else { - TypeDefinition::Empty + Type::Empty }; - TypeDefinition::List(Box::new(first_expression_type)) + Type::List(Box::new(first_expression_type)) } - ValueNode::Empty => TypeDefinition::Any, - ValueNode::Map(_) => TypeDefinition::Map, + ValueNode::Empty => Type::Any, + ValueNode::Map(_) => Type::Map, ValueNode::Table { column_names: _, rows: _, - } => TypeDefinition::Table, + } => Type::Table, ValueNode::Function(function) => function.expected_type(context)?, }; diff --git a/src/abstract_tree/while.rs b/src/abstract_tree/while.rs index 829824d..85d6a68 100644 --- a/src/abstract_tree/while.rs +++ b/src/abstract_tree/while.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Block, Expression, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Block, Expression, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct While { @@ -30,7 +30,7 @@ impl AbstractTree for While { Ok(Value::Empty) } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.block.expected_type(context) } } diff --git a/src/abstract_tree/yield.rs b/src/abstract_tree/yield.rs index 1c6637d..9a41c13 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, Expression, FunctionCall, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Expression, FunctionCall, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Yield { @@ -39,7 +39,7 @@ impl AbstractTree for Yield { self.call.run(source, context) } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.call.expected_type(context) } } diff --git a/src/error.rs b/src/error.rs index c8d7c79..a18fe85 100644 --- a/src/error.rs +++ b/src/error.rs @@ -5,7 +5,7 @@ use tree_sitter::{Node, Point}; -use crate::{value::Value, Identifier, TypeDefinition}; +use crate::{value::Value, Identifier, Type}; use std::{fmt, io, num::ParseFloatError, string::FromUtf8Error, sync::PoisonError, time}; @@ -21,7 +21,7 @@ pub enum Error { }, TypeCheck { - expected: TypeDefinition, + expected: Type, actual: Value, }, diff --git a/src/main.rs b/src/main.rs index bddda7b..3201348 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ struct Args { show_syntax_tree: bool, /// Launch in interactive mode. - #[arg(short, long)] + #[arg(short = 'n', long)] interactive: bool, /// Location of the file to run. diff --git a/src/value/function.rs b/src/value/function.rs index 3fe2230..deb1b06 100644 --- a/src/value/function.rs +++ b/src/value/function.rs @@ -3,7 +3,7 @@ use std::fmt::{self, Display, Formatter}; use serde::{Deserialize, Serialize}; use tree_sitter::Node; -use crate::{AbstractTree, Block, Error, Identifier, Map, Result, TypeDefinition, Value}; +use crate::{AbstractTree, Block, Error, Identifier, Map, Result, Type, Value}; #[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord)] pub struct Function { @@ -28,7 +28,7 @@ impl AbstractTree for Function { let child_count = node.child_count(); let mut parameters = Vec::new(); - for index in 0..child_count { + for index in 1..child_count - 2 { let child = node.child(index).unwrap(); if child.is_named() { @@ -49,7 +49,7 @@ impl AbstractTree for Function { Ok(return_value) } - fn expected_type(&self, context: &Map) -> Result { + fn expected_type(&self, context: &Map) -> Result { self.body.expected_type(context) } } diff --git a/src/value/mod.rs b/src/value/mod.rs index a878b21..5753a51 100644 --- a/src/value/mod.rs +++ b/src/value/mod.rs @@ -1,7 +1,7 @@ //! Types that represent runtime values. use crate::{ error::{Error, Result}, - AbstractTree, Function, List, Map, Table, TypeDefinition, + AbstractTree, Function, List, Map, Table, Type, }; use serde::{ @@ -43,19 +43,19 @@ pub enum Value { } impl Value { - pub fn r#type(&self, context: &Map) -> Result { + pub fn r#type(&self, context: &Map) -> Result { let r#type = match self { Value::List(list) => { let first_item_type = if let Some(first) = list.items().first() { first.r#type(context)? } else { - TypeDefinition::Empty + Type::Empty }; - TypeDefinition::List(Box::new(first_item_type)) + Type::List(Box::new(first_item_type)) } - Value::Map(_) => TypeDefinition::Map, - Value::Table(_) => TypeDefinition::Table, + Value::Map(_) => Type::Map, + Value::Table(_) => Type::Table, Value::Function(function) => { let parameter_types = Vec::new(); @@ -65,16 +65,16 @@ impl Value { let return_type = function.body().expected_type(context)?; - TypeDefinition::Function { + Type::Function { parameter_types, return_type: Box::new(return_type), } } - Value::String(_) => TypeDefinition::String, - Value::Float(_) => TypeDefinition::Float, - Value::Integer(_) => TypeDefinition::Integer, - Value::Boolean(_) => TypeDefinition::Boolean, - Value::Empty => TypeDefinition::Empty, + Value::String(_) => Type::String, + Value::Float(_) => Type::Float, + Value::Integer(_) => Type::Integer, + Value::Boolean(_) => Type::Boolean, + Value::Empty => Type::Empty, }; Ok(r#type) diff --git a/std/list_functions.ds b/std/list_functions.ds deleted file mode 100644 index a79f09f..0000000 --- a/std/list_functions.ds +++ /dev/null @@ -1,20 +0,0 @@ -find = |list function| => { - for i in list { - if (function i) { - return i - } - } -} - -map = |list function| => { - new_list = [] - - for i in list { - new_list += (function i) - } - - new_list -} - -[0 1 2] -> (map |i| => { i - 1}) - -> (find |i| => { i == 1 }) diff --git a/tree-sitter-dust/src/grammar.json b/tree-sitter-dust/src/grammar.json index 97cba82..8db6c57 100644 --- a/tree-sitter-dust/src/grammar.json +++ b/tree-sitter-dust/src/grammar.json @@ -1080,8 +1080,25 @@ { "type": "REPEAT", "content": { - "type": "SYMBOL", - "name": "type" + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "type" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "BLANK" + } + ] + } + ] } }, { diff --git a/tree-sitter-dust/src/parser.c b/tree-sitter-dust/src/parser.c index 8c92d1b..a785126 100644 --- a/tree-sitter-dust/src/parser.c +++ b/tree-sitter-dust/src/parser.c @@ -6,7 +6,7 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 362 +#define STATE_COUNT 371 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 98 #define ALIAS_COUNT 0 @@ -757,64 +757,64 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [0] = 0, [1] = 1, [2] = 2, - [3] = 3, - [4] = 2, + [3] = 2, + [4] = 4, [5] = 5, [6] = 6, [7] = 5, - [8] = 6, - [9] = 5, - [10] = 6, - [11] = 5, - [12] = 6, - [13] = 6, - [14] = 5, + [8] = 5, + [9] = 6, + [10] = 5, + [11] = 6, + [12] = 5, + [13] = 5, + [14] = 6, [15] = 5, [16] = 6, - [17] = 17, - [18] = 5, + [17] = 6, + [18] = 18, [19] = 6, [20] = 20, [21] = 20, - [22] = 22, + [22] = 20, [23] = 20, - [24] = 20, - [25] = 22, + [24] = 24, + [25] = 24, [26] = 20, - [27] = 22, - [28] = 20, - [29] = 22, - [30] = 20, - [31] = 22, - [32] = 22, - [33] = 22, + [27] = 24, + [28] = 24, + [29] = 20, + [30] = 24, + [31] = 20, + [32] = 24, + [33] = 24, [34] = 34, [35] = 35, [36] = 36, [37] = 37, [38] = 38, - [39] = 38, - [40] = 34, + [39] = 34, + [40] = 40, [41] = 41, - [42] = 35, - [43] = 37, + [42] = 42, + [43] = 43, [44] = 44, - [45] = 44, - [46] = 41, - [47] = 47, - [48] = 48, - [49] = 41, - [50] = 50, - [51] = 51, - [52] = 52, - [53] = 37, + [45] = 42, + [46] = 46, + [47] = 46, + [48] = 42, + [49] = 49, + [50] = 40, + [51] = 37, + [52] = 40, + [53] = 38, [54] = 54, [55] = 54, - [56] = 52, - [57] = 57, - [58] = 51, - [59] = 50, - [60] = 48, + [56] = 35, + [57] = 41, + [58] = 43, + [59] = 44, + [60] = 60, [61] = 61, [62] = 62, [63] = 63, @@ -834,288 +834,297 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [77] = 77, [78] = 78, [79] = 79, - [80] = 80, - [81] = 80, + [80] = 79, + [81] = 81, [82] = 82, [83] = 83, - [84] = 51, - [85] = 35, - [86] = 35, - [87] = 50, - [88] = 71, - [89] = 52, - [90] = 48, - [91] = 68, - [92] = 51, - [93] = 50, - [94] = 52, - [95] = 48, - [96] = 66, - [97] = 72, - [98] = 78, - [99] = 65, - [100] = 62, - [101] = 73, - [102] = 74, - [103] = 69, - [104] = 64, - [105] = 70, - [106] = 77, - [107] = 67, - [108] = 108, - [109] = 63, - [110] = 76, - [111] = 111, + [84] = 67, + [85] = 46, + [86] = 46, + [87] = 41, + [88] = 43, + [89] = 44, + [90] = 64, + [91] = 35, + [92] = 44, + [93] = 43, + [94] = 35, + [95] = 41, + [96] = 78, + [97] = 74, + [98] = 98, + [99] = 75, + [100] = 63, + [101] = 72, + [102] = 68, + [103] = 65, + [104] = 104, + [105] = 61, + [106] = 76, + [107] = 62, + [108] = 69, + [109] = 66, + [110] = 71, + [111] = 70, [112] = 83, [113] = 82, [114] = 114, [115] = 115, [116] = 116, - [117] = 114, - [118] = 114, - [119] = 119, - [120] = 69, - [121] = 121, - [122] = 63, - [123] = 72, - [124] = 62, - [125] = 125, - [126] = 126, - [127] = 127, - [128] = 119, - [129] = 121, - [130] = 126, - [131] = 126, - [132] = 127, - [133] = 119, + [117] = 116, + [118] = 116, + [119] = 71, + [120] = 120, + [121] = 76, + [122] = 68, + [123] = 78, + [124] = 61, + [125] = 63, + [126] = 75, + [127] = 70, + [128] = 72, + [129] = 74, + [130] = 130, + [131] = 69, + [132] = 120, + [133] = 133, [134] = 65, - [135] = 135, - [136] = 76, - [137] = 73, - [138] = 67, - [139] = 121, - [140] = 78, - [141] = 70, - [142] = 66, - [143] = 143, - [144] = 74, - [145] = 127, - [146] = 77, - [147] = 64, - [148] = 68, - [149] = 35, - [150] = 71, - [151] = 48, - [152] = 35, - [153] = 52, - [154] = 51, - [155] = 50, + [135] = 62, + [136] = 136, + [137] = 130, + [138] = 138, + [139] = 139, + [140] = 139, + [141] = 66, + [142] = 130, + [143] = 136, + [144] = 144, + [145] = 139, + [146] = 120, + [147] = 136, + [148] = 64, + [149] = 46, + [150] = 46, + [151] = 35, + [152] = 44, + [153] = 43, + [154] = 41, + [155] = 67, [156] = 156, - [157] = 68, - [158] = 158, + [157] = 157, + [158] = 64, [159] = 159, [160] = 160, [161] = 161, - [162] = 158, - [163] = 159, - [164] = 161, - [165] = 161, - [166] = 160, - [167] = 161, - [168] = 160, - [169] = 169, - [170] = 161, - [171] = 48, - [172] = 161, - [173] = 159, - [174] = 158, - [175] = 169, - [176] = 50, - [177] = 51, - [178] = 71, - [179] = 179, - [180] = 180, - [181] = 52, - [182] = 158, - [183] = 159, - [184] = 161, - [185] = 160, - [186] = 179, - [187] = 187, + [162] = 162, + [163] = 157, + [164] = 162, + [165] = 165, + [166] = 166, + [167] = 167, + [168] = 168, + [169] = 162, + [170] = 166, + [171] = 171, + [172] = 162, + [173] = 35, + [174] = 156, + [175] = 41, + [176] = 43, + [177] = 44, + [178] = 67, + [179] = 162, + [180] = 157, + [181] = 165, + [182] = 165, + [183] = 157, + [184] = 60, + [185] = 162, + [186] = 166, + [187] = 167, [188] = 188, - [189] = 189, - [190] = 188, + [189] = 157, + [190] = 165, [191] = 191, [192] = 192, - [193] = 193, - [194] = 180, - [195] = 195, - [196] = 179, - [197] = 195, - [198] = 57, - [199] = 158, - [200] = 191, - [201] = 169, - [202] = 159, - [203] = 160, - [204] = 158, - [205] = 159, - [206] = 160, - [207] = 180, - [208] = 189, - [209] = 169, - [210] = 160, - [211] = 161, - [212] = 159, - [213] = 158, - [214] = 156, - [215] = 158, - [216] = 159, + [193] = 191, + [194] = 162, + [195] = 157, + [196] = 165, + [197] = 197, + [198] = 166, + [199] = 162, + [200] = 165, + [201] = 192, + [202] = 156, + [203] = 166, + [204] = 157, + [205] = 165, + [206] = 166, + [207] = 166, + [208] = 191, + [209] = 192, + [210] = 188, + [211] = 171, + [212] = 157, + [213] = 165, + [214] = 166, + [215] = 156, + [216] = 168, [217] = 160, - [218] = 193, - [219] = 71, - [220] = 68, - [221] = 75, - [222] = 222, + [218] = 159, + [219] = 67, + [220] = 73, + [221] = 64, + [222] = 64, [223] = 223, - [224] = 224, + [224] = 67, [225] = 225, [226] = 226, [227] = 227, - [228] = 71, + [228] = 228, [229] = 229, [230] = 230, [231] = 231, [232] = 232, - [233] = 68, - [234] = 222, - [235] = 235, + [233] = 233, + [234] = 234, + [235] = 223, [236] = 236, - [237] = 48, - [238] = 35, - [239] = 80, - [240] = 79, - [241] = 52, - [242] = 80, - [243] = 35, - [244] = 50, - [245] = 51, - [246] = 246, - [247] = 247, - [248] = 52, - [249] = 51, - [250] = 50, + [237] = 46, + [238] = 41, + [239] = 43, + [240] = 44, + [241] = 81, + [242] = 35, + [243] = 79, + [244] = 79, + [245] = 46, + [246] = 43, + [247] = 44, + [248] = 248, + [249] = 248, + [250] = 250, [251] = 251, - [252] = 251, - [253] = 48, - [254] = 254, - [255] = 247, - [256] = 246, - [257] = 254, + [252] = 252, + [253] = 251, + [254] = 35, + [255] = 250, + [256] = 252, + [257] = 41, [258] = 258, [259] = 259, [260] = 259, - [261] = 71, - [262] = 68, - [263] = 226, + [261] = 234, + [262] = 67, + [263] = 64, [264] = 264, [265] = 265, [266] = 266, - [267] = 267, + [267] = 266, [268] = 268, [269] = 269, - [270] = 270, - [271] = 271, + [270] = 265, + [271] = 264, [272] = 272, [273] = 273, [274] = 274, [275] = 275, [276] = 276, - [277] = 277, - [278] = 116, + [277] = 276, + [278] = 278, [279] = 279, [280] = 280, - [281] = 115, + [281] = 281, [282] = 282, - [283] = 143, - [284] = 192, - [285] = 187, - [286] = 286, - [287] = 222, - [288] = 223, - [289] = 222, - [290] = 225, - [291] = 227, - [292] = 230, - [293] = 224, - [294] = 232, - [295] = 229, - [296] = 236, - [297] = 231, - [298] = 235, - [299] = 286, - [300] = 300, - [301] = 301, - [302] = 302, - [303] = 303, - [304] = 304, - [305] = 305, - [306] = 306, - [307] = 307, - [308] = 308, + [283] = 283, + [284] = 284, + [285] = 285, + [286] = 114, + [287] = 287, + [288] = 283, + [289] = 284, + [290] = 285, + [291] = 115, + [292] = 133, + [293] = 197, + [294] = 161, + [295] = 295, + [296] = 232, + [297] = 223, + [298] = 230, + [299] = 233, + [300] = 228, + [301] = 226, + [302] = 236, + [303] = 227, + [304] = 295, + [305] = 229, + [306] = 223, + [307] = 225, + [308] = 231, [309] = 309, - [310] = 300, - [311] = 300, - [312] = 307, - [313] = 307, - [314] = 308, - [315] = 301, - [316] = 304, + [310] = 310, + [311] = 311, + [312] = 312, + [313] = 313, + [314] = 314, + [315] = 315, + [316] = 316, [317] = 317, - [318] = 306, - [319] = 308, - [320] = 301, - [321] = 305, - [322] = 317, - [323] = 323, + [318] = 318, + [319] = 312, + [320] = 310, + [321] = 321, + [322] = 311, + [323] = 315, [324] = 324, - [325] = 317, + [325] = 311, [326] = 326, - [327] = 304, - [328] = 328, - [329] = 301, - [330] = 317, - [331] = 304, - [332] = 308, - [333] = 333, - [334] = 333, - [335] = 333, - [336] = 336, - [337] = 333, - [338] = 338, - [339] = 333, - [340] = 333, - [341] = 333, - [342] = 333, - [343] = 343, + [327] = 310, + [328] = 321, + [329] = 309, + [330] = 314, + [331] = 331, + [332] = 315, + [333] = 310, + [334] = 334, + [335] = 321, + [336] = 309, + [337] = 318, + [338] = 312, + [339] = 312, + [340] = 311, + [341] = 315, + [342] = 342, + [343] = 342, [344] = 344, - [345] = 345, - [346] = 346, - [347] = 346, - [348] = 346, - [349] = 346, - [350] = 344, - [351] = 351, - [352] = 343, - [353] = 346, - [354] = 346, - [355] = 345, - [356] = 346, + [345] = 342, + [346] = 342, + [347] = 342, + [348] = 342, + [349] = 342, + [350] = 350, + [351] = 342, + [352] = 352, + [353] = 353, + [354] = 354, + [355] = 355, + [356] = 355, [357] = 357, - [358] = 358, - [359] = 344, - [360] = 357, - [361] = 361, + [358] = 357, + [359] = 359, + [360] = 353, + [361] = 352, + [362] = 362, + [363] = 355, + [364] = 357, + [365] = 365, + [366] = 355, + [367] = 355, + [368] = 355, + [369] = 355, + [370] = 354, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -1984,23 +1993,23 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [34] = {.lex_state = 28}, [35] = {.lex_state = 27}, [36] = {.lex_state = 28}, - [37] = {.lex_state = 1}, + [37] = {.lex_state = 28}, [38] = {.lex_state = 28}, [39] = {.lex_state = 28}, - [40] = {.lex_state = 28}, - [41] = {.lex_state = 1}, - [42] = {.lex_state = 27}, - [43] = {.lex_state = 1}, - [44] = {.lex_state = 28}, - [45] = {.lex_state = 28}, - [46] = {.lex_state = 1}, - [47] = {.lex_state = 28}, - [48] = {.lex_state = 27}, - [49] = {.lex_state = 1}, - [50] = {.lex_state = 27}, - [51] = {.lex_state = 27}, - [52] = {.lex_state = 27}, - [53] = {.lex_state = 1}, + [40] = {.lex_state = 1}, + [41] = {.lex_state = 27}, + [42] = {.lex_state = 1}, + [43] = {.lex_state = 27}, + [44] = {.lex_state = 27}, + [45] = {.lex_state = 1}, + [46] = {.lex_state = 27}, + [47] = {.lex_state = 27}, + [48] = {.lex_state = 1}, + [49] = {.lex_state = 28}, + [50] = {.lex_state = 1}, + [51] = {.lex_state = 28}, + [52] = {.lex_state = 1}, + [53] = {.lex_state = 28}, [54] = {.lex_state = 1}, [55] = {.lex_state = 1}, [56] = {.lex_state = 27}, @@ -2061,54 +2070,54 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [111] = {.lex_state = 1}, [112] = {.lex_state = 6}, [113] = {.lex_state = 6}, - [114] = {.lex_state = 1}, + [114] = {.lex_state = 29}, [115] = {.lex_state = 29}, - [116] = {.lex_state = 29}, + [116] = {.lex_state = 1}, [117] = {.lex_state = 1}, [118] = {.lex_state = 1}, - [119] = {.lex_state = 6}, - [120] = {.lex_state = 2}, - [121] = {.lex_state = 6}, + [119] = {.lex_state = 2}, + [120] = {.lex_state = 6}, + [121] = {.lex_state = 2}, [122] = {.lex_state = 2}, [123] = {.lex_state = 2}, [124] = {.lex_state = 2}, - [125] = {.lex_state = 6}, - [126] = {.lex_state = 6}, - [127] = {.lex_state = 6}, - [128] = {.lex_state = 6}, - [129] = {.lex_state = 6}, + [125] = {.lex_state = 2}, + [126] = {.lex_state = 2}, + [127] = {.lex_state = 2}, + [128] = {.lex_state = 2}, + [129] = {.lex_state = 2}, [130] = {.lex_state = 6}, - [131] = {.lex_state = 6}, + [131] = {.lex_state = 2}, [132] = {.lex_state = 6}, - [133] = {.lex_state = 6}, + [133] = {.lex_state = 29}, [134] = {.lex_state = 2}, - [135] = {.lex_state = 6}, - [136] = {.lex_state = 2}, - [137] = {.lex_state = 2}, - [138] = {.lex_state = 2}, + [135] = {.lex_state = 2}, + [136] = {.lex_state = 6}, + [137] = {.lex_state = 6}, + [138] = {.lex_state = 6}, [139] = {.lex_state = 6}, - [140] = {.lex_state = 2}, + [140] = {.lex_state = 6}, [141] = {.lex_state = 2}, - [142] = {.lex_state = 2}, - [143] = {.lex_state = 29}, - [144] = {.lex_state = 2}, + [142] = {.lex_state = 6}, + [143] = {.lex_state = 6}, + [144] = {.lex_state = 6}, [145] = {.lex_state = 6}, - [146] = {.lex_state = 2}, - [147] = {.lex_state = 2}, + [146] = {.lex_state = 6}, + [147] = {.lex_state = 6}, [148] = {.lex_state = 4}, [149] = {.lex_state = 3}, - [150] = {.lex_state = 4}, + [150] = {.lex_state = 3}, [151] = {.lex_state = 3}, [152] = {.lex_state = 3}, [153] = {.lex_state = 3}, [154] = {.lex_state = 3}, - [155] = {.lex_state = 3}, + [155] = {.lex_state = 4}, [156] = {.lex_state = 6}, - [157] = {.lex_state = 29}, - [158] = {.lex_state = 6}, + [157] = {.lex_state = 6}, + [158] = {.lex_state = 29}, [159] = {.lex_state = 6}, [160] = {.lex_state = 6}, - [161] = {.lex_state = 6}, + [161] = {.lex_state = 29}, [162] = {.lex_state = 6}, [163] = {.lex_state = 6}, [164] = {.lex_state = 6}, @@ -2118,34 +2127,34 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [168] = {.lex_state = 6}, [169] = {.lex_state = 6}, [170] = {.lex_state = 6}, - [171] = {.lex_state = 3}, + [171] = {.lex_state = 6}, [172] = {.lex_state = 6}, - [173] = {.lex_state = 6}, + [173] = {.lex_state = 3}, [174] = {.lex_state = 6}, - [175] = {.lex_state = 6}, + [175] = {.lex_state = 3}, [176] = {.lex_state = 3}, [177] = {.lex_state = 3}, [178] = {.lex_state = 29}, [179] = {.lex_state = 6}, [180] = {.lex_state = 6}, - [181] = {.lex_state = 3}, + [181] = {.lex_state = 6}, [182] = {.lex_state = 6}, [183] = {.lex_state = 6}, - [184] = {.lex_state = 6}, + [184] = {.lex_state = 3}, [185] = {.lex_state = 6}, [186] = {.lex_state = 6}, - [187] = {.lex_state = 29}, + [187] = {.lex_state = 6}, [188] = {.lex_state = 6}, [189] = {.lex_state = 6}, [190] = {.lex_state = 6}, [191] = {.lex_state = 6}, - [192] = {.lex_state = 29}, + [192] = {.lex_state = 6}, [193] = {.lex_state = 6}, [194] = {.lex_state = 6}, [195] = {.lex_state = 6}, [196] = {.lex_state = 6}, - [197] = {.lex_state = 6}, - [198] = {.lex_state = 3}, + [197] = {.lex_state = 29}, + [198] = {.lex_state = 6}, [199] = {.lex_state = 6}, [200] = {.lex_state = 6}, [201] = {.lex_state = 6}, @@ -2186,25 +2195,25 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [236] = {.lex_state = 28}, [237] = {.lex_state = 5}, [238] = {.lex_state = 5}, - [239] = {.lex_state = 2}, - [240] = {.lex_state = 2}, - [241] = {.lex_state = 5}, - [242] = {.lex_state = 2}, - [243] = {.lex_state = 5}, - [244] = {.lex_state = 5}, + [239] = {.lex_state = 5}, + [240] = {.lex_state = 5}, + [241] = {.lex_state = 2}, + [242] = {.lex_state = 5}, + [243] = {.lex_state = 2}, + [244] = {.lex_state = 2}, [245] = {.lex_state = 5}, - [246] = {.lex_state = 2}, - [247] = {.lex_state = 2}, - [248] = {.lex_state = 5}, - [249] = {.lex_state = 5}, - [250] = {.lex_state = 5}, + [246] = {.lex_state = 5}, + [247] = {.lex_state = 5}, + [248] = {.lex_state = 2}, + [249] = {.lex_state = 2}, + [250] = {.lex_state = 2}, [251] = {.lex_state = 2}, [252] = {.lex_state = 2}, - [253] = {.lex_state = 5}, - [254] = {.lex_state = 2}, + [253] = {.lex_state = 2}, + [254] = {.lex_state = 5}, [255] = {.lex_state = 2}, [256] = {.lex_state = 2}, - [257] = {.lex_state = 2}, + [257] = {.lex_state = 5}, [258] = {.lex_state = 28}, [259] = {.lex_state = 4}, [260] = {.lex_state = 4}, @@ -2224,91 +2233,100 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [274] = {.lex_state = 6}, [275] = {.lex_state = 6}, [276] = {.lex_state = 6}, - [277] = {.lex_state = 1}, - [278] = {.lex_state = 4}, - [279] = {.lex_state = 1}, - [280] = {.lex_state = 1}, - [281] = {.lex_state = 4}, - [282] = {.lex_state = 1}, - [283] = {.lex_state = 4}, - [284] = {.lex_state = 4}, - [285] = {.lex_state = 4}, - [286] = {.lex_state = 28}, + [277] = {.lex_state = 6}, + [278] = {.lex_state = 6}, + [279] = {.lex_state = 6}, + [280] = {.lex_state = 6}, + [281] = {.lex_state = 6}, + [282] = {.lex_state = 6}, + [283] = {.lex_state = 1}, + [284] = {.lex_state = 1}, + [285] = {.lex_state = 1}, + [286] = {.lex_state = 4}, [287] = {.lex_state = 1}, [288] = {.lex_state = 1}, [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}, + [291] = {.lex_state = 4}, + [292] = {.lex_state = 4}, + [293] = {.lex_state = 4}, + [294] = {.lex_state = 4}, + [295] = {.lex_state = 28}, [296] = {.lex_state = 1}, [297] = {.lex_state = 1}, [298] = {.lex_state = 1}, - [299] = {.lex_state = 28}, + [299] = {.lex_state = 1}, [300] = {.lex_state = 1}, [301] = {.lex_state = 1}, - [302] = {.lex_state = 28}, + [302] = {.lex_state = 1}, [303] = {.lex_state = 1}, - [304] = {.lex_state = 6}, + [304] = {.lex_state = 28}, [305] = {.lex_state = 1}, [306] = {.lex_state = 1}, [307] = {.lex_state = 1}, - [308] = {.lex_state = 6}, + [308] = {.lex_state = 1}, [309] = {.lex_state = 1}, [310] = {.lex_state = 1}, - [311] = {.lex_state = 1}, + [311] = {.lex_state = 6}, [312] = {.lex_state = 1}, - [313] = {.lex_state = 1}, - [314] = {.lex_state = 6}, - [315] = {.lex_state = 1}, - [316] = {.lex_state = 6}, - [317] = {.lex_state = 1}, + [313] = {.lex_state = 28}, + [314] = {.lex_state = 1}, + [315] = {.lex_state = 6}, + [316] = {.lex_state = 1}, + [317] = {.lex_state = 6}, [318] = {.lex_state = 1}, - [319] = {.lex_state = 6}, + [319] = {.lex_state = 1}, [320] = {.lex_state = 1}, [321] = {.lex_state = 1}, - [322] = {.lex_state = 1}, + [322] = {.lex_state = 6}, [323] = {.lex_state = 6}, [324] = {.lex_state = 6}, - [325] = {.lex_state = 1}, + [325] = {.lex_state = 6}, [326] = {.lex_state = 6}, - [327] = {.lex_state = 6}, - [328] = {.lex_state = 6}, + [327] = {.lex_state = 1}, + [328] = {.lex_state = 1}, [329] = {.lex_state = 1}, [330] = {.lex_state = 1}, - [331] = {.lex_state = 6}, + [331] = {.lex_state = 1}, [332] = {.lex_state = 6}, - [333] = {.lex_state = 28}, - [334] = {.lex_state = 28}, - [335] = {.lex_state = 28}, + [333] = {.lex_state = 1}, + [334] = {.lex_state = 6}, + [335] = {.lex_state = 1}, [336] = {.lex_state = 1}, - [337] = {.lex_state = 28}, - [338] = {.lex_state = 6}, - [339] = {.lex_state = 28}, - [340] = {.lex_state = 28}, - [341] = {.lex_state = 28}, + [337] = {.lex_state = 1}, + [338] = {.lex_state = 1}, + [339] = {.lex_state = 1}, + [340] = {.lex_state = 6}, + [341] = {.lex_state = 6}, [342] = {.lex_state = 28}, - [343] = {.lex_state = 1}, - [344] = {.lex_state = 0}, - [345] = {.lex_state = 1}, - [346] = {.lex_state = 0}, - [347] = {.lex_state = 0}, - [348] = {.lex_state = 0}, - [349] = {.lex_state = 0}, - [350] = {.lex_state = 0}, + [343] = {.lex_state = 28}, + [344] = {.lex_state = 1}, + [345] = {.lex_state = 28}, + [346] = {.lex_state = 28}, + [347] = {.lex_state = 28}, + [348] = {.lex_state = 28}, + [349] = {.lex_state = 28}, + [350] = {.lex_state = 6}, [351] = {.lex_state = 28}, [352] = {.lex_state = 1}, [353] = {.lex_state = 0}, - [354] = {.lex_state = 0}, - [355] = {.lex_state = 1}, + [354] = {.lex_state = 1}, + [355] = {.lex_state = 0}, [356] = {.lex_state = 0}, [357] = {.lex_state = 0}, - [358] = {.lex_state = 28}, - [359] = {.lex_state = 0}, + [358] = {.lex_state = 0}, + [359] = {.lex_state = 28}, [360] = {.lex_state = 0}, - [361] = {.lex_state = 0}, + [361] = {.lex_state = 1}, + [362] = {.lex_state = 0}, + [363] = {.lex_state = 0}, + [364] = {.lex_state = 0}, + [365] = {.lex_state = 28}, + [366] = {.lex_state = 0}, + [367] = {.lex_state = 0}, + [368] = {.lex_state = 0}, + [369] = {.lex_state = 0}, + [370] = {.lex_state = 1}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2372,32 +2390,32 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_str] = ACTIONS(1), }, [1] = { - [sym_root] = STATE(361), - [sym_block] = STATE(222), - [sym_statement] = STATE(17), - [sym_expression] = STATE(80), - [sym__expression_kind] = STATE(74), - [sym_value] = STATE(74), - [sym_boolean] = STATE(77), - [sym_list] = STATE(77), - [sym_map] = STATE(77), - [sym_index] = STATE(75), - [sym_math] = STATE(74), - [sym_logic] = STATE(74), - [sym_assignment] = STATE(222), - [sym_index_assignment] = STATE(222), - [sym_if_else] = STATE(222), - [sym_if] = STATE(115), - [sym_match] = STATE(222), - [sym_while] = STATE(222), - [sym_for] = STATE(222), - [sym_table] = STATE(77), - [sym_return] = STATE(222), - [sym_use] = STATE(222), - [sym_function] = STATE(77), - [sym_function_call] = STATE(74), - [sym_yield] = STATE(74), - [aux_sym_root_repeat1] = STATE(17), + [sym_root] = STATE(362), + [sym_block] = STATE(223), + [sym_statement] = STATE(18), + [sym_expression] = STATE(79), + [sym__expression_kind] = STATE(61), + [sym_value] = STATE(61), + [sym_boolean] = STATE(75), + [sym_list] = STATE(75), + [sym_map] = STATE(75), + [sym_index] = STATE(73), + [sym_math] = STATE(61), + [sym_logic] = STATE(61), + [sym_assignment] = STATE(223), + [sym_index_assignment] = STATE(223), + [sym_if_else] = STATE(223), + [sym_if] = STATE(114), + [sym_match] = STATE(223), + [sym_while] = STATE(223), + [sym_for] = STATE(223), + [sym_table] = STATE(75), + [sym_return] = STATE(223), + [sym_use] = STATE(223), + [sym_function] = STATE(75), + [sym_function_call] = STATE(61), + [sym_yield] = STATE(61), + [aux_sym_root_repeat1] = STATE(18), [sym_identifier] = ACTIONS(5), [sym__comment] = ACTIONS(3), [anon_sym_async] = ACTIONS(7), @@ -2457,13 +2475,13 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, ACTIONS(41), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, - STATE(310), 1, + STATE(329), 1, aux_sym_map_repeat1, ACTIONS(15), 2, sym_float, @@ -2471,23 +2489,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(13), 2, + STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2497,81 +2515,7 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [102] = 26, - ACTIONS(3), 1, - sym__comment, - ACTIONS(45), 1, - sym_identifier, - ACTIONS(48), 1, - anon_sym_async, - ACTIONS(51), 1, - anon_sym_LBRACE, - ACTIONS(54), 1, - anon_sym_LPAREN, - ACTIONS(57), 1, - sym_integer, - ACTIONS(66), 1, - anon_sym_LBRACK, - ACTIONS(69), 1, - anon_sym_if, - ACTIONS(72), 1, - anon_sym_match, - ACTIONS(75), 1, - anon_sym_while, - ACTIONS(78), 1, - anon_sym_for, - ACTIONS(81), 1, - anon_sym_asyncfor, - ACTIONS(84), 1, - anon_sym_PIPE, - ACTIONS(87), 1, - anon_sym_table, - ACTIONS(90), 1, - anon_sym_return, - ACTIONS(93), 1, - anon_sym_use, - STATE(75), 1, - sym_index, - STATE(80), 1, - sym_expression, - STATE(115), 1, - sym_if, - ACTIONS(43), 2, - ts_builtin_sym_end, - anon_sym_RBRACE, - ACTIONS(60), 2, - sym_float, - sym_string, - ACTIONS(63), 2, - anon_sym_true, - anon_sym_false, - STATE(3), 2, - sym_statement, - aux_sym_root_repeat1, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(222), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [202] = 27, + [102] = 27, ACTIONS(3), 1, sym__comment, ACTIONS(7), 1, @@ -2604,15 +2548,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(39), 1, sym_identifier, - ACTIONS(96), 1, + ACTIONS(43), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, - STATE(300), 1, + STATE(309), 1, aux_sym_map_repeat1, ACTIONS(15), 2, sym_float, @@ -2620,23 +2564,97 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(10), 2, + STATE(8), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [204] = 26, + ACTIONS(3), 1, + sym__comment, + ACTIONS(47), 1, + sym_identifier, + ACTIONS(50), 1, + anon_sym_async, + ACTIONS(53), 1, + anon_sym_LBRACE, + ACTIONS(56), 1, + anon_sym_LPAREN, + ACTIONS(59), 1, + sym_integer, + ACTIONS(68), 1, + anon_sym_LBRACK, + ACTIONS(71), 1, + anon_sym_if, + ACTIONS(74), 1, + anon_sym_match, + ACTIONS(77), 1, + anon_sym_while, + ACTIONS(80), 1, + anon_sym_for, + ACTIONS(83), 1, + anon_sym_asyncfor, + ACTIONS(86), 1, + anon_sym_PIPE, + ACTIONS(89), 1, + anon_sym_table, + ACTIONS(92), 1, + anon_sym_return, + ACTIONS(95), 1, + anon_sym_use, + STATE(73), 1, + sym_index, + STATE(79), 1, + sym_expression, + STATE(114), 1, + sym_if, + ACTIONS(45), 2, + ts_builtin_sym_end, + anon_sym_RBRACE, + ACTIONS(62), 2, + sym_float, + sym_string, + ACTIONS(65), 2, + anon_sym_true, + anon_sym_false, + STATE(4), 2, + sym_statement, + aux_sym_root_repeat1, + STATE(75), 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(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2681,11 +2699,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(98), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -2693,23 +2711,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2754,11 +2772,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(100), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -2766,23 +2784,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2827,11 +2845,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(102), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -2839,23 +2857,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2900,11 +2918,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(104), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -2912,23 +2930,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -2973,11 +2991,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(106), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -2985,23 +3003,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3046,11 +3064,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(108), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3058,23 +3076,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3119,11 +3137,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(110), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3131,23 +3149,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3192,11 +3210,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(112), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3204,23 +3222,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3265,11 +3283,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(114), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3277,23 +3295,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3338,11 +3356,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(116), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3350,23 +3368,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3411,11 +3429,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(118), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3423,23 +3441,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3484,11 +3502,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(120), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3496,23 +3514,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3556,12 +3574,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(37), 1, anon_sym_use, ACTIONS(122), 1, - ts_builtin_sym_end, - STATE(75), 1, + anon_sym_RBRACE, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3569,23 +3587,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3629,12 +3647,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(37), 1, anon_sym_use, ACTIONS(124), 1, - anon_sym_RBRACE, - STATE(75), 1, + ts_builtin_sym_end, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3642,23 +3660,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3703,11 +3721,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_use, ACTIONS(126), 1, anon_sym_RBRACE, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3715,23 +3733,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(3), 2, + STATE(4), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3774,11 +3792,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3786,23 +3804,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(11), 2, + STATE(7), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3845,11 +3863,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3857,23 +3875,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(18), 2, + STATE(10), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3916,11 +3934,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -3931,20 +3949,20 @@ static const uint16_t ts_small_parse_table[] = { STATE(13), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -3987,11 +4005,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4002,20 +4020,20 @@ static const uint16_t ts_small_parse_table[] = { STATE(5), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4058,11 +4076,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4070,23 +4088,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(9), 2, + STATE(16), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4129,11 +4147,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4141,23 +4159,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(19), 2, + STATE(6), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4200,11 +4218,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4212,23 +4230,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(14), 2, + STATE(15), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4271,11 +4289,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4283,23 +4301,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(10), 2, + STATE(14), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4342,11 +4360,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4354,23 +4372,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(15), 2, + STATE(9), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4413,11 +4431,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4425,23 +4443,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(6), 2, + STATE(8), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4484,11 +4502,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4496,23 +4514,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(7), 2, + STATE(19), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4555,11 +4573,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4567,23 +4585,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(8), 2, + STATE(12), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4626,11 +4644,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4638,23 +4656,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(16), 2, + STATE(17), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4697,11 +4715,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_return, ACTIONS(37), 1, anon_sym_use, - STATE(75), 1, + STATE(73), 1, sym_index, - STATE(80), 1, + STATE(79), 1, sym_expression, - STATE(115), 1, + STATE(114), 1, sym_if, ACTIONS(15), 2, sym_float, @@ -4709,23 +4727,23 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(12), 2, + STATE(11), 2, sym_statement, aux_sym_root_repeat1, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(61), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(222), 9, + STATE(223), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4738,64 +4756,64 @@ static const uint16_t ts_small_parse_table[] = { [3133] = 25, ACTIONS(3), 1, sym__comment, - ACTIONS(5), 1, + ACTIONS(128), 1, sym_identifier, - ACTIONS(7), 1, + ACTIONS(130), 1, anon_sym_async, - ACTIONS(9), 1, + ACTIONS(132), 1, anon_sym_LBRACE, - ACTIONS(11), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(13), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(19), 1, + ACTIONS(142), 1, anon_sym_LBRACK, - ACTIONS(21), 1, + ACTIONS(144), 1, anon_sym_if, - ACTIONS(23), 1, + ACTIONS(146), 1, anon_sym_match, - ACTIONS(25), 1, + ACTIONS(148), 1, anon_sym_while, - ACTIONS(27), 1, + ACTIONS(150), 1, anon_sym_for, - ACTIONS(29), 1, + ACTIONS(152), 1, anon_sym_asyncfor, - ACTIONS(31), 1, + ACTIONS(154), 1, anon_sym_PIPE, - ACTIONS(33), 1, + ACTIONS(156), 1, anon_sym_table, - ACTIONS(35), 1, + ACTIONS(158), 1, anon_sym_return, - ACTIONS(37), 1, + ACTIONS(160), 1, anon_sym_use, - STATE(75), 1, + STATE(220), 1, sym_index, - STATE(81), 1, + STATE(244), 1, sym_expression, - STATE(115), 1, + STATE(286), 1, sym_if, - STATE(225), 1, + STATE(299), 1, sym_statement, - ACTIONS(15), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(17), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(77), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 6, + STATE(124), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(234), 9, + STATE(297), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4808,11 +4826,11 @@ static const uint16_t ts_small_parse_table[] = { [3228] = 5, ACTIONS(3), 1, sym__comment, - STATE(215), 1, + STATE(212), 1, sym_logic_operator, - STATE(216), 1, + STATE(213), 1, sym_math_operator, - ACTIONS(130), 18, + ACTIONS(164), 18, anon_sym_async, sym_identifier, sym_integer, @@ -4831,7 +4849,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(128), 23, + ACTIONS(162), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -4858,64 +4876,64 @@ static const uint16_t ts_small_parse_table[] = { [3283] = 25, ACTIONS(3), 1, sym__comment, - ACTIONS(132), 1, + ACTIONS(128), 1, sym_identifier, - ACTIONS(134), 1, + ACTIONS(130), 1, anon_sym_async, - ACTIONS(136), 1, + ACTIONS(132), 1, anon_sym_LBRACE, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, - ACTIONS(148), 1, + ACTIONS(144), 1, anon_sym_if, - ACTIONS(150), 1, + ACTIONS(146), 1, anon_sym_match, - ACTIONS(152), 1, + ACTIONS(148), 1, anon_sym_while, - ACTIONS(154), 1, + ACTIONS(150), 1, anon_sym_for, - ACTIONS(156), 1, + ACTIONS(152), 1, anon_sym_asyncfor, - ACTIONS(158), 1, + ACTIONS(154), 1, anon_sym_PIPE, - ACTIONS(160), 1, + ACTIONS(156), 1, anon_sym_table, - ACTIONS(162), 1, + ACTIONS(158), 1, anon_sym_return, - ACTIONS(164), 1, + ACTIONS(160), 1, anon_sym_use, - STATE(221), 1, + STATE(220), 1, sym_index, - STATE(239), 1, + STATE(243), 1, sym_expression, - STATE(281), 1, + STATE(286), 1, sym_if, - STATE(303), 1, + STATE(316), 1, sym_statement, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 6, + STATE(124), 6, sym__expression_kind, sym_value, sym_math, sym_logic, sym_function_call, sym_yield, - STATE(287), 9, + STATE(306), 9, sym_block, sym_assignment, sym_index_assignment, @@ -4925,7 +4943,217 @@ static const uint16_t ts_small_parse_table[] = { sym_for, sym_return, sym_use, - [3378] = 23, + [3378] = 25, + 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_PIPE, + ACTIONS(33), 1, + anon_sym_table, + ACTIONS(35), 1, + anon_sym_return, + ACTIONS(37), 1, + anon_sym_use, + STATE(73), 1, + sym_index, + STATE(80), 1, + sym_expression, + STATE(114), 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(75), 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(235), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3473] = 25, + 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_PIPE, + ACTIONS(33), 1, + anon_sym_table, + ACTIONS(35), 1, + anon_sym_return, + ACTIONS(37), 1, + anon_sym_use, + STATE(73), 1, + sym_index, + STATE(80), 1, + sym_expression, + STATE(114), 1, + sym_if, + STATE(228), 1, + sym_statement, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(75), 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(235), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3568] = 25, + 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_PIPE, + ACTIONS(33), 1, + anon_sym_table, + ACTIONS(35), 1, + anon_sym_return, + ACTIONS(37), 1, + anon_sym_use, + STATE(73), 1, + sym_index, + STATE(80), 1, + sym_expression, + STATE(114), 1, + sym_if, + STATE(233), 1, + sym_statement, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(75), 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(235), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [3663] = 23, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -4950,13 +5178,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(196), 1, anon_sym_DASH_GT, - STATE(111), 1, + STATE(104), 1, sym_expression, - STATE(145), 1, + STATE(146), 1, aux_sym__expression_list, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, ACTIONS(176), 2, sym_float, @@ -4972,7 +5200,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, @@ -4985,7 +5213,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -4993,388 +5221,27 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [3469] = 25, + [3754] = 11, 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_PIPE, - ACTIONS(33), 1, - anon_sym_table, - ACTIONS(35), 1, - anon_sym_return, - ACTIONS(37), 1, - anon_sym_use, - STATE(75), 1, - sym_index, - STATE(81), 1, - sym_expression, - STATE(115), 1, - sym_if, - STATE(223), 1, - sym_statement, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(234), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3564] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(132), 1, - sym_identifier, - ACTIONS(134), 1, - anon_sym_async, - ACTIONS(136), 1, - anon_sym_LBRACE, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(148), 1, - anon_sym_if, - ACTIONS(150), 1, - anon_sym_match, - ACTIONS(152), 1, - anon_sym_while, - ACTIONS(154), 1, - anon_sym_for, - ACTIONS(156), 1, - anon_sym_asyncfor, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(160), 1, - anon_sym_table, - ACTIONS(162), 1, - anon_sym_return, - ACTIONS(164), 1, - anon_sym_use, - STATE(221), 1, - sym_index, - STATE(242), 1, - sym_expression, - STATE(281), 1, - sym_if, - STATE(288), 1, - sym_statement, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(289), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3659] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(132), 1, - sym_identifier, - ACTIONS(134), 1, - anon_sym_async, - ACTIONS(136), 1, - anon_sym_LBRACE, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(148), 1, - anon_sym_if, - ACTIONS(150), 1, - anon_sym_match, - ACTIONS(152), 1, - anon_sym_while, - ACTIONS(154), 1, - anon_sym_for, - ACTIONS(156), 1, - anon_sym_asyncfor, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(160), 1, - anon_sym_table, - ACTIONS(162), 1, - anon_sym_return, - ACTIONS(164), 1, - anon_sym_use, - STATE(221), 1, - sym_index, - STATE(242), 1, - sym_expression, - STATE(281), 1, - sym_if, - STATE(290), 1, - sym_statement, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(289), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [3754] = 23, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(182), 1, - anon_sym_COLON, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(192), 1, - anon_sym_PIPE, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(196), 1, - anon_sym_DASH_GT, - ACTIONS(198), 1, - anon_sym_RPAREN, - STATE(111), 1, - sym_expression, - STATE(126), 1, - aux_sym__expression_list, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - ACTIONS(188), 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(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [3845] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(200), 1, - anon_sym_DOT_DOT, - STATE(215), 1, - sym_logic_operator, - STATE(216), 1, - sym_math_operator, - ACTIONS(130), 18, - 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_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(128), 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, - [3902] = 23, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(182), 1, - anon_sym_COLON, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(192), 1, - anon_sym_PIPE, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(196), 1, - anon_sym_DASH_GT, ACTIONS(202), 1, - anon_sym_RPAREN, - STATE(111), 1, - sym_expression, - STATE(127), 1, - aux_sym__expression_list, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, + anon_sym_COLON, + ACTIONS(204), 1, + anon_sym_DASH_GT, + STATE(212), 1, sym_logic_operator, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, + STATE(213), 1, + sym_math_operator, + ACTIONS(186), 2, + anon_sym_PLUS, + anon_sym_DASH, ACTIONS(190), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, + ACTIONS(184), 3, anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, ACTIONS(188), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, @@ -5382,155 +5249,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [3993] = 25, - ACTIONS(3), 1, - sym__comment, - ACTIONS(132), 1, - sym_identifier, - ACTIONS(134), 1, - anon_sym_async, - ACTIONS(136), 1, + ACTIONS(198), 12, + ts_builtin_sym_end, anon_sym_LBRACE, - ACTIONS(138), 1, + anon_sym_RBRACE, + anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(148), 1, - anon_sym_if, - ACTIONS(150), 1, - anon_sym_match, - ACTIONS(152), 1, - anon_sym_while, - ACTIONS(154), 1, - anon_sym_for, - ACTIONS(156), 1, - anon_sym_asyncfor, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(160), 1, - anon_sym_table, - ACTIONS(162), 1, - anon_sym_return, - ACTIONS(164), 1, - anon_sym_use, - STATE(221), 1, - sym_index, - STATE(242), 1, - sym_expression, - STATE(281), 1, - sym_if, - STATE(298), 1, - sym_statement, - ACTIONS(142), 2, sym_float, sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(289), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [4088] = 25, - 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_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, anon_sym_asyncfor, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(33), 1, - anon_sym_table, - ACTIONS(35), 1, - anon_sym_return, - ACTIONS(37), 1, - anon_sym_use, - STATE(75), 1, - sym_index, - STATE(81), 1, - sym_expression, - STATE(115), 1, - sym_if, - STATE(235), 1, - sym_statement, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, + ACTIONS(200), 14, + anon_sym_async, + sym_identifier, + sym_integer, anon_sym_true, anon_sym_false, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(234), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [4183] = 23, + anon_sym_EQ, + anon_sym_if, + anon_sym_match, + anon_sym_while, + anon_sym_for, + anon_sym_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [3821] = 23, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -5553,15 +5300,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(196), 1, anon_sym_DASH_GT, - ACTIONS(204), 1, + ACTIONS(206), 1, anon_sym_RPAREN, - STATE(111), 1, + STATE(104), 1, sym_expression, - STATE(131), 1, + STATE(147), 1, aux_sym__expression_list, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, ACTIONS(176), 2, sym_float, @@ -5577,7 +5324,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, @@ -5590,7 +5337,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -5598,84 +5345,16 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [4274] = 25, + [3912] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(132), 1, - sym_identifier, - ACTIONS(134), 1, - anon_sym_async, - ACTIONS(136), 1, - anon_sym_LBRACE, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(148), 1, - anon_sym_if, - ACTIONS(150), 1, - anon_sym_match, - ACTIONS(152), 1, - anon_sym_while, - ACTIONS(154), 1, - anon_sym_for, - ACTIONS(156), 1, - anon_sym_asyncfor, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(160), 1, - anon_sym_table, - ACTIONS(162), 1, - anon_sym_return, - ACTIONS(164), 1, - anon_sym_use, - STATE(221), 1, - sym_index, - STATE(239), 1, - sym_expression, - STATE(281), 1, - sym_if, - STATE(303), 1, - sym_statement, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 6, - sym__expression_kind, - sym_value, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - STATE(287), 9, - sym_block, - sym_assignment, - sym_index_assignment, - sym_if_else, - sym_match, - sym_while, - sym_for, - sym_return, - sym_use, - [4369] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(215), 1, + ACTIONS(202), 1, + anon_sym_COLON, + STATE(212), 1, sym_logic_operator, - STATE(216), 1, + STATE(213), 1, sym_math_operator, - ACTIONS(208), 18, + ACTIONS(210), 18, anon_sym_async, sym_identifier, sym_integer, @@ -5694,7 +5373,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(206), 23, + ACTIONS(208), 22, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -5703,7 +5382,6 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, - anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_STAR, anon_sym_SLASH, @@ -5718,84 +5396,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [4424] = 23, + [3969] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(182), 1, + ACTIONS(202), 1, anon_sym_COLON, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(192), 1, - anon_sym_PIPE, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(196), 1, + ACTIONS(204), 1, anon_sym_DASH_GT, - ACTIONS(210), 1, - anon_sym_RPAREN, - STATE(111), 1, - sym_expression, - STATE(130), 1, - aux_sym__expression_list, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, + STATE(212), 1, sym_logic_operator, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - ACTIONS(188), 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(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [4515] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(216), 1, - anon_sym_COLON, - ACTIONS(218), 1, - anon_sym_DASH_GT, - STATE(215), 1, - sym_logic_operator, - STATE(216), 1, + STATE(213), 1, sym_math_operator, ACTIONS(186), 2, anon_sym_PLUS, @@ -5842,78 +5452,59 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [4582] = 6, + [4036] = 23, ACTIONS(3), 1, sym__comment, - ACTIONS(216), 1, - anon_sym_COLON, - STATE(215), 1, - sym_logic_operator, - STATE(216), 1, - sym_math_operator, - ACTIONS(222), 18, - anon_sym_async, + ACTIONS(166), 1, 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_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(220), 22, - ts_builtin_sym_end, + ACTIONS(168), 1, anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, + ACTIONS(170), 1, anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_COLON, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(192), 1, + anon_sym_PIPE, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(196), 1, + anon_sym_DASH_GT, + ACTIONS(216), 1, + anon_sym_RPAREN, + STATE(104), 1, + sym_expression, + STATE(143), 1, + aux_sym__expression_list, + STATE(182), 1, + sym_math_operator, + STATE(183), 1, + sym_logic_operator, + ACTIONS(176), 2, sym_float, sym_string, - anon_sym_LBRACK, - 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, - [4639] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(216), 1, - anon_sym_COLON, - ACTIONS(218), 1, - anon_sym_DASH_GT, - STATE(215), 1, - sym_logic_operator, - STATE(216), 1, - sym_math_operator, - ACTIONS(186), 2, - anon_sym_PLUS, - anon_sym_DASH, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, ACTIONS(190), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(184), 3, + 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(188), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, @@ -5921,26 +5512,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(224), 12, - ts_builtin_sym_end, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [4127] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(222), 1, anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_asyncfor, - ACTIONS(226), 14, + STATE(212), 1, + sym_logic_operator, + STATE(213), 1, + sym_math_operator, + ACTIONS(220), 18, 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, @@ -5949,7 +5548,356 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [4706] = 23, + ACTIONS(218), 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, + [4184] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(212), 1, + sym_logic_operator, + STATE(213), 1, + sym_math_operator, + ACTIONS(220), 18, + 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_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(218), 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, + [4239] = 23, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_COLON, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(192), 1, + anon_sym_PIPE, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(196), 1, + anon_sym_DASH_GT, + ACTIONS(224), 1, + anon_sym_RPAREN, + STATE(104), 1, + sym_expression, + STATE(136), 1, + aux_sym__expression_list, + STATE(182), 1, + sym_math_operator, + STATE(183), 1, + sym_logic_operator, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + 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(188), 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(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [4330] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(128), 1, + sym_identifier, + ACTIONS(130), 1, + anon_sym_async, + ACTIONS(132), 1, + anon_sym_LBRACE, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(144), 1, + anon_sym_if, + ACTIONS(146), 1, + anon_sym_match, + ACTIONS(148), 1, + anon_sym_while, + ACTIONS(150), 1, + anon_sym_for, + ACTIONS(152), 1, + anon_sym_asyncfor, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(156), 1, + anon_sym_table, + ACTIONS(158), 1, + anon_sym_return, + ACTIONS(160), 1, + anon_sym_use, + STATE(220), 1, + sym_index, + STATE(243), 1, + sym_expression, + STATE(286), 1, + sym_if, + STATE(316), 1, + sym_statement, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(306), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [4425] = 23, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(182), 1, + anon_sym_COLON, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(192), 1, + anon_sym_PIPE, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(196), 1, + anon_sym_DASH_GT, + ACTIONS(226), 1, + anon_sym_RPAREN, + STATE(104), 1, + sym_expression, + STATE(132), 1, + aux_sym__expression_list, + STATE(182), 1, + sym_math_operator, + STATE(183), 1, + sym_logic_operator, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + 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(188), 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(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [4516] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(128), 1, + sym_identifier, + ACTIONS(130), 1, + anon_sym_async, + ACTIONS(132), 1, + anon_sym_LBRACE, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(144), 1, + anon_sym_if, + ACTIONS(146), 1, + anon_sym_match, + ACTIONS(148), 1, + anon_sym_while, + ACTIONS(150), 1, + anon_sym_for, + ACTIONS(152), 1, + anon_sym_asyncfor, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(156), 1, + anon_sym_table, + ACTIONS(158), 1, + anon_sym_return, + ACTIONS(160), 1, + anon_sym_use, + STATE(220), 1, + sym_index, + STATE(244), 1, + sym_expression, + STATE(286), 1, + sym_if, + STATE(308), 1, + sym_statement, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(297), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, + [4611] = 23, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -5974,13 +5922,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_GT, ACTIONS(228), 1, anon_sym_RPAREN, - STATE(111), 1, + STATE(104), 1, sym_expression, - STATE(132), 1, + STATE(120), 1, aux_sym__expression_list, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, ACTIONS(176), 2, sym_float, @@ -5996,7 +5944,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, @@ -6009,7 +5957,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -6017,14 +5965,84 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, + [4702] = 25, + ACTIONS(3), 1, + sym__comment, + ACTIONS(128), 1, + sym_identifier, + ACTIONS(130), 1, + anon_sym_async, + ACTIONS(132), 1, + anon_sym_LBRACE, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(144), 1, + anon_sym_if, + ACTIONS(146), 1, + anon_sym_match, + ACTIONS(148), 1, + anon_sym_while, + ACTIONS(150), 1, + anon_sym_for, + ACTIONS(152), 1, + anon_sym_asyncfor, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(156), 1, + anon_sym_table, + ACTIONS(158), 1, + anon_sym_return, + ACTIONS(160), 1, + anon_sym_use, + STATE(220), 1, + sym_index, + STATE(244), 1, + sym_expression, + STATE(286), 1, + sym_if, + STATE(300), 1, + sym_statement, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 6, + sym__expression_kind, + sym_value, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + STATE(297), 9, + sym_block, + sym_assignment, + sym_index_assignment, + sym_if_else, + sym_match, + sym_while, + sym_for, + sym_return, + sym_use, [4797] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(182), 1, anon_sym_COLON, @@ -6042,16 +6060,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, STATE(82), 1, aux_sym_match_repeat1, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, - STATE(259), 1, + STATE(260), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, ACTIONS(190), 2, @@ -6062,7 +6080,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, @@ -6075,7 +6093,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -6086,11 +6104,11 @@ static const uint16_t ts_small_parse_table[] = { [4885] = 22, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(182), 1, anon_sym_COLON, @@ -6108,16 +6126,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, STATE(113), 1, aux_sym_match_repeat1, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, - STATE(260), 1, + STATE(259), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, ACTIONS(190), 2, @@ -6128,7 +6146,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR, anon_sym_SLASH, anon_sym_PERCENT, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, @@ -6141,7 +6159,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -6149,16 +6167,65 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [4973] = 11, + [4973] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(218), 1, + STATE(189), 1, + sym_logic_operator, + STATE(190), 1, + sym_math_operator, + ACTIONS(164), 18, + 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_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(162), 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, + [5027] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(204), 1, anon_sym_DASH_GT, ACTIONS(238), 1, anon_sym_COLON, - STATE(162), 1, + STATE(189), 1, sym_logic_operator, - STATE(163), 1, + STATE(190), 1, sym_math_operator, ACTIONS(186), 2, anon_sym_PLUS, @@ -6177,7 +6244,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(224), 11, + ACTIONS(198), 11, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6189,7 +6256,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_asyncfor, - ACTIONS(226), 14, + ACTIONS(200), 14, anon_sym_async, sym_identifier, sym_integer, @@ -6204,68 +6271,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [5039] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(244), 1, - anon_sym_EQ, - ACTIONS(246), 1, - anon_sym_LT, - STATE(38), 1, - sym_assignment_operator, - STATE(286), 1, - sym_type_definition, - ACTIONS(248), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(242), 16, - 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_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(240), 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, - [5099] = 6, + [5093] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(238), 1, anon_sym_COLON, - STATE(162), 1, + STATE(189), 1, sym_logic_operator, - STATE(163), 1, + STATE(190), 1, sym_math_operator, - ACTIONS(222), 18, + ACTIONS(210), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6284,7 +6299,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(220), 21, + ACTIONS(208), 21, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6306,16 +6321,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5155] = 11, + [5149] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(218), 1, + ACTIONS(204), 1, anon_sym_DASH_GT, ACTIONS(238), 1, anon_sym_COLON, - STATE(162), 1, + STATE(189), 1, sym_logic_operator, - STATE(163), 1, + STATE(190), 1, sym_math_operator, ACTIONS(186), 2, anon_sym_PLUS, @@ -6361,65 +6376,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [5221] = 5, + [5215] = 8, ACTIONS(3), 1, sym__comment, - STATE(162), 1, - sym_logic_operator, - STATE(163), 1, - sym_math_operator, - ACTIONS(208), 18, - anon_sym_async, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, + ACTIONS(244), 1, 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_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, - [5275] = 8, - ACTIONS(3), 1, - sym__comment, ACTIONS(246), 1, anon_sym_LT, - ACTIONS(250), 1, - anon_sym_EQ, - STATE(38), 1, + STATE(37), 1, sym_assignment_operator, - STATE(286), 1, + STATE(295), 1, sym_type_definition, ACTIONS(248), 2, anon_sym_PLUS_EQ, @@ -6441,7 +6407,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(240), 19, + ACTIONS(240), 20, + ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -6461,10 +6428,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5334] = 3, + [5275] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(254), 18, + ACTIONS(252), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6483,7 +6450,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(252), 23, + ACTIONS(250), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6507,10 +6474,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5383] = 3, + [5324] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(258), 18, + ACTIONS(256), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6529,7 +6496,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(256), 23, + ACTIONS(254), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6553,10 +6520,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5432] = 3, + [5373] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(262), 18, + ACTIONS(260), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6575,7 +6542,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(260), 23, + ACTIONS(258), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6599,10 +6566,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5481] = 3, + [5422] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(266), 18, + ACTIONS(264), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6621,7 +6588,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(264), 23, + ACTIONS(262), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6645,10 +6612,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5530] = 3, + [5471] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(270), 18, + ACTIONS(268), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6667,7 +6634,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(268), 23, + ACTIONS(266), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6691,10 +6658,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5579] = 3, + [5520] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(274), 18, + ACTIONS(272), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6713,7 +6680,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(272), 23, + ACTIONS(270), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6737,10 +6704,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5628] = 3, + [5569] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(278), 18, + ACTIONS(276), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6759,7 +6726,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(276), 23, + ACTIONS(274), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6783,10 +6750,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5677] = 3, + [5618] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(282), 18, + ACTIONS(280), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6805,7 +6772,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(280), 23, + ACTIONS(278), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6829,10 +6796,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5726] = 3, + [5667] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(286), 18, + ACTIONS(284), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6851,7 +6818,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(284), 23, + ACTIONS(282), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6875,10 +6842,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5775] = 3, + [5716] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(290), 18, + ACTIONS(288), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6897,7 +6864,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(288), 23, + ACTIONS(286), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6921,10 +6888,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5824] = 3, + [5765] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(294), 18, + ACTIONS(292), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6943,7 +6910,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(292), 23, + ACTIONS(290), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -6967,10 +6934,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5873] = 3, + [5814] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(298), 18, + ACTIONS(296), 18, anon_sym_async, sym_identifier, sym_integer, @@ -6989,7 +6956,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(296), 23, + ACTIONS(294), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -7013,58 +6980,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [5922] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(302), 18, - 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_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, - ACTIONS(300), 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, - [5971] = 6, + [5863] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(244), 1, anon_sym_EQ, - STATE(34), 1, + STATE(38), 1, sym_assignment_operator, ACTIONS(248), 2, anon_sym_PLUS_EQ, @@ -7108,10 +7029,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6026] = 3, + [5918] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(306), 18, + ACTIONS(300), 18, anon_sym_async, sym_identifier, sym_integer, @@ -7130,7 +7051,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(304), 23, + ACTIONS(298), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -7154,10 +7075,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6075] = 3, + [5967] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(310), 18, + ACTIONS(304), 18, anon_sym_async, sym_identifier, sym_integer, @@ -7176,7 +7097,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - ACTIONS(308), 23, + ACTIONS(302), 23, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -7200,6 +7121,103 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, + [6016] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(308), 18, + 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_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(306), 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, + [6065] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(246), 1, + anon_sym_LT, + ACTIONS(310), 1, + anon_sym_EQ, + STATE(37), 1, + sym_assignment_operator, + STATE(295), 1, + sym_type_definition, + ACTIONS(248), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(242), 16, + 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_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + ACTIONS(240), 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, [6124] = 3, ACTIONS(3), 1, sym__comment, @@ -7246,18 +7264,71 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_asyncfor, anon_sym_DASH_GT, - [6173] = 11, + [6173] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, anon_sym_DASH, - ACTIONS(218), 1, + ACTIONS(204), 1, anon_sym_DASH_GT, ACTIONS(238), 1, anon_sym_COLON, - STATE(162), 1, + ACTIONS(320), 1, + anon_sym_SEMI, + STATE(189), 1, sym_logic_operator, - STATE(163), 1, + STATE(190), 1, + sym_math_operator, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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(316), 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(318), 13, + 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_PIPE, + anon_sym_table, + anon_sym_return, + anon_sym_use, + [6238] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(204), 1, + anon_sym_DASH_GT, + ACTIONS(238), 1, + anon_sym_COLON, + STATE(189), 1, + sym_logic_operator, + STATE(190), 1, sym_math_operator, ACTIONS(190), 2, anon_sym_GT, @@ -7298,71 +7369,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [6236] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(218), 1, - anon_sym_DASH_GT, - ACTIONS(238), 1, - anon_sym_COLON, - ACTIONS(324), 1, - anon_sym_SEMI, - STATE(162), 1, - sym_logic_operator, - STATE(163), 1, - sym_math_operator, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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(320), 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(322), 13, - 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_PIPE, - anon_sym_table, - anon_sym_return, - anon_sym_use, [6301] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, anon_sym_DASH, - ACTIONS(218), 1, + ACTIONS(204), 1, anon_sym_DASH_GT, ACTIONS(238), 1, anon_sym_COLON, - STATE(162), 1, + STATE(189), 1, sym_logic_operator, - STATE(163), 1, + STATE(190), 1, sym_math_operator, ACTIONS(190), 2, anon_sym_GT, @@ -7379,7 +7397,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(320), 9, + ACTIONS(322), 9, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -7389,7 +7407,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_asyncfor, - ACTIONS(322), 13, + ACTIONS(324), 13, anon_sym_async, sym_identifier, sym_integer, @@ -7406,11 +7424,11 @@ static const uint16_t ts_small_parse_table[] = { [6364] = 16, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(230), 1, sym_identifier, @@ -7422,12 +7440,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE, STATE(83), 1, aux_sym_match_repeat1, - STATE(259), 1, + STATE(260), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, ACTIONS(326), 4, @@ -7435,7 +7453,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_SEMI, anon_sym_asyncfor, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, @@ -7449,7 +7467,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -7476,7 +7494,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, STATE(83), 1, aux_sym_match_repeat1, - STATE(259), 1, + STATE(260), 1, sym_expression, ACTIONS(348), 2, sym_float, @@ -7489,7 +7507,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_SEMI, anon_sym_asyncfor, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, @@ -7503,7 +7521,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_return, anon_sym_use, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -7511,16 +7529,92 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [6504] = 6, + [6504] = 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), 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, + [6544] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(204), 1, + sym_logic_operator, + STATE(205), 1, + sym_math_operator, + ACTIONS(220), 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(218), 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, + [6588] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(363), 1, - anon_sym_COLON, + anon_sym_DOT_DOT, STATE(204), 1, sym_logic_operator, STATE(205), 1, sym_math_operator, - ACTIONS(222), 9, + ACTIONS(220), 9, sym_identifier, sym_integer, anon_sym_true, @@ -7530,47 +7624,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(220), 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, - [6550] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(365), 1, - anon_sym_DOT_DOT, - STATE(204), 1, - sym_logic_operator, - STATE(205), 1, - sym_math_operator, - ACTIONS(130), 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(128), 20, + ACTIONS(218), 20, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -7591,53 +7645,99 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6596] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(204), 1, - sym_logic_operator, - STATE(205), 1, - sym_math_operator, - ACTIONS(130), 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(128), 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, - [6640] = 11, + [6634] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, anon_sym_DASH, ACTIONS(196), 1, anon_sym_DASH_GT, - ACTIONS(363), 1, + ACTIONS(365), 1, + anon_sym_COLON, + STATE(204), 1, + sym_logic_operator, + STATE(205), 1, + sym_math_operator, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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(200), 6, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_PIPE, + anon_sym_table, + ACTIONS(198), 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, + [6690] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(365), 1, + anon_sym_COLON, + STATE(204), 1, + sym_logic_operator, + STATE(205), 1, + sym_math_operator, + ACTIONS(210), 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(208), 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, + [6736] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(196), 1, + anon_sym_DASH_GT, + ACTIONS(365), 1, anon_sym_COLON, STATE(204), 1, sym_logic_operator, @@ -7675,10 +7775,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_DOT_DOT, - [6696] = 3, + [6792] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(290), 9, + ACTIONS(264), 9, sym_identifier, sym_integer, anon_sym_true, @@ -7688,7 +7788,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(288), 23, + ACTIONS(262), 23, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -7712,59 +7812,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6736] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(196), 1, - anon_sym_DASH_GT, - ACTIONS(363), 1, - anon_sym_COLON, - STATE(204), 1, - sym_logic_operator, - STATE(205), 1, - sym_math_operator, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_PIPE, - anon_sym_table, - ACTIONS(224), 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, - [6792] = 5, + [6832] = 5, ACTIONS(3), 1, sym__comment, STATE(204), 1, sym_logic_operator, STATE(205), 1, sym_math_operator, - ACTIONS(208), 9, + ACTIONS(164), 9, sym_identifier, sym_integer, anon_sym_true, @@ -7774,7 +7829,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(206), 21, + ACTIONS(162), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -7796,83 +7851,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [6836] = 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), 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, - [6876] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(182), 1, - anon_sym_COLON, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_operator, - ACTIONS(222), 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(220), 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, - [6921] = 11, + [6876] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(182), 1, @@ -7881,9 +7860,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(196), 1, anon_sym_DASH_GT, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, ACTIONS(190), 2, anon_sym_GT, @@ -7916,7 +7895,84 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_RBRACK, - [6976] = 11, + [6931] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(182), 1, + anon_sym_COLON, + STATE(182), 1, + sym_math_operator, + STATE(183), 1, + sym_logic_operator, + ACTIONS(210), 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(208), 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, + [6976] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(182), 1, + sym_math_operator, + STATE(183), 1, + sym_logic_operator, + ACTIONS(164), 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(162), 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, + [7019] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(182), 1, @@ -7925,9 +7981,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(196), 1, anon_sym_DASH_GT, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, ACTIONS(190), 2, anon_sym_GT, @@ -7944,14 +8000,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - ACTIONS(226), 6, + ACTIONS(200), 6, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_PIPE, anon_sym_table, - ACTIONS(224), 8, + ACTIONS(198), 8, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -7960,115 +8016,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_RBRACK, - [7031] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(173), 1, - sym_math_operator, - STATE(174), 1, - sym_logic_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, [7074] = 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, - [7112] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(294), 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(292), 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, - [7150] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(314), 9, @@ -8103,10 +8051,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7188] = 3, + [7112] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(266), 9, + ACTIONS(300), 9, sym_identifier, sym_integer, anon_sym_true, @@ -8116,7 +8064,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(264), 21, + ACTIONS(298), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -8138,287 +8086,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7226] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(254), 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(252), 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, - [7264] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(298), 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(296), 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, - [7302] = 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, - [7340] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(282), 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(280), 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, - [7378] = 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, - 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, - [7416] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(286), 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(284), 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, - [7454] = 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, - [7492] = 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, - [7530] = 12, + [7150] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(182), 1, @@ -8429,9 +8097,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_GT, ACTIONS(371), 1, anon_sym_COMMA, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, ACTIONS(190), 2, anon_sym_GT, @@ -8462,10 +8130,10 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_RBRACK, - [7586] = 3, + [7206] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(258), 9, + ACTIONS(304), 9, sym_identifier, sym_integer, anon_sym_true, @@ -8475,7 +8143,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(256), 21, + ACTIONS(302), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -8497,10 +8165,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7624] = 3, + [7244] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(306), 9, + ACTIONS(260), 9, sym_identifier, sym_integer, anon_sym_true, @@ -8510,7 +8178,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(304), 21, + ACTIONS(258), 21, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -8532,7 +8200,112 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7662] = 12, + [7282] = 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, + [7320] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(280), 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(278), 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, + [7358] = 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, + [7396] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(182), 1, @@ -8543,9 +8316,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_GT, ACTIONS(377), 1, anon_sym_COMMA, - STATE(173), 1, + STATE(182), 1, sym_math_operator, - STATE(174), 1, + STATE(183), 1, sym_logic_operator, ACTIONS(190), 2, anon_sym_GT, @@ -8576,6 +8349,251 @@ static const uint16_t ts_small_parse_table[] = { sym_float, sym_string, anon_sym_LBRACK, + [7452] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(252), 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(250), 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, + [7490] = 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, + [7528] = 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, + [7566] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(284), 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(282), 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, + [7604] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(272), 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(270), 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, + [7642] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(292), 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(290), 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, + [7680] = 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, [7718] = 15, ACTIONS(3), 1, sym__comment, @@ -8595,7 +8613,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, STATE(112), 1, aux_sym_match_repeat1, - STATE(260), 1, + STATE(259), 1, sym_expression, ACTIONS(348), 2, sym_float, @@ -8607,13 +8625,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -8624,11 +8642,11 @@ static const uint16_t ts_small_parse_table[] = { [7778] = 15, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(230), 1, sym_identifier, @@ -8640,25 +8658,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE, STATE(112), 1, aux_sym_match_repeat1, - STATE(260), 1, + STATE(259), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, ACTIONS(326), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -8666,12 +8684,84 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [7838] = 4, + [7838] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(379), 1, + ACTIONS(383), 1, + anon_sym_elseif, + ACTIONS(385), 1, + anon_sym_else, + STATE(236), 1, + sym_else, + STATE(115), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(379), 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(381), 12, + 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_table, + anon_sym_return, + anon_sym_use, + [7881] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(383), 1, + anon_sym_elseif, + ACTIONS(385), 1, + anon_sym_else, + STATE(225), 1, + sym_else, + STATE(133), 2, + sym_else_if, + aux_sym_if_else_repeat1, + ACTIONS(387), 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(389), 12, + 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_table, + anon_sym_return, + anon_sym_use, + [7924] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(391), 1, anon_sym_RPAREN, - ACTIONS(302), 9, + ACTIONS(252), 9, sym_identifier, sym_integer, anon_sym_true, @@ -8681,7 +8771,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(300), 17, + ACTIONS(250), 17, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, @@ -8699,84 +8789,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [7875] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(385), 1, - anon_sym_elseif, - ACTIONS(387), 1, - anon_sym_else, - STATE(232), 1, - sym_else, - STATE(116), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(381), 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(383), 12, - 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_table, - anon_sym_return, - anon_sym_use, - [7918] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(385), 1, - anon_sym_elseif, - ACTIONS(387), 1, - anon_sym_else, - STATE(230), 1, - sym_else, - STATE(143), 2, - sym_else_if, - aux_sym_if_else_repeat1, - ACTIONS(389), 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(391), 12, - 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_table, - anon_sym_return, - anon_sym_use, [7961] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(393), 1, anon_sym_RPAREN, - ACTIONS(302), 9, + ACTIONS(252), 9, sym_identifier, sym_integer, anon_sym_true, @@ -8786,7 +8804,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(300), 17, + ACTIONS(250), 17, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, @@ -8809,7 +8827,7 @@ static const uint16_t ts_small_parse_table[] = { sym__comment, ACTIONS(395), 1, anon_sym_RPAREN, - ACTIONS(302), 9, + ACTIONS(252), 9, sym_identifier, sym_integer, anon_sym_true, @@ -8819,7 +8837,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_PIPE, anon_sym_table, - ACTIONS(300), 17, + ACTIONS(250), 17, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, @@ -8837,7 +8855,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [8035] = 15, + [8035] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(292), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(290), 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, + [8069] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -8853,265 +8902,12 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(194), 1, anon_sym_table, ACTIONS(397), 1, - anon_sym_RBRACK, - ACTIONS(399), 1, - anon_sym_PIPE, - STATE(108), 1, - sym_expression, - STATE(125), 1, - aux_sym_list_repeat1, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8093] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(282), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(280), 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, - [8127] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(401), 1, - anon_sym_RBRACK, - STATE(108), 1, - sym_expression, - STATE(133), 1, - aux_sym_list_repeat1, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8185] = 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, - [8219] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(294), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(292), 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, - [8253] = 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), 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, - [8287] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(403), 1, - sym_identifier, - ACTIONS(406), 1, - anon_sym_LBRACE, - ACTIONS(409), 1, - anon_sym_LPAREN, - ACTIONS(412), 1, - sym_integer, - ACTIONS(421), 1, - anon_sym_LBRACK, - ACTIONS(424), 1, - anon_sym_RBRACK, - ACTIONS(426), 1, - anon_sym_PIPE, - ACTIONS(429), 1, - anon_sym_table, - STATE(108), 1, - sym_expression, - STATE(125), 1, - aux_sym_list_repeat1, - ACTIONS(415), 2, - sym_float, - sym_string, - ACTIONS(418), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8345] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(432), 1, anon_sym_RPAREN, - STATE(111), 1, + ACTIONS(399), 1, + anon_sym_PIPE, + STATE(104), 1, sym_expression, - STATE(135), 1, + STATE(138), 1, aux_sym__expression_list, ACTIONS(176), 2, sym_float, @@ -9119,13 +8915,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -9133,311 +8929,10 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [8403] = 15, + [8127] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(434), 1, - anon_sym_RPAREN, - STATE(111), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8461] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(436), 1, - anon_sym_RBRACK, - STATE(108), 1, - sym_expression, - STATE(125), 1, - aux_sym_list_repeat1, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8519] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(438), 1, - anon_sym_RBRACK, - STATE(108), 1, - sym_expression, - STATE(128), 1, - aux_sym_list_repeat1, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8577] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(440), 1, - anon_sym_RPAREN, - STATE(111), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8635] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(442), 1, - anon_sym_RPAREN, - STATE(111), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8693] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(444), 1, - anon_sym_RPAREN, - STATE(111), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8751] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(446), 1, - anon_sym_RBRACK, - STATE(108), 1, - sym_expression, - STATE(125), 1, - aux_sym_list_repeat1, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8809] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(266), 7, + ACTIONS(308), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -9445,7 +8940,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(264), 19, + ACTIONS(306), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9465,53 +8960,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [8843] = 15, + [8161] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(448), 1, - sym_identifier, - ACTIONS(451), 1, - anon_sym_LBRACE, - ACTIONS(454), 1, - anon_sym_LPAREN, - ACTIONS(457), 1, - anon_sym_RPAREN, - ACTIONS(459), 1, - sym_integer, - ACTIONS(468), 1, - anon_sym_LBRACK, - ACTIONS(471), 1, - anon_sym_PIPE, - ACTIONS(474), 1, - anon_sym_table, - STATE(111), 1, - sym_expression, - STATE(135), 1, - aux_sym__expression_list, - ACTIONS(462), 2, - sym_float, - sym_string, - ACTIONS(465), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [8901] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(306), 7, + ACTIONS(280), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -9519,7 +8971,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(304), 19, + ACTIONS(278), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9539,112 +8991,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [8935] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(298), 7, - anon_sym_async, - sym_identifier, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(296), 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, - [8969] = 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, - [9003] = 15, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(477), 1, - anon_sym_RBRACK, - STATE(108), 1, - sym_expression, - STATE(119), 1, - aux_sym_list_repeat1, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9061] = 3, + [8195] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(314), 7, @@ -9675,10 +9022,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [9095] = 3, + [8229] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(286), 7, + ACTIONS(252), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -9686,7 +9033,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(284), 19, + ACTIONS(250), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9706,10 +9053,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [9129] = 3, + [8263] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(270), 7, + ACTIONS(260), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -9717,7 +9064,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(268), 19, + ACTIONS(258), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9737,15 +9084,256 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [9163] = 5, + [8297] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(483), 1, + ACTIONS(304), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(302), 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, + [8331] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(288), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(286), 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, + [8365] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(296), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + 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, + [8399] = 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, + [8433] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(401), 1, + anon_sym_RBRACK, + STATE(98), 1, + sym_expression, + STATE(144), 1, + aux_sym_list_repeat1, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8491] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(284), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + 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, + [8525] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(403), 1, + anon_sym_RPAREN, + STATE(104), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8583] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(409), 1, anon_sym_elseif, - STATE(143), 2, + STATE(133), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(479), 10, + ACTIONS(405), 10, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -9756,7 +9344,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(481), 13, + ACTIONS(407), 13, anon_sym_async, sym_identifier, sym_integer, @@ -9770,10 +9358,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [9201] = 3, + [8621] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(302), 7, + ACTIONS(268), 7, anon_sym_async, sym_identifier, anon_sym_EQ, @@ -9781,7 +9369,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(300), 19, + ACTIONS(266), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9801,7 +9389,499 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [9235] = 15, + [8655] = 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, + [8689] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(412), 1, + anon_sym_RPAREN, + STATE(104), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8747] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(414), 1, + anon_sym_RBRACK, + STATE(98), 1, + sym_expression, + STATE(144), 1, + aux_sym_list_repeat1, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8805] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(416), 1, + sym_identifier, + ACTIONS(419), 1, + anon_sym_LBRACE, + ACTIONS(422), 1, + anon_sym_LPAREN, + ACTIONS(425), 1, + anon_sym_RPAREN, + ACTIONS(427), 1, + sym_integer, + ACTIONS(436), 1, + anon_sym_LBRACK, + ACTIONS(439), 1, + anon_sym_PIPE, + ACTIONS(442), 1, + anon_sym_table, + STATE(104), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + ACTIONS(430), 2, + sym_float, + sym_string, + ACTIONS(433), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8863] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(445), 1, + anon_sym_RBRACK, + STATE(98), 1, + sym_expression, + STATE(142), 1, + aux_sym_list_repeat1, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8921] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(447), 1, + anon_sym_RBRACK, + STATE(98), 1, + sym_expression, + STATE(137), 1, + aux_sym_list_repeat1, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [8979] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(272), 7, + anon_sym_async, + sym_identifier, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(270), 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, + [9013] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(449), 1, + anon_sym_RBRACK, + STATE(98), 1, + sym_expression, + STATE(144), 1, + aux_sym_list_repeat1, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9071] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(451), 1, + anon_sym_RPAREN, + STATE(104), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9129] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(453), 1, + sym_identifier, + ACTIONS(456), 1, + anon_sym_LBRACE, + ACTIONS(459), 1, + anon_sym_LPAREN, + ACTIONS(462), 1, + sym_integer, + ACTIONS(471), 1, + anon_sym_LBRACK, + ACTIONS(474), 1, + anon_sym_RBRACK, + ACTIONS(476), 1, + anon_sym_PIPE, + ACTIONS(479), 1, + anon_sym_table, + STATE(98), 1, + sym_expression, + STATE(144), 1, + aux_sym_list_repeat1, + ACTIONS(465), 2, + sym_float, + sym_string, + ACTIONS(468), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9187] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(482), 1, + anon_sym_RBRACK, + STATE(98), 1, + sym_expression, + STATE(130), 1, + aux_sym_list_repeat1, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9245] = 15, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(484), 1, + anon_sym_RPAREN, + STATE(104), 1, + sym_expression, + STATE(138), 1, + aux_sym__expression_list, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9303] = 15, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -9820,9 +9900,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE, ACTIONS(486), 1, anon_sym_RPAREN, - STATE(111), 1, + STATE(104), 1, sym_expression, - STATE(135), 1, + STATE(138), 1, aux_sym__expression_list, ACTIONS(176), 2, sym_float, @@ -9830,13 +9910,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -9844,79 +9924,17 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [9293] = 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, - [9327] = 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, [9361] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(278), 6, + ACTIONS(264), 6, anon_sym_async, sym_identifier, anon_sym_DASH, anon_sym_GT, anon_sym_LT, anon_sym_else, - ACTIONS(276), 19, + ACTIONS(262), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -9936,22 +9954,54 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, anon_sym_EQ_GT, anon_sym_DASH_GT, - [9394] = 6, + [9394] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(163), 1, + sym_logic_operator, + STATE(165), 1, + sym_math_operator, + ACTIONS(220), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(218), 18, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + 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, + [9431] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(488), 1, anon_sym_DOT_DOT, - STATE(158), 1, + STATE(163), 1, sym_logic_operator, - STATE(159), 1, + STATE(165), 1, sym_math_operator, - ACTIONS(130), 5, + ACTIONS(220), 5, anon_sym_EQ, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(128), 17, + ACTIONS(218), 17, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -9969,50 +10019,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - [9433] = 3, + [9470] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(290), 6, - anon_sym_async, - sym_identifier, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - anon_sym_else, - ACTIONS(288), 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, - [9466] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(158), 1, + STATE(163), 1, sym_logic_operator, - STATE(159), 1, + STATE(165), 1, sym_math_operator, - ACTIONS(208), 5, + ACTIONS(164), 5, anon_sym_EQ, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(206), 18, + ACTIONS(162), 18, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -10031,110 +10051,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - [9503] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(158), 1, - sym_logic_operator, - STATE(159), 1, - sym_math_operator, - ACTIONS(130), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(128), 18, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - 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, - [9540] = 11, - ACTIONS(3), 1, - sym__comment, - ACTIONS(226), 1, - anon_sym_EQ, - ACTIONS(490), 1, - anon_sym_COLON, - ACTIONS(492), 1, - anon_sym_DASH_GT, - STATE(158), 1, - sym_logic_operator, - STATE(159), 1, - sym_math_operator, - ACTIONS(186), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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(224), 7, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_DOT_DOT, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [9589] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(490), 1, - anon_sym_COLON, - STATE(158), 1, - sym_logic_operator, - STATE(159), 1, - sym_math_operator, - ACTIONS(222), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(220), 17, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - 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, - [9628] = 11, + [9507] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(214), 1, @@ -10143,9 +10060,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, ACTIONS(492), 1, anon_sym_DASH_GT, - STATE(158), 1, + STATE(163), 1, sym_logic_operator, - STATE(159), 1, + STATE(165), 1, sym_math_operator, ACTIONS(186), 2, anon_sym_PLUS, @@ -10172,465 +10089,108 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOT_DOT, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [9677] = 13, + [9556] = 6, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, + ACTIONS(490), 1, + anon_sym_COLON, + STATE(163), 1, + sym_logic_operator, + STATE(165), 1, + sym_math_operator, + ACTIONS(210), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(208), 17, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_table, - ACTIONS(330), 1, - anon_sym_PIPE, - STATE(251), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9729] = 3, + 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, + [9595] = 11, ACTIONS(3), 1, sym__comment, - ACTIONS(276), 11, - ts_builtin_sym_end, + ACTIONS(200), 1, + anon_sym_EQ, + ACTIONS(490), 1, + anon_sym_COLON, + ACTIONS(492), 1, + anon_sym_DASH_GT, + STATE(163), 1, + sym_logic_operator, + STATE(165), 1, + sym_math_operator, + ACTIONS(186), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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(198), 7, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_DOT_DOT, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [9644] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(276), 6, + anon_sym_async, + sym_identifier, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + anon_sym_else, + ACTIONS(274), 19, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, + 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_asyncfor, - anon_sym_PIPE, - ACTIONS(278), 13, - 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_table, - anon_sym_return, - anon_sym_use, - [9761] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(494), 1, - anon_sym_table, - STATE(155), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9813] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(494), 1, - anon_sym_table, - STATE(154), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9865] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(494), 1, - anon_sym_table, - STATE(153), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9917] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(496), 1, - anon_sym_table, - STATE(86), 1, - sym_expression, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [9969] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(33), 1, - anon_sym_table, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_LBRACE, - STATE(59), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10021] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(33), 1, - anon_sym_table, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 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(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10073] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_LBRACE, - ACTIONS(502), 1, - anon_sym_table, - STATE(42), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10125] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_LBRACE, - ACTIONS(502), 1, - anon_sym_table, - STATE(35), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10177] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(33), 1, - anon_sym_table, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 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(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10229] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_PIPE, - ACTIONS(504), 1, - anon_sym_table, - STATE(243), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10281] = 13, + anon_sym_EQ_GT, + anon_sym_DASH_GT, + [9677] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -10655,13 +10215,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -10669,7 +10229,182 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10333] = 13, + [9729] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(257), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9781] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(262), 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(264), 13, + 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_table, + anon_sym_return, + anon_sym_use, + [9813] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(255), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9865] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + STATE(54), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [9917] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(494), 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(496), 13, + 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_table, + anon_sym_return, + anon_sym_use, + [9949] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(11), 1, @@ -10680,13 +10415,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, ACTIONS(31), 1, anon_sym_PIPE, - ACTIONS(33), 1, - anon_sym_table, ACTIONS(498), 1, sym_identifier, ACTIONS(500), 1, anon_sym_LBRACE, - STATE(60), 1, + ACTIONS(502), 1, + anon_sym_table, + STATE(47), 1, sym_expression, ACTIONS(15), 2, sym_float, @@ -10694,13 +10429,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(77), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(74), 7, + STATE(61), 7, sym__expression_kind, sym_value, sym_index, @@ -10708,38 +10443,38 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10385] = 13, + [10001] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, - ACTIONS(158), 1, + ACTIONS(154), 1, anon_sym_PIPE, ACTIONS(230), 1, sym_identifier, ACTIONS(232), 1, anon_sym_LBRACE, - ACTIONS(494), 1, + ACTIONS(504), 1, anon_sym_table, - STATE(152), 1, + STATE(154), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -10747,38 +10482,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10437] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(208), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(206), 17, - 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_PLUS_EQ, - anon_sym_DASH_EQ, - anon_sym_DASH_GT, - [10473] = 13, + [10053] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -10793,7 +10497,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, ACTIONS(399), 1, anon_sym_PIPE, - ACTIONS(496), 1, + ACTIONS(506), 1, anon_sym_table, STATE(85), 1, sym_expression, @@ -10803,13 +10507,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -10817,7 +10521,202 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10525] = 13, + [10105] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(504), 1, + anon_sym_table, + STATE(153), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10157] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(504), 1, + anon_sym_table, + STATE(152), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10209] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(156), 1, + anon_sym_table, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + STATE(241), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10261] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(249), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10313] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(330), 1, + anon_sym_PIPE, + ACTIONS(508), 1, + anon_sym_table, + STATE(245), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10365] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -10842,13 +10741,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -10856,38 +10755,38 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10577] = 13, + [10417] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(174), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(180), 1, + ACTIONS(142), 1, anon_sym_LBRACK, - ACTIONS(194), 1, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, anon_sym_table, - ACTIONS(399), 1, + ACTIONS(330), 1, anon_sym_PIPE, - STATE(93), 1, + STATE(251), 1, sym_expression, - ACTIONS(176), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(178), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -10895,38 +10794,108 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10629] = 13, + [10469] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, - ACTIONS(158), 1, + ACTIONS(154), 1, anon_sym_PIPE, - ACTIONS(160), 1, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(504), 1, + anon_sym_table, + STATE(149), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10521] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(180), 1, + sym_logic_operator, + STATE(181), 1, + sym_math_operator, + ACTIONS(164), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(162), 17, + 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_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_DASH_GT, + [10557] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(156), 1, anon_sym_table, ACTIONS(230), 1, sym_identifier, ACTIONS(232), 1, anon_sym_LBRACE, - STATE(171), 1, + STATE(173), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -10934,18 +10903,87 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10681] = 11, + [10609] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(200), 1, + anon_sym_EQ, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(510), 1, + anon_sym_COLON, + STATE(180), 1, + sym_logic_operator, + STATE(181), 1, + sym_math_operator, + ACTIONS(186), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 3, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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(198), 6, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + [10657] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(510), 1, + anon_sym_COLON, + STATE(180), 1, + sym_logic_operator, + STATE(181), 1, + sym_math_operator, + ACTIONS(210), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(208), 16, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + 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, + [10695] = 11, ACTIONS(3), 1, sym__comment, ACTIONS(214), 1, anon_sym_EQ, ACTIONS(492), 1, anon_sym_DASH_GT, - ACTIONS(506), 1, + ACTIONS(510), 1, anon_sym_COLON, - STATE(182), 1, + STATE(180), 1, sym_logic_operator, - STATE(183), 1, + STATE(181), 1, sym_math_operator, ACTIONS(186), 2, anon_sym_PLUS, @@ -10971,42 +11009,10 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [10729] = 6, + [10743] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(506), 1, - anon_sym_COLON, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(222), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(220), 16, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - 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, - [10767] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(288), 11, + ACTIONS(274), 11, ts_builtin_sym_end, anon_sym_LBRACE, anon_sym_RBRACE, @@ -11018,7 +11024,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, anon_sym_asyncfor, anon_sym_PIPE, - ACTIONS(290), 13, + ACTIONS(276), 13, anon_sym_async, sym_identifier, sym_integer, @@ -11032,46 +11038,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [10799] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(508), 1, - sym_identifier, - STATE(53), 1, - sym_expression, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(117), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [10851] = 13, + [10775] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -11084,11 +11051,11 @@ static const uint16_t ts_small_parse_table[] = { sym_integer, ACTIONS(180), 1, anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, ACTIONS(399), 1, anon_sym_PIPE, - STATE(46), 1, + ACTIONS(506), 1, + anon_sym_table, + STATE(86), 1, sym_expression, ACTIONS(176), 2, sym_float, @@ -11096,13 +11063,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -11110,55 +11077,57 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [10903] = 11, + [10827] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(226), 1, - anon_sym_EQ, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(506), 1, - anon_sym_COLON, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(186), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 3, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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(224), 6, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - [10951] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, - ACTIONS(158), 1, + ACTIONS(154), 1, anon_sym_PIPE, - ACTIONS(160), 1, + ACTIONS(156), 1, + anon_sym_table, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + STATE(175), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [10879] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(156), 1, anon_sym_table, ACTIONS(230), 1, sym_identifier, @@ -11166,19 +11135,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(176), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -11186,309 +11155,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [11003] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(160), 1, - anon_sym_table, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - STATE(177), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11055] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(494), 1, - anon_sym_table, - STATE(149), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11107] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(160), 1, - anon_sym_table, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - STATE(181), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11159] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(510), 1, - sym_identifier, - STATE(37), 1, - sym_expression, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(118), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11211] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(512), 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(514), 13, - 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_table, - anon_sym_return, - anon_sym_use, - [11243] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_table, - ACTIONS(330), 1, - anon_sym_PIPE, - STATE(256), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11295] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_table, - ACTIONS(330), 1, - anon_sym_PIPE, - STATE(257), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11347] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_table, - ACTIONS(330), 1, - anon_sym_PIPE, - STATE(246), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11399] = 13, + [10931] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -11505,7 +11172,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, ACTIONS(399), 1, anon_sym_PIPE, - STATE(54), 1, + STATE(93), 1, sym_expression, ACTIONS(176), 2, sym_float, @@ -11513,13 +11180,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -11527,343 +11194,7 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [11451] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(516), 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(518), 13, - 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_table, - anon_sym_return, - anon_sym_use, - [11483] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_table, - ACTIONS(330), 1, - anon_sym_PIPE, - STATE(255), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11535] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - STATE(41), 1, - sym_expression, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11587] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(33), 1, - anon_sym_table, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_LBRACE, - STATE(79), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11639] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - ACTIONS(520), 1, - sym_identifier, - STATE(43), 1, - sym_expression, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(114), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11691] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(158), 1, - anon_sym_PIPE, - ACTIONS(160), 1, - anon_sym_table, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - STATE(240), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11743] = 8, - ACTIONS(3), 1, - sym__comment, - ACTIONS(244), 1, - anon_sym_EQ, - ACTIONS(246), 1, - anon_sym_LT, - STATE(39), 1, - sym_assignment_operator, - STATE(299), 1, - sym_type_definition, - ACTIONS(248), 2, - anon_sym_PLUS_EQ, - anon_sym_DASH_EQ, - ACTIONS(242), 3, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - ACTIONS(240), 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, - [11785] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_PIPE, - ACTIONS(504), 1, - anon_sym_table, - STATE(244), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11837] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, - anon_sym_LPAREN, - ACTIONS(174), 1, - sym_integer, - ACTIONS(180), 1, - anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, - ACTIONS(399), 1, - anon_sym_PIPE, - STATE(55), 1, - sym_expression, - ACTIONS(176), 2, - sym_float, - sym_string, - ACTIONS(178), 2, - anon_sym_true, - anon_sym_false, - STATE(106), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(102), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [11889] = 13, + [10983] = 13, ACTIONS(3), 1, sym__comment, ACTIONS(166), 1, @@ -11888,13 +11219,700 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11035] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(244), 1, + anon_sym_EQ, + ACTIONS(246), 1, + anon_sym_LT, + STATE(51), 1, + sym_assignment_operator, + STATE(304), 1, + sym_type_definition, + ACTIONS(248), 2, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + ACTIONS(242), 3, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + ACTIONS(240), 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, + [11077] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(504), 1, + anon_sym_table, + STATE(150), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11129] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(154), 1, + anon_sym_PIPE, + ACTIONS(156), 1, + anon_sym_table, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + STATE(177), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11181] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(31), 1, + anon_sym_PIPE, + ACTIONS(33), 1, + anon_sym_table, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 1, + anon_sym_LBRACE, + STATE(81), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(75), 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, + [11233] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(252), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11285] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(31), 1, + anon_sym_PIPE, + ACTIONS(33), 1, + anon_sym_table, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 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(75), 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, + [11337] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(31), 1, + anon_sym_PIPE, + ACTIONS(33), 1, + anon_sym_table, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 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(75), 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, + [11389] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + STATE(52), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11441] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(512), 1, + sym_identifier, + STATE(48), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(118), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11493] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(166), 1, + sym_identifier, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + STATE(50), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(105), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11545] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(31), 1, + anon_sym_PIPE, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 1, + anon_sym_LBRACE, + ACTIONS(502), 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(75), 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, + [11597] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(330), 1, + anon_sym_PIPE, + ACTIONS(508), 1, + anon_sym_table, + STATE(238), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11649] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(330), 1, + anon_sym_PIPE, + ACTIONS(508), 1, + anon_sym_table, + STATE(239), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11701] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(514), 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(516), 13, + 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_table, + anon_sym_return, + anon_sym_use, + [11733] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(247), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11785] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(330), 1, + anon_sym_PIPE, + ACTIONS(508), 1, + anon_sym_table, + STATE(237), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11837] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(246), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [11889] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(518), 1, + sym_identifier, + STATE(42), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(116), 7, sym__expression_kind, sym_value, sym_index, @@ -11905,35 +11923,35 @@ static const uint16_t ts_small_parse_table[] = { [11941] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(11), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(19), 1, anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(330), 1, + ACTIONS(31), 1, anon_sym_PIPE, - ACTIONS(504), 1, + ACTIONS(33), 1, anon_sym_table, - STATE(245), 1, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 1, + anon_sym_LBRACE, + STATE(56), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(15), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(61), 7, sym__expression_kind, sym_value, sym_index, @@ -11944,11 +11962,11 @@ static const uint16_t ts_small_parse_table[] = { [11993] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(230), 1, sym_identifier, @@ -11956,23 +11974,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, ACTIONS(330), 1, anon_sym_PIPE, - ACTIONS(504), 1, + ACTIONS(508), 1, anon_sym_table, - STATE(241), 1, + STATE(240), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -11995,7 +12013,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, ACTIONS(399), 1, anon_sym_PIPE, - ACTIONS(496), 1, + ACTIONS(506), 1, anon_sym_table, STATE(87), 1, sym_expression, @@ -12005,13 +12023,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -12034,9 +12052,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, ACTIONS(399), 1, anon_sym_PIPE, - ACTIONS(496), 1, + ACTIONS(506), 1, anon_sym_table, - STATE(84), 1, + STATE(88), 1, sym_expression, ACTIONS(176), 2, sym_float, @@ -12044,13 +12062,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -12061,35 +12079,35 @@ static const uint16_t ts_small_parse_table[] = { [12149] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(166), 1, - sym_identifier, - ACTIONS(168), 1, - anon_sym_LBRACE, - ACTIONS(170), 1, + ACTIONS(11), 1, anon_sym_LPAREN, - ACTIONS(174), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(180), 1, + ACTIONS(19), 1, anon_sym_LBRACK, - ACTIONS(399), 1, + ACTIONS(31), 1, anon_sym_PIPE, - ACTIONS(496), 1, + ACTIONS(33), 1, anon_sym_table, - STATE(89), 1, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 1, + anon_sym_LBRACE, + STATE(59), 1, sym_expression, - ACTIONS(176), 2, + ACTIONS(15), 2, sym_float, sym_string, - ACTIONS(178), 2, + ACTIONS(17), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(75), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(61), 7, sym__expression_kind, sym_value, sym_index, @@ -12110,11 +12128,11 @@ static const uint16_t ts_small_parse_table[] = { sym_integer, ACTIONS(180), 1, anon_sym_LBRACK, - ACTIONS(194), 1, - anon_sym_table, ACTIONS(399), 1, anon_sym_PIPE, - STATE(49), 1, + ACTIONS(506), 1, + anon_sym_table, + STATE(89), 1, sym_expression, ACTIONS(176), 2, sym_float, @@ -12122,13 +12140,13 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(106), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(102), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -12139,35 +12157,35 @@ static const uint16_t ts_small_parse_table[] = { [12253] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, + ACTIONS(166), 1, sym_identifier, - ACTIONS(232), 1, + ACTIONS(168), 1, anon_sym_LBRACE, - ACTIONS(236), 1, + ACTIONS(170), 1, + anon_sym_LPAREN, + ACTIONS(174), 1, + sym_integer, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, anon_sym_table, - ACTIONS(330), 1, + ACTIONS(399), 1, anon_sym_PIPE, - STATE(254), 1, + STATE(40), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(176), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -12178,11 +12196,89 @@ static const uint16_t ts_small_parse_table[] = { [12305] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(168), 1, + anon_sym_LBRACE, + ACTIONS(170), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(174), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(180), 1, + anon_sym_LBRACK, + ACTIONS(194), 1, + anon_sym_table, + ACTIONS(399), 1, + anon_sym_PIPE, + ACTIONS(520), 1, + sym_identifier, + STATE(45), 1, + sym_expression, + ACTIONS(176), 2, + sym_float, + sym_string, + ACTIONS(178), 2, + anon_sym_true, + anon_sym_false, + STATE(99), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(117), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12357] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(256), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12409] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(230), 1, sym_identifier, @@ -12194,19 +12290,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE, STATE(253), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -12214,14 +12310,170 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12357] = 13, + [12461] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(11), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(13), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(31), 1, + anon_sym_PIPE, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 1, + anon_sym_LBRACE, + ACTIONS(502), 1, + anon_sym_table, + STATE(41), 1, + sym_expression, + ACTIONS(15), 2, + sym_float, + sym_string, + ACTIONS(17), 2, + anon_sym_true, + anon_sym_false, + STATE(75), 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, + [12513] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(31), 1, + anon_sym_PIPE, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 1, + anon_sym_LBRACE, + ACTIONS(502), 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(75), 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, + [12565] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(11), 1, + anon_sym_LPAREN, + ACTIONS(13), 1, + sym_integer, + ACTIONS(19), 1, + anon_sym_LBRACK, + ACTIONS(31), 1, + anon_sym_PIPE, + ACTIONS(498), 1, + sym_identifier, + ACTIONS(500), 1, + anon_sym_LBRACE, + ACTIONS(502), 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(75), 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, + [12617] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, + anon_sym_LBRACK, + ACTIONS(230), 1, + sym_identifier, + ACTIONS(232), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_table, + ACTIONS(330), 1, + anon_sym_PIPE, + STATE(254), 1, + sym_expression, + ACTIONS(138), 2, + sym_float, + sym_string, + ACTIONS(140), 2, + anon_sym_true, + anon_sym_false, + STATE(126), 5, + sym_boolean, + sym_list, + sym_map, + sym_table, + sym_function, + STATE(124), 7, + sym__expression_kind, + sym_value, + sym_index, + sym_math, + sym_logic, + sym_function_call, + sym_yield, + [12669] = 13, + ACTIONS(3), 1, + sym__comment, + ACTIONS(134), 1, + anon_sym_LPAREN, + ACTIONS(136), 1, + sym_integer, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(230), 1, sym_identifier, @@ -12233,19 +12485,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE, STATE(248), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -12253,77 +12505,38 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12409] = 13, + [12721] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, + ACTIONS(166), 1, sym_identifier, - ACTIONS(232), 1, + ACTIONS(168), 1, anon_sym_LBRACE, - ACTIONS(330), 1, - anon_sym_PIPE, - ACTIONS(504), 1, - anon_sym_table, - STATE(238), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12461] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, + ACTIONS(170), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(174), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(180), 1, anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, + ACTIONS(194), 1, anon_sym_table, - ACTIONS(330), 1, + ACTIONS(399), 1, anon_sym_PIPE, - STATE(249), 1, + STATE(55), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(176), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(178), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(99), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, + STATE(105), 7, sym__expression_kind, sym_value, sym_index, @@ -12331,14 +12544,14 @@ static const uint16_t ts_small_parse_table[] = { sym_logic, sym_function_call, sym_yield, - [12513] = 13, + [12773] = 13, ACTIONS(3), 1, sym__comment, - ACTIONS(138), 1, + ACTIONS(134), 1, anon_sym_LPAREN, - ACTIONS(140), 1, + ACTIONS(136), 1, sym_integer, - ACTIONS(146), 1, + ACTIONS(142), 1, anon_sym_LBRACK, ACTIONS(230), 1, sym_identifier, @@ -12350,214 +12563,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE, STATE(250), 1, sym_expression, - ACTIONS(142), 2, + ACTIONS(138), 2, sym_float, sym_string, - ACTIONS(144), 2, + ACTIONS(140), 2, anon_sym_true, anon_sym_false, - STATE(146), 5, + STATE(126), 5, sym_boolean, sym_list, sym_map, sym_table, sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12565] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_table, - ACTIONS(330), 1, - anon_sym_PIPE, - STATE(252), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12617] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_LBRACE, - ACTIONS(502), 1, - anon_sym_table, - STATE(50), 1, - sym_expression, - ACTIONS(15), 2, - sym_float, - sym_string, - ACTIONS(17), 2, - anon_sym_true, - anon_sym_false, - STATE(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12669] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_LBRACE, - ACTIONS(502), 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(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12721] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(11), 1, - anon_sym_LPAREN, - ACTIONS(13), 1, - sym_integer, - ACTIONS(19), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - anon_sym_PIPE, - ACTIONS(498), 1, - sym_identifier, - ACTIONS(500), 1, - anon_sym_LBRACE, - ACTIONS(502), 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(77), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(74), 7, - sym__expression_kind, - sym_value, - sym_index, - sym_math, - sym_logic, - sym_function_call, - sym_yield, - [12773] = 13, - ACTIONS(3), 1, - sym__comment, - ACTIONS(138), 1, - anon_sym_LPAREN, - ACTIONS(140), 1, - sym_integer, - ACTIONS(146), 1, - anon_sym_LBRACK, - ACTIONS(230), 1, - sym_identifier, - ACTIONS(232), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_table, - ACTIONS(330), 1, - anon_sym_PIPE, - STATE(247), 1, - sym_expression, - ACTIONS(142), 2, - sym_float, - sym_string, - ACTIONS(144), 2, - anon_sym_true, - anon_sym_false, - STATE(146), 5, - sym_boolean, - sym_list, - sym_map, - sym_table, - sym_function, - STATE(144), 7, + STATE(124), 7, sym__expression_kind, sym_value, sym_index, @@ -12568,13 +12586,13 @@ static const uint16_t ts_small_parse_table[] = { [12825] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(290), 5, + ACTIONS(276), 5, anon_sym_EQ, anon_sym_PLUS, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(288), 18, + ACTIONS(274), 18, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, @@ -12593,40 +12611,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PLUS_EQ, anon_sym_DASH_EQ, anon_sym_DASH_GT, - [12856] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(278), 5, - anon_sym_EQ, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(276), 18, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - 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, - [12887] = 6, + [12856] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(244), 1, anon_sym_EQ, - STATE(40), 1, + STATE(53), 1, sym_assignment_operator, ACTIONS(248), 2, anon_sym_PLUS_EQ, @@ -12652,22 +12642,49 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_EQ, anon_sym_DASH_GT, - [12924] = 4, + [12893] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(324), 1, + ACTIONS(264), 5, + anon_sym_EQ, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(262), 18, + anon_sym_RBRACE, anon_sym_SEMI, - ACTIONS(320), 9, + anon_sym_COMMA, + sym_identifier, + 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, + [12924] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(262), 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(322), 12, + ACTIONS(264), 12, anon_sym_async, sym_identifier, sym_integer, @@ -12680,7 +12697,62 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [12956] = 3, + [12954] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(320), 1, + anon_sym_SEMI, + ACTIONS(316), 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(318), 12, + 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_table, + anon_sym_return, + anon_sym_use, + [12986] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(274), 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(276), 12, + 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_table, + anon_sym_return, + anon_sym_use, + [13016] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(522), 10, @@ -12707,7 +12779,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [12986] = 3, + [13046] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(526), 10, @@ -12734,7 +12806,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13016] = 3, + [13076] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(530), 10, @@ -12761,7 +12833,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13046] = 3, + [13106] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(534), 10, @@ -12788,7 +12860,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13076] = 3, + [13136] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(538), 10, @@ -12815,34 +12887,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13106] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(288), 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(290), 12, - 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_table, - anon_sym_return, - anon_sym_use, - [13136] = 3, + [13166] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(542), 10, @@ -12869,7 +12914,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13166] = 3, + [13196] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(546), 10, @@ -12896,7 +12941,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13196] = 3, + [13226] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(550), 10, @@ -12923,88 +12968,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13226] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(389), 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(391), 12, - 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_table, - anon_sym_return, - anon_sym_use, [13256] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(276), 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(278), 12, - 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_table, - anon_sym_return, - anon_sym_use, - [13286] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(320), 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(322), 12, - 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_table, - anon_sym_return, - anon_sym_use, - [13316] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(554), 10, @@ -13031,7 +12995,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13346] = 3, + [13286] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(558), 10, @@ -13058,48 +13022,74 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_table, anon_sym_return, anon_sym_use, - [13376] = 5, + [13316] = 3, ACTIONS(3), 1, sym__comment, - STATE(199), 1, - sym_logic_operator, - STATE(202), 1, - sym_math_operator, - ACTIONS(208), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(206), 16, - anon_sym_async, + ACTIONS(316), 10, + ts_builtin_sym_end, 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, - [13409] = 6, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_asyncfor, + anon_sym_PIPE, + ACTIONS(318), 12, + 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_table, + anon_sym_return, + anon_sym_use, + [13346] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(387), 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(389), 12, + 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_table, + anon_sym_return, + anon_sym_use, + [13376] = 6, ACTIONS(3), 1, sym__comment, ACTIONS(562), 1, anon_sym_DOT_DOT, - STATE(199), 1, + STATE(195), 1, sym_logic_operator, - STATE(202), 1, + STATE(196), 1, sym_math_operator, - ACTIONS(130), 3, + ACTIONS(220), 3, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(128), 15, + ACTIONS(218), 15, anon_sym_async, anon_sym_LBRACE, anon_sym_COLON, @@ -13115,33 +13105,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [13444] = 11, + [13411] = 10, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, anon_sym_DASH, ACTIONS(492), 1, anon_sym_DASH_GT, - ACTIONS(506), 1, - anon_sym_COLON, ACTIONS(564), 1, - anon_sym_SEMI, - STATE(182), 1, + anon_sym_COLON, + STATE(195), 1, sym_logic_operator, - STATE(183), 1, + STATE(196), 1, sym_math_operator, ACTIONS(190), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(320), 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(198), 4, + anon_sym_async, + anon_sym_LBRACE, + anon_sym_DOT_DOT, + anon_sym_EQ_GT, ACTIONS(188), 6, anon_sym_EQ_EQ, anon_sym_BANG_EQ, @@ -13149,6 +13138,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, + [13454] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(564), 1, + anon_sym_COLON, + STATE(195), 1, + sym_logic_operator, + STATE(196), 1, + sym_math_operator, + ACTIONS(210), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(208), 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, [13489] = 10, ACTIONS(3), 1, sym__comment, @@ -13156,138 +13174,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(492), 1, anon_sym_DASH_GT, - ACTIONS(506), 1, + ACTIONS(564), 1, anon_sym_COLON, - STATE(182), 1, + STATE(195), 1, sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(316), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - ACTIONS(188), 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, - [13532] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(566), 1, - anon_sym_COLON, - STATE(199), 1, - sym_logic_operator, - STATE(202), 1, - sym_math_operator, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(224), 4, - anon_sym_async, - anon_sym_LBRACE, - anon_sym_DOT_DOT, - anon_sym_EQ_GT, - ACTIONS(188), 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, - [13575] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(506), 1, - anon_sym_COLON, - STATE(182), 1, - sym_logic_operator, - STATE(183), 1, - sym_math_operator, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(320), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - ACTIONS(188), 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, - [13618] = 5, - ACTIONS(3), 1, - sym__comment, - STATE(199), 1, - sym_logic_operator, - STATE(202), 1, - sym_math_operator, - ACTIONS(130), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(128), 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, - [13651] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(566), 1, - anon_sym_COLON, - STATE(199), 1, - sym_logic_operator, - STATE(202), 1, + STATE(196), 1, sym_math_operator, ACTIONS(190), 2, anon_sym_GT, @@ -13309,22 +13200,54 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [13694] = 6, + [13532] = 10, ACTIONS(3), 1, sym__comment, - ACTIONS(566), 1, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(510), 1, anon_sym_COLON, - STATE(199), 1, + STATE(180), 1, sym_logic_operator, - STATE(202), 1, + STATE(181), 1, sym_math_operator, - ACTIONS(222), 3, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(322), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + ACTIONS(188), 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, + [13575] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(195), 1, + sym_logic_operator, + STATE(196), 1, + sym_math_operator, + ACTIONS(164), 3, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(220), 15, + ACTIONS(162), 16, anon_sym_async, anon_sym_LBRACE, + anon_sym_COLON, anon_sym_DOT_DOT, anon_sym_PLUS, anon_sym_STAR, @@ -13338,7 +13261,130 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [13729] = 12, + [13608] = 11, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(510), 1, + anon_sym_COLON, + ACTIONS(566), 1, + anon_sym_SEMI, + STATE(180), 1, + sym_logic_operator, + STATE(181), 1, + sym_math_operator, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(316), 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(188), 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, + [13653] = 10, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(510), 1, + anon_sym_COLON, + STATE(180), 1, + sym_logic_operator, + STATE(181), 1, + sym_math_operator, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(316), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + ACTIONS(188), 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, + [13696] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(195), 1, + sym_logic_operator, + STATE(196), 1, + sym_math_operator, + ACTIONS(220), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(218), 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, + [13729] = 6, + ACTIONS(3), 1, + sym__comment, + ACTIONS(568), 1, + anon_sym_COLON, + STATE(157), 1, + sym_logic_operator, + STATE(200), 1, + sym_math_operator, + ACTIONS(210), 3, + anon_sym_DASH, + anon_sym_GT, + anon_sym_LT, + ACTIONS(208), 14, + anon_sym_async, + anon_sym_LBRACE, + 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, + [13763] = 10, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, @@ -13346,139 +13392,11 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(492), 1, anon_sym_DASH_GT, ACTIONS(568), 1, - anon_sym_async, - ACTIONS(570), 1, - anon_sym_LBRACE, - ACTIONS(572), 1, anon_sym_COLON, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, + STATE(157), 1, sym_logic_operator, - STATE(284), 1, - sym_block, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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, - [13775] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(572), 1, - anon_sym_COLON, - ACTIONS(574), 1, - anon_sym_async, - ACTIONS(576), 1, - anon_sym_LBRACE, - STATE(212), 1, + STATE(200), 1, sym_math_operator, - STATE(213), 1, - sym_logic_operator, - STATE(293), 1, - sym_block, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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, - [13821] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(572), 1, - anon_sym_COLON, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, - sym_logic_operator, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(224), 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(188), 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, - [13863] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(572), 1, - anon_sym_COLON, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, - sym_logic_operator, - ACTIONS(222), 3, - anon_sym_DASH, - anon_sym_GT, - anon_sym_LT, - ACTIONS(220), 14, - anon_sym_async, - anon_sym_LBRACE, - 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, - [13897] = 10, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(572), 1, - anon_sym_COLON, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, - sym_logic_operator, ACTIONS(190), 2, anon_sym_GT, anon_sym_LT, @@ -13498,41 +13416,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [13939] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(572), 1, - anon_sym_COLON, - ACTIONS(578), 1, - anon_sym_async, - ACTIONS(580), 1, - anon_sym_LBRACE, - STATE(187), 1, - sym_block, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, - sym_logic_operator, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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, - [13985] = 12, + [13805] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, @@ -13540,16 +13424,16 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(492), 1, anon_sym_DASH_GT, ACTIONS(568), 1, - anon_sym_async, - ACTIONS(570), 1, - anon_sym_LBRACE, - ACTIONS(572), 1, anon_sym_COLON, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, + ACTIONS(570), 1, + anon_sym_async, + ACTIONS(572), 1, + anon_sym_LBRACE, + STATE(157), 1, sym_logic_operator, - STATE(285), 1, + STATE(200), 1, + sym_math_operator, + STATE(305), 1, sym_block, ACTIONS(190), 2, anon_sym_GT, @@ -13566,18 +13450,188 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14031] = 5, + [13851] = 12, ACTIONS(3), 1, sym__comment, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(568), 1, + anon_sym_COLON, + ACTIONS(574), 1, + anon_sym_async, + ACTIONS(576), 1, + anon_sym_LBRACE, + STATE(157), 1, sym_logic_operator, - ACTIONS(208), 3, + STATE(200), 1, + sym_math_operator, + STATE(229), 1, + sym_block, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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, + [13897] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(568), 1, + anon_sym_COLON, + ACTIONS(578), 1, + anon_sym_async, + ACTIONS(580), 1, + anon_sym_LBRACE, + STATE(157), 1, + sym_logic_operator, + STATE(200), 1, + sym_math_operator, + STATE(294), 1, + sym_block, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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, + [13943] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(568), 1, + anon_sym_COLON, + ACTIONS(582), 1, + anon_sym_async, + ACTIONS(584), 1, + anon_sym_LBRACE, + STATE(157), 1, + sym_logic_operator, + STATE(197), 1, + sym_block, + STATE(200), 1, + sym_math_operator, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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, + [13989] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(568), 1, + anon_sym_COLON, + ACTIONS(574), 1, + anon_sym_async, + ACTIONS(576), 1, + anon_sym_LBRACE, + STATE(157), 1, + sym_logic_operator, + STATE(200), 1, + sym_math_operator, + STATE(232), 1, + sym_block, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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, + [14035] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(568), 1, + anon_sym_COLON, + ACTIONS(578), 1, + anon_sym_async, + ACTIONS(580), 1, + anon_sym_LBRACE, + STATE(157), 1, + sym_logic_operator, + STATE(200), 1, + sym_math_operator, + STATE(293), 1, + sym_block, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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, + [14081] = 5, + ACTIONS(3), 1, + sym__comment, + STATE(157), 1, + sym_logic_operator, + STATE(200), 1, + sym_math_operator, + ACTIONS(164), 3, anon_sym_DASH, anon_sym_GT, anon_sym_LT, - ACTIONS(206), 15, + ACTIONS(162), 15, anon_sym_async, anon_sym_LBRACE, anon_sym_COLON, @@ -13593,58 +13647,58 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_EQ_GT, anon_sym_DASH_GT, - [14063] = 12, + [14113] = 12, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, anon_sym_DASH, ACTIONS(492), 1, anon_sym_DASH_GT, - ACTIONS(572), 1, - anon_sym_COLON, - ACTIONS(574), 1, - anon_sym_async, - ACTIONS(576), 1, - anon_sym_LBRACE, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, - sym_logic_operator, - STATE(291), 1, - sym_block, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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, - [14109] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(572), 1, + ACTIONS(568), 1, anon_sym_COLON, ACTIONS(582), 1, anon_sym_async, ACTIONS(584), 1, anon_sym_LBRACE, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, + STATE(157), 1, sym_logic_operator, - STATE(224), 1, + STATE(161), 1, + sym_block, + STATE(200), 1, + sym_math_operator, + ACTIONS(190), 2, + anon_sym_GT, + anon_sym_LT, + ACTIONS(184), 4, + anon_sym_PLUS, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_PERCENT, + ACTIONS(188), 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, + [14159] = 12, + ACTIONS(3), 1, + sym__comment, + ACTIONS(186), 1, + anon_sym_DASH, + ACTIONS(492), 1, + anon_sym_DASH_GT, + ACTIONS(568), 1, + anon_sym_COLON, + ACTIONS(570), 1, + anon_sym_async, + ACTIONS(572), 1, + anon_sym_LBRACE, + STATE(157), 1, + sym_logic_operator, + STATE(200), 1, + sym_math_operator, + STATE(296), 1, sym_block, ACTIONS(190), 2, anon_sym_GT, @@ -13661,62 +13715,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PIPE_PIPE, anon_sym_GT_EQ, anon_sym_LT_EQ, - [14155] = 12, + [14205] = 10, ACTIONS(3), 1, sym__comment, ACTIONS(186), 1, anon_sym_DASH, ACTIONS(492), 1, anon_sym_DASH_GT, - ACTIONS(572), 1, + ACTIONS(568), 1, anon_sym_COLON, - ACTIONS(578), 1, - anon_sym_async, - ACTIONS(580), 1, - anon_sym_LBRACE, - STATE(192), 1, - sym_block, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, + STATE(157), 1, sym_logic_operator, + STATE(200), 1, + sym_math_operator, ACTIONS(190), 2, anon_sym_GT, anon_sym_LT, - ACTIONS(184), 4, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH, - anon_sym_PERCENT, - ACTIONS(188), 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, - [14201] = 12, - ACTIONS(3), 1, - sym__comment, - ACTIONS(186), 1, - anon_sym_DASH, - ACTIONS(492), 1, - anon_sym_DASH_GT, - ACTIONS(572), 1, - anon_sym_COLON, - ACTIONS(582), 1, + ACTIONS(198), 3, anon_sym_async, - ACTIONS(584), 1, anon_sym_LBRACE, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, - sym_logic_operator, - STATE(227), 1, - sym_block, - ACTIONS(190), 2, - anon_sym_GT, - anon_sym_LT, + anon_sym_EQ_GT, ACTIONS(184), 4, anon_sym_PLUS, anon_sym_STAR, @@ -13760,14 +13778,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(492), 1, anon_sym_DASH_GT, - ACTIONS(572), 1, + ACTIONS(568), 1, anon_sym_COLON, ACTIONS(590), 1, anon_sym_EQ_GT, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, + STATE(157), 1, sym_logic_operator, + STATE(200), 1, + sym_math_operator, ACTIONS(190), 2, anon_sym_GT, anon_sym_LT, @@ -13790,14 +13808,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, ACTIONS(492), 1, anon_sym_DASH_GT, - ACTIONS(572), 1, + ACTIONS(568), 1, anon_sym_COLON, ACTIONS(592), 1, anon_sym_EQ_GT, - STATE(212), 1, - sym_math_operator, - STATE(213), 1, + STATE(157), 1, sym_logic_operator, + STATE(200), 1, + sym_math_operator, ACTIONS(190), 2, anon_sym_GT, anon_sym_LT, @@ -13816,13 +13834,13 @@ static const uint16_t ts_small_parse_table[] = { [14354] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(290), 5, + ACTIONS(560), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(288), 9, + ACTIONS(558), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -13835,13 +13853,13 @@ static const uint16_t ts_small_parse_table[] = { [14376] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(278), 5, + ACTIONS(276), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(276), 9, + ACTIONS(274), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -13854,13 +13872,13 @@ static const uint16_t ts_small_parse_table[] = { [14398] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(536), 5, + ACTIONS(264), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(534), 9, + ACTIONS(262), 9, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_SEMI, @@ -13870,16 +13888,106 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14420] = 3, + [14420] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(594), 5, + ACTIONS(599), 1, + anon_sym_fn, + ACTIONS(602), 1, + anon_sym_list, + STATE(264), 1, + aux_sym_type_repeat1, + STATE(277), 1, + sym_type, + ACTIONS(594), 3, + anon_sym_COMMA, + anon_sym_GT, + anon_sym_DASH_GT, + ACTIONS(596), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14449] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, + anon_sym_fn, + ACTIONS(611), 1, + anon_sym_DASH_GT, + ACTIONS(613), 1, + anon_sym_list, + STATE(264), 1, + aux_sym_type_repeat1, + STATE(277), 1, + sym_type, + ACTIONS(605), 2, + anon_sym_COMMA, + anon_sym_GT, + ACTIONS(607), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14480] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, + anon_sym_fn, + ACTIONS(613), 1, + anon_sym_list, + ACTIONS(617), 1, + anon_sym_DASH_GT, + STATE(265), 1, + aux_sym_type_repeat1, + STATE(277), 1, + sym_type, + ACTIONS(615), 2, + anon_sym_COMMA, + anon_sym_GT, + ACTIONS(607), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14511] = 8, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, + anon_sym_fn, + ACTIONS(613), 1, + anon_sym_list, + ACTIONS(615), 1, + anon_sym_GT, + ACTIONS(619), 1, + anon_sym_DASH_GT, + STATE(270), 1, + aux_sym_type_repeat1, + STATE(276), 1, + sym_type, + ACTIONS(607), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14541] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(621), 5, sym_identifier, sym_integer, anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(457), 7, + ACTIONS(425), 7, anon_sym_LBRACE, anon_sym_LPAREN, anon_sym_RPAREN, @@ -13887,86 +13995,7 @@ static const uint16_t ts_small_parse_table[] = { sym_string, anon_sym_LBRACK, anon_sym_PIPE, - [14440] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(596), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_table, - ACTIONS(424), 7, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_PIPE, - [14460] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(598), 1, - anon_sym_GT, - ACTIONS(602), 1, - anon_sym_fn, - ACTIONS(604), 1, - anon_sym_DASH_GT, - ACTIONS(606), 1, - anon_sym_list, - STATE(267), 2, - sym_type, - aux_sym_type_repeat1, - ACTIONS(600), 6, - anon_sym_any, - anon_sym_bool, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [14488] = 7, - ACTIONS(3), 1, - sym__comment, - ACTIONS(602), 1, - anon_sym_fn, - ACTIONS(606), 1, - anon_sym_list, - ACTIONS(608), 1, - anon_sym_GT, - ACTIONS(610), 1, - anon_sym_DASH_GT, - STATE(268), 2, - sym_type, - aux_sym_type_repeat1, - ACTIONS(600), 6, - anon_sym_any, - anon_sym_bool, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [14516] = 6, - ACTIONS(3), 1, - sym__comment, - ACTIONS(617), 1, - anon_sym_fn, - ACTIONS(620), 1, - anon_sym_list, - ACTIONS(612), 2, - anon_sym_GT, - anon_sym_DASH_GT, - STATE(268), 2, - sym_type, - aux_sym_type_repeat1, - ACTIONS(614), 6, - anon_sym_any, - anon_sym_bool, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [14542] = 3, + [14561] = 3, ACTIONS(3), 1, sym__comment, ACTIONS(623), 5, @@ -13975,345 +14004,423 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_true, anon_sym_false, anon_sym_table, - ACTIONS(625), 6, + ACTIONS(474), 7, anon_sym_LBRACE, anon_sym_LPAREN, sym_float, sym_string, anon_sym_LBRACK, + anon_sym_RBRACK, anon_sym_PIPE, - [14561] = 3, + [14581] = 8, ACTIONS(3), 1, sym__comment, - ACTIONS(627), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_table, - ACTIONS(629), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_PIPE, - [14580] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(631), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_table, - ACTIONS(633), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_PIPE, - [14599] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(635), 5, - sym_identifier, - sym_integer, - anon_sym_true, - anon_sym_false, - anon_sym_table, - ACTIONS(637), 6, - anon_sym_LBRACE, - anon_sym_LPAREN, - sym_float, - sym_string, - anon_sym_LBRACK, - anon_sym_PIPE, - [14618] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(639), 10, + ACTIONS(605), 1, anon_sym_GT, + ACTIONS(609), 1, + anon_sym_fn, + ACTIONS(613), 1, + anon_sym_list, + ACTIONS(625), 1, + anon_sym_DASH_GT, + STATE(271), 1, + aux_sym_type_repeat1, + STATE(276), 1, + sym_type, + ACTIONS(607), 6, anon_sym_any, anon_sym_bool, - anon_sym_fn, - anon_sym_DASH_GT, anon_sym_int, - anon_sym_list, anon_sym_map, anon_sym_num, anon_sym_str, - [14634] = 2, + [14611] = 7, ACTIONS(3), 1, sym__comment, - ACTIONS(598), 10, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, + ACTIONS(599), 1, anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [14650] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(608), 10, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [14666] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(641), 10, - anon_sym_GT, - anon_sym_any, - anon_sym_bool, - anon_sym_fn, - anon_sym_DASH_GT, - anon_sym_int, - anon_sym_list, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [14682] = 5, - ACTIONS(3), 1, - sym__comment, ACTIONS(602), 1, + anon_sym_list, + STATE(271), 1, + aux_sym_type_repeat1, + STATE(276), 1, + sym_type, + ACTIONS(594), 2, + anon_sym_GT, + anon_sym_DASH_GT, + ACTIONS(596), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14639] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(627), 11, + anon_sym_COMMA, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, anon_sym_fn, - ACTIONS(606), 1, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_list, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14656] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(615), 11, + anon_sym_COMMA, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_list, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14673] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(629), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_table, + ACTIONS(631), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_PIPE, + [14692] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(633), 11, + anon_sym_COMMA, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_list, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14709] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(635), 1, + anon_sym_COMMA, + ACTIONS(637), 10, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_list, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14728] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(639), 1, + anon_sym_COMMA, + ACTIONS(637), 10, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_list, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14747] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(642), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_table, + ACTIONS(644), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_PIPE, + [14766] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(646), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_table, + ACTIONS(648), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_PIPE, + [14785] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(605), 11, + anon_sym_COMMA, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_list, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14802] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(650), 5, + sym_identifier, + sym_integer, + anon_sym_true, + anon_sym_false, + anon_sym_table, + ACTIONS(652), 6, + anon_sym_LBRACE, + anon_sym_LPAREN, + sym_float, + sym_string, + anon_sym_LBRACK, + anon_sym_PIPE, + [14821] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(594), 11, + anon_sym_COMMA, + anon_sym_GT, + anon_sym_any, + anon_sym_bool, + anon_sym_fn, + anon_sym_DASH_GT, + anon_sym_int, + anon_sym_list, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14838] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(654), 1, + anon_sym_fn, + ACTIONS(656), 1, + anon_sym_list, + STATE(280), 1, + sym_type, + ACTIONS(607), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14859] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(654), 1, + anon_sym_fn, + ACTIONS(656), 1, anon_sym_list, STATE(275), 1, sym_type, - ACTIONS(600), 6, + ACTIONS(607), 6, anon_sym_any, anon_sym_bool, anon_sym_int, anon_sym_map, anon_sym_num, anon_sym_str, - [14703] = 7, + [14880] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(391), 1, + ACTIONS(654), 1, + anon_sym_fn, + ACTIONS(656), 1, + anon_sym_list, + STATE(272), 1, + sym_type, + ACTIONS(607), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14901] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(381), 1, sym_identifier, - ACTIONS(643), 1, + ACTIONS(658), 1, anon_sym_elseif, - ACTIONS(645), 1, + ACTIONS(660), 1, anon_sym_else, - STATE(292), 1, + STATE(302), 1, sym_else, - STATE(283), 2, + STATE(291), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(389), 3, + ACTIONS(379), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [14728] = 5, + [14926] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(602), 1, + ACTIONS(654), 1, anon_sym_fn, - ACTIONS(606), 1, + ACTIONS(656), 1, anon_sym_list, - STATE(273), 1, + STATE(365), 1, sym_type, - ACTIONS(600), 6, + ACTIONS(607), 6, anon_sym_any, anon_sym_bool, anon_sym_int, anon_sym_map, anon_sym_num, anon_sym_str, - [14749] = 5, + [14947] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(602), 1, + ACTIONS(609), 1, anon_sym_fn, - ACTIONS(606), 1, + ACTIONS(613), 1, anon_sym_list, - STATE(276), 1, + STATE(280), 1, sym_type, - ACTIONS(600), 6, + ACTIONS(607), 6, anon_sym_any, anon_sym_bool, anon_sym_int, anon_sym_map, anon_sym_num, anon_sym_str, - [14770] = 7, + [14968] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(383), 1, + ACTIONS(609), 1, + anon_sym_fn, + ACTIONS(613), 1, + anon_sym_list, + STATE(275), 1, + sym_type, + ACTIONS(607), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [14989] = 5, + ACTIONS(3), 1, + sym__comment, + ACTIONS(609), 1, + anon_sym_fn, + ACTIONS(613), 1, + anon_sym_list, + STATE(272), 1, + sym_type, + ACTIONS(607), 6, + anon_sym_any, + anon_sym_bool, + anon_sym_int, + anon_sym_map, + anon_sym_num, + anon_sym_str, + [15010] = 7, + ACTIONS(3), 1, + sym__comment, + ACTIONS(389), 1, sym_identifier, - ACTIONS(643), 1, + ACTIONS(658), 1, anon_sym_elseif, - ACTIONS(645), 1, + ACTIONS(660), 1, anon_sym_else, - STATE(294), 1, + STATE(307), 1, sym_else, - STATE(278), 2, + STATE(292), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(381), 3, + ACTIONS(387), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [14795] = 5, + [15035] = 5, ACTIONS(3), 1, sym__comment, - ACTIONS(602), 1, - anon_sym_fn, - ACTIONS(606), 1, - anon_sym_list, - STATE(358), 1, - sym_type, - ACTIONS(600), 6, - anon_sym_any, - anon_sym_bool, - anon_sym_int, - anon_sym_map, - anon_sym_num, - anon_sym_str, - [14816] = 5, - ACTIONS(3), 1, - sym__comment, - ACTIONS(647), 1, + ACTIONS(662), 1, anon_sym_elseif, - ACTIONS(481), 2, + ACTIONS(407), 2, sym_identifier, anon_sym_else, - STATE(283), 2, + STATE(292), 2, sym_else_if, aux_sym_if_else_repeat1, - ACTIONS(479), 3, + ACTIONS(405), 3, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, - [14836] = 3, + [15055] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(518), 2, + ACTIONS(516), 2, sym_identifier, anon_sym_else, - ACTIONS(516), 4, + ACTIONS(514), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_elseif, - [14850] = 3, + [15069] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(514), 2, + ACTIONS(496), 2, sym_identifier, anon_sym_else, - ACTIONS(512), 4, + ACTIONS(494), 4, anon_sym_RBRACE, anon_sym_SEMI, anon_sym_COMMA, anon_sym_elseif, - [14864] = 3, + [15083] = 3, ACTIONS(3), 1, sym__comment, - STATE(45), 1, + STATE(39), 1, sym_assignment_operator, ACTIONS(248), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [14876] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(564), 1, - anon_sym_SEMI, - ACTIONS(320), 3, - anon_sym_RBRACE, - anon_sym_COMMA, - sym_identifier, - [14888] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(522), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14898] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(320), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14908] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(530), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14918] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(538), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14928] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(546), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14938] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(526), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14948] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(389), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14958] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(542), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14968] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(558), 4, - anon_sym_RBRACE, - anon_sym_SEMI, - anon_sym_COMMA, - sym_identifier, - [14978] = 2, + [15095] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(550), 4, @@ -14321,7 +14428,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [14988] = 2, + [15105] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(316), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15115] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(542), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15125] = 2, ACTIONS(3), 1, sym__comment, ACTIONS(554), 4, @@ -14329,477 +14452,542 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, anon_sym_COMMA, sym_identifier, - [14998] = 3, + [15135] = 2, ACTIONS(3), 1, sym__comment, - STATE(44), 1, + ACTIONS(534), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15145] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(526), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15155] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(387), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15165] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(530), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15175] = 3, + ACTIONS(3), 1, + sym__comment, + STATE(34), 1, sym_assignment_operator, ACTIONS(248), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [15010] = 4, + [15187] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(650), 1, - sym_identifier, - ACTIONS(652), 1, + ACTIONS(538), 4, anon_sym_RBRACE, - STATE(309), 1, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15197] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(566), 1, + anon_sym_SEMI, + ACTIONS(316), 3, + anon_sym_RBRACE, + anon_sym_COMMA, + sym_identifier, + [15209] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(522), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15219] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(546), 4, + anon_sym_RBRACE, + anon_sym_SEMI, + anon_sym_COMMA, + sym_identifier, + [15229] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(665), 1, + sym_identifier, + ACTIONS(667), 1, + anon_sym_RBRACE, + STATE(331), 1, aux_sym_map_repeat1, - [15023] = 4, + [15242] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(654), 1, + ACTIONS(669), 1, anon_sym_async, - ACTIONS(656), 1, + ACTIONS(671), 1, anon_sym_LBRACE, - STATE(122), 1, + STATE(134), 1, sym_block, - [15036] = 2, + [15255] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(658), 3, + ACTIONS(673), 1, + sym_identifier, + ACTIONS(675), 1, + anon_sym_PIPE, + STATE(334), 1, + aux_sym_identifier_list_repeat1, + [15268] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(570), 1, + anon_sym_async, + ACTIONS(572), 1, + anon_sym_LBRACE, + STATE(101), 1, + sym_block, + [15281] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(677), 3, anon_sym_EQ, anon_sym_PLUS_EQ, anon_sym_DASH_EQ, - [15045] = 3, + [15290] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(662), 1, + ACTIONS(574), 1, + anon_sym_async, + ACTIONS(576), 1, + anon_sym_LBRACE, + STATE(234), 1, + sym_block, + [15303] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(673), 1, + sym_identifier, + ACTIONS(679), 1, + anon_sym_PIPE, + STATE(311), 1, + aux_sym_identifier_list_repeat1, + [15316] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(683), 1, anon_sym_COMMA, - ACTIONS(660), 2, + ACTIONS(681), 2, anon_sym_RBRACE, sym_identifier, - [15056] = 4, + [15327] = 3, ACTIONS(3), 1, sym__comment, - ACTIONS(664), 1, + ACTIONS(687), 1, + anon_sym_COMMA, + ACTIONS(685), 2, sym_identifier, - ACTIONS(666), 1, anon_sym_PIPE, - STATE(328), 1, - aux_sym_identifier_list_repeat1, - [15069] = 4, + [15338] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(582), 1, + ACTIONS(570), 1, anon_sym_async, - ACTIONS(584), 1, + ACTIONS(572), 1, anon_sym_LBRACE, - STATE(226), 1, + STATE(301), 1, sym_block, - [15082] = 4, + [15351] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(582), 1, + ACTIONS(689), 1, anon_sym_async, - ACTIONS(584), 1, + ACTIONS(691), 1, anon_sym_LBRACE, - STATE(229), 1, + STATE(72), 1, sym_block, - [15095] = 4, + [15364] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(570), 1, + anon_sym_async, + ACTIONS(572), 1, + anon_sym_LBRACE, + STATE(103), 1, + sym_block, + [15377] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(41), 1, anon_sym_RBRACE, - ACTIONS(650), 1, + ACTIONS(665), 1, sym_identifier, - STATE(310), 1, + STATE(329), 1, aux_sym_map_repeat1, - [15108] = 4, + [15390] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(664), 1, - sym_identifier, - ACTIONS(668), 1, - anon_sym_PIPE, - STATE(304), 1, - aux_sym_identifier_list_repeat1, - [15121] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(670), 1, - sym_identifier, ACTIONS(673), 1, - anon_sym_RBRACE, - STATE(309), 1, - aux_sym_map_repeat1, - [15134] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(650), 1, sym_identifier, - ACTIONS(675), 1, - anon_sym_RBRACE, - STATE(309), 1, - aux_sym_map_repeat1, - [15147] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(650), 1, - sym_identifier, - ACTIONS(677), 1, - anon_sym_RBRACE, - STATE(309), 1, - aux_sym_map_repeat1, - [15160] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(96), 1, - anon_sym_RBRACE, - ACTIONS(650), 1, - sym_identifier, - STATE(300), 1, - aux_sym_map_repeat1, - [15173] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(650), 1, - sym_identifier, - ACTIONS(679), 1, - anon_sym_RBRACE, - STATE(311), 1, - aux_sym_map_repeat1, - [15186] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(664), 1, - sym_identifier, - ACTIONS(681), 1, - anon_sym_PIPE, - STATE(316), 1, - aux_sym_identifier_list_repeat1, - [15199] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(568), 1, - anon_sym_async, - ACTIONS(570), 1, - anon_sym_LBRACE, - STATE(122), 1, - sym_block, - [15212] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(664), 1, - sym_identifier, - ACTIONS(683), 1, - anon_sym_PIPE, - STATE(328), 1, - aux_sym_identifier_list_repeat1, - [15225] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(574), 1, - anon_sym_async, - ACTIONS(576), 1, - anon_sym_LBRACE, - STATE(105), 1, - sym_block, - [15238] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(574), 1, - anon_sym_async, - ACTIONS(576), 1, - anon_sym_LBRACE, - STATE(295), 1, - sym_block, - [15251] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(664), 1, - sym_identifier, - ACTIONS(685), 1, - anon_sym_PIPE, - STATE(327), 1, - aux_sym_identifier_list_repeat1, - [15264] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(574), 1, - anon_sym_async, - ACTIONS(576), 1, - anon_sym_LBRACE, - STATE(109), 1, - sym_block, - [15277] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(687), 1, - anon_sym_async, - ACTIONS(689), 1, - anon_sym_LBRACE, - STATE(263), 1, - sym_block, - [15290] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(568), 1, - anon_sym_async, - ACTIONS(570), 1, - anon_sym_LBRACE, - STATE(141), 1, - sym_block, - [15303] = 3, - ACTIONS(3), 1, - sym__comment, ACTIONS(693), 1, - anon_sym_COMMA, - ACTIONS(691), 2, - sym_identifier, anon_sym_PIPE, - [15314] = 4, + STATE(334), 1, + aux_sym_identifier_list_repeat1, + [15403] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(664), 1, + ACTIONS(673), 1, sym_identifier, ACTIONS(695), 1, anon_sym_PIPE, + STATE(325), 1, + aux_sym_identifier_list_repeat1, + [15416] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(673), 1, + sym_identifier, + ACTIONS(697), 1, + anon_sym_PIPE, STATE(326), 1, aux_sym_identifier_list_repeat1, - [15327] = 4, + [15429] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(697), 1, - anon_sym_async, + ACTIONS(673), 1, + sym_identifier, ACTIONS(699), 1, - anon_sym_LBRACE, - STATE(70), 1, - sym_block, - [15340] = 4, + anon_sym_PIPE, + STATE(334), 1, + aux_sym_identifier_list_repeat1, + [15442] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(664), 1, + ACTIONS(673), 1, sym_identifier, ACTIONS(701), 1, anon_sym_PIPE, - STATE(328), 1, + STATE(334), 1, aux_sym_identifier_list_repeat1, - [15353] = 4, + [15455] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(664), 1, + ACTIONS(578), 1, + anon_sym_async, + ACTIONS(580), 1, + anon_sym_LBRACE, + STATE(134), 1, + sym_block, + [15468] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(665), 1, sym_identifier, ACTIONS(703), 1, - anon_sym_PIPE, - STATE(328), 1, - aux_sym_identifier_list_repeat1, - [15366] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(705), 1, - sym_identifier, - ACTIONS(708), 1, - anon_sym_PIPE, - STATE(328), 1, - aux_sym_identifier_list_repeat1, - [15379] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(697), 1, - anon_sym_async, - ACTIONS(699), 1, - anon_sym_LBRACE, - STATE(63), 1, - sym_block, - [15392] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(654), 1, - anon_sym_async, - ACTIONS(656), 1, - anon_sym_LBRACE, - STATE(141), 1, - sym_block, - [15405] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(664), 1, - sym_identifier, - ACTIONS(710), 1, - anon_sym_PIPE, - STATE(328), 1, - aux_sym_identifier_list_repeat1, - [15418] = 4, - ACTIONS(3), 1, - sym__comment, - ACTIONS(664), 1, - sym_identifier, - ACTIONS(712), 1, - anon_sym_PIPE, - STATE(331), 1, - aux_sym_identifier_list_repeat1, - [15431] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(714), 1, - anon_sym_PIPE, - STATE(185), 1, - sym_identifier_list, - [15441] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(714), 1, - anon_sym_PIPE, - STATE(206), 1, - sym_identifier_list, - [15451] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(714), 1, - anon_sym_PIPE, - STATE(160), 1, - sym_identifier_list, - [15461] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(716), 2, anon_sym_RBRACE, + STATE(336), 1, + aux_sym_map_repeat1, + [15481] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(665), 1, sym_identifier, - [15469] = 3, + ACTIONS(705), 1, + anon_sym_RBRACE, + STATE(331), 1, + aux_sym_map_repeat1, + [15494] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(714), 1, - anon_sym_PIPE, - STATE(203), 1, - sym_identifier_list, - [15479] = 2, + ACTIONS(707), 1, + anon_sym_async, + ACTIONS(709), 1, + anon_sym_LBRACE, + STATE(261), 1, + sym_block, + [15507] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(708), 2, + ACTIONS(711), 1, sym_identifier, - anon_sym_PIPE, - [15487] = 3, + ACTIONS(714), 1, + anon_sym_RBRACE, + STATE(331), 1, + aux_sym_map_repeat1, + [15520] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(714), 1, + ACTIONS(673), 1, + sym_identifier, + ACTIONS(716), 1, anon_sym_PIPE, - STATE(166), 1, - sym_identifier_list, - [15497] = 3, + STATE(322), 1, + aux_sym_identifier_list_repeat1, + [15533] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(714), 1, - anon_sym_PIPE, - STATE(210), 1, - sym_identifier_list, - [15507] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(714), 1, - anon_sym_PIPE, - STATE(217), 1, - sym_identifier_list, - [15517] = 3, - ACTIONS(3), 1, - sym__comment, - ACTIONS(714), 1, - anon_sym_PIPE, - STATE(168), 1, - sym_identifier_list, - [15527] = 2, + ACTIONS(689), 1, + anon_sym_async, + ACTIONS(691), 1, + anon_sym_LBRACE, + STATE(65), 1, + sym_block, + [15546] = 4, ACTIONS(3), 1, sym__comment, ACTIONS(718), 1, - anon_sym_in, - [15534] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(720), 1, - anon_sym_LPAREN, - [15541] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(722), 1, sym_identifier, - [15548] = 2, + ACTIONS(721), 1, + anon_sym_PIPE, + STATE(334), 1, + aux_sym_identifier_list_repeat1, + [15559] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(724), 1, + ACTIONS(43), 1, + anon_sym_RBRACE, + ACTIONS(665), 1, + sym_identifier, + STATE(309), 1, + aux_sym_map_repeat1, + [15572] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(665), 1, + sym_identifier, + ACTIONS(723), 1, + anon_sym_RBRACE, + STATE(331), 1, + aux_sym_map_repeat1, + [15585] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(574), 1, + anon_sym_async, + ACTIONS(576), 1, anon_sym_LBRACE, - [15555] = 2, + STATE(226), 1, + sym_block, + [15598] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(726), 1, + ACTIONS(578), 1, + anon_sym_async, + ACTIONS(580), 1, anon_sym_LBRACE, - [15562] = 2, + STATE(128), 1, + sym_block, + [15611] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(728), 1, + ACTIONS(669), 1, + anon_sym_async, + ACTIONS(671), 1, anon_sym_LBRACE, - [15569] = 2, + STATE(128), 1, + sym_block, + [15624] = 4, ACTIONS(3), 1, sym__comment, - ACTIONS(730), 1, + ACTIONS(673), 1, + sym_identifier, + ACTIONS(725), 1, + anon_sym_PIPE, + STATE(334), 1, + aux_sym_identifier_list_repeat1, + [15637] = 4, + ACTIONS(3), 1, + sym__comment, + ACTIONS(673), 1, + sym_identifier, + ACTIONS(727), 1, + anon_sym_PIPE, + STATE(340), 1, + aux_sym_identifier_list_repeat1, + [15650] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(186), 1, + sym_identifier_list, + [15660] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(198), 1, + sym_identifier_list, + [15670] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(731), 2, + anon_sym_RBRACE, + sym_identifier, + [15678] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(166), 1, + sym_identifier_list, + [15688] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(207), 1, + sym_identifier_list, + [15698] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(203), 1, + sym_identifier_list, + [15708] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(170), 1, + sym_identifier_list, + [15718] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(206), 1, + sym_identifier_list, + [15728] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(721), 2, + sym_identifier, + anon_sym_PIPE, + [15736] = 3, + ACTIONS(3), 1, + sym__comment, + ACTIONS(729), 1, + anon_sym_PIPE, + STATE(214), 1, + sym_identifier_list, + [15746] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(733), 1, + sym_identifier, + [15753] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(735), 1, + sym_string, + [15760] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(737), 1, + anon_sym_in, + [15767] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(739), 1, anon_sym_LBRACE, - [15576] = 2, + [15774] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(732), 1, + ACTIONS(741), 1, + anon_sym_LBRACE, + [15781] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(743), 1, anon_sym_LPAREN, - [15583] = 2, + [15788] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(734), 1, + ACTIONS(745), 1, + anon_sym_LPAREN, + [15795] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(747), 1, anon_sym_EQ, - [15590] = 2, + [15802] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(736), 1, - anon_sym_in, - [15597] = 2, + ACTIONS(749), 1, + sym_string, + [15809] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(738), 1, - anon_sym_LBRACE, - [15604] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(740), 1, - anon_sym_LBRACE, - [15611] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(742), 1, + ACTIONS(751), 1, sym_identifier, - [15618] = 2, + [15816] = 2, ACTIONS(3), 1, sym__comment, - ACTIONS(744), 1, - anon_sym_LBRACE, - [15625] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(746), 1, - sym_string, - [15632] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(748), 1, - anon_sym_GT, - [15639] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(750), 1, - anon_sym_LPAREN, - [15646] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(752), 1, - sym_string, - [15653] = 2, - ACTIONS(3), 1, - sym__comment, - ACTIONS(754), 1, + ACTIONS(753), 1, ts_builtin_sym_end, + [15823] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(755), 1, + anon_sym_LBRACE, + [15830] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(757), 1, + anon_sym_LPAREN, + [15837] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(759), 1, + anon_sym_GT, + [15844] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(761), 1, + anon_sym_LBRACE, + [15851] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(763), 1, + anon_sym_LBRACE, + [15858] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(765), 1, + anon_sym_LBRACE, + [15865] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(767), 1, + anon_sym_LBRACE, + [15872] = 2, + ACTIONS(3), 1, + sym__comment, + ACTIONS(769), 1, + anon_sym_in, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, [SMALL_STATE(3)] = 102, - [SMALL_STATE(4)] = 202, + [SMALL_STATE(4)] = 204, [SMALL_STATE(5)] = 304, [SMALL_STATE(6)] = 403, [SMALL_STATE(7)] = 502, @@ -14833,167 +15021,167 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(35)] = 3228, [SMALL_STATE(36)] = 3283, [SMALL_STATE(37)] = 3378, - [SMALL_STATE(38)] = 3469, - [SMALL_STATE(39)] = 3564, - [SMALL_STATE(40)] = 3659, + [SMALL_STATE(38)] = 3473, + [SMALL_STATE(39)] = 3568, + [SMALL_STATE(40)] = 3663, [SMALL_STATE(41)] = 3754, - [SMALL_STATE(42)] = 3845, - [SMALL_STATE(43)] = 3902, - [SMALL_STATE(44)] = 3993, - [SMALL_STATE(45)] = 4088, - [SMALL_STATE(46)] = 4183, - [SMALL_STATE(47)] = 4274, - [SMALL_STATE(48)] = 4369, - [SMALL_STATE(49)] = 4424, - [SMALL_STATE(50)] = 4515, - [SMALL_STATE(51)] = 4582, - [SMALL_STATE(52)] = 4639, - [SMALL_STATE(53)] = 4706, + [SMALL_STATE(42)] = 3821, + [SMALL_STATE(43)] = 3912, + [SMALL_STATE(44)] = 3969, + [SMALL_STATE(45)] = 4036, + [SMALL_STATE(46)] = 4127, + [SMALL_STATE(47)] = 4184, + [SMALL_STATE(48)] = 4239, + [SMALL_STATE(49)] = 4330, + [SMALL_STATE(50)] = 4425, + [SMALL_STATE(51)] = 4516, + [SMALL_STATE(52)] = 4611, + [SMALL_STATE(53)] = 4702, [SMALL_STATE(54)] = 4797, [SMALL_STATE(55)] = 4885, [SMALL_STATE(56)] = 4973, - [SMALL_STATE(57)] = 5039, - [SMALL_STATE(58)] = 5099, - [SMALL_STATE(59)] = 5155, - [SMALL_STATE(60)] = 5221, + [SMALL_STATE(57)] = 5027, + [SMALL_STATE(58)] = 5093, + [SMALL_STATE(59)] = 5149, + [SMALL_STATE(60)] = 5215, [SMALL_STATE(61)] = 5275, - [SMALL_STATE(62)] = 5334, - [SMALL_STATE(63)] = 5383, - [SMALL_STATE(64)] = 5432, - [SMALL_STATE(65)] = 5481, - [SMALL_STATE(66)] = 5530, - [SMALL_STATE(67)] = 5579, - [SMALL_STATE(68)] = 5628, - [SMALL_STATE(69)] = 5677, - [SMALL_STATE(70)] = 5726, - [SMALL_STATE(71)] = 5775, - [SMALL_STATE(72)] = 5824, - [SMALL_STATE(73)] = 5873, - [SMALL_STATE(74)] = 5922, - [SMALL_STATE(75)] = 5971, - [SMALL_STATE(76)] = 6026, - [SMALL_STATE(77)] = 6075, + [SMALL_STATE(62)] = 5324, + [SMALL_STATE(63)] = 5373, + [SMALL_STATE(64)] = 5422, + [SMALL_STATE(65)] = 5471, + [SMALL_STATE(66)] = 5520, + [SMALL_STATE(67)] = 5569, + [SMALL_STATE(68)] = 5618, + [SMALL_STATE(69)] = 5667, + [SMALL_STATE(70)] = 5716, + [SMALL_STATE(71)] = 5765, + [SMALL_STATE(72)] = 5814, + [SMALL_STATE(73)] = 5863, + [SMALL_STATE(74)] = 5918, + [SMALL_STATE(75)] = 5967, + [SMALL_STATE(76)] = 6016, + [SMALL_STATE(77)] = 6065, [SMALL_STATE(78)] = 6124, [SMALL_STATE(79)] = 6173, - [SMALL_STATE(80)] = 6236, + [SMALL_STATE(80)] = 6238, [SMALL_STATE(81)] = 6301, [SMALL_STATE(82)] = 6364, [SMALL_STATE(83)] = 6434, [SMALL_STATE(84)] = 6504, - [SMALL_STATE(85)] = 6550, - [SMALL_STATE(86)] = 6596, - [SMALL_STATE(87)] = 6640, - [SMALL_STATE(88)] = 6696, + [SMALL_STATE(85)] = 6544, + [SMALL_STATE(86)] = 6588, + [SMALL_STATE(87)] = 6634, + [SMALL_STATE(88)] = 6690, [SMALL_STATE(89)] = 6736, [SMALL_STATE(90)] = 6792, - [SMALL_STATE(91)] = 6836, + [SMALL_STATE(91)] = 6832, [SMALL_STATE(92)] = 6876, - [SMALL_STATE(93)] = 6921, + [SMALL_STATE(93)] = 6931, [SMALL_STATE(94)] = 6976, - [SMALL_STATE(95)] = 7031, + [SMALL_STATE(95)] = 7019, [SMALL_STATE(96)] = 7074, [SMALL_STATE(97)] = 7112, [SMALL_STATE(98)] = 7150, - [SMALL_STATE(99)] = 7188, - [SMALL_STATE(100)] = 7226, - [SMALL_STATE(101)] = 7264, - [SMALL_STATE(102)] = 7302, - [SMALL_STATE(103)] = 7340, - [SMALL_STATE(104)] = 7378, - [SMALL_STATE(105)] = 7416, - [SMALL_STATE(106)] = 7454, - [SMALL_STATE(107)] = 7492, - [SMALL_STATE(108)] = 7530, - [SMALL_STATE(109)] = 7586, - [SMALL_STATE(110)] = 7624, - [SMALL_STATE(111)] = 7662, + [SMALL_STATE(99)] = 7206, + [SMALL_STATE(100)] = 7244, + [SMALL_STATE(101)] = 7282, + [SMALL_STATE(102)] = 7320, + [SMALL_STATE(103)] = 7358, + [SMALL_STATE(104)] = 7396, + [SMALL_STATE(105)] = 7452, + [SMALL_STATE(106)] = 7490, + [SMALL_STATE(107)] = 7528, + [SMALL_STATE(108)] = 7566, + [SMALL_STATE(109)] = 7604, + [SMALL_STATE(110)] = 7642, + [SMALL_STATE(111)] = 7680, [SMALL_STATE(112)] = 7718, [SMALL_STATE(113)] = 7778, [SMALL_STATE(114)] = 7838, - [SMALL_STATE(115)] = 7875, - [SMALL_STATE(116)] = 7918, + [SMALL_STATE(115)] = 7881, + [SMALL_STATE(116)] = 7924, [SMALL_STATE(117)] = 7961, [SMALL_STATE(118)] = 7998, [SMALL_STATE(119)] = 8035, - [SMALL_STATE(120)] = 8093, + [SMALL_STATE(120)] = 8069, [SMALL_STATE(121)] = 8127, - [SMALL_STATE(122)] = 8185, - [SMALL_STATE(123)] = 8219, - [SMALL_STATE(124)] = 8253, - [SMALL_STATE(125)] = 8287, - [SMALL_STATE(126)] = 8345, - [SMALL_STATE(127)] = 8403, - [SMALL_STATE(128)] = 8461, - [SMALL_STATE(129)] = 8519, - [SMALL_STATE(130)] = 8577, - [SMALL_STATE(131)] = 8635, - [SMALL_STATE(132)] = 8693, - [SMALL_STATE(133)] = 8751, - [SMALL_STATE(134)] = 8809, - [SMALL_STATE(135)] = 8843, - [SMALL_STATE(136)] = 8901, - [SMALL_STATE(137)] = 8935, - [SMALL_STATE(138)] = 8969, - [SMALL_STATE(139)] = 9003, - [SMALL_STATE(140)] = 9061, - [SMALL_STATE(141)] = 9095, - [SMALL_STATE(142)] = 9129, - [SMALL_STATE(143)] = 9163, - [SMALL_STATE(144)] = 9201, - [SMALL_STATE(145)] = 9235, - [SMALL_STATE(146)] = 9293, - [SMALL_STATE(147)] = 9327, + [SMALL_STATE(122)] = 8161, + [SMALL_STATE(123)] = 8195, + [SMALL_STATE(124)] = 8229, + [SMALL_STATE(125)] = 8263, + [SMALL_STATE(126)] = 8297, + [SMALL_STATE(127)] = 8331, + [SMALL_STATE(128)] = 8365, + [SMALL_STATE(129)] = 8399, + [SMALL_STATE(130)] = 8433, + [SMALL_STATE(131)] = 8491, + [SMALL_STATE(132)] = 8525, + [SMALL_STATE(133)] = 8583, + [SMALL_STATE(134)] = 8621, + [SMALL_STATE(135)] = 8655, + [SMALL_STATE(136)] = 8689, + [SMALL_STATE(137)] = 8747, + [SMALL_STATE(138)] = 8805, + [SMALL_STATE(139)] = 8863, + [SMALL_STATE(140)] = 8921, + [SMALL_STATE(141)] = 8979, + [SMALL_STATE(142)] = 9013, + [SMALL_STATE(143)] = 9071, + [SMALL_STATE(144)] = 9129, + [SMALL_STATE(145)] = 9187, + [SMALL_STATE(146)] = 9245, + [SMALL_STATE(147)] = 9303, [SMALL_STATE(148)] = 9361, [SMALL_STATE(149)] = 9394, - [SMALL_STATE(150)] = 9433, - [SMALL_STATE(151)] = 9466, - [SMALL_STATE(152)] = 9503, - [SMALL_STATE(153)] = 9540, - [SMALL_STATE(154)] = 9589, - [SMALL_STATE(155)] = 9628, + [SMALL_STATE(150)] = 9431, + [SMALL_STATE(151)] = 9470, + [SMALL_STATE(152)] = 9507, + [SMALL_STATE(153)] = 9556, + [SMALL_STATE(154)] = 9595, + [SMALL_STATE(155)] = 9644, [SMALL_STATE(156)] = 9677, [SMALL_STATE(157)] = 9729, - [SMALL_STATE(158)] = 9761, + [SMALL_STATE(158)] = 9781, [SMALL_STATE(159)] = 9813, [SMALL_STATE(160)] = 9865, [SMALL_STATE(161)] = 9917, - [SMALL_STATE(162)] = 9969, - [SMALL_STATE(163)] = 10021, - [SMALL_STATE(164)] = 10073, - [SMALL_STATE(165)] = 10125, - [SMALL_STATE(166)] = 10177, - [SMALL_STATE(167)] = 10229, - [SMALL_STATE(168)] = 10281, - [SMALL_STATE(169)] = 10333, - [SMALL_STATE(170)] = 10385, - [SMALL_STATE(171)] = 10437, - [SMALL_STATE(172)] = 10473, - [SMALL_STATE(173)] = 10525, - [SMALL_STATE(174)] = 10577, - [SMALL_STATE(175)] = 10629, - [SMALL_STATE(176)] = 10681, - [SMALL_STATE(177)] = 10729, - [SMALL_STATE(178)] = 10767, - [SMALL_STATE(179)] = 10799, - [SMALL_STATE(180)] = 10851, - [SMALL_STATE(181)] = 10903, - [SMALL_STATE(182)] = 10951, - [SMALL_STATE(183)] = 11003, - [SMALL_STATE(184)] = 11055, - [SMALL_STATE(185)] = 11107, - [SMALL_STATE(186)] = 11159, - [SMALL_STATE(187)] = 11211, - [SMALL_STATE(188)] = 11243, - [SMALL_STATE(189)] = 11295, - [SMALL_STATE(190)] = 11347, - [SMALL_STATE(191)] = 11399, - [SMALL_STATE(192)] = 11451, - [SMALL_STATE(193)] = 11483, - [SMALL_STATE(194)] = 11535, - [SMALL_STATE(195)] = 11587, - [SMALL_STATE(196)] = 11639, - [SMALL_STATE(197)] = 11691, - [SMALL_STATE(198)] = 11743, + [SMALL_STATE(162)] = 9949, + [SMALL_STATE(163)] = 10001, + [SMALL_STATE(164)] = 10053, + [SMALL_STATE(165)] = 10105, + [SMALL_STATE(166)] = 10157, + [SMALL_STATE(167)] = 10209, + [SMALL_STATE(168)] = 10261, + [SMALL_STATE(169)] = 10313, + [SMALL_STATE(170)] = 10365, + [SMALL_STATE(171)] = 10417, + [SMALL_STATE(172)] = 10469, + [SMALL_STATE(173)] = 10521, + [SMALL_STATE(174)] = 10557, + [SMALL_STATE(175)] = 10609, + [SMALL_STATE(176)] = 10657, + [SMALL_STATE(177)] = 10695, + [SMALL_STATE(178)] = 10743, + [SMALL_STATE(179)] = 10775, + [SMALL_STATE(180)] = 10827, + [SMALL_STATE(181)] = 10879, + [SMALL_STATE(182)] = 10931, + [SMALL_STATE(183)] = 10983, + [SMALL_STATE(184)] = 11035, + [SMALL_STATE(185)] = 11077, + [SMALL_STATE(186)] = 11129, + [SMALL_STATE(187)] = 11181, + [SMALL_STATE(188)] = 11233, + [SMALL_STATE(189)] = 11285, + [SMALL_STATE(190)] = 11337, + [SMALL_STATE(191)] = 11389, + [SMALL_STATE(192)] = 11441, + [SMALL_STATE(193)] = 11493, + [SMALL_STATE(194)] = 11545, + [SMALL_STATE(195)] = 11597, + [SMALL_STATE(196)] = 11649, + [SMALL_STATE(197)] = 11701, + [SMALL_STATE(198)] = 11733, [SMALL_STATE(199)] = 11785, [SMALL_STATE(200)] = 11837, [SMALL_STATE(201)] = 11889, @@ -15016,9 +15204,9 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(218)] = 12773, [SMALL_STATE(219)] = 12825, [SMALL_STATE(220)] = 12856, - [SMALL_STATE(221)] = 12887, + [SMALL_STATE(221)] = 12893, [SMALL_STATE(222)] = 12924, - [SMALL_STATE(223)] = 12956, + [SMALL_STATE(223)] = 12954, [SMALL_STATE(224)] = 12986, [SMALL_STATE(225)] = 13016, [SMALL_STATE(226)] = 13046, @@ -15033,26 +15221,26 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(235)] = 13316, [SMALL_STATE(236)] = 13346, [SMALL_STATE(237)] = 13376, - [SMALL_STATE(238)] = 13409, - [SMALL_STATE(239)] = 13444, + [SMALL_STATE(238)] = 13411, + [SMALL_STATE(239)] = 13454, [SMALL_STATE(240)] = 13489, [SMALL_STATE(241)] = 13532, [SMALL_STATE(242)] = 13575, - [SMALL_STATE(243)] = 13618, - [SMALL_STATE(244)] = 13651, - [SMALL_STATE(245)] = 13694, + [SMALL_STATE(243)] = 13608, + [SMALL_STATE(244)] = 13653, + [SMALL_STATE(245)] = 13696, [SMALL_STATE(246)] = 13729, - [SMALL_STATE(247)] = 13775, - [SMALL_STATE(248)] = 13821, - [SMALL_STATE(249)] = 13863, + [SMALL_STATE(247)] = 13763, + [SMALL_STATE(248)] = 13805, + [SMALL_STATE(249)] = 13851, [SMALL_STATE(250)] = 13897, - [SMALL_STATE(251)] = 13939, - [SMALL_STATE(252)] = 13985, - [SMALL_STATE(253)] = 14031, - [SMALL_STATE(254)] = 14063, - [SMALL_STATE(255)] = 14109, - [SMALL_STATE(256)] = 14155, - [SMALL_STATE(257)] = 14201, + [SMALL_STATE(251)] = 13943, + [SMALL_STATE(252)] = 13989, + [SMALL_STATE(253)] = 14035, + [SMALL_STATE(254)] = 14081, + [SMALL_STATE(255)] = 14113, + [SMALL_STATE(256)] = 14159, + [SMALL_STATE(257)] = 14205, [SMALL_STATE(258)] = 14247, [SMALL_STATE(259)] = 14274, [SMALL_STATE(260)] = 14314, @@ -15060,459 +15248,475 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(262)] = 14376, [SMALL_STATE(263)] = 14398, [SMALL_STATE(264)] = 14420, - [SMALL_STATE(265)] = 14440, - [SMALL_STATE(266)] = 14460, - [SMALL_STATE(267)] = 14488, - [SMALL_STATE(268)] = 14516, - [SMALL_STATE(269)] = 14542, - [SMALL_STATE(270)] = 14561, - [SMALL_STATE(271)] = 14580, - [SMALL_STATE(272)] = 14599, - [SMALL_STATE(273)] = 14618, - [SMALL_STATE(274)] = 14634, - [SMALL_STATE(275)] = 14650, - [SMALL_STATE(276)] = 14666, - [SMALL_STATE(277)] = 14682, - [SMALL_STATE(278)] = 14703, - [SMALL_STATE(279)] = 14728, - [SMALL_STATE(280)] = 14749, - [SMALL_STATE(281)] = 14770, - [SMALL_STATE(282)] = 14795, - [SMALL_STATE(283)] = 14816, - [SMALL_STATE(284)] = 14836, - [SMALL_STATE(285)] = 14850, - [SMALL_STATE(286)] = 14864, - [SMALL_STATE(287)] = 14876, - [SMALL_STATE(288)] = 14888, - [SMALL_STATE(289)] = 14898, - [SMALL_STATE(290)] = 14908, - [SMALL_STATE(291)] = 14918, - [SMALL_STATE(292)] = 14928, - [SMALL_STATE(293)] = 14938, - [SMALL_STATE(294)] = 14948, - [SMALL_STATE(295)] = 14958, - [SMALL_STATE(296)] = 14968, - [SMALL_STATE(297)] = 14978, - [SMALL_STATE(298)] = 14988, - [SMALL_STATE(299)] = 14998, - [SMALL_STATE(300)] = 15010, - [SMALL_STATE(301)] = 15023, - [SMALL_STATE(302)] = 15036, - [SMALL_STATE(303)] = 15045, - [SMALL_STATE(304)] = 15056, - [SMALL_STATE(305)] = 15069, - [SMALL_STATE(306)] = 15082, - [SMALL_STATE(307)] = 15095, - [SMALL_STATE(308)] = 15108, - [SMALL_STATE(309)] = 15121, - [SMALL_STATE(310)] = 15134, - [SMALL_STATE(311)] = 15147, - [SMALL_STATE(312)] = 15160, - [SMALL_STATE(313)] = 15173, - [SMALL_STATE(314)] = 15186, - [SMALL_STATE(315)] = 15199, - [SMALL_STATE(316)] = 15212, - [SMALL_STATE(317)] = 15225, - [SMALL_STATE(318)] = 15238, - [SMALL_STATE(319)] = 15251, - [SMALL_STATE(320)] = 15264, - [SMALL_STATE(321)] = 15277, - [SMALL_STATE(322)] = 15290, - [SMALL_STATE(323)] = 15303, - [SMALL_STATE(324)] = 15314, - [SMALL_STATE(325)] = 15327, - [SMALL_STATE(326)] = 15340, - [SMALL_STATE(327)] = 15353, - [SMALL_STATE(328)] = 15366, - [SMALL_STATE(329)] = 15379, - [SMALL_STATE(330)] = 15392, - [SMALL_STATE(331)] = 15405, - [SMALL_STATE(332)] = 15418, - [SMALL_STATE(333)] = 15431, - [SMALL_STATE(334)] = 15441, - [SMALL_STATE(335)] = 15451, - [SMALL_STATE(336)] = 15461, - [SMALL_STATE(337)] = 15469, - [SMALL_STATE(338)] = 15479, - [SMALL_STATE(339)] = 15487, - [SMALL_STATE(340)] = 15497, - [SMALL_STATE(341)] = 15507, - [SMALL_STATE(342)] = 15517, - [SMALL_STATE(343)] = 15527, - [SMALL_STATE(344)] = 15534, - [SMALL_STATE(345)] = 15541, - [SMALL_STATE(346)] = 15548, - [SMALL_STATE(347)] = 15555, - [SMALL_STATE(348)] = 15562, - [SMALL_STATE(349)] = 15569, - [SMALL_STATE(350)] = 15576, - [SMALL_STATE(351)] = 15583, - [SMALL_STATE(352)] = 15590, - [SMALL_STATE(353)] = 15597, - [SMALL_STATE(354)] = 15604, - [SMALL_STATE(355)] = 15611, - [SMALL_STATE(356)] = 15618, - [SMALL_STATE(357)] = 15625, - [SMALL_STATE(358)] = 15632, - [SMALL_STATE(359)] = 15639, - [SMALL_STATE(360)] = 15646, - [SMALL_STATE(361)] = 15653, + [SMALL_STATE(265)] = 14449, + [SMALL_STATE(266)] = 14480, + [SMALL_STATE(267)] = 14511, + [SMALL_STATE(268)] = 14541, + [SMALL_STATE(269)] = 14561, + [SMALL_STATE(270)] = 14581, + [SMALL_STATE(271)] = 14611, + [SMALL_STATE(272)] = 14639, + [SMALL_STATE(273)] = 14656, + [SMALL_STATE(274)] = 14673, + [SMALL_STATE(275)] = 14692, + [SMALL_STATE(276)] = 14709, + [SMALL_STATE(277)] = 14728, + [SMALL_STATE(278)] = 14747, + [SMALL_STATE(279)] = 14766, + [SMALL_STATE(280)] = 14785, + [SMALL_STATE(281)] = 14802, + [SMALL_STATE(282)] = 14821, + [SMALL_STATE(283)] = 14838, + [SMALL_STATE(284)] = 14859, + [SMALL_STATE(285)] = 14880, + [SMALL_STATE(286)] = 14901, + [SMALL_STATE(287)] = 14926, + [SMALL_STATE(288)] = 14947, + [SMALL_STATE(289)] = 14968, + [SMALL_STATE(290)] = 14989, + [SMALL_STATE(291)] = 15010, + [SMALL_STATE(292)] = 15035, + [SMALL_STATE(293)] = 15055, + [SMALL_STATE(294)] = 15069, + [SMALL_STATE(295)] = 15083, + [SMALL_STATE(296)] = 15095, + [SMALL_STATE(297)] = 15105, + [SMALL_STATE(298)] = 15115, + [SMALL_STATE(299)] = 15125, + [SMALL_STATE(300)] = 15135, + [SMALL_STATE(301)] = 15145, + [SMALL_STATE(302)] = 15155, + [SMALL_STATE(303)] = 15165, + [SMALL_STATE(304)] = 15175, + [SMALL_STATE(305)] = 15187, + [SMALL_STATE(306)] = 15197, + [SMALL_STATE(307)] = 15209, + [SMALL_STATE(308)] = 15219, + [SMALL_STATE(309)] = 15229, + [SMALL_STATE(310)] = 15242, + [SMALL_STATE(311)] = 15255, + [SMALL_STATE(312)] = 15268, + [SMALL_STATE(313)] = 15281, + [SMALL_STATE(314)] = 15290, + [SMALL_STATE(315)] = 15303, + [SMALL_STATE(316)] = 15316, + [SMALL_STATE(317)] = 15327, + [SMALL_STATE(318)] = 15338, + [SMALL_STATE(319)] = 15351, + [SMALL_STATE(320)] = 15364, + [SMALL_STATE(321)] = 15377, + [SMALL_STATE(322)] = 15390, + [SMALL_STATE(323)] = 15403, + [SMALL_STATE(324)] = 15416, + [SMALL_STATE(325)] = 15429, + [SMALL_STATE(326)] = 15442, + [SMALL_STATE(327)] = 15455, + [SMALL_STATE(328)] = 15468, + [SMALL_STATE(329)] = 15481, + [SMALL_STATE(330)] = 15494, + [SMALL_STATE(331)] = 15507, + [SMALL_STATE(332)] = 15520, + [SMALL_STATE(333)] = 15533, + [SMALL_STATE(334)] = 15546, + [SMALL_STATE(335)] = 15559, + [SMALL_STATE(336)] = 15572, + [SMALL_STATE(337)] = 15585, + [SMALL_STATE(338)] = 15598, + [SMALL_STATE(339)] = 15611, + [SMALL_STATE(340)] = 15624, + [SMALL_STATE(341)] = 15637, + [SMALL_STATE(342)] = 15650, + [SMALL_STATE(343)] = 15660, + [SMALL_STATE(344)] = 15670, + [SMALL_STATE(345)] = 15678, + [SMALL_STATE(346)] = 15688, + [SMALL_STATE(347)] = 15698, + [SMALL_STATE(348)] = 15708, + [SMALL_STATE(349)] = 15718, + [SMALL_STATE(350)] = 15728, + [SMALL_STATE(351)] = 15736, + [SMALL_STATE(352)] = 15746, + [SMALL_STATE(353)] = 15753, + [SMALL_STATE(354)] = 15760, + [SMALL_STATE(355)] = 15767, + [SMALL_STATE(356)] = 15774, + [SMALL_STATE(357)] = 15781, + [SMALL_STATE(358)] = 15788, + [SMALL_STATE(359)] = 15795, + [SMALL_STATE(360)] = 15802, + [SMALL_STATE(361)] = 15809, + [SMALL_STATE(362)] = 15816, + [SMALL_STATE(363)] = 15823, + [SMALL_STATE(364)] = 15830, + [SMALL_STATE(365)] = 15837, + [SMALL_STATE(366)] = 15844, + [SMALL_STATE(367)] = 15851, + [SMALL_STATE(368)] = 15858, + [SMALL_STATE(369)] = 15865, + [SMALL_STATE(370)] = 15872, }; 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(57), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(354), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(363), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(355), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(339), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(195), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(357), - [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), - [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [43] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), - [45] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(57), - [48] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(354), - [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(2), - [54] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(186), - [57] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(77), - [60] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(77), - [63] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(64), - [66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(139), - [69] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(188), - [72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(191), - [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(193), - [78] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(355), - [81] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(355), - [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(319), - [87] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(339), - [90] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(195), - [93] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(357), - [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), - [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), - [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), - [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), - [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), - [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220), - [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261), - [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), - [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), - [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), - [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), - [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), - [132] = {.entry = {.count = 1, .reusable = false}}, SHIFT(198), - [134] = {.entry = {.count = 1, .reusable = false}}, SHIFT(356), - [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196), - [140] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), - [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), - [144] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [148] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190), - [150] = {.entry = {.count = 1, .reusable = false}}, SHIFT(200), - [152] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218), - [154] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345), - [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345), - [158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), - [160] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333), - [162] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197), - [164] = {.entry = {.count = 1, .reusable = false}}, SHIFT(360), - [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), - [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), - [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), - [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), - [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), - [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), - [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(271), - [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272), - [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(272), - [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(308), - [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(342), - [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), - [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [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(110), - [212] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), - [214] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), - [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(350), - [220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), - [222] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), - [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 3), - [226] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 3), - [228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), - [232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), - [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(314), - [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(340), - [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(159), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(168), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(352), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(349), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(360), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), + [47] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(60), + [50] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(363), + [53] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(2), + [56] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(201), + [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(75), + [62] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(75), + [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(63), + [68] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(145), + [71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(159), + [74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(160), + [77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(168), + [80] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(352), + [83] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(352), + [86] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(332), + [89] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(349), + [92] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(187), + [95] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_root_repeat1, 2), SHIFT_REPEAT(360), + [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), + [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), + [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), + [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263), + [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_root, 1), + [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), + [130] = {.entry = {.count = 1, .reusable = false}}, SHIFT(369), + [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [136] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), + [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [140] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125), + [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [144] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218), + [146] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217), + [148] = {.entry = {.count = 1, .reusable = false}}, SHIFT(216), + [150] = {.entry = {.count = 1, .reusable = false}}, SHIFT(361), + [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361), + [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341), + [156] = {.entry = {.count = 1, .reusable = false}}, SHIFT(342), + [158] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167), + [160] = {.entry = {.count = 1, .reusable = false}}, SHIFT(353), + [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), + [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), + [166] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), + [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328), + [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), + [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), + [174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [178] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278), + [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(278), + [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), + [190] = {.entry = {.count = 1, .reusable = false}}, SHIFT(279), + [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(315), + [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(348), + [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358), + [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic, 3), + [200] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic, 3), + [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364), + [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math, 3), + [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math, 3), + [212] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 3), + [214] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 3), + [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 3), + [220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 3), + [222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124), + [232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335), + [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(323), + [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(343), + [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_kind, 1), [242] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_kind, 1), [244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258), - [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(282), + [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(287), [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), - [250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), - [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), - [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), - [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), - [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), - [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [262] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), - [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), - [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), - [270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), - [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), - [278] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), - [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), - [282] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), - [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 3), - [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 3), - [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), - [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), - [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), - [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), - [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), - [306] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), - [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [310] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), - [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), - [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), - [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), - [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [322] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_boolean, 1), + [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3), + [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3), + [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 4), + [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 4), + [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 4), + [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 4), + [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4), + [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4), + [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3), + [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3), + [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 5), + [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 5), + [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_yield, 6), + [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_yield, 6), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function, 3), + [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function, 3), + [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 3), + [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 3), + [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), + [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), + [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list, 2), + [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_list, 2), + [310] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), + [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), + [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2), + [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2), [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_match, 3), [328] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_match, 3), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), - [334] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(144), + [334] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(124), [337] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), - [339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(312), - [342] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(196), - [345] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(146), - [348] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(146), - [351] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(147), - [354] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(129), - [357] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(314), - [360] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(340), - [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), - [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(335), + [342] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(192), + [345] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(126), + [348] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(126), + [351] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(125), + [354] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(140), + [357] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(323), + [360] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 2), SHIFT_REPEAT(343), + [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), [367] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 1), [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 1), - [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265), + [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), [373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 1), [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 1), - [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264), - [379] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), - [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), - [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [387] = {.entry = {.count = 1, .reusable = false}}, SHIFT(306), - [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), - [391] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), - [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308), - [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [403] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(102), - [406] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(313), - [409] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(179), - [412] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(106), - [415] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(106), - [418] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(104), - [421] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(121), - [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), - [426] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(308), - [429] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(342), - [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [448] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(102), - [451] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(313), - [454] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(179), - [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), - [459] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(106), - [462] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(106), - [465] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(104), - [468] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(121), - [471] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(308), - [474] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(342), - [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [479] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), - [481] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), - [483] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(156), - [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), - [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359), - [494] = {.entry = {.count = 1, .reusable = false}}, SHIFT(335), - [496] = {.entry = {.count = 1, .reusable = false}}, SHIFT(334), - [498] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), - [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307), - [502] = {.entry = {.count = 1, .reusable = false}}, SHIFT(341), - [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(337), - [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [508] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), - [510] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), - [512] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), - [514] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), - [516] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), - [518] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), - [520] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114), - [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 = true}}, REDUCE(sym_while, 3), - [528] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), - [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), - [532] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), - [534] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), - [536] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), - [538] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), - [540] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), - [542] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), - [544] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), - [546] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), - [548] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), - [550] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), - [552] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), + [377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), + [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 1), + [381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 1), + [383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [385] = {.entry = {.count = 1, .reusable = false}}, SHIFT(337), + [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 2), + [389] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 2), + [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), + [401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), + [407] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_else_repeat1, 2), + [409] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(171), + [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [416] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(105), + [419] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(328), + [422] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(209), + [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), + [427] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(99), + [430] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(99), + [433] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(100), + [436] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(139), + [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(315), + [442] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), SHIFT_REPEAT(348), + [445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [449] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [451] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [453] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(105), + [456] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(328), + [459] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(209), + [462] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(99), + [465] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(99), + [468] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(100), + [471] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(139), + [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), + [476] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(315), + [479] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), SHIFT_REPEAT(348), + [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357), + [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if, 3), + [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if, 3), + [498] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), + [502] = {.entry = {.count = 1, .reusable = false}}, SHIFT(351), + [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(345), + [506] = {.entry = {.count = 1, .reusable = false}}, SHIFT(346), + [508] = {.entry = {.count = 1, .reusable = false}}, SHIFT(347), + [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [512] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [514] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_if, 3), + [516] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_if, 3), + [518] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), + [520] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), + [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_else, 3), + [524] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_else, 3), + [526] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else, 2), + [528] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else, 2), + [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_use, 2), + [532] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_use, 2), + [534] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index_assignment, 3), + [536] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index_assignment, 3), + [538] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while, 3), + [540] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while, 3), + [542] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 2), + [544] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 2), + [546] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 1), + [548] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3, .production_id = 1), + [550] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for, 5), + [552] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for, 5), [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4, .production_id = 2), [556] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4, .production_id = 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}}, SHIFT(209), - [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296), - [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), - [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353), - [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), - [574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), - [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346), - [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), + [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_match_repeat1, 3), + [560] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_match_repeat1, 3), + [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298), + [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(369), + [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363), + [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368), + [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355), [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), [586] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_operator, 1), [588] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_operator, 1), - [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305), - [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321), - [594] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), - [596] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), - [598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), - [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), - [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), - [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279), - [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), - [608] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), - [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), - [612] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), - [614] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(274), - [617] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(266), - [620] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(277), - [623] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 3), - [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 3), - [627] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 2), - [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 2), - [631] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), - [633] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), - [635] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), - [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), - [639] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), - [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), - [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), - [645] = {.entry = {.count = 1, .reusable = false}}, SHIFT(318), - [647] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(214), - [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351), - [652] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349), - [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [658] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), - [660] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), - [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336), - [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(323), - [666] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), - [668] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), - [670] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(351), - [673] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), - [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322), - [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315), - [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325), - [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(348), - [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 1), - [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), - [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270), - [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347), - [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), - [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329), - [705] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(323), - [708] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), - [710] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301), - [712] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), - [714] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), - [716] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), - [718] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343), - [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [726] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [734] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [736] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [738] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [740] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352), - [744] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), - [748] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302), - [750] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), - [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297), - [754] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330), + [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314), + [594] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), + [596] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(273), + [599] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(266), + [602] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 2), SHIFT_REPEAT(288), + [605] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 2), + [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273), + [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290), + [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288), + [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289), + [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284), + [621] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list, 2), + [623] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_list_repeat1, 2), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285), + [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), + [629] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 3), + [631] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 3), + [633] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 3), + [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), + [639] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_repeat1, 1), SHIFT_REPEAT(282), + [642] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_operator, 1), + [644] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_operator, 1), + [646] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_logic_operator, 1), + [648] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logic_operator, 1), + [650] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier_list, 2), + [652] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier_list, 2), + [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), + [656] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283), + [658] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [660] = {.entry = {.count = 1, .reusable = false}}, SHIFT(318), + [662] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_else_repeat1, 2), SHIFT_REPEAT(211), + [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359), + [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367), + [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317), + [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320), + [677] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_definition, 3), + [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312), + [681] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 3), + [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344), + [685] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 1), + [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(350), + [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356), + [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333), + [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338), + [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281), + [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327), + [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), + [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366), + [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [711] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), SHIFT_REPEAT(359), + [714] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 2), + [716] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319), + [718] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), SHIFT_REPEAT(317), + [721] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_identifier_list_repeat1, 2), + [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310), + [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339), + [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324), + [731] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_map_repeat1, 4), + [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370), + [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303), + [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), + [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354), + [753] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [759] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313), + [761] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), }; #ifdef __cplusplus